:root {
    --w-white: #FAFAFA;
    --w-black: #212121;
    --orange: #fcaf20;
    --success: #23CE6B;
    --warning: #FF8C00;
    /*Orange OG: #ffbd59*/
}

@font-face {
    font-family: 'Satoshi-Variable';
    src: url('fonts/Satoshi-Variable.woff2') format('woff2'),
       url('fonts/Satoshi-Variable.woff') format('woff'),
       url('fonts/Satoshi-Variable.ttf') format('truetype');
    font-weight: 300 900;
    font-display: swap;
    font-style: normal;
}

* {
    margin: 0px;
    padding: 0px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi-Variable';
    background-color: var(--w-white);
    color: var(--w-black);
}

header {
    top: 0;
    position: sticky;
    z-index: 2;
    background-color: var(--w-white);

    box-shadow: grey 0px 0px 3px 0px;
}

#notification {
    display: none;
}

/*General Section Settings*/
.section-content {
    display: flex;
    flex-direction: row;
    position: relative;
    padding: 40px;
    max-width: 1400px;
    margin: auto;

    scroll-margin-top: 60px;
}

/*General Button Template*/
.gen-button {
    display: block;
    text-decoration: none;

    align-items: end;

    color: var(--w-black);
    font-family: 'Satoshi-Variable';
    
    width: fit-content;
    height: fit-content;
    padding: 8px 12px 8px 12px;
    
    background: var(--orange);
    text-align: center;
    
    border: 2px solid transparent;
    border-radius: 22px;
    outline: none;
    
    font-size: 18px;

    font-weight: 500;
    cursor: pointer;

    transition: transform 0.05s ease-in-out;
}


@media (hover: hover) and (pointer: fine) {
    .gen-button {
        transition: transform 0.1s ease-in-out;
    }
    .gen-button:hover {
        transform: scale(1.04);
    }
    .gen-button:active {
        transform: scale(1.0);
    }
}

.gen-button:active {
    transform: scale(0.95);
}

.sticky-button {
    display: none;
}

/*Cookie Banner*/
#cookie-banner {
    display: none;
    position: sticky;
    z-index: 1;
    bottom: 0px;

    background-color: var(--w-white);
    box-shadow: grey 0px -0.5px 3px 0px;
    flex-direction: column;
}

#cookie-banner h2 {
    padding: 10px;
    align-self: center;
}

#cookie-banner p {
    padding: 0px 10px 40px 10px;
    font-size: 18px;
    text-align: center;
}

.cookie-a {
    display: inline-block;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.05s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .cookie-a {
        transition: transform 0.1s ease-in-out;
    }
    .cookie-a:hover {
        transform: scale(1.04);
    }
    .cookie-a:active {
        transform: scale(1.0);
    }
}

.cookie-a:active {
    transform: scale(0.95);
}

/*Navigation Bar*/
.navbar {
    display: flex;
    position: relative;
    align-items: center;
    padding: 10px 10px 10px 10px;
    
    max-width: 1600px;
    margin: auto;
}

.logo {
    display: flex;
    font-size: 24px;
}

.logo-image {
    display: flex;
    max-width: 280px;
}

nav {
    display: flex;
    width: 100%;

}

.nav-links {
    display: flex;
    position: relative;
    column-gap: 60px;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.nav-links a {
    color: var(--w-black);
    text-decoration: none;
    padding: 5px 0px 5px 0px;
    font-size: 20px;
    font-weight: 400;
    transition: color 0.3s ease, text-decoration 0.3s ease, transform 0.05s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .nav-links a {
        transition: transform 0.1s ease-in-out;
    }
    .nav-links a:hover {
        color: var(--orange);
        transform: scale(1.05);
    }
    .nav-links a:active {
        color: var(--orange);
        transform: scale(1.0);
    }
}

.nav-links a:active {
    transform: scale(0.95);
    color: var(--orange);
}

.no-nav-button {
    display: none;
}

.nav-button {
    display: flex;
    justify-content: center;
    width: 280px;
}

.nav-button button {
    font-size: 18px;
}


.hamburger {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    padding-right: 10px;
    row-gap: 6px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 30px;
    background-color: var(--w-black);
    transition: 0.3s ease;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6.25px, 6.5px);
}

