:root {
    --primary-main-color: #1B4332;
}

html, body, #app {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}
#header-animator, #animator-controller {
    position: absolute;
    top: 10%;
    left: 50%;
}

/* Animation Elements */
.scale-animation {
    transform: scale(1.2);
}
.animate-element, .fade-in-element, .header-content {
    visibility: hidden;
}

/* Top Nav Section */
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 40px);
    margin: 10px 20px 0px 20px;
    background-color: transparent;
    box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px 5px 10px;
}
#nav-logo, #nav-logo picture {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
}
#nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.top-nav-button {
    text-decoration: none;
    margin: 0px 10px 0px 10px;
    align-self: center;
}
.top-nav-button:hover {
    font-weight: bold;
}
.collapse {
    position: relative;
    padding: 10px 0px 10px 0px;
}
.collapse span {
    color: white;
    margin: 0px 15px 0px 15px;
    display: flex;
    align-items: center;
}
.collapse div {
    position: absolute; 
    top: 100%;
    left: 0%;
    background-color: white; 
    display: flex;
    flex-flow: column wrap;
    box-shadow: 2px 2px 2px lightgray, -2px -2px 2px lightgray;
}
.collapse a {
    text-decoration: none;
    color: black;
    background-color: color;
    min-width: max-content;
    padding: 10px 20px 10px 20px;
    font-size: 14px;
}
.collapse a:hover {
    color: var(--primary-main-color);
    background-color: whitesmoke;
}

/* Side Nav Section */
#side-nav {
    height: 100%;
    width: 250px;
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    background-color: white;
    overflow-x: hidden;
    overflow-y: auto;
    /* This trasform moves the drawer off canvas. */
    -webkit-transform: translate(250px, 0);
    transform: translate(250px, 0);
    /* Optionally, we animate the drawer. */
    transition: transform 0.5s ease;
}
#side-nav.open {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}
.logo {
    display: inline-flex; 
    align-items: center;
    width: 250px;
    justify-content: space-between;
}
#logo-pic {
    width: 40px; 
    height: 40px; 
    margin: 0px 0px 0px 10px;
}
#logo-pic picture {
    border-radius: 50%;
}
#logo-pic img {
    width: 40px; 
    height: 40px; 
    padding: 0px;
    border-radius: 50%;
    margin: 0px;
}
#close-menu {
    margin: 10px 10px 0px 0px;
}
.side-drop-down {
    margin-left: 10px;
}

/* Empty State Section */
.empty-state {
    width: 50%;
    display: flex;
    flex-direction: column;
    color: var(--primary-main-color);
    align-items: center;
    margin: 5% auto 5% auto;
}
.empty-state p {
    font-size: 20px;
    text-align: center;
    margin: 0;
}

.highlight-span {
    color: var(--primary-main-color);
}

/* Image Viewer */
#image-viewer-img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 90%;
    object-fit: cover;
    margin: auto;
}

/* Parallax Section */
.parallax-section {
    width: 100%;
    height: 500px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.parallax-section picture {
    width: 100%;
    height: 200%;
    top: -50%;
    left: 0;
    position: absolute;
}
.parallax-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
}

/* Properties Div Section */
.properties-div {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}
.properties-list {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}
.property-card-image {
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    object-position: center;
    margin: 0;
    transition: transform 2000ms ease;
    position: absolute;
    top: 0;
    left: 0;
}
.property-background {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%; 
    height: 100%;
    z-index: 1;
    cursor: pointer;
}
.property-card-header {
    position: absolute;
    top: 3%;
    left: 3%;
    right: 3%;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 94%;
}
.featured {
    background-color: darkgoldenrod;
    color: white;
    padding: 5px 15px 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}
.purchase {
    background-color: var(--primary-main-color);
    color: white;
    padding: 5px 15px 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin: 0px 0px 0px auto;
}

.property-card-text-container {
    position: relative;
    top: 60%;
    left: 5%;
    right: 5%;
    width: 90%;
    z-index: 2;
    color: white;
    font-size: 15px;
}
.name {
    margin: 0;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 22px;
    font-family: var(--header-font);
}
.location {
    display: flex;
    align-items: center;
    margin: 5px 0px 0px 0px;
}
.location-icon {
    color: white;
    margin: 0px 5px 0px 0px;
}
.type {
    margin: 5px 0px 0px 0px;
}
.price {
    margin: 5px 0px 0px 0px;
}
.property-card-button-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    margin: 5px 0px 0px 0px;
}

/* Filter Section */
.filter-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
}

/* Footer Section */
#footer-bg-image {
    width: 100%;
    height: 100%;
}
#footer-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
#footer-background {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
#footer-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    padding: 40px 30px 20px 30px;
}
footer h2 {
    font-size: 20px;
    margin: 0;
    padding: 0;
}
footer h3 {
    font-weight: normal;
    font-size: 15px;
    margin: 0px 10px 10px 30px;
    padding: 0;
}
.contact-section-container {
    display: flex;
    flex-direction: row;  
    align-items: center; 
    margin: 5px 0px 0px 0px;
}
.contact-section-container a {
    margin: 0; 
    padding: 0; 
    color: white;
    width: fit-content;
    text-decoration: none;
}
.contact-section-container p {
    margin: 0;
}
.contact-section-container .icon {
    margin: 0px 10px 0px 0px; 
    font-size: 25px;
}
#social-section a {
    margin: 5px 5px 5px 0px;
}
#social-section .icon {
    font-size: 25px;
    color: white;
}
#links-section a {
    margin: 0; 
    padding: 0; 
    color: white;
    width: fit-content;
    text-decoration: none;
    font-weight: normal;
    display: block;
}
#links-section a:hover {
    font-weight: bold;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Top Nav Section */
    #nav-links {
        display: none;
    }
    #menu {
        display: flex;
        margin: 0;
    }

    /* Properties Section */
    .property-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 420px;
        margin: 10px 0px 10px 0px;
        position: relative;
        overflow: hidden;
    }

    /* Footer Section */
    footer {
        position: relative;
        width: 100%;
        height: 450px;
        color: white;
        overflow: hidden;
    }
    #info-section, #links-section {
        width: 100%;
        margin-bottom: 3%;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Top Nav Section */
    #nav-links {
        display: none;
    }
    #menu {
        display: flex;
        margin: 0;
    }

    /* Properties Section */
    .property-card {
        display: flex;
        flex-direction: column;
        width: calc(50% - 20px);
        height: 420px;
        margin: 10px;
        position: relative;
        overflow: hidden;
    }

    /* Footer Section */
    footer {
        position: relative;
        width: 100%;
        height: 300px;
        color: white;
        overflow: hidden;
    }
    #info-section, #links-section {
        width: 50%;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Top Nav Section */
    #nav-links {
        display: flex;
    }
    #menu {
        display: none;
    }

    /* Properties Section */
    .property-card {
        display: flex;
        flex-direction: column;
        width: calc(33% - 20px);
        height: 420px;
        margin: 10px;
        position: relative;
        overflow: hidden;
    }

    /* Footer Section */
    footer {
        position: relative;
        width: 100%;
        height: 300px;
        color: white;
        overflow: hidden;
    }
    #info-section, #links-section {
        width: 50%;
    }
}