@font-face {
    font-family: "Montserrat Bold";
    src: url(../Fonts/Montserrat-Bold.ttf) format('truetype');
}

@font-face {
    font-family: "Montserrat";
    src: url(../Fonts/Montserrat-Regular.ttf) format('truetype');
}
html{
    font-size: 16px;
}

div{
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Montserrat Bold";
}
body {
    display: flex;
    flex-direction: column;
    font-family: "Montserrat";
    background-color: white;
    height: 100dvh;
    width: 100dvw;
    justify-content: center;
    overflow: scroll;
    align-self: center;
    margin: 0px;
}

.about{
    width:100%;
    position:fixed;
    top:-100000px;
}

#searchContainer>.banner {
    height: 100px;
    width: 100%;
    background-color: white;
    z-index: 2;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 0px 10px 0px 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#bannerImg {
    width: 170px;
}

#searchContainer .mainContainer{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
}

#LoginBtn,#SignUpBtn {
    border:2px solid purple;
    background-color:purple;
    color: white;
    position: relative;
    padding: 7px;
    border: 2px solid purple;
    margin: 5px;
    cursor: pointer;
    transition: 0.2s;
    font-size: 1.0.9rem;
    text-decoration: none;
    font-family: "Montserrat Bold";
    height:25px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#LoginBtn:hover,#SignUpBtn:hover {
    color:purple;
    background-color: white;
}

#searchContainer .EmptyDiv{
    height: 110px;
    width: 100%;
}

#searchContainer .searchForm{
    display:flex;
    justify-content: center;
    flex-direction: row;
    height: 70px;
    width: 800px;
    position: fixed;
    /* top: 15px; */
    background-color: white;
    align-items: center;
    z-index: 1;
    background-color: white;
}

#searchContainer .searchBar{
    width:100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 10px;
    }

#searchContainer .searchBox{
    font-family: "Montserrat";
    font-size:1.3rem;
    margin-right:10px;
    width: 500px;
    height:50px;
    border: black 3px solid;
    padding-left: 20px;
    padding-right: 70px;
}

#searchContainer .searchFilter{
    display:flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
    max-height: 40px;
    min-width: 40px;
    cursor: pointer;
    padding: 5px;
    border: solid 3px purple;
    min-height: 50px;
    overflow: hidden;
}

#searchContainer .searchFilter img{
    height: 35px;
}

#FilterCount{
    position:relative;
    left: 10px;
    bottom: 38px;
    background-color:rgb(0,100,0);
    color:white;
    border-radius:100%;
    font-weight:bold;
    font-size: 0.8rem;
    min-height: 20px;
    width: 20px;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
}

#FilterCount.hidden{
    display:none;
}

#searchContainer .searchFilter:active img{
    width:30px;
}
#searchContainer .searchButton{
    font-family: "Montserrat Bold";
    height: 30px;
    font-size: 1.0.9rem;
    width: 30px;
    background-color: unset;
    border: 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor:pointer;
    position: relative;
    right: 60px;
}

#searchContainer .searchButton:active{
    height:20px;
}

#searchContainer .searchButton img{
    height:100%;
}


#FilterEmptyDiv{
    width:100% !important;
}

#searchContainer .searchFilterForm>div{
    margin-bottom:20px;
}
#searchContainer .searchFilterForm>div:first-child{
    margin:0px;
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
}

#searchContainer .searchFilterForm>div:first-child h1{
    margin:0px;
}

#searchContainer .searchFilterForm>div:not(div:first-child){
    width: 40%;
}

#searchContainer .searchFilterForm>div:nth-child(6){
    width:100% !important;
}

#RatingSelector{
    width:100%;
    display:flex;
    justify-content:space-around;
    
}

#RatingSelector>button{
    background-color:white;
    color:rgb(0,100,0);
    font-family:"Montserrat";
    font-weight:bold;
    font-size:1.0.9rem;
    border:3px solid rgb(0,100,0);
    height:50px;
    width:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-top:10px;
    cursor:pointer;
}

#RatingSelector img{
    height:15px;
}

#RatingSelector>button:active{
    font-size:0.8rem;
}
#RatingSelector>button:active img{
    height:10px;
}

#searchContainer .searchFilterForm>div:first-child img{
    width:25px;
    cursor:pointer
}

#searchContainer .searchFilterForm>div:first-child>div:active img{
    height:20px;    
}

#searchContainer .searchFilterForm input{
    height: 40px;
    border:1px solid rgb(100,100,100);
    padding:10px;
    font-size: 1rem;
    /* width: 100%; */
}

#searchFilterFormButtons{
    width:100% !important;
    display:flex;
    flex-direction:row;
    justify-content:center;
    column-gap:50px;
}
#searchFilterFormButtons button{
    height:70px;
    width:150px;
    font-family:"Montserrat Bold";
    color: rgb(0,100,0);
    font-size: 1rem;
    border:3px solid rgb(0,100,0);
    background-color:white;
    cursor:pointer;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    column-gap:10px;
}


.searchResult{
    width: 390px;
    max-height: 490px;
    padding: 10px 40px 10px 40px;
    border-radius: 20px;
    display: flex;
    flex-direction:column;
    margin-bottom: 10px;
    justify-content: space-around;
    row-gap: 5px;
}

.searchHead{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

}

.sellerInfo{
    display: flex;
    flex-direction:row;
    column-gap: 10px;
    align-items: center;
    font-size: 0.8rem;
    font-weight: bold;
}


