:root {
    --header-font: 'Cormorant', serif;
    --primary-main-color: #1B4332;
}

/* 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%;
    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);
}

/* Details Section */
#details-section h2 {
    margin: 0;
    font-size: 25px;
    font-family: var(--header-font);
}
.contact-detail {
    display: flex;
    align-items: center;
}
.contact-detail a {
    text-decoration: none;
    color: black;
}
.contact-icon {
    color: var(--primary-main-color);
    margin: 5px 10px 5px 0px;
}
.contact-detail p {
    margin: 5px 5px 0px 0px;
}
iframe {
    width: 100%;
    height: 300px;
    margin: 10px 0px 0px 0px;
    border: 0;
    z-index: 1;
}

/* Form Section */
#form-section h2 {
    margin: 0;
    font-size: 25px;
    font-family: var(--header-font);
}
.property-field {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    width: 100%;
    margin: 10px 0px 10px 0px;
}
#category-btn, #area-btn {
    margin: 0px 20px 0px 20px;
    text-transform: none;
}
#form-section a {
    color: black;
    font-weight: bold;
    text-decoration: none;
}
#send-layout {
    display: flex;
    flex-direction: row;
}
#send {
    text-transform: none;
    margin: 10px 10px 10px 0px;
    font-size: 18px;
    width: 100px;
}
#progressbar {
    margin: 10px 0px 10px 0px;
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {
    /* Header Section */
    h1 {
        position: absolute;
        top: 40%;
        left: 5%;
        right: 5%;
        color: white;
        width: 90%;
        text-align: center;
        font-family: var(--header-font);
        font-size: 40px;
        visibility: hidden;
    }

    /* Main Section */
    main {
        width: 85%;
        margin: 30px auto 3% auto;
        display: flex;
        flex-flow: column wrap;
    }
    /* Details Section */
    #details-section {
        width: 100%;
        margin: 0;
    }
    /* Form Section */
    #form-section {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        padding: 20px; 
        width: 100%; 
        margin: 30px 0px 0px 0px;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    /* Header Section */
    h1 {
        position: absolute;
        top: 40%;
        left: 25%;
        right: 25%;
        color: white;
        width: 50%;
        text-align: center;
        font-family: var(--header-font);
        font-size: 60px;
        visibility: hidden;
    }

    /* Main Section */
    main {
        width: 70%;
        margin: 30px auto 3% auto;
        display: flex;
        flex-flow: column wrap;
    }
    /* Details Section */
    #details-section {
        width: 100%;
        margin: 0;
    }
    /* Form Section */
    #form-section {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        padding: 20px; 
        width: 100%; 
        margin: 30px 0px 0px 0px;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {
    /* Header Section */
    h1 {
        position: absolute;
        top: 40%;
        left: 25%;
        right: 25%;
        color: white;
        width: 50%;
        text-align: center;
        font-family: var(--header-font);
        font-size: 60px;
        visibility: hidden;
    }

    /* Main Section */
    main {
        width: 90%;
        margin: 30px auto 3% auto;
        display: flex;
        flex-flow: row wrap;
    }
    /* Details Section */
    #details-section {
        width: 40%;
        margin: 0px auto 0px auto;
    }
    /* Form Section */
    #form-section {
        box-shadow: 5px 5px 5px lightgray, -5px -5px 5px lightgray; 
        padding: 20px; 
        width: calc(50% - 20px); 
        margin: 0px 10px 0px 10px;
    }
}