@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

head, body {
    margin: 0;
    padding: 0;
    height: 100%;

    --background-color: #fffcf6;
    --primary-color: #795757;
    --secondary-color: #664343;
    --tertiary-color: #3B3030;

    font-family: "Montserrat", sans-serif;
    background-color: var(--background-color);
    /* font-optical-sizing: auto; */
    /* font-style: normal; */

    /* scroll-behavior: smooth; */
}

html {
    overflow-y: scroll;
    /* scroll-snap-type: y mandatory; */
}

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

.page {
    /* scroll-snap-align: start; Snap to the top of each section */
    width: calc(100svw - 10rem);
    margin: 0 5rem;
}

#hero-page {
    height: 100svh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


#project-description {
    width: 40%;

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

canvas {
    width: 50% !important;
    height: 100% !important;
}


iframe {
    width: 100%;
    height: 80svh;
    border: none;
}

.material-symbols-outlined {
    transition: all 0.2s;
    color:#664343;
    font-size: 2rem !important;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24
}

h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    font-weight: 500;
    z-index: 100;
    margin: 0.5rem 0;
}

h2 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    z-index: 100;
    margin: 0.5rem 0;
}

h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    font-weight: 300;
    z-index: 100;
}

p {
    font-size: 1.2rem;
    color: var(--tertiary-color);
    font-weight: 300;
    z-index: 100;
}

.bold {
    font-weight: 700;
}



@media screen and (max-width: 1560px) {
    html {
        scroll-snap-type: y none;
    }

    .page {
        width: calc(100svw - 2rem);
        margin: 0 1rem;
        scroll-snap-align: none;
        height: fit-content;
    }

    #hero-page {
        flex-direction: column;
        justify-content: space-between;
    }

    #project-description {
        width: 100%;
    }

    #description-page div {
        gap: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    iframe {
        height: 60svh;
    }

    canvas {
        width: 100% !important;
        height: calc(100% - 15rem) !important;
    }
}
