: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;
}

/*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;
    transition: text-decoration 0.3s ease;
    transition: 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 {
    display: none;
}


.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: 200px;
}


/*Main Form*/
.section-content {
    flex-direction: column;
    align-items: center;
}

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

    row-gap: 40px;

    margin-top: 40px;
    margin-bottom: 100px;
}

.title h1 {
    font-size: 48px;
    text-align: center;
}

.title p {
    font-size: 24px;
    text-align: center;
}


.s1 form {
    display: flex;
    max-width: 800px;
    width: 100%;

    flex-direction: column;
    justify-content: center;
    
    row-gap: 40px;
}

.s1 input {
    font-size: 18px;
    border: none;
    border-bottom: 2px solid var(--w-black);
    outline: none;
    padding: 5px;
    color: var(--w-black);
    background-color: var(--w-white);
    transition: transform 0.3s ease;
}

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

.s1 input:active {
    transform: scale(1.05);
}

.s1 textarea {
    border: 2px solid var(--w-black);
    min-height: 200px;
    font-size: 18px;
    font-family: 'Satoshi-Variable';
    color: var(--w-black);
    padding: 20px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.s1 textarea:active {
    transform: scale(1.05);
}

.s1 textarea:focus {
    outline: none;
    border-color: var(--orange);
    background-color: var(--w-white);
}

.s1 button {
    padding: 15px 20px 15px 20px;
    border-radius: 28px;
    margin: 40px auto 20px auto;
}

.checkbox {
    display: flex;
    font-size: 18px;
    column-gap: 10px;
    align-items: center;

    margin-bottom: -30px;
}

.checkbox a {
    display: inline-block;
    color: var(--orange);
    text-decoration: none;
    padding: 5px 0px 5px 0px;
    font-size: 18px;
    font-weight: 600;
    transition: text-decoration 0.3s ease, transform 0.05s ease-in-out;
    cursor: pointer;
}

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

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

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-card {
       min-width: 270px !important;
    }

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

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

    .logo img{
        width: 220px;
    }

    .section-content {
        padding-right: 20px;
        padding-left: 20px;
    }


    .section-content h1 {
        font-size: 36px;
    }

    .section-content p {
        font-size: 20px;
    }

    .title {
        margin-bottom: 60px;
    }

    .checkbox p {
        font-size: 18px !important;
    }

    .s1 button {
        margin-bottom: 20px;
    }

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

@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;
    }

    .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-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;
    }
}
