#netzebwiframescontainer { width: 100%; display: flex; flex-direction: column; margin: auto; padding: 0px; } .iframe-wrapper { overflow: hidden !important; width: 95%; margin: auto; } .iframe-container { border: 0; width: 100%; height: 100%; overflow: hidden !important; display: block; } .h-310 { height: 310px; } #stoerungframe { height: 310px; } /* CSS for legacy browsers */ /* tablet - fallback for old browsers*/ @media (pointer: coarse) and (max-width: 890px) { #endscreenframe { height: 760px; } #startscreenframe { height: 480px; } #energiemonitorframe { height: 2530px; } #stoerungframe { height: 350px; } } @media (pointer: coarse) and (max-width: 590px) { #startscreenframe { height: 630px; } #energiemonitorframe { height: 2530px; } #endscreenframe { height: 730px; } } @media (max-width: 10100px) { #startscreenframe { height: 330px; } #endscreenframe { height: 730px; } #energiemonitorframe { height: 1030px; } .chartarrows { font-size: 4em; } .chartresize { width: 400px; height: 400px; } } @media (max-width: 1300px) { .chartarrows { font-size: 3em; } .chartresize { width: 350px; height: 350px; } } @media (max-width: 1225px) { #startscreenframe { height: 360px; } } @media (max-width: 1200px) { .chartresize { width: 330px; height: 330px; } } @media (max-width: 1158px) { #startscreenframe { height: 400px; } } @media (max-width: 1158px) { #energiemonitorframe { height: 2440px; } #stoerungframe { height: 350px; } } @media (max-width: 1100px) { #energiemonitorframe { height: 2440px; } .chartresize { width: 300px; height: 300px; } } @media (max-width: 1020px) { #startscreenframe { height: 460px; } } @media (max-width: 890px) { #endscreenframe { height: 760px; } #startscreenframe { height: 470px; } } @media (max-width: 830px) { #endscreenframe { height: 1480px; } } @media (max-width: 800px) { #startscreenframe { height: 480px; } } @media (max-width: 530px) { #startscreenframe { height: 550px; } } @media (max-width: 450px) { #startscreenframe { height: 610px; } #energiemonitorframe { height: 2475px; } } @media (max-width: 400px) { #startscreenframe { height: 650px; } #energiemonitorframe { height: 2515px; } } @media (max-width: 340px) { #startscreenframe { height: 690px; } #energiemonitorframe { height: 2520px; } } /* end CSS for legacy browsers */ #netzebwiframescontainer { container-type: inline-size; } @supports (contain: inline-size) { #stoerungframe { height: 310px; } /* reset size for modern browsers*/ @container (max-width: 10100px) { #startscreenframe { height: 300px; } #endscreenframe { height: 700px; } #energiemonitorframe { height: 1000px; } .chartarrows { font-size: 4em; } .chartresize { width: 400px; height: 400px; } } @container (max-width: 1300px) { .chartarrows { font-size: 3em; } .chartresize { width: 350px; height: 350px; } } @container (max-width: 1225px) { #startscreenframe { height: 330px; } } @container (max-width: 1200px) { .chartresize { width: 330px; height: 330px; } } @container (max-width: 1158px) { #startscreenframe { height: 370px; } } @container (max-width: 1158px) { #energiemonitorframe { height: 2380px; } } @container (max-width: 1100px) { #energiemonitorframe { height: 2380px; } .chartresize { width: 300px; height: 300px; } } @container (max-width: 1020px) { #startscreenframe { height: 430px; } } @container (max-width: 890px) { #endscreenframe { height: 730px; } #startscreenframe { height: 440px; } } @container (max-width: 830px) { #endscreenframe { height: 1450px; } } @container (max-width: 800px) { #startscreenframe { height: 450px; } } @container (max-width: 530px) { #startscreenframe { height: 520px; } } @container (max-width: 450px) { #startscreenframe { height: 580px; } #energiemonitorframe { height: 2415px; } } @container (max-width: 400px) { #startscreenframe { height: 620px; } #energiemonitorframe { height: 2455px; } } @container (max-width: 340px) { #startscreenframe { height: 660px; } #energiemonitorframe { height: 2460px; } } }