/* * * * * * * */ /* MEDIA RULES */ /* * * * * * * */ /*For tablet or bigger*/ @media screen and (min-width: 992px) { /* navbar opens on hover*/ .dropdown:hover .dropdown-menu { display: block; } } /*For Tablet and smaller*/ @media screen and (max-width: 992px){ .two-pdf-line{ max-height: 650px !important; height: 26vh !important; max-width: 50vw !important; } .seperator-2{ width: 1px !important; } .boxy-1{ margin-top: 10px !important; } .navbar { flex-direction: column; align-items: center; } h1 { font-size: 2rem; } .col-6 { width: 100%; /* Full width on tablets */ } .progress-bar{ display: none !important; } } /*For Smartphones*/ /*12pro*/ @media screen and (max-width: 600px){ .lnp:hover > img{ display: block; margin-left: none; margin-right: none; width: 8rem !important; max-width: 100% !important; } .col-6 { width: 100% ; /* Full width for smartphone */ } .container-fluid { min-height: 100vh; /* Füllt den gesamten Bildschirm aus */ } /***footer***/ footer { width: 100% !important; box-sizing: border-box !important; padding: 15px !important; } .col { width: 100% !important; /* Ensure columns take full width on mobile */ margin-bottom: 20px; /* Add margin to separate sections vertically */ } .col-sm-4, .col-sm-8, .col-6 { width: 100%; /* Stack columns for mobile */ } footer a, footer p { font-size: 14px; line-height: 1.4; } footer .socials { display: flex; justify-content: center !important; margin-bottom: 10px; } .contact-info { font-size: 14px; text-align: center; } .img-sponsor { width: 100px; height: auto; margin: 0 auto; } .footer-slider { width: 100%; /* Ensure slider takes up the full width on mobile */ margin-top: 20px; } footer a { word-wrap: break-word; overflow-wrap: break-word; } hr { margin: 20px 0; /* Add spacing for separation on mobile */ } /***gif***/ .CFTR-gif { width: 1000px !important; max-width: 100%; height: auto; } /***Description***/ #Cystic\ Fibrosis6 h2 { font-size: 1.5em !important; } #Our\ Vision h2 { font-size: 1 em !important; } .pie-chart-container-small { width: 300px !important; /* Make smaller for mobile */ height: 300px !important; /* Adjust height accordingly */ } .quiz-wrapper { flex-direction: column; padding: 10px; width: 100% !important; /* Set width to 100% for mobile screens */ } .quiz-front, .quiz-back { padding: 10px !important; } .quiz-heading { font-size: 1.2em; } .quiz-text { font-size: 1em; margin-bottom: 10px !important; word-wrap: break-word; /* Keep word breaking for mobile */ } .quiz-button-box { margin-top: 5px !important; justify-content: space-evenly; } .row-if-small{ --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-.5 * var(--bs-gutter-x)); margin-left: calc(-.5 * var(--bs-gutter-x)); width: 100% !important; } .col-4, .col-3{ margin-top: 10px !important; margin-bottom: 10px !important; } .full-small{ width: 100% !important; max-height: 100% !important; } .max400{ max-width: 100% !important; max-height: 100% !important; } .panel-talk-gallery div img{ max-width: 100% !important; } .panel-talk-gallery .col, .panel-talk-gallery .col:nth-child(5), .panel-talk-gallery .col:nth-child(1), .panel-talk-gallery .col:nth-child(2), .panel-talk-gallery .col:nth-child(3), .panel-talk-gallery .col:nth-child(4){ margin-top: 20px !important; } .bfh-slider{ width: 100em !important; max-width: 250px !important; } .tag{ width: min-content !important; } .timeline-item-content time{ width: fit-content !important; margin-top: 0 !important; max-width: 10em !important; } .picture-frame{ margin-bottom: 20px !important; } .winner{ font-size: x-large; } /*h3{ margin-bottom: 4vw !important; }*/ .small-only{ display: block !important; } .small-none{ display: none !important; } .bfh-menu{ max-width: 50vw !important; } .two-pdf-line{ max-height: 650px !important; height: 26vh !important; width: 65vw !important; max-width: 60vw !important; margin: auto; } svg text{ font-size: 5vw !important; stroke-width:1px !important; } .village-style-button h3{ display: none !important; } .village-style-button{ box-shadow: 1px 1px 1px gray; border-radius: 10px; border-color: var(--offblack); padding: 10px; } .village-style-button:hover{ box-shadow: none; } .village-style-button img{ max-width: 90%; max-height: 90%; padding-top: 10px; padding-bottom: 5px; } h1 { font-size: 1vw !important; line-height: 1.0 !important; } h2, h3 { font-size: 24px !important; } .bigtitle { width: 450px !important; height: 200px !important; word-wrap: break-word; } body { padding: 10px !important; width: 202% ; overflow-x: hidden; /* Prevents horizontal scrolling */ margin: 0; padding: 0; background-size: cover; /* Ensures the background scales to cover the entire screen */ background-position: center; /* Keeps the background centered */ background-repeat: no-repeat; } .img-half{ max-width: 100% !important; height: auto !important; } .container { padding: 10px; } .row{ display: grid !important; } } /*For small Smartphones*/ @media screen and (max-width: 750px){ } /* Big computer screens */ @media only screen and (min-width: 1600px){ .two-pdf-line{ max-height: 50vw !important; height: 50vh !important; } } /*Bigger than smartphones*/ @media only screen and (min-width: 768px) { .col-1 {width: 8.33%;} .col-2 {width: 16.66%;} .col-3 {width: 25%;} .col-4 {width: 33.33%;} .col-5 {width: 41.66%;} .col-6 {width: 50%;} .col-7 {width: 58.33%;} .col-8 {width: 66.66%;} .col-9 {width: 75%;} .col-10 {width: 83.33%;} .col-11 {width: 91.66%;} .col-12 {width: 100%;} } /***description***/ .pie-chart-container { width: 600px; /* Set the width of the container */ height: 600px; /* Set the height of the container */ position: relative; margin: 0 auto; /* Center the chart */ } @media screen and (max-width: 1300px){ .one-pdf-line{ height: 115vw !important; } }