:root {
    --header-font: 'Cormorant', serif;
}

/* Header section */
header {
    width: 100%;
    height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
header picture {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
header img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center;
    transition: transform 2000ms ease;
}
#header-background {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

/* Main Section */
main {
    width: 90%;
    margin: 20px auto 0px auto;
}
#properties-header {
    font-family: var(--header-font); 
    margin: 10px 10px 10px 0px;
    font-size: 25px;
}
.skeleton-container {
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    margin: 20px 0px 20px 0px;
}

/* Filter Section */
#filter-section {
    margin: 10px 0px 10px 0px;
    background-color: #F4F9F5;
    border-radius: 10px;
    padding: 5px;
    display: flex;
    flex-flow: row wrap;
    width: fit-content;
    visibility: hidden;
}
#filter-section button {
    text-transform: none;
    margin: 5px 10px 5px 10px;
    min-width: fit-content;
}

/* Page Button Section */
#page-buttons {
    display: flex;
    flex-direction: row;
    margin: 10px 0px 10px 0px;
    padding: 0;
    justify-content: center;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
   /* Header Section */
    #header-article {
        position: absolute;
        bottom: 25%;
        left: 8%;
        right: 8%;
        z-index: 1;
        width: 84%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    h1 {
        font-size: 40px;
        font-family: var(--header-font);
        margin: 0;
    }
    header p {
        font-size: 18px;
        text-align: center;
    }

    /* Filter Section */
    #filter-options {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
    }
    #filter-controls {
        width: 100%;
    }

    /* Properties Section */
    #properties-section {
        margin: 0px auto 0px auto;
        padding: 10px 0px 10px 0px;
        width: 100%;
        display: flex;
        flex-flow: column wrap;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
   /* Header Section */
    #header-article {
        position: absolute;
        bottom: 25%;
        left: 25%;
        right: 25%;
        z-index: 1;
        width: 50%;
        text-align: center;
        display: flex;
        flex-flow: column wrap;
        align-items: center;
        justify-content: center;
        color: white;
    }
    h1 {
        font-size: 50px;
        font-family: var(--header-font);
        margin: 0;
    }
    header p {
        font-size: 18px;
        text-align: center;
    }

    /* Filter Section */
    #filter-options {
        width: fit-content;
    }
    #filter-controls {
        width: fit-content;
    }

    /* Properties Section */
    #properties-section {
        margin: 0px auto 0px auto;
        padding: 10px 0px 10px 0px;
        width: 95%;
        display: flex;
        flex-flow: row wrap;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header Section */
    #header-article {
        position: absolute;
        bottom: 25%;
        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;
    }
    h1 {
        font-size: 50px;
        font-family: var(--header-font);
        margin: 0;
    }
    header p {
        font-size: 18px;
        text-align: center;
    }

    /* Filter Section */
    #filter-options {
        width: fit-content;
    }
    #filter-controls {
        width: fit-content;
    }

    /* Properties Section */
    #properties-section {
        margin: 0px auto 0px auto;
        padding: 10px 0px 10px 0px;
        width: 80%;
        display: flex;
        flex-flow: row wrap;
    }
}