:root {
    --header-font: 'Cormorant', serif;
    --header-size: 25px;
    --merienda-font: "Merienda", cursive;
    --noto-font: 'Noto Sans', sans-serif;
    --primary-main-color: #1B4332;
    --primary-light-color: #4F6F5B;
}

/* Header section */
header {
    width: 100%;
    height: 100vh;
    position: relative;
}
header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#header-background {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}
h1 span {
    font-family: var(--merienda-font);
}

/* Featured Section */
#featured-h2 {
    font-family: var(--header-font);
    text-align: center;
    font-size: var(--header-size);
    margin: 10px 10px 5px 10px;
}
#featured-p {
    text-align: center;
    margin: 0;
}
.skeleton-container {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin: 20px 0px 20px 0px;
}

/* About Section */
#about-section .parallax-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
}
#about-section h2 {
    font-family: var(--header-font); 
    font-size: var(--header-size);
    margin: 0px 10px 10px 0px;
    padding: 0;
}
#about-section p {
    margin: 0;
    padding: 0;
}
#about-section a:hover {
    background-color: var(--primary-main-color);
    border: 1px solid var(--primary-main-color);
    color: white;
}

/* Services Section */
#services-section h2 {
    font-family: var(--header-font);
    font-size: var(--header-size);
    margin: 0px 0px 10px 0px;
}
#services-list {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
#services-list span {
    margin: 0;
    border-radius: 50%;
    border: 1px solid lightgray;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-self: flex-end;
    width: fit-content;
}
#services-list div:hover {
    background: linear-gradient(135deg, #F4F9F5 0%, #E8F2EA 50%, #DCEBDF 100%);
}
#services-list h3 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    font-family: var(--header-font);
    color: var(--primary-main-color);
}
#services-list p {
    margin: 0px 0px 5px 0px;
    font-size: 15px;
}

/* Experience Section */
#experience-section {
    margin: 30px 0px 30px 0px;
}
#experience-section .parallax-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
}
#experience-layout h2 {
    font-family: var(--header-font);
    font-size: var(--header-size);
}
#experience-layout {
    position: absolute;
    top: 10%;
    left: 5%;
    right: 5%;
    width: 90%;
    z-index: 3;
    color: white;
}
#experience-list span {
    margin: 15px 0px 15px 0px;
    border-radius: 50%;
    border: 1px solid lightgray;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-self: flex-end;
    width: fit-content;
}
#experience-list h3 {
    margin: 0;
    padding: 0;
    font-size: 50px;
    font-family: var(--noto-font);
}
#experience-list p {
    margin: 0px 0px 5px 0px;
}

/* Properties Section */
#properties-title {
    font-family: var(--header-font);
    margin: 10px 0px 0px 0px;
    font-size: var(--header-size);
}
/* Types Section */
#types-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
}
#types-title {
    min-width: max-content;
    margin: 0;
}
.chips-section {
    display: flex;
    flex-flow: row nowrap;
    overflow-x: auto; 
    scrollbar-width: thin;
}
#more-properties-btn {
    border-radius: 50%;
    padding: 35px 20px 35px 20px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    border: 2px solid lightgray;
    color: var(--primary-light-color);
    margin: 20px auto 0px auto;
    width: 120px;
}
#more-properties-btn:hover {
    color: var(--primary-main-color);
    scale: 1.03;
}

/* Testimonial Section */
#testimonial-section {
    margin: 30px 0px 30px 0px;
    overflow: hidden;
}
#testimonial-section h2 {
    font-family: var(--header-font);
    text-align: center;
    font-size: var(--header-size);
}
#testimonial-container {
    display: flex;
    width: max-content;
    animation: forward-linear 30s linear infinite;
    animation-play-state: running;
    margin: 0;
}
@keyframes forward-linear {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
.testimonial-card {
    display: flex;
    flex-flow: column wrap;
    width: 320px;
    margin: 0px 10px 0px 10px;
    border: 1px solid lightgray;
    padding: 20px 20px 10px 20px;
    box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
}
.testimonial-icon {
    align-self: flex-end;
    color: var(--primary-main-color);
}
.testimonial-name {
    text-align: end;
    margin: 0;
}

/* Contact Section */
#contact-section .parallax-background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.2);
}
#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;
}

