@font-face {
    font-family: "Canopee";
    src: url("../fonts/CANOPEE/DESKTOP/Canopee.otf")
}

@font-face {
    font-family: "Roslindale Display Condensed";
    src: url("../fonts/Roslindale_Desktop/RoslindaleDisplayCondensed-Regular.otf")
}



:root {
    --main-font-family: "Canopee";
    --sec-font-family: "Roslindale Display Condensed";
    --main-background-color:  #489191;
}

*::before,
*::after,
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html {
    font-size: 62.5%;
    scrollbar-width: none !important;
    overscroll-behavior: none;
}
html, body {
    height: 100%;
}

body {
    font-family: var(--sec-font-family);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.4;
    background-color: white;
    color: black;
}

.container {
    margin: 0 auto;
    max-width: 1440px;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--main-background-color);
    z-index: 3;
    display: flex;
    overflow: hidden;
}

.active {
    text-decoration: line-through;
}

.col {
    background-color: black;
}


.logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-transform: uppercase;
    width: 100%;
    line-height: 1;
    max-width: 0rem;
    white-space: nowrap;
}
.logo-upper {
    overflow: hidden;
    border-bottom: 1px solid white;
}
.logo-lower {
    overflow: hidden;
}
.logo-upper > h1
{
    font-size: 6rem;
    font-weight: 100;
    text-align: center;
}

.logo-lower > h4 {
    text-align: center;
    font-size: 3rem;
    font-weight: 100;
}
main {
    font-family: var(--main-font-family);
    font-weight: 100;
    color: var(--main-background-color);
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10rem;
}
nav > .nav-logo,
nav > .nav-menu {
    overflow: hidden;
}
nav > .nav-logo > a > h1 {
    text-transform: uppercase;
    font-size: 3.5rem;
}
nav > .nav-menu-toggle {
    cursor: pointer;
    overflow: hidden;
}
nav > .nav-menu-toggle > ion-icon{
    font-size: 3rem;
    position: relative;   
}

.nav-menu {
    top: 0;
    left: 0;
    background-color: transparent;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
    font-family: var(--main-font-family);
}
.nav-menu > .nav-menu-content {
    position: relative;
    height: 100%;
}
.nav-menu > .nav-menu-content > .nav-menu-list {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: circle(0%);
    width: 100%;
    height: 100%;
    background-color: var(--main-background-color);
    transition: clip-path 1s ease-out;
    color: white;
}
.nav-menu > .nav-menu-content > .nav-menu-list > ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: center;
    align-items: center;
    list-style: none;
}
.nav-menu > .nav-menu-content > .nav-menu-list > ul > li {
    overflow: hidden;
}
.nav-menu > .nav-menu-content > .nav-menu-list > ul > li > a {
    font-size: 3.5rem;
    position: relative;
    top: 5rem;
    transition: top 650ms ease-out;
}
.close-menu {
    height: 10rem;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    align-content: center;
    overflow: hidden;
}
.close-menu > ion-icon {
    font-size: 3.5rem;
    position: relative;
    top: 5rem;
    transition: top 650ms ease-out;
    cursor: pointer;
}

.hero {
    height: 20rem;
    overflow: hidden;
    align-content: center;
}
.hero-header, 
.hero-sub-header {
    overflow: hidden;
    line-height: 1;
}
.hero-header {
    text-align: center;
    font-size: clamp(3.5rem, 5vw, 7rem);
}
.hero-header > h1 {
    font-weight: 100;
    letter-spacing: -3px;
}
.hero-sub-header > p {
    text-align: center;
    letter-spacing: -1px;
}
.contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 40rem;
    min-height: 80rem;
}
.err {
    font-size: 4rem;
    text-align: center;
    color: red;
}
.contact > form {
    display: grid;
    gap: 2rem;
    width: 100%;
    max-width: calc(100% - 20rem);
    height: 100%;
}
.contact > form > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    overflow: hidden;
}

.contact > form > div > label {
    text-align: center;
    opacity: 0;
}
.contact > form > div > input {
    padding: 1rem;
    max-width: calc(100% - .5rem);
    border: none;
    border-bottom: .5px solid lightgray;
}
.contact >form > div > input:focus,
.contact > form > div >textarea:focus {
    outline: none;
}
.contact > form > div > textarea {
    max-width: calc(100% - .5rem);
}
.contact > form > div > input::placeholder {
    font-family: var(--main-font-family);
    font-size: 1.2rem;
}
.contact > form > div > textarea::placeholder {
    font-family: var(--main-font-family);
    font-size: 1rem;
}
.contact > form > div > textarea {
    font-family: var(--main-font-family);
    height: 10rem;
    padding: .5rem .5rem;
    border: .5px solid lightgray;
}
.form-btn {
    background-color: var(--main-background-color);
    height: 5rem;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-family: var(--main-font-family);
}
.form-btn > button {
    width: 100%;
}

footer {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    bottom: calc(-50% / 2)
}

footer > a {
    color: var(--main-background-color);
}
footer > .num > a {
    color: grey;
}
.fb-logo {
    font-size: 3rem;
}

@media (max-width: 768px) {
    .hero {
        height: 15rem;
    }
    .contact > form {
        width: 100%;
        max-width: calc(100% - 3rem);
    }
    .err {
        font-size: 3rem;
    }
}

@media (max-width: 500px) {
    .err {
        font-size: 2.4rem;
    }
}
/* @media (max-height: 601px) {
    footer {
        bottom: -100%;
    }
}

@media (max-height: 351px) {
    footer {
        bottom: calc(-100% - 20rem)
    }
}
@media (max-height: 251px) {
    footer {
        bottom: calc(-100% - 30rem);
    }
} */