.hamburger.active .bar:nth-child(3) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(2) {
    transform: rotate(-45deg);
}

/*Notification toast*/
.notification-toast {
    display: flex;
    position: sticky;
    z-index: 1;
    top: 70px;

    margin: 0px 10px 0px 10px;

    font-size: 18px;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;

    background-color: var(--success);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;

    max-height: 0px;
    padding: 0px;

    transition: max-height 0.2s ease, padding 0.2s ease;
}

.notification-toast.show {
    display: flex;
    padding: 20px;
    max-height: 400px;
}

/*Hero Section*/
.hero {
    margin-top: 0px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    width: 50%;

    padding-top: 6%;
}

.hero-text h1 {
    display: flex;
    position: relative;
    color: var(--w-black);

    font-size: 48px;
    text-align: left;

    padding-bottom: 40px;
}

.hero-text p {
    display: flex;
    text-align: left;
    font-size: 18px;
    padding-bottom: 60px;
}

.hero-buttons {
    display: flex;
    column-gap: 60px;
}

.hero-buttons button {
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: auto;

    width: 50%;
    min-width: 250px;
}

.hero-image img {
    display: flex;
    max-width: 550px;
    height: auto;
    object-fit: cover;

    overflow-x: hidden;

    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.25));
}

.hero-box {
    display: flex;
    position: absolute;
    
    align-self: end;
    margin-left: 12em;

    height: 22em;
    width: 20em;

    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

    z-index: -1;
    background-color: var(--orange);

    overflow-x: hidden;
}


/*Section 2*/
.s2 {
    background-color: var(--w-black);
    color: var(--orange);

    margin-top: -40px;
}

.s2-text h2{
    display: flex;
    padding: 40px 0px 0px 0px;
    font-size: 36px;
}

/*Section 3*/
.s3-blocks {
    display: flex;
    flex-flow: wrap;
    width: 100%;
}

.s3-block {
    display: flex;
    flex: 0 0 50%;
    flex-direction: column;

    padding: 40px;
    height: 50%;
    box-sizing: border-box;

    align-items: left;
    justify-content: center;

}

.s3-block h3 {
    display: flex;
    font-size: 26px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.s3-block p {
    display: flex;
    font-size: 18px;
}

.s3 img {
    display: flex;
    max-width: 62px;
    min-width: 50px;
}

/*Section 4*/
.s4 {
    margin-top: 120px;
    border-top: solid 1px var(--w-black);
}

.s4 .section-content {
    flex-direction: column;
}

.bimo-text {
    display: flex;
    flex-direction: column;
}

.bimo-text h2 {
    display: flex;
    font-size: 48px;
    padding-bottom: 20px;
}

.bimo-text p {
    display: flex;
    font-size: 18px;
}

.bimo-specs {
    display: flex;
    flex-direction: row;
}

.specs-text {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
    padding: 80px 0px 40px 40px;
    width: 85%;
}

.specs-text li {
    display: flex;
    column-gap: 40px;
}

.specs-text img {
    display: flex;
    max-height: 50px;
    width: auto;
}

.specs-text li p {
    display: block;
    text-align: left;
    font-size: 18px;
}

.specs-text span {
    font-weight: bold;
}


.specs-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
}

.specs-image img {
    display: flex;
    max-width: 40%;

    height: auto;
    object-fit: cover;
    filter: drop-shadow(0px 0px 1px rgba(0,0,0,0.25));
}

.s4 .divisor {
    border-top: solid 2px var(--orange);
}

.s4 .foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 18px;

    text-align: center;

    row-gap: 30px;
    padding-top: 60px;
}

.s4 button {
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
}

/*Section 5*/
.s5 {
    margin-top: 140px;
    border-top: solid 1px var(--w-black);
}

