@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Crimson Text", serif;

    --primary: #002366;
    --secondary: #008bd1;
    --background: #efefef;
}

body {
    height: 100svh;
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    overflow: hidden;
}


header {
    background-image: url("/public/assets/images/header-banner.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    height: 40svh;
    & .logo {
        width: 15svw;
        max-width: 150px;
        aspect-ratio: 1/1;
        height: auto;
    }
    & .top-text {
        color: var(--background);
        text-align: center;
        line-height: 1.2;
        font-size: 2rem;
        max-width: 33ch;
    }
}

main {
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 60svh;

    & .content-wrapper {
        display: flex;
        flex-direction: column;
        width: fit-content;
        align-items: center;
    }

    & .site-web {
        color: var(--secondary);
        font-size: 5rem;
        margin-bottom: -1rem;
        padding: 0;
        text-align: center;
    }
    & .construction {
        color: var(--primary);
        margin: 0;
        padding: 0;
        font-size: 3rem;
        text-align: center;
    }
    & .divider {
        width: 100%;
        height: 3px;
        background-color: var(--primary);
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 50svh;
        & .logo {
            width: 100px;
        }
        & .top-text {
            font-size: 1.5rem;
            max-width: 90%;
        }
    }

    main {
        height: 50svh;
        & .site-web {
            font-size: 3rem;
        }
        & .construction {
            font-size: 1.5rem;
        }
    }
}

@media (max-height: 600px) and (orientation: landscape) { 
    header {
        height: 90svh;
        & .logo {
            width: 80px;
        }
        & .top-text {
            font-size: 1.2rem;
        }
    }

    main {
        & .site-web {
            font-size: 3rem;
        }
        & .construction {
            font-size: 1.5rem;
        }
    }
}