body {
    margin: 0;
    background-color: #090d0e;
    scroll-behavior: smooth;
}

/* font families */
.monsterrat-100 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
  }

.ibm-plex-sans-400 {
    font-family: "IBM Plex Sans", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
      "wdth" 100;
}

.ibm-plex-serif-thin {
    font-family: "IBM Plex Serif", serif;
    font-weight: 100;
    font-style: normal;
}  

.poppins-thin {
    font-family: "Poppins", serif;
    font-weight: 100;
    font-style: normal;
}

.noto-sans-jp-400 {
    font-family: "Noto Sans JP", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.bebas-neue-regular {
    font-family: "Bebas Neue", serif;
    font-weight: 400;
    font-style: normal;
}
  

.racing-sans-one-regular {
    font-family: "Racing Sans One", serif;
    font-weight: 400;
    font-style: normal;
}

.jura-400 {
    font-family: "Jura", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.gruppo-regular {
    font-family: "Gruppo", serif;
    font-weight: 400;
    font-style: normal;
}

.palanquin-dark-regular {
    font-family: "Palanquin Dark", serif;
    font-weight: 400;
    font-style: normal;
}  

/* header */
.header {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: fixed;
    top: 0;
    right: 0;
    
    z-index: 100;
    width: 100%;
    height: 110px;
    
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease-in-out;
}

/* hide navbar on scroll down */
.scroll-down .header {
    transform: translate3d(0, -100%, 0); 
    /* moves the header off screen */
}

.scroll-up .header {
    width: 100%;
    height: fit-content;
    background-color: #090d0e;
    padding: 0px 5px;
}

.top-nav {
    width: 100%;
    max-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-bar {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    position: relative;
    right: 50px;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.nav-bar img {
    display: none;

    transition: transform .3s ease-in-out;
}

.nav-logo {
    height: 100%;
    transition: all 1s ease-in-out;
}

.nav-logo:hover {
    filter: drop-shadow(0 0px 6px rgb(141, 253, 251)); 
}

.scroll-up .nav-logo {
    width: 100px;
    height: 100px;
    filter: none;
}

.scroll-down .nav-logo {
    width: 100px;
    height: 100px;
    filter: none;
}

.nav-list {
    display: flex;
    gap: 20px;
}

a.nav-link {
    padding: 10px;

    font-size: 16px;
    font-family: "Montserrat", serif;
    font-weight: 200px;

    color: white;
    text-decoration: none;
    transition: all 0.6s ease-in-out; 
}

.scroll-up .nav-link:hover {
    text-shadow: 0 0 10px #8dfdfb, 0 0 20px #8dfdfb;
    color: white;
}

.overflow-nav {
    width: 100%;
    height: fit-content;

    display: none;
    justify-items: center;
    
}

@media screen and (width < 760px) {
    .header {
        background-color: #090d0e;
        height: 100px;
    }

    .nav-bar {
        right: 20px;
        flex-wrap: wrap;
    }

    a.nav-link {
        font-size: 10px;
    }
    a.nav-link:hover {
        color: #8dfdfb;
    }
    .nav-logo {
        width: 100px;
        height: 100px;
        left: 20px;
    }
    
}

@media screen and (width < 630px) {
    .header {
        height: 75px;
        padding: 0;
    }

    .nav-bar {
        width: 50px;
        height: 50px;

        border: 1px solid white;
    }

    .nav-bar img {
        display: block;
    }

    .header:hover .nav-bar img {
        transform: rotate(45deg);
    }

    .header:hover {
        height: fit-content
    }

    .header:hover .overflow-nav {
        display: block;
    }

    .nav-bar .nav-list .nav-link {
        display: none;
    }

    .nav-logo {
        width: 75px;
        height: 75px;
        padding: 0;
       
    }
}

a.nav-link:hover {
    text-shadow: 0 0 10px #8dfdfb, 0 0 20px #8dfdfb;
}


.policy-container {
    width: 100%;
    height: fit-content;
    color: white;
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.policy-details {
    width: 60%;
    height: fit-content;
}

p1 {
    font-family: "Bebas Neue", serif;
    font-size: 60px;
}

p2 {
    font-family: "IBM Plex Serif", serif;
    font-size: 16px;
    font-weight: bold;
}

p3 {
    font-family: "IBM Plex Serif", serif;
    font-size: 20px;
    font-weight: bold;
}

p4 {
    font-family: "IBM Plex Serif", serif;
    font-size: 16px;
}

.footer {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;

    flex-wrap: wrap;

    width: 100%;
    height: fit-content;

    color: #8DFDF8;
    
    font-family: "IBM Plex Sans", serif;
    font-size: 20px;
    text-decoration: none;
    padding-bottom: 50px;

    
}

.footer-container {
    width: 90%;
    height: fit-content;

    border-top: 1px solid white;
    padding-top: 20px;

    display: flex;
    justify-content: center;
    flex-direction: row;
}

.footer-item {
    position: relative;
    width: fit-content;
    height: fit-content;

    display: flex;
    flex-wrap: nowrap;

}

.footer-list {
    position: relative;
    width: fit-content;
    height: fit-content;

    font-family: "Bebas Neue", serif;
    font-size: 25px;
    text-align: left;

    margin: 0px 20px;
}

#newsletter-footer {
    width: fit-content;
    height: fit-content;

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

}

.footer-socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;

    margin-top: 20px;
}

.socials-icon {
    width: 40px;
    height: 40px;
}

.email-input {
    width: 300px;
    height: 30px;

    font-family: "IBM Plex Sans", serif;
    color: white;
    padding-left: 5px;
    outline: none;
    transition: 0.25s;
    -webkit-transition: 0.25s;
    background-color: transparent;
    border: 1px solid white;
    border-radius: 5px;
    margin: 0px;
}

.email-input:focus {
    border: 3px solid #8DFDF8;
    border-radius: 5px;
}

.email-submit {
    height: 30px;
    width: 30px;
    padding: 5px;
    margin: 0px;

    background-color: transparent;
    border: transparent;
    color: white;
}

a.footer-link {
    color: white;
    font-family: "IBM Plex Sans", serif;
    font-size: 12px;
    text-decoration: none;
}

@media screen and (width < 860px){
    .footer-container {
        flex-direction: unset;
        flex-wrap: wrap;
        justify-items: center;
    }

    .footer-list {
        width: 50%;
    }
}