.s5 .section-content {
    flex-direction: column;
}

.news-title h2 {
    display: flex;
    font-size: 36px;
    padding-bottom: 20px;
}

.news-title p {
    font-size: 18px;
}

.news {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-container {
    display: flex;

    column-gap: 100px;

    margin: 40px 15px 40px 15px;
    padding: 10px 0px 20px 0px;
    
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
}

.news-card {
    display: flex;
    flex-direction: column;

    min-width: 340px;
    width: 100%;

    border-radius: 16px;
    box-shadow: 0px 0px 10px lightgray;

    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.news-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    background-repeat: no-repeat;
    background-size: cover;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.news-card h3 {
    display: flex;
    padding: 10px 15px 15px 15px;
    color: var(--w-white);
    background-color: var(--w-black);
    height: 100%;
    font-size: 24px;
}

.news-card p {
    font-size: 18px;
}

.news-foot {
    display: flex;
    justify-content: center;
    align-items: center;

    flex-direction: column;
    row-gap: 15px;

    padding: 0px 15px 15px 15px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;

    color: var(--w-white);
    background-color: var(--w-black);
}

.news-foot button {
    padding: 5px 10px 5px 10px;
}


.news-button {
    display: flex;
    justify-content: center;
}

.news-button button {
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
}

.carousel-btn {
    display: none;
    justify-content: space-between;
    width: auto;
}

.carousel-btn button {
    border: none;
    padding: 24px;
    border-radius: 24px;
    background-color: transparent;
    background-size: 100%;

    margin-right: -20px;
    margin-left: -20px;
}

#left {
    background-image: url("https://www.mekion.com/static/media/arrow_left.webp");
}

#right {
    background-image: url("https://www.mekion.com/static/media/arrow_right.webp");
}

/*Section 6*/
.s6 {
    margin-top: 140px;
}

.journey-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

.journey-text h2{
    display: flex;

    text-align: center;

    font-size: 36px;
    padding-bottom: 40px;
}

.journey-text p {
    display: flex;
    font-size: 18px;

    text-align: center;
}

.journey-text form {
    display: flex;
    flex-direction: column;
    padding: 60px 20px 0px 20px;

    row-gap: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 100px;

    box-sizing: border-box;
}

.journey-text input{
    display: flex;  
    border-radius: 6px;
    padding: 8px;
    outline: none;
    outline-offset: 0px;
    
    background-color: var(--w-white);
    color: var(--w-black);
    border: solid 2px var(--w-black);
    transition: 0.2s ease;

    font-size: 18px;
    font-family: inherit;
    text-align: center;
    min-width: 100px;
    max-width: 400px;

    width: 100%;
}

.journey-text input:hover {
    border-color: var(--orange);
}

.journey-text input:focus{
    border-color: var(--orange);
}

.journey-text button {
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
}

/*Section 7*/
.s7 {
    margin-top: 140px;
    background-color: var(--w-black);

    box-shadow: 0 -10px 500px 0 var(--orange);
    border-bottom: solid 1px var(--w-white);
}

.involved-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 500px;

    margin: auto;
}

.involved-text h2 {
    display: flex;

    font-size: 36px;
    color: var(--orange);

    justify-content: center;

    padding-bottom: 60px;
}

.involved-text p {
    display: flex;

    font-size: 18px;
    text-align: center;

    color: var(--w-white);
    padding-bottom: 40px;
}

.involved-text button {
    margin-top: 20px;
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: left;
    background-color: var(--w-black);
    color: var(--w-white);

    font-size: 18px;
}

.top-footer-container {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    padding: 0px 40px 0px 40px;
    margin: auto;
}

.logo-bottom {
    display: flex;
    align-items: center;
    padding: 20px 0px 30px 0px;
    font-size: 50px;
    font-weight: bold;
    width: 100%;
}

.logo-bottom-image {
    display: flex;
    max-width: 280px;
}

.footer-top {
    display: flex;
    flex-flow: row wrap;
    row-gap: 60px;
    column-gap: 40px;
    justify-content: space-between;
    padding: 0px 0px 40px 0px;
}