.sellerUsername{
    color:rgb(0,100,0);
}

.sellerRating img{
    width: 60px;
}

.sellerPic{
    height: 60px;
    width: 60px;
    border: solid 2px rgb(0,100,0);
    border-radius: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sellerPic img{
    width: 100%;
}

.bookmarkAdd{
    border: 3px solid rgb(0,100,0);
    border-radius: 9px;
    padding: 10px;
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    cursor:pointer;
}

.searchResult>.propertyPic{
    width: 300px;
    height: 300px;
    align-self: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: black;
}

.propertyPic img.landscape{
    width:100%;
}

.propertyPic img.portrait{
    height: 100%;
}
.propertyPrice{
    color:purple;
}

.propertyPrice h3{
    margin: 0px;
}

.propertyLocation{
    font-size: 0.8rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    width:fit-content;
}

.propertyLocation img{
    height: 15px;
}

.propertyName{
    text-align: left;
}

.propertyName h3{
    margin:0px;
    font-weight: bold;
    font-family: 'Montserrat';
    color: black;
}



@media screen and (orientation:portrait) {
    #noRotate{
        display:none;
    }

    #buyerContainer{
        height:100dvh;
        width: 100dvw;
        overflow: hidden;
        position: fixed;
    }

    .hidden{
        display: none !important;
    }
    
    html{
    font-size:16px;
    }
    
    body.frozen .searchResult{
        padding:60px;
    }
    
    h1{
        font-size: 4rem;
    }
    h2{
        font-size: 3.5rem;
    }
    h3{
        font-size: 3rem;
    }
    h4{
        font-size: 2.5rem;
    }

    a,a:visited,a:active{
        appearance:none !important;
        text-decoration:none !important;
        color:unset !important;
    }

    div, textarea, input{
        box-sizing:border-box;
    }

    input:disabled{
        background-color: rgb(210,210,210);
        appearance:none;
    }
    #propertyView>.backBoard{
        z-index: 6;
    }
    .highlight{
        background-color: rgb(0,150,0,0.5);
    }

    #searchContainer, #menuContainer{
        width: 100%;
        height: 100dvh;
        overflow-y: hidden;
        overflow-x: hidden;
        scrollbar-width: none;
        position:fixed;
        left:0px;
        top:0px;
        z-index:2;
        background-color: white;
        transition-duration: 0.2s;
        display: block !important;
    }

    #menuContainer{
        padding-bottom: 150px;
        overflow-y: scroll !important;
    }

    .shift{
        left: -100% !important;
    }

    textarea::placeholder{
        font-family:"Montserrat";
        font-size:1rem;
    }

    #searchContainer.selected, #menuContainer.selected{
        z-index:3
    }

    #searchContainer.shift{
        left: 100% !important;
    }

     #searchContainer.hidden{
        left: -100% !important;
    }
    
    #searchContainer>h1:first-child, #menuContainer>h1:first-child{
        position: sticky;
        top:0px;
        background-color: white;
        width: 100%;
        height: 160px;
        font-size: 3rem;
        padding: 50px 0px 50px 20px;
        z-index: 100;
        box-shadow: 0px -10px 30px 0px rgb(100,100,100);
        margin: 0px;
        box-sizing: border-box;
    }

    #searchContainer .mainContainer{
        width: 100dvw;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        padding: 20px 20px 500px 20px;
        row-gap: 20px;
        justify-content: space-evenly;
        overflow-y: scroll;
    }

    #searchContainer .mainContainer .noVideo, #searchContainer .mainContainer .noResult{
        font-size:2rem;
        font-family:"Montserrat Bold";
        color: rgba(0,0,0,0.7);
        text-align:center;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-top: 100px;
    }

    #searchContainer .subContainer{
        display:inherit;
        flex-direction:column;
        row-gap:20px;
        width: 100%;
    }

    #searchContainer .mainContainer .resultLoading, #bookmarksContainer .mainContainer .resultLoading{
        animation-name:imgLoading;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-duration: 0.5s;
        animation-direction: alternate-reverse;
        width: 100%;
    }

    #searchContainer a{
        min-width:95%;
        margin:0px 2.5%;
    }

    body.frozen>#searchContainer .mainContainer{
        filter:opacity(0.1);
    }
    
    #searchContainer .banner {
        height: 125px;
        position: sticky;
    }

    #bannerImg {
        width: 250px;
    }

    #searchContainer .banner>.switchButton{
        height:90px;
        width: 330px;
        font-family:"Montserrat Bold";
        font-size: 1.9rem;
        color: white;
        background-color: rgb(0,100,0);
        padding:30px;
        display: flex;
        align-items: center;
        justify-content:center;
        border-radius: 10px;
    }

    #searchContainer .banner>.switchButton:active{
        background-color: rgba(0,150,0,0.5);
        border: none;
    }

    #searchContainer>.EmptyDiv,#bookmarksContainer>.EmptyDiv {
        height: 280px;
    }

    #LoginBtn:hover,#SignUpBtn:hover {
        color:purple;
        background-color: white;
    }

    .searchResult{
        width: 100%;
        height: unset;
        padding: 20px;
        border-radius: 40px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        max-height: unset;
        background-color: white;
        border: solid 2px black;
    }
    
    .searchResult>.propertyPic{
        width: 100%;
        min-height: 900px;
        align-self: center;
        border-radius: 20px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow:hidden;
        background-color: black;
        background-repeat: no-repeat;
        background-size: cover;
        background-position-x: center;
        background-position-y: center;
        animation-name:imgLoading;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-duration: 0.5s;
        animation-direction: alternate-reverse;
    }

    .searchResult>.propertyPic.loaded{
        animation:none;
    }

    .searchResult>.propertyPic .unavailable{
        color:white;
        font-size: 2rem;
        width:100%;
        text-align: center;
    }
    .searchResult .thumbnails.canPlay{
        filter:brightness(0.7);
    }

    .searchResult>.propertyPic video{
        height:auto;
        width:100%;
        margin-top: 25%;
        transition-duration: 1s;
        position: absolute;
        z-index:0;
    }
    
    .searchResult .thumbnails{
        height:130%;
        width:100%;
        transition-duration: 1s;
        position: absolute;
        z-index:0;
    }

    .searchResult>.propertyPic .watchButton{
        position: sticky;
        top:-25%;
        z-index:0;
        color:white;
        padding: 10px;
        height: 100px;
        border-radius: 100%;
        padding: 40px;
        transition-duration:0.5s;
        transition-property:all;
        background-color: rgb(0,0,0,0.5);
    }

    .searchResult>.propertyPic .watchButton.hidden{
        height:50px;
        display: block !important;
        visibility: hidden;
    }

    /* .searchResult>.propertyPic .background{
        position:absolute;
        top: -25%;
        left:0px;
        width: 100%;
        z-index: 0;
        filter: blur(10px);
    } */
    .searchResult>.propertyDetails{
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        row-gap: 10px;
        justify-content: flex-start;
    }

    .searchResult>div:nth-child(3){
        width:95%;
    }

    .propertyPrice{
        color:rgb(0,100,0);
        width: 100%;
        display:flex;
        align-items:center;
        column-gap:10px;
    }

    .propertyPrice>span{
        color:rgb(100,100,100);
        font-family:"Montserrat Bold";
        text-decoration:line-through;
        font-size:2.2rem;
        display: none;
    }

    .propertyPrice h3{
        margin: 0px;
    }

    .propertyLocation{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        column-gap: 15px;
    }

    .propertyLocation>div{
        scrollbar-width: none;
        font-size: 1.8rem;
        font-weight: bold;
    }

    .propertyLocation img{
        height: 40px;
    }

    .propertyName{
        text-align: left;
        width: 100%;
        height: unset;
        font-size: 2rem;
        white-space: normal;
        overflow: scroll;
        line-clamp: 2;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        -webkit-box-orient:vertical;
    }

    .propertyName h3{
        margin:0px;
        font-weight: bold;
        font-family: 'Montserrat';
        font-size: 1.9rem;
    }

    #searchContainer .searchForm{
        width:100%;
        height: 130px;
        top: 125px;
        left: 0px;
        flex-direction: row;
        justify-content: space-around;
        position: sticky;
        box-shadow: 0px -10px 30px 0px rgb(100,100,100);
    }
    
    #searchContainer .searchFilter{
        min-height: 100px;
        min-width: 92px;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: white;
        overflow: hidden;
        border: none;
        cursor: pointer;
        padding: 0px;
        position: absolute;
        left: 20px;
    }

    #searchContainer .searchFilter>div:first-child{
        width: 100px;
        min-height: 94px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #searchContainer .searchFilter img{
        height: 60px;
    }
    
    #searchContainer .searchFilter:active img{
        width:40%;
        margin:40px 0px 40px 0px;
    }
    #FilterCount{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-height: 40px;
        font-size: 1.6rem;
        font-weight: bold;
        color: white;
        background-color: red;
        border-radius: 100%;
        position: relative;
        bottom: 90px;
        left: 22px;
    }

    #searchContainer .searchFilter>div>div{
        width:fit-content;
        height: 100px;
        padding:20px;
        font-size:2.5rem;
        color:rgb(0,100,0);
        background-color:white;
        border:3px solid rgb(0,100,0);
        margin-right:30px;
        text-wrap: nowrap;
        cursor:pointer;
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 10px;
    }

    #searchContainer .searchFilter>div>div>div>img{
        height:40px;
    }

    #searchContainer .searchBar{
        width:100%;
        background-color: white;
        height: fit-content;
        display: flex;
        flex-direction: row;
        align-items: center;
        column-gap: 5px;
        padding: 10px;
        justify-content: space-around;
    }

    .searchBar label{
        width:100%;
    }

    #searchContainer .searchBox{
        min-width: 100%;
        height: 120px;
        font-size: 2.5rem;
        padding: 0px 120px 0px 120px;
    }

    #searchContainer .searchBox:disabled{
        background-color:white;
    }

    #searchOptions.hidden{
        height:0px;
    }

    #searchContainer .searchButton{
        height: 100px;
        min-width: 140px;
        font-size: 2.5rem;
        color: white;
        background-color: unset;
        display:flex;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        border: 0px;
        position: absolute;
        right: 0px;
    }

    #searchContainer .searchButton img{
        height: 60px;
    }

    #searchContainer .searchButton:active{
        font-size: 1.9rem;
        background-color: white;
        color: purple;
    }

    #searchContainer .searchButton:active img{
        height:50px;
    }

    #searchContainer .searchFilterForm{
        display: flex;
        position: fixed;
        border: 0px;
        flex-direction: row;
        flex-wrap:wrap;
        width:100%;
        font-size: 3rem;
        padding: 0px 40px 40px 40px;
        height: 100%;
        background-color: white;
        bottom: 0px;
        left: 0px;
        z-index: 5;
        transition-duration: 0.2s;
        overflow: scroll;
        align-content: flex-start;
        row-gap: 100px;
    }

    #searchContainer .FilterEmptyDiv{
        height: 60px;
    }

    #searchContainer .searchFilterForm>div{
        width:100% !important;
    }

    #searchContainer .searchFilterForm>div:first-child{
        display:flex;
        flex-direction:row;
        flex-wrap:nowrap;
        justify-content: space-between;
        align-items:center;
        background-color: white;
        height: 150px;
        padding: 0px;
        position: sticky;
        top: 0;
    }

    #searchContainer .searchFilterForm>div:first-child>div{
        min-width: 60px;
        min-height: 60px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    #searchContainer .searchFilterForm>div:first-child>div img{
        width: 60px;
        cursor:pointer;
    }

    #searchContainer .searchFilterForm>div:first-child>div:active img{
        height:40px;
    }
    
    #searchContainer .searchFilterForm.hidden{
        left: -100%;
        display:flex !important;
    }

    #searchContainer .searchFilterForm input, #searchContainer .searchFilterForm select{
        height:120px;
        border: 3px solid black;
        width: 100%;
        font-family: 'Montserrat';
        font-size: 3rem;
        font-weight: bold;
        padding:20px;
        appearance: none;
        background-color: white;
    }

    #RatingSelector{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        font-size:3.0.9rem;
        font-weight: bold;
        margin-top:10px;
    }

    #RatingSelector>button{
        padding:5px;
        border: 5px solid black;
        border-radius: 15px;
        color: black;
        background-color: white;
        font-size: 3rem;
        font-family: 'Montserrat Bold';
        height:110px;
        width:110px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

     #RatingSelector>button.selected{
         color: rgb(0,100,0);
         border-color: rgb(0,100,0);
     }

    #RatingSelector>button svg{
        height:40px
    }

    #RatingSelector>button.selected svg{
        fill:rgb(0,100,0);
    }

    #RatingSelector>button:active{
        font-size: 2.2rem;
    }

    #RatingSelector>button:active svg{
        height:30px
    }

    #searchFilterFormButtons{
        width:100%;
        display: flex;
        justify-content: center;
        column-gap: 50px;
        margin-top:50px;
    }
    #searchFilterFormButtons button{
        min-height: 120px;
        width:400px;
        font-size: 3rem;
        font-family: "Montserrat Bold";
        padding:10px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: center;
        align-items: center;
        column-gap: 20px;
        cursor: pointer;
        border-radius: 15px;
    }

    #searchFilterFormButtons button:first-child{
        color:red;
        border-color: red;
        border: 5px solid;
    }

    #searchFilterFormButtons button:nth-child(2){
        background-color: rgb(0,100,0);
        color: white;
        border: 5px solid rgb(0,100,0);
    }

    #searchFilterFormButtons button img{
        height:40px;
    }

    #searchFilterFormButtons button:first-child:active{
        background-color: rgba(255,0,0,0.1);
    }

    #searchFilterFormButtons button:nth-child(2):active{
        background-color: rgba(0,150,0,0.5);
        border-color: rgba(0,150,0,0.5);
        border-width: thin;
    }

    .lastEmptyDiv{
        height: 200px;
        width: 100%;
    }
   
    #loadingContainer{
        width:100%;
        height: -webkit-fill-available;
        position: absolute;
        top: 129px;
        left:0px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 5;
        background-color: white;
    }

    #propertyView{
        position: absolute;
        top:0px;
        left: 0px;
        width: 100dvw;
        height: 100dvh;
        overflow: hidden;
        transition-duration: 0.2s;
        z-index: 6;
        display: flex !important;
        background-color: black;
    }
    #propertyView2{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100dvw;
        height: 100dvh;
        overflow: hidden;
        transition-duration: 0.2s;
        z-index: 7;
        display: flex !important;
        background-color: black;
    }

    #propertyView *{
        transition-duration:0.1s;
    }
    #propertyView.hidden, #propertyView2.hidden{
        left: 100%;
    }
    
    #propertyView video, #propertyView2 video{
        min-height: 100%;
        min-width: 100%;
        position: absolute;
        top: 0px;
        z-index: 0;
        animation-name:imgLoading;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
        animation-duration: 0.5s;
        animation-direction: alternate-reverse;
        background-color: black;
    }

    #propertyView video.loaded, #propertyView2 video.loaded{
        animation:none;
    }

    #propertyView .controls, #propertyView2 .controls{
        position: absolute;
        top: 45%;
        z-index:1;
        height: 10%;
        width: 100%;
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        column-gap:40px;
        transition-duration: 0.1s;
        transition-property: all;
        overflow: hidden;
    }

    #propertyView .controls.hidden, #propertyView2 .controls.hidden{
        height: 0%;
        top: 50%;
    }

    #propertyView .controls.hidden img, #propertyView2 .controls.hidden img{
        height:100px;
        transition-duration: 0.1s;
        transition-property: all;
    }

    #propertyView .controls img, #propertyView2 .controls img{
        border-radius: 100%;
        background-color: rgb(0,0,0,0.5);
        padding: 20px;
        box-sizing: border-box;
    }

    #propertyView .controls img:active, #propertyView2 .controls img:active{
        background-color: rgb(0,0,0,0.7);
    }

    #propertyView .playBtn, #propertyView2 .playBtn{
        height:100%
    }

    #propertyView .seekBtn, #propertyView2 .seekBtn{
        height:70%
    }
    
    .viewDetails{
        font-family: 'Montserrat Bold';
        position:absolute;
        bottom: 200px;
        left:0px;
        width:100%;
        font-size: 3rem;
    }
    
    .viewDetails>div{
        display:flex;
        align-items: center;
        justify-content: center;
        column-gap: 20px;
        color: white;
        background-color: rgba(0,0,0,0.3);
        padding: 30px;
        width: 40%;
        margin-left: 30%;
        border-radius: 30px;
        border: 10px solid white;
    }

    .viewDetails img{
        width:60px;
    }

    #propertyView .backButton{
        color: white !important;
        font-size:2.5rem;
        font-family:"Montserrat Bold";
        text-shadow: 0px 0px 20px black;
        display:flex;
        align-items:center;
        padding:0px !important;
        height:70px;
        border-radius: 0px;
        background: none;
        position: absolute;
        top: 10px;
        left: 10px;
    }

    #propertyView .backButton img{
        width:40px;
    }

    #propertyView .sideBar{
        position: absolute;
        top: 15px;
        right:0px;
        display:flex;
        flex-direction:column;
        color:white;
        text-shadow: 0 0 black;
        font-size:30px;
        font-family:"Montserrat Bold";
        text-align:center;
        max-height: 90%;
        justify-content: flex-end;
        row-gap: 50px;
        padding: 0px 10px;
    }

    #propertyView .sideBarTitle{
        position: absolute;
        top: 20px;
        right: 130px;
        display:flex;
        flex-direction:column;
        color:white;
        text-shadow: 0 0 20px black;
        font-size:1.8rem;
        font-family:"Montserrat Bold";
        text-align:center;
        max-height: 90%;
        justify-content: flex-end;
        row-gap: 50px;
        padding: 0px 10px;
        width: 120px;
        transition-duration:0.2s;
        transition-property: all;
        overflow: hidden;
    }

    #propertyView .sideBarTitle.hidden{
        width:0px;
        display: flex !important;
        padding: 0px;
    }
    #propertyView .sideBarTitle>div{
        height:120px;
        min-width: 100px;
        display:flex;
        align-items:center;
        flex-direction: row-reverse;
    }

    #propertyView .sideBar img{
        width: 50px;
    }

     #propertyView .sideBar>div, #propertyView .sideBar>label{
         display:inherit;
         flex-direction:column;
         align-items:center;
         row-gap: 15px;
         padding: 35px;
         border-radius: 100%;
         background-color: rgba(0,0,0,0.5);
     }

    #propertyView .sideBar>div:active, #propertyView .sideBar>label:active{
         background-color: rgba(0,0,0,0.7);
    }
    
    #propertyView .propertyDetails, #optionsContainer{
        position:absolute;
        bottom: 0%;
        left:0px;
        height: 100%;
        width: 100%;
        z-index:2;
        background-color:rgba(0,0,0,0.5);
        transition-duration: 0.1s;
        transition-property: all;
        scroll-snap-stop: always;
        scroll-snap-type: y mandatory;
        overflow: scroll;
        scrollbar-width: none;
    }

    #propertyView .propertyDetails.hidden, #optionsContainer.hidden{
        bottom: -100%;
        background-color: rgba(0,0,0,0);
        display: unset !important;
    }

    #propertyView .propertyDetails>div, #optionsContainer>div{
        height:50%;
        min-height: 50%;
        max-height: 50%;
        overflow: scroll;
        scroll-snap-align: start;
    }

    #propertyView .propertyDetails .details, #optionsContainer #videoOptions{
        background-color:white;
        font-size: 2rem;
        padding: 20px;
        border-radius: 40px 40px 0px 0px;
    }

    #videoOptions{
        display:flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top:40px;
    }
    #videoOptions>div{
        min-width:100%;
        height: 170px;
        font-size: 2.5rem;
        font-family: "Montserrat";
        font-weight: bold;
        display:inherit;
        flex-direction:row;
        column-gap: 30px;
        align-items:center;
        padding: 20px;
    }
    #videoOptions>div:active{
        background-color:rgba(0,150,0,0.5);
    }
     #videoOptions>div:nth-of-type(2){
         color:red;
     }
    #videoOptions>div:nth-of-type(2):active{
        background-color:rgba(255,0,0,0.5);
    }
    #videoOptions>div>img:first-of-type{
        width: 55px;
    }

    #videoOptions>div>img:nth-of-type(2){
        height: 35px;
        position: absolute;
        right: 40px;
    }

    #propertyView .propertyDetails .details:after{
        content: "";
        background: linear-gradient(to bottom, rgba(255,255,255,0), white);
        width:100%;
        height:100px;
        position: sticky;
        bottom:-20px;
        left:0px;
        display: block;
    }

    #propertyView .propertyDetails .details h2{
        margin: 100px 0px 0px 0px;
        background-color:white;
        padding: 0px 0px 0px 0px;
        font-size: 3rem;
    }    

    #propertyView .propertyDetails .details ul{
        margin-top:0px;
    }

    #propertyView .propertyLocation{
        position:absolute;
        bottom: 75px;
        left:10px;
        font-size: 2rem;
        font-family: 'Montserrat Bold';
        color:white;
        text-shadow: 0px 0px 20px black;
        z-index: 1;
    }
    
    #propertyView video.ended, #propertyView2 video.ended{
        filter:opacity(0.5);
    }
    
    #propertyView .propertyCaption{
        position:absolute;
        bottom:110px;
        left:10px;
        font-size: 2rem;
        font-family: 'Montserrat';
        color:white;
        text-shadow: 0px 0px 20px black;
        z-index: 1;
    }

    #propertyView .propertyPrice{
        position:absolute;
        bottom:20px;
        left:10px;
        font-size:3rem;
        font-family: 'Montserrat Bold';
        color:white;
        text-shadow: 0px 0px 20px black;
        z-index: 1;
    }

    #propertyView .propertyName{
        font-size: 3rem;
        font-family: 'Montserrat Bold';
        width:100%;
        height: unset !important;
        min-height: unset !important;
        display: block;
        margin-top: 30px;
    }
    
    @keyframes imgLoading{
        from{
            opacity:0.5;
        }
        
        to{
            opacity:0;
        }

    }

    .loadingImg{
        animation-duration: 1s;
        animation-name: loading;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
    }

    @keyframes loading{
        to{
            transform: rotateZ(360deg);
        }
    }

    #contactsContainer{
        display:flex;
        flex-direction:column;
        align-items:center;
        padding-bottom: 200px;
    }
    #contactsContainer>h1:first-child, #bookmarksContainer>h1:first-child{
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:50px 50px 50px 20px;
    }

    #contactsContainer .searchBar, #bookmarksContainer .searchBar{
        width:100%;
        height: 173px;
        display:flex;
        flex-direction: row;
        align-items:center;
        justify-content: space-evenly;
        column-gap: 10px;
        padding: 20px;
        background-color:white;
        position:fixed;
        top:0px;
        left:0px;
        transition-duration:0.2s;
        z-index: 101;
    }

    #contactsContainer .searchBar.hidden, #bookmarksContainer .searchBar.hidden{
        top: -183px;
        display:flex !important;
    }

     #contactsContainer .searchBar>svg, #bookmarksContainer .searchBar>svg{
         width: 40px;
         border-radius: 100%;
         padding: 20px;
         position: absolute;
         left: 35px;
     }

    #contactsContainer .searchBar>svg:active,  #bookmarksContainer .searchBar>svg:active{
        background-color: rgba(180,180,180,0.3);
    }
    
    #contactsContainer .searchBox, #bookmarksContainer .searchBox{
        width: 100%;
        height: 130px;
        font-size: 2.5rem;
        font-family:"Montserrat";
        padding: 10px 10px 10px 100px;
        border: 3px solid black;
    }

    #contactsContainer>h1:first-child img, #bookmarksContainer>h1:first-child img{
        width: 70px;
    }

    #contactsContainer>h1:first-child label, #bookmarksContainer>h1:first-child label{
        width:70px;
        height: 70px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

     #contactsContainer>h1:first-child label:active img, #bookmarksContainer>h1:first-child label:active img{
         width:50px;
     }

    .popUpMenu.hidden{
        top: 100%;
    }
    
    .popUpMenu{
        height: 100%;
        width: 100%;
        position:fixed;
        display: flex !important;
        flex-direction:column;
        top: 0%;
        left: 0px;
        z-index: 101;
        background-color: rgba(0,0,0,0.3);
        transition-duration: 0.1s;
        transition-property: all;
    }

    .popUpMenu>div{
        height:50%;
        width:100%;
    }
    .popUpMenu>div:nth-child(2){
        background-color:white;
        border-radius:50px 50px 0px 0px;
        display:flex;
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
        overflow-y: scroll;
        padding: 30px 15px;
        scrollbar-width: none;
        align-content: flex-start;
        row-gap: 50px;
    }

    .popUpMenu>div:nth-child(2)>div:not(.contactHead){
        display:flex;
        align-items:center;
        column-gap: 40px;
        width: 48%;
        font-size:2.5rem;
        font-family:"Montserrat Bold";
        background-color:rgb(0,100,0);
        height: 160px;
        border-radius:20px;
        color: white !important;
        padding: 30px;
    }

    .popUpMenu>div:nth-child(2)>a{
        width: 48%;
        height: 160px;
        font-size:2.5rem;
        font-family:"Montserrat Bold";
        background-color:rgb(0,100,0);
        border-radius:20px;
        color: white !important;
    }

    .popUpMenu>div:nth-child(2)>a>div{
        width:100%;
        display:flex;
        align-items:center;
        column-gap: 40px;
        min-height: 160px;
        padding:30px;
    }

    .popUpMenu>div:nth-child(2)>div:not(.contactHead):active, .popUpMenu>div:nth-child(2)>a:active{
        background-color:rgba(0,150,0,0.7);
    }
     .popUpMenu>div:nth-child(2)>div:not(.contactHead):last-child{
         background-color:red;
     }

    .popUpMenu>div:nth-child(2)>div:not(.contactHead):last-child:active{
         background-color:rgba(255,0,0,0.7);
     }

    .popUpMenu>div:nth-child(2)>div:not(.contactHead) img, .popUpMenu>div:nth-child(2)>a img, .popUpMenu>div:nth-child(2)>div:not(.contactHead) svg{
        width: 3rem;
    }
    
    #contactsContainer .contacts{
        display:flex;
        flex-direction:column;
        align-items:center;
        width:97%;
        padding:40px;
        border: 2px solid black;
        align-self:center;
        border-radius:20px;
        margin-bottom: 40px;
        row-gap: 20px;
    }

    #contactsContainer .contactHead{
        display:flex;
        flex-direction:row;
        align-items: center;
        width:100%;
        justify-content:space-between;
    }

    #contactsMenu .contactHead{
        display:flex;
        flex-direction:row;
        align-items: center;
        width: 100%;
        align-self:center;
        justify-content: center;
        background-color: white;
        column-gap: 20px;
        position: sticky;
        top: -30px;
        left: 0px;
        padding: 20px 0px;
        margin-top: -30px;
    }

    .contacts .contactHead>div{
        display:flex;
        flex-direction:row;
        align-items: center;
        width:fit-content;
        column-gap:30px;
    }

    #contactsContainer .contactHead svg{
        height:70px;
        border-radius:100%;
        border:5px solid rgb(0,100,0);
        position: sticky;
        top: 0px;
        right:0px;
        transition-duration:0.2s;
    }

    #contactsContainer .contactHead svg:active{
        opacity:0.7;
    }

    #contactsContainer .contactPic, #contactsMenu .contactPic{
        overflow:hidden;
        width: 150px;
        height: 150px;
        border-radius:100%;
        display:flex;
        flex-direction:row;
        align-items:center;
        border: 5px solid rgb(0,100,0);
    }

    #contactsContainer .contactPic img, #contactsMenu .contactPic img{
        width:100%;
    }

    #contactsContainer .contactInfo,  #contactsMenu .contactInfo{
        font-size: 2rem;
        font-weight:bold;
        text-align: left;
    }

     #contactsContainer .contactUsername, #contactsMenu .contactUsername{
         font-size: 2rem;
         color:rgb(0,100,0);
     }

    #contactsContainer .contactRating, #contactsMenu .contactRating{
        height: 30px;
    }

    #contactsContainer .contactBio{
        font-size: 2rem;
        text-align:left;
        white-space: normal;
        overflow: hidden;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .reveal{
        overflow: visible !important;
        line-clamp: 9999999999999999999 !important;
        -webkit-line-clamp: 9999999999999999999 !important;
    }

    #bookmarksContainer{
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    #bookmarksContainer .mainContainer{
        display: inherit;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        row-gap: 10px;
        align-items: center;
        width: 100%;
        min-height: 100dvh;
        overflow: scroll;
        padding: 20px 20px 500px 20px;
    }

    #bookmarksContainer .mainContainer a{
        width:100%;
    }
    
    #notificationsContainer{
        display:flex;
        flex-direction:column;
        align-items:center;
        padding-bottom:200px;
    }
    #notificationsContainer>div{
        width: 98%;
        display:flex;
        flex-direction:row;
        column-gap: 20px;
        flex-wrap:nowrap;
        padding: 20px;
        align-items: center;
        font-weight: normal;
        height: 200px;
        margin-bottom: 20px;
    }
    #notificationsContainer>div.unread{
        background-color: rgb(200,225,200);
        font-weight: bold;
    }

    #notificationsContainer>div.unread>.icon{
        border:4px solid rgb(0,100,0);
    }

    #notificationsContainer>div>.icon{
        height: 120px;
        min-width: 120px;
        border-radius:100%;
        border: 4px solid rgb(150,150,150);
        display:flex;
        flex-direction:row;
        align-items:center;
        justify-content:center;
    }

    #notificationsContainer>div>.icon>img{
        height:60%;
        width:60%;
    }

    #notificationsContainer>div>.content{
        width:-webkit-fill-available;
        font-size: 2rem;
    }
    
    #menuContainer>div:not(.footer){
        margin: 0px 15px;
        max-width:100%;
        height: 170px;
        font-size: 2.5rem;
        font-weight: bold;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        column-gap: 30px;
        padding:0px 0px 0px 20px;
    }    

    #menuContainer>div.subHead:first-of-type{
        height:50px;
        color:rgba(0,0,0,0.5);
        border:none;
        margin: 20px 0px 0px 0px;
    }

    #menuContainer>div.subHead{
        height:50px;
        color:rgba(0,0,0,0.5);
        border:none;
        font-size:2rem;
        margin: 80px 0px 0px 0px;
    }

    #menuContainer>div:active{
        background-color: rgba(0,150,0,0.2);
    }

    #menuContainer>div>img{
        width: 60px;
    }

    #menuContainer>div>img:nth-of-type(2){
        width:20px;
        position:absolute !important;
        right:50px;
        bottom:unset;
    }

    .footer{
        font-size:2rem;
        color:rgba(0,0,0,0.6);
        min-width:100%;
        display: flex;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        text-align:center;
        padding-top: 100px;
    }

    #uploadVideo, #agentLogin{
        height: 100dvh !important;
        width: 100%;
        position: fixed;
        top: 0px;
        left: 0px;
        background-color:white;
        display:block !important;
        border:0px !important;
        margin: 0px !important;
        z-index: 5;
        transition-duration: 0.2s;
    }

    #uploadVideo .mainContainer, #agentLogin .mainContainer{
        width:98%;
        height:100%;
        margin:0px 1%;
        overflow:scroll;
        padding: 0px 10px 200px 10px;
        scrollbar-width:none;
    }

    /* #uploadVideo .mainContainer:after{
        content: "";
        background: linear-gradient(to bottom, rgba(255,255,255,0), white);
        width:100%;
        height:200px;
        position: sticky;
        bottom: -70px;
        left:0px;
        display: block;
    } */

    #uploadVideo form *:focus{
        border: 3px solid rgb(0,150,0) !important;
    }
     
    #uploadVideo.hidden, #agentLogin.hidden{
         left: 100%;
         display:block !important;
     }

    #uploadVideo label{
        height:900px;
        font-size: 2.5rem;
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        border: none;
        background-color: black;
        border-radius:30px;
        margin-top:20px;
        overflow:hidden;
        position:relative;
        box-sizing: border-box;
        color: white;
    }

    #uploadVideo label video{
        width:100%;
        filter:brightness(0.5);
    }

    #uploadVideo .controls{
        display: flex !important;
        flex-direction:row;
        column-gap: 30px;
        position:absolute;
        transition-duration: 0.2s;
        height: 150px;
        overflow: hidden;
    }

    #uploadVideo .controls.hidden{
        height:0px;
    }

    #uploadVideo .controls div{
        padding: 30px;
        border-radius:100%;
        background-color:rgba(0,0,0,0.5);
        min-height: 140px;
    }

    #uploadVideo .controls div:active{
        background-color:rgba(0,0,0,0.7);
    }

    #uploadVideo .controls img{
        min-height: 90px;
    }

    #uploadVideo>div:first-child, #agentLogin>div:first-child{
        font-family:"Montserrat Bold";
        font-size: 3rem;
        display:flex;
        align-items:center;
        column-gap: 20px;
        position: sticky;
        top: 0px;
        left: 0px;
        height: 130px;
        background-color: black;
        color: white;
        padding-left: 10px;
        margin: 0px !important;
    }

    #uploadVideo>div:first-child img, #agentLogin>div:first-child img{
        width:50px
    }

    #uploadVideo>label{
        height:900px;
        width:100%;
        font-size:2.5rem;
        font-weight:boldd;
    }

    #uploadVideo .mainContainer>form>div, #agentLogin .mainContainer>form>div{
        display:flex;
        flex-direction:column;
        justify-content:flex-start;
        font-size:2.5rem;
        font-weight:bold;
        margin-top:50px;
        row-gap:10px;
    }

    #uploadVideo .mainContainer>form>div input, #agentLogin .mainContainer>form>div input, #uploadVideo .mainContainer>form>div select{
        height:100px;
        border:3px solid black;
        padding:10px;
        font-size: 2.3rem;
        font-family:"Montserrat"
    }

    #uploadVideo .mainContainer>form>div textarea{
        height:500px;
        border:3px solid black;
        font-size: 1rem;
        font-family:"Montserrat";
        padding:10px;
        scrollbar-width: none;
    }

    #uploadVideo .mainContainer>form button, #agentLogin>.mainContainer>form button{
        height:120px;
        width:100%;
        margin-top:100px;
        font-size:3rem;
        font-family:"Montserrat Bold";
        color:white;
        background-color:rgb(0,100,0);
        border:0px;
        border-radius:10px;
    }

    #uploadVideo .mainContainer>form button:disabled, #agentLogin>.mainContainer>form button:disabled{
        filter:opacity(0.5)
    }

    #uploadVideo .mainContainer>form button img, #agentLogin>.mainContainer>form button img{
        height:70px;
    }

    #uploadVideo .mainContainer>form button:active, .mainContainer>form button:active{
        background-color: rgba(0,100,0,0.5) !important;
    }

    #menuBar{
        position:fixed;
        bottom:0px;
        left:0px;
        background-color:white;
        height: 100px;
        width:100%;
        z-index: 4;
        display:flex;
        justify-content:space-around;
        align-items:center;
        box-shadow: 0px 10px 30px 0px rgb(100, 100, 100);
        transition-duration:0.2s;
        overflow: hidden;
    }

    #menuBar.hidden{
        left: 100%;
        display: flex !important;
    }

    #menuBar>div{
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 20%;
        overflow:hidden;
        transition-duration:0.2s;
        align-items: center;
        justify-content: center;
    }    

    #menuBar>div:active{
        background-color: rgb(0 150 0 / 20%);
        border-radius:20px;
    }

    #menuBar>div:not(.selected)>img.selected{
        display: none;
    }
    
    #menuBar>div:not(.selected)>img:not(.selected){
        display: block;
    }

    #menuBar>div.selected>img.selected{
        display: block;
        position: relative;
    }
    #menuBar>div.selected>img:not(.selected){
        display: none;
    }

    #menuBar img{
        height: 60px;
        width: 60px;
    }

    

}

@media screen and (orientation: landscape){
    #noRotate{
        display:flex;
        justify-content:center;
        align-items:center;
        min-width: 100%;
        min-height: 100%;
        font-size: 2.5rem;
        font-family: 'Montserrat Bold';
        color:rgb(100,100,100);
        text-align:center;
        padding: 10px;
    }
    #propertyView, #sellerContact, #buyerContainer, #menuBar, #contactsMenu{
        display: none !important;
    }
    body{
        overflow:hidden;
    }
}