:root {
    --header-font: 'Cormorant', serif;
    --roboto-font: 'Roboto', sans-serif;
    --merienda-font: "Merienda", cursive;
    --primary-main-color: #1B4332;
}

/* Header section */
header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
header picture {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
#header-background {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.3);
}
#header-intro span {
    font-family: var(--merienda-font);
}

/* Intro Section */
#intro-section img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
#intro-section h2 {
    font-family: var(--header-font);
    font-size: 30px;
    margin: 5px 5px 0px 0px;
}
#intro-section span {
    color: var(--primary-main-color);
}
#intro-section p {
    margin: 5px 0px 0px 0px;
}

/* Details Section */
#details-section h2 {
    font-size: 30px;
    margin: 10px 10px 10px 0px;
    font-family: var(--header-font);
}
#details-section span {
    color: var(--primary-main-color);
}
#details-section div {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin: 0;
}
#details-section h3 {
    font-size: 20px;
    font-family: var(--header-font);
    margin: 5px 5px 5px 0px;
    padding: 0;
}

/* Values Section */
#values-section {
    overflow: hidden;
}
#values-title {
    font-size: 30px;
    margin: 10px 10px 10px 0px;
    font-family: var(--header-font);
    text-align: center;
}
#values-title span {
    color: var(--primary-main-color);
}
#fValues-section {
    display: flex;
    width: max-content;
    animation: forward-linear 30s linear infinite;
    margin: 10px 0px 20px 0px;
}
#bValues-section {
    display: flex;
    width: max-content;
    animation: backward-linear 30s linear infinite;
    margin: 10px 0px 20px 0px;
}
#fValues-section span, #bValues-section span {
    font-size: 22px;
    margin: 5px 20px 5px 20px;
}