.footer-top ul {
    display: flex;
    border-top: solid 1px var(--orange);
    flex-wrap: wrap;

    justify-content: center;
    column-gap: 50px;
    row-gap: 20px;
}

.footer-top li {
    list-style: none;
    padding: 12px 10px 0px 10px;
}

.footer-top a {
    display: inline-block;
    text-decoration: none;
    color: var(--w-white);
    transition: color 0.3s ease, transform 0.05s ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .footer-top a {
        transition: transform 0.1s ease-in-out;
    }
    .footer-top a:hover {
        color: var(--orange);
        transform: scale(1.05);
    }
    .footer-top a:active {
        color: var(--orange);
        transform: scale(1.0);
    }
}

.footer-top a:active {
    transform: scale(0.95);
    color: var(--orange);
}

.footer-top h3{
    display: flex;
    padding: 10px 0px 0px 5px;
    min-width: 100px;
    width: auto;
    font-weight: 500;
    color: var(--w-white);
}

.subs {
    display: flex;
    flex-direction: column;
    width: auto;

    border-top: solid 1px var(--orange);
}

.subs form{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    row-gap: 15px;
    padding: 12px 5px 0px 5px;
}

.subs input{
    box-sizing: border-box;
    font-family: 'Satoshi-Variable';
    outline-offset: 2px;
    border-radius: 5px;
    padding: 8px;
    background-color: var(--w-black);
    color: var(--w-white);
    border: solid 2px white;
    outline: solid 2px var(--w-black);
    transition: 0.2s ease;

    max-width: 400px;
    font-size: 18px;
    margin-right: 20px;
}

.subs input:hover {
    outline-color: var(--orange);
}

.subs input:focus{
    outline: solid 2px var(--orange);
    outline-offset: 2px;
    border: solid 2px var(--w-white);
    border-radius: 5px;
    background-color: var(--w-white);
    color: var(--w-black);
}

.subs button {
    padding: 4px 8px 4px 8px;
    font-size: 18px;
    align-self: center;
}

.rights {
    display: flex;
    justify-content: center;
    text-align: center;
    padding: 20px 10px 25px 10px;
    border-top: solid var(--w-white) 1px;
}

/* Responsive Styles */
@media (max-width: 380px) {
    .news-container .news-card {
        min-width: 230px !important;
    }

    .bimo-specs .specs-image img {
        min-width: 290px !important;
    }

    .subs input {
        margin-right: 0px;
        max-width: 270px;
    }

    .news-card h3 {
        font-size: 22px !important;
    }
}

@media (max-width: 600px) {
    .nav-links.active {
        margin-top: -21px !important;
    }

    .notification-toast {
        top: 59px;
    }

    .sticky-button {
        position: sticky !important;
        top: auto !important;
        left: 0 !important;
        right: 0 !important;
        bottom: -2px !important;
        
        height: 56px;
        align-items: start;
        width: auto !important;
        padding-top: 10px!important;

        border-radius: 0px !important;
        border-top-left-radius: 0px !important;
        border-top-right-radius: 0px !important;

        background-color: var(--w-white);

        justify-content: center;
        box-shadow: 0 0px 3px 0px grey;
    }

    .sticky-button button {
        font-size: 18px !important;
        z-index: 2 !important;
    }

    .no-nav-button {
        display: none !important;
    }

    .logo img{
        width: 220px;
    }

    .hero-text {
        margin-top: -1em;
    }

    .hero-image img {
        width: 100%;
        min-width: 340px;
    }

    .hero-buttons { 
        column-gap: 20px;
    }

    .hero-image .hero-box {
        margin-left: 8em !important;
        height: 14em !important;
        width: 14em !important;
    }

    .s3-block {
        padding: 20px 10px 20px 10px;
    }

    .specs-text li {
        column-gap: 20px;
    }

    .specs-text img {
        height: 40px;
    }

    .s4 .specs-image img {
        min-width: 250px !important;
    }

    .news-container {
        padding: 10px 50px 20px 50px;
        margin-bottom: 20px;
    }

    .news-card {
        min-width: 300px;
    }

    .top-footer-container {
        padding: 0px 20px 0px 20px;
    }

    .carousel-btn {
        display: flex;
    }
}

