:root { --accent-colour: #43acfc; --accent-colour-border: rgba(67, 172, 252, 0.6); --accent-colour-highlighted: #2e93d7; --accent-colour-highlighted-border: rgba(46, 147, 215, 0.3); --colour-a: white; --colour-b: #151515; } body, html { height: 100%; margin: 0; /* finding out that some "user agent stylesheet" is creating a default margin???????? */ background-color: white; /* Set text stuff everywhere (makes life easier) */ font-family: "Open Sans", sans-serif; font-optical-sizing: auto; font-weight: 300; font-style: normal; font-variation-settings: "wdth" 100; color: #151515; } h1 { font-size: clamp(35px, 56px, 4vw); } h2 { font-size: clamp(20px, 26px, 2vw); } h3 { font-size: clamp(16px, 21px, 1.5vw); } h4 { font-size: clamp(14px, 21px, 1vw); } h1, h2, h3, h4, h5, h6 { font-family: "Open Sans", sans-serif; font-optical-sizing: auto; font-weight: 600; font-style: normal; font-variation-settings: "wdth" 100; } a { text-decoration: none; background-color: transparent; color: #151515; transition: 0.2s; } .TitleDiv { position: relative; display: flex; align-items: center; justify-content: center; height: 75vh; max-height: 700px; width: 100%; flex-direction: column; overflow: hidden; margin:0; padding:0; text-align: center; text-shadow: 1px 1px 3px rgba(0,0,0,.25); } .MainSection { width: 60%; z-index: 1; color: white; } .description { padding-bottom: 2vw; } .title_background { position: absolute; top: 0; bottom: 0; left: 0; right: 0; max-height: 700px; object-fit: cover; background-position: top; background-repeat: no-repeat; background-size: cover; filter: brightness(0.3); } .buttons_panel { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 5vw; margin:0; padding:0; text-align: center; } .button { border: 1px solid var(--accent-colour-border); border-radius: 5px; width: 13vw; height: 2.6vw; min-width: 120px; min-height: 30px; text-decoration: none; color: #151515; background-color: var(--accent-colour); transition-duration: 0.2s; } .button:hover { border: 1px solid var(--accent-colour-highlighted-border); border-radius: 5px; background-color: var(--accent-colour-highlighted); } .button_text { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: clamp(16px, 21px, 1vw); } .feat_info_left { display: flex; align-items: center; justify-content: center; background: #505050; color: white; border: 5px solid #505050; border-radius: 5px; width: 100%; margin-right: 5vw; padding-left: 1vw; padding-right: 1vw; } .feat_info_right { display: flex; align-items: center; justify-content: center; background: #505050; color: white; border: 5px solid #505050; border-radius: 5px; width: 100%; margin-left: 5vw; padding-left: 1vw; padding-right: 1vw; } .section { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: white; color: #151515; } .section_header { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; background: #151515; color: white; } .section_text { margin-top: 1vw; margin-bottom: 1vw; max-width: 50%; } @media (min-width:501px) and (max-width: 620px) { .InsideContent { width: 100%; row-gap: 2vw; } .ContentBtn { flex-basis: 45%; } #MainSection { width: 90%; } .backToTop { bottom: 20px; right: 20px; width: calc(256px / 4); height: calc(256px / 4); } .backToTop { bottom: 20px; right: 20px; width: calc(256px / 4); height: calc(256px / 4); } .HeadingDiv { height: 9vw; } } @media (min-width:301px) and (max-width: 500px) { .InsideContent { width: 100%; gap: 0; row-gap: 2vw; } .ContentBtn { flex-basis: 100%; } #MainSection { width: 90%; } .backToTop { bottom: 20px; right: 20px; width: calc(256px / 4); height: calc(256px / 4); } .HeadingDiv { height: 13vw; } } @media (max-width: 300px) { .InsideContent { width: 100%; gap: 0; row-gap: 2vw; } .TitleDiv { height: 92vh; } .ContentBtn { flex-basis: 100%; } #MainSection { width: 99%; } .backToTop { bottom: 10px; right: 10px; width: calc(256px / 6); height: calc(256px / 6); } .HeadingDiv { height: 18vw; } } @keyframes fade-out { from { opacity: 1 } to { opacity: 0 } } @keyframes fade-in { from { opacity: 0 } to { opacity: 1 } } #fader.fade-out { opacity: 0; animation-name: fade-out; } #fader.fade-in { opacity: 1; animation-name: fade-in; }