@keyframes forward-linear {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes backward-linear {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* Choice Section */
#choice-section {
    width: 90%;
    margin: 30px auto 30px auto;
}
#choice-section h2 {
    font-size: 30px;
    margin: 10px 10px 10px 0px;
    font-family: var(--header-font);
    text-align: center;
}
#choice-section span {
    color: var(--primary-main-color);
}
.choice-background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%; 
    height: 100%;
    z-index: 1;
}
.choice-card img {
    width: 100%; 
    height: 100%; 
    border-radius: 10px;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
.choice-card article {
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 5%;
    width: 90%;
    color: white;
    z-index: 2;
}
.choice-card p {
    display: flex;
    align-items: center;
    margin: 5px 0px 0px 0px;
    white-space: wrap;
}

/* Contact Section */
.parallax-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
}
#contact-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0px 0px 0px;
}
#contact-section a {
    text-decoration: none;
    color: white;
    border: 1px solid white;
    margin: 0px 15px 0px 15px;
    padding: 10px 30px 10px 30px;
}
#contact-section a:hover {
    background-color: var(--primary-main-color);
    border: 1px solid var(--primary-main-color);
    color: white;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 5%;
        right: 5%;
        z-index: 1;
        width: 90%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    #about-year {
        font-family: var(--roboto-font);
        margin: 0;
        padding: 0;
        font-size: 17px;
    }
    h1 {
        font-size: 40px;
        font-family: var(--header-font);
        margin: 0;
    }
    #header-intro {
        margin: 0;
        padding: 0;
        font-size: 20px;
    }

    /* Intro Section */
    #intro-section {
        margin: 10px auto 0px auto;
        display: flex;
        flex-direction: column;
        width: 85%;
    }
    #intro-section picture {
        width: 100%;
        height: 300px;
        border-radius: 20px;
        margin: 0;
        overflow: hidden;
        order: 2;
    }
    #intro-section article {
        width: 100%;
        margin: 0px 0px 30px 0px;
        order: 1;
    }

    /* Details Section */
    #details-section {
        margin: 5% auto 20px auto;
        width: 85%;
    }
    #details-section article {
        border: 1px solid lightgray;
        padding: 20px;
        width: 100%;
        margin: 0px 0px 20px 0px;
    }

    /* Choice Section */
    #choice-list {
        overflow-x: auto; 
        scrollbar-width: none;
        white-space: nowrap;
        display: flex;
        scroll-snap-type: x mandatory;
    }
    .choice-card {
        min-width: calc(100% - 20px);
        height: 300px;
        margin: 10px; 
        position: relative;
        scroll-snap-align: start;
        scroll-margin: 10px;
        overflow: hidden;
    }
    .choice-card h3 {
        font-family: var(--header-font);
        font-size: 25px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    #dots-layout {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Contact Section */
    #contact-section article {
        position: absolute;
        top: 30%;
        left: 5%;
        right: 5%;
        z-index: 2;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contact-section p {
        color: white;
        font-size: 20px;
        text-align: center;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 30%;
        right: 30%;
        z-index: 1;
        width: 40%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    #about-year {
        font-family: var(--roboto-font);
        margin: 0;
        padding: 0;
        font-size: 17px;
    }
    h1 {
        font-size: 50px;
        font-family: var(--header-font);
        margin: 0;
    }
    #header-intro {
        margin: 0;
        padding: 0;
        font-size: 24px;
    }

    /* Intro Section */
    #intro-section {
        margin: 10px auto 0px auto;
        display: flex;
        flex-direction: column;
        width: 70%;
    }
    #intro-section picture {
        width: 100%;
        height: 400px;
        border-radius: 20px;
        margin: 0;
        overflow: hidden;
        order: 2;
    }
    #intro-section article {
        width: 100%;
        margin: 0px 0px 30px 0px;
        order: 1;
    }

    /* Details Section */
    #details-section {
        margin: 5% auto 20px auto;
        width: 70%;
    }
    #details-section article {
        border: 1px solid lightgray;
        padding: 20px;
        width: 100%;
        margin: 15px 0px 15px 0px;
    }

    /* Choice Section */
   #choice-list {
        overflow-x: auto; 
        scrollbar-width: none;
        white-space: nowrap;
        display: flex;
        scroll-snap-type: x mandatory;
    }
    .choice-card {
        min-width: calc(45% - 20px);
        height: 350px;
        margin: 10px; 
        position: relative;
        scroll-snap-align: start;
        scroll-margin: 10px 20px 10px 20px;
        overflow: hidden;
    }
    .choice-card h3 {
        font-family: var(--header-font);
        font-size: 25px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Contact Section */
    #contact-section article {
        position: absolute;
        top: 30%;
        left: 20%;
        right: 20%;
        z-index: 2;
        width: 60%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contact-section p {
        color: white;
        font-size: 20px;
        text-align: center;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 30%;
        left: 30%;
        right: 30%;
        z-index: 1;
        width: 40%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    #about-year {
        font-family: var(--roboto-font);
        margin: 0;
        padding: 0;
        font-size: 17px;
    }
    h1 {
        font-size: 70px;
        font-family: var(--header-font);
        margin: 0;
    }
    #header-intro {
        margin: 0;
        padding: 0;
        font-size: 20px;
    }

    /* Intro Section */
    #intro-section {
        margin: 3% auto 20px auto;
        display: flex;
        flex-direction: row;
        width: 85%;
    }
    #intro-section picture {
        width: 50%;
        height: 450px;
        border-radius: 20px;
        margin: 0;
        overflow: hidden;
        order: 1;
    }
    #intro-section article {
        width: calc(45% - 40px);
        margin: auto 0px auto 40px;
        order: 2;
    }

    /* Details Section */
    #details-section {
        margin: 3% auto 20px auto;
        width: 80%;
    }
    #details-section article {
        border: 1px solid lightgray;
        padding: 20px;
        width: calc(50% - 30px);
        margin: 15px 30px 15px 0px;
    }

    /* Choice Section */
    #choice-list {
        overflow-x: auto; 
        scrollbar-width: none;
        white-space: nowrap;
        display: flex;
        scroll-snap-type: x mandatory;
    }
    .choice-card {
        min-width: calc(45% - 20px);
        height: 350px;
        margin: 10px; 
        position: relative;
        scroll-snap-align: start;
        scroll-margin: 10px 20px 10px 20px;
        overflow: hidden;
    }
    .choice-card h3 {
        font-family: var(--header-font);
        font-size: 30px;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Contact Section */
    #contact-section article {
        position: absolute;
        top: 30%;
        left: 30%;
        right: 30%;
        z-index: 2;
        width: 40%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contact-section p {
        color: white;
        font-size: 20px;
        text-align: center;
    }
}