/*Font*/
@font-face {
    font-family: 'Economica';
    src: url('/font/economica-regular.woff') format('woff'),
    url('/font/economica-regular.woff2') format('woff2'),
    url('/font/economica-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Economica';
    src: url('/font/economica-bold.woff') format('woff'),
    url('/font/economica-bold.woff2') format('woff2'),
    url('/font/economica-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/*Main*/
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1280px;
    height: 100vh;
    margin: 0 auto;
    width: 100%;
    font-family: 'Economica', 'sans-serif';
    background-color: #ffffff;
    color: rgba(148, 181, 188, 1);

}

.container {
    text-align: center;
    padding: 150px 50px 100px;
}

.logo {
    width: 58%;
    margin-top: -40px;
}

/*Buttons*/

button {
    background-color: #EA715E;
    color: white;
}

.buttons-popup{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
    padding: 50px 0;
}

.button{
    font-weight: 400;
    font-size: 20px;
    background-color: #ffffff;
    color: #EA715E;
    border-radius: 50px;
    padding: 19px 35px;
    text-decoration: none;
    width: 300px;

}
.button:hover {
    background-color: #d65c4c;
    color: white;
}

a.button {
    text-align: center;
}
/*Popup*/

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup-content {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #EA715E;
    color: white;
    padding: 36px;
    border-radius: 10px;
    text-align: left;
    max-width: 600px;
    margin: 0 20px;
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
}

.popup-content h1{
    text-align: center;
    font-weight: 400;
    font-size: 35px;
    padding-top: 100px;
}
.popup-content p a{
    color: #ffffff;
}

.popup-content h3{
    margin-bottom: -12px;
}
.popup-content h2, h3, p {
    font-size: 24px;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 70px;
    height: auto;
    border-radius: 30px;
    background-color: #ffffff;
    color: #EA715E;
    font-weight: 400;
    font-size: 20px;
    line-height: 47px;
    text-align: center;
    cursor: pointer;
}

.close-btn:hover {
    background-color: #d65c4c;
    color: #ffffff;
}


/*Navigation*/
.navbar {
    z-index: 999;
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    padding: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.navbar button,
.nav-links li a {
    background-color: #EA715E;
    color: white;
    padding: 10px 20px;
    margin-right: 10px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Economica', 'Arial Narrow', 'sans-serif';
    text-decoration: none;
    font-size: 16px;
}

.navbar button:hover,
.nav-links li a:hover {
    background-color: #d65c4c;
}

/*Footer*/

footer{
    text-align: center;
    padding: 0 40px 30px;


}
footer h1{
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;

}
footer h2{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

footer p{
    display: inline;
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
    margin-bottom: 5px;
}

footer a{
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    color: rgba(148, 181, 188, 1);
}
footer a:hover{
    color: #567E87;

}

/*---------------------Fullscreen Menu -----------------------------*/
/* Hamburger Menu (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Fullscreen Menu (Hidden by Default) */
.fullscreen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #EA715E;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.fullscreen-menu ul {
    list-style: none;
    padding: 0;
}

.fullscreen-menu li {
    margin: 20px 0;
}

.fullscreen-menu li button {
    background-color: white;
    color: #EA715E;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
}

.close-menu-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    background-color: #ffffff;
    color: #EA715E;
    border: none;
    cursor: pointer;
}


/*---------------------- Media Breakpoints --------------------------------*/

    /*Breakpoint Laptop*/
    @media (max-width: 1024px) {
        .container {
            text-align: center;
            padding: 200px 50px 100px;
        }

        .logo {
            width: 58%;
            margin-top: -30px;
        }

        .button {

        }
    }

    /*Breakpoint Tablet*/
    @media (max-width: 767px) {
        .body {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            width: 100vw;
            padding: 0 40px 50px;
        }

        .container {
            padding: 70px 20px 100px;
            margin-top: 50px;
        }

        .buttons-popup {
            display: flex;
            flex-direction: column;
        }

        .logo {
            margin-top: 0;
            width: 80%;
        }

        .button {
            width: 100%;
        }
        .nav-links {
            display: none;
            flex-direction: column;
            background-color: #ffffff;
            position: absolute;
            top: 60px;
            left: 0;
            width: 100%;
        }

        .nav-links.show {
            display: flex;
        }

        .menu-toggle {
            display: block;
        }
        /*------------------------ Popup Fullscreen ----------------- */
        .popup-content{
            margin: 0;
            max-height: 100vh;
        }
        .button{
            width: 60%;
        }
        /*------------------------ Fullscreen Menu Mobile----------------- */
        .nav-links {
            display: none;
        }

        .menu-toggle {
            display: block;
        }

        .fullscreen-menu.show {
            display: flex;
        }
        .fullscreen-menu li button {
            font-size: 20px;

        }
        .navbar button {
            background-color: #ffffff;
            color: #EA715E;
        }
        .navbar button:hover {
            background-color: #d65c4c;
            color: #ffffff;
        }


    }

    /*Breakpoint Mobile*/
    @media (max-width: 480px) {

        .body {
            text-align: center;
        }
        .container {
            padding: 70px 10px 100px;
        }
        .popup-content{
            padding: 20px 20px;
        }
        .buttons-popup {
            padding: 20px 0 100px;
        }
        .close-btn {
            position: absolute;
            top: 100px;
            right: 20px;
        }

        .button {
            width: 80%;
        }

        .footer {
            width: 100vw;
            padding: 20px 20px 50px;
        }

        .footer p {
            font-size: 20px;
        }

        .footer a {
            font-size: 20px;
        }
    }