@media (max-width: 900px) {
    .section-content {
        padding: 40px 20px 40px 20px;
    }

    .hero {
        margin-top: -2em !important;
    }

    .hero .section-content {
        display: flex;
        flex-direction: column;
        row-gap: 40px;
    }

    .hero-text {
        width: auto;
    }

    .hero-image {
        justify-content: center !important;
        padding-left: 0px !important;
    }

    .hero-image img {
        max-width: 500px !important;
        min-width: 340px;
    }

    .hero-box {
        margin-left: 8em !important;
        height: 16em !important;
        min-width: 14em !important;
    }

    .s3-blocks {
        display: flex;
        flex-direction: column;
        row-gap: 40px;
    }

    .s3-block {
        display: flex;
        flex: 0 0 0;
        height: fit-content;
    }

    .specs-image img {
        min-width: 300px !important;
    }

    .s6 p {
        text-align: left;
    }

    .s7 p {
        text-align: left;
    }

    .s7 h2 {
        text-align: center;
    }

    .section-content h1{
        font-size: 2em !important;
    }

    .section-content h2 {
        font-size: 0.8em;
    }

    .section-content h3{
        font-size: 0.8em;
    }

    .section-content p {
        font-size: 1.125em;
    }

    .section-content button {
        font-size: 1em;
    }

}


@media (max-width: 1200px) {
    nav {
        top: 80px;
        left: 0px;
        position: absolute;

        box-sizing: border-box !important;
    }

    .nav-links {
        display: none;
        position: relative;
        border-radius: 15px;
    }

    .no-nav-button {
        display: flex;
        width: 100%;
        justify-content: end;
        padding-right: 40px;
    }

    .no-nav-button button {
        font-size: 16px;
    }

    .nav-button {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;

        padding: 40px;
        background-color: var(--w-white);
        box-shadow: 0 1px 1px 1px lightgray;

        border-top-left-radius: 0px;
        border-top-right-radius: 0px;

        min-width: 150px;

        border-top: 1px solid lightgray;
        margin-top: -10px;
    }

    .nav-links.active + .sticky-button {
        display: none;
    }

    .nav-links a {
        display: flex;

        width: 220px;
        padding: 10px;
        border-top: 1px solid var(--w-black);
        font-size: 24px;
    }

    .nav-links a:nth-child(1) {
        border: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    .hero-image {
        padding-left: 20px;
    }

    .hero-image img {
        max-width: 380px;
    }

    .hero-text {
        padding-top: 3em;
    }

    .hero-text h1 {
        padding-bottom: 1em;
    }

    .hero-text p {
        padding-bottom: 2em;
    }

    .hero button {
        padding: 0.8em;
    }

    .hero-box {
        margin-left: 8em;
        height: 16em;
        width: 15em;
    }

    .bimo-specs {
        flex-direction: column-reverse;
        align-items: center;
    }

    .bimo-specs ul {
        display: flex;
        padding: 80px 40px 40px 40px;
        width: 90%;
    }

    .specs-image img {
        width: 25%;
    }

    .foot {
        font-size: 1.05em !important;
    }


    .section-content h1{
        font-size: 2em;
    }

    .section-content h2 {
        font-size: 2em;
    }

    .section-content h3{
        font-size: 1.5em;
    }

    .section-content p {
        font-size: 1.1em !important;
    }

    .section-content button {
        font-size: 1.125em;
    }

    .s4 {
        margin-top: 5em;
    }

    .s5 {
        margin-top: 5em;
    }

    .s6 {
        margin-top: 5em;
    }

    .s7 {
        margin-top: 5em;
    }
}

@media (max-width: 1450px) {
    .nav-button button {
        font-size: 16px;
    }
}