#fab {
    position: fixed;
    bottom: 5%;
    right: 2%;
    z-index: 3;
    background-color: green;
}
#whatsapp-icon {
    font-size: 40px;
    color: white;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Header section */
    #header-article {
        position: absolute;
        top: 25%;
        left: 5%;
        right: 5%;
        width: 90%;
        color: white;
        z-index: 1;        
    }
    h1 {
        font-size: 25px;
        font-family: var(--header-font);
        text-align: center;
    }
    #search-layout {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        padding: 20px;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        width: fit-content;
        margin: 0px auto 0px auto;
    }
    #search-layout button {
        text-transform: none;
        margin: 5px 0px 0px 0px;
        color: white;
    }

    /* About Section */
    #about-section article {
        position: absolute;
        top: 10%;
        left: 8%;
        right: 8%;
        width: 84%;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        z-index: 2;
        color: white;
        padding: 20px;
        display: flex;
        flex-flow: column wrap;
    }
    #about-section a {
        text-decoration: none;
        color: white;
        margin: 10px 0px 0px 0px;
        padding: 5px 15px 5px 15px;
        border: 1px solid white;
        align-self: center;
    }

    /* Services Section */
    #services-section {
        width: 85%;
        margin: 30px auto 30px auto;
    }
    #services-list div {
        color: black;
        border: 1px solid lightgray;
        margin: 10px 0px 10px 0px;
        padding: 20px;
        width: 100%;
    }

    /* Experience Section */
    #experience-list {
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
    }
    #experience-list div {
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        margin: 10px 15px 10px 5px;
        padding: 20px;
        min-width: 250px;
    }

    /* Properties Section */
    .properties-section {
        width: 85%;
        margin: 20px auto 20px auto;
        display: flex;
        flex-flow: column wrap;
    }

    /* Contact Section */
    #contact-section article {
        position: absolute;
        top: 30%;
        left: 8%;
        right: 8%;
        z-index: 2;
        width: 84%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contact-section p {
        color: white;
        font-size: 18px;
        text-align: center;
        margin: 5px 0px 0px 0px;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Header section */
    #header-article {
        position: absolute;
        top: 25%;
        left: 20%;
        right: 20%;
        width: 60%;
        color: white;
        z-index: 1;        
    }
    h1 {
        font-size: 30px;
        font-family: var(--header-font);
        text-align: center;
    }
    #search-layout {
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        padding: 20px;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        width: fit-content;
        margin: 0px auto 0px auto;
    }
    #search-layout button {
        text-transform: none;
        margin: 5px 0px 0px 0px;
        color: white;
    }

    /* About Section */
    #about-section article {
        position: absolute;
        top: 15%;
        left: 20%;
        right: 20%;
        width: 60%;
        box-shadow: 2px 2px 2px lightgray,-2px -2px 2px lightgray;
        z-index: 2;
        color: white;
        padding: 20px;
        display: flex;
        flex-flow: column wrap;
    }
    #about-section a {
        text-decoration: none;
        color: white;
        margin: 20px;
        padding: 5px 15px 5px 15px;
        border: 1px solid white;
        align-self: center;
    }

    /* Services Section */
    #services-section {
        width: 80%;
        margin: 30px auto 30px auto;
    }
    #services-list div {
        color: black;
        border: 1px solid lightgray;
        margin: 10px 20px 10px 0px;
        padding: 20px;
        width: calc(50% - 20px);
    }

    /* Experience Section */
    #experience-list {
        display: flex;
        scroll-snap-type: x mandatory; 
        overflow-x: scroll;
        scrollbar-width: none;
    }
    #experience-list div {
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        margin: 10px 15px 10px 5px;
        padding: 20px;
        min-width: 250px;
    }

    /* Properties Section */
    .properties-section {
        width: 90%;
        margin: 20px auto 20px auto;
        display: flex;
        flex-flow: column wrap;
    }

    /* Contact Section */
    #contact-section article {
        position: absolute;
        top: 30%;
        left: 25%;
        right: 25%;
        z-index: 2;
        width: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #contact-section p {
        color: white;
        font-size: 20px;
        text-align: center;
        margin: 5px 0px 0px 0px;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header section */
    #header-article {
        position: absolute;
        top: 35%;
        left: 20%;
        right: 20%;
        width: 60%;
        color: white;
        z-index: 1;        
    }
    h1 {
        font-size: 40px;
        font-family: var(--header-font);
        text-align: center;
    }
    #search-layout {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        padding: 10px;
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
    }
    #search-layout button {
        text-transform: none;
        margin: 0px 5px 0px 5px;
        color: white;
    }

    /* About Section */
    #about-section article {
        position: absolute;
        top: 20%;
        left: 25%;
        right: 25%;
        width: 50%;
        box-shadow: 2px 2px 2px lightgray,-2px -2px 2px lightgray;
        z-index: 2;
        color: white;
        padding: 20px;
        display: flex;
        flex-flow: column wrap;
    }
    #about-section a {
        text-decoration: none;
        color: white;
        margin: 20px;
        padding: 5px 15px 5px 15px;
        border: 1px solid white;
        align-self: center;
    }

    /* Services Section */
    #services-section {
        width: 75%;
        margin: 30px auto 30px auto;
    }
    #services-list div {
        color: black;
        border: 1px solid lightgray;
        margin: 10px 20px 10px 0px;
        padding: 20px;
        width: calc(50% - 20px);
    }

    /* Experience Section */
    #experience-list {
        display: flex;
        justify-content: space-between;
    }
    #experience-list div {
        box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
        margin: 10px 15px 10px 0px;
        padding: 20px;
        width: calc(22% - 15px);
    }

    /* Properties Section */
    .properties-section {
        width: 85%;
        margin: 20px auto 20px auto;
        display: flex;
        flex-flow: column wrap;
    }

    /* 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;
        margin: 5px 0px 0px 0px;
    }
}