@font-face {
    font-family: 'ledger'; /* Choose a name for your font */
    src: url('./assets/fonts/Ledger-Regular.ttf') format('truetype')
}

@font-face {
    font-family: 'roboto-bold'; /* Choose a name for your font */
    src: url('./assets/fonts/Roboto-Bold.ttf') format('truetype')
}

@font-face {
    font-family: 'roboto-light'; /* Choose a name for your font */
    src: url('./assets/fonts/Roboto-Light.ttf') format('truetype')
}

@font-face {
    font-family: 'roboto-light-italic'; /* Choose a name for your font */
    src: url('./assets/fonts/Roboto-LightItalic.ttf') format('truetype')
}

/* handle larger tablet */
@media (max-width: 1370px){
    .propertyContainer{
        min-width: 45vw;
        width: 45vw;
    }
    .propertyImage{
        display: block;
        min-width: 40vw;
        height: auto;
    }

    .projectContainer{
        min-width: 26vw;
        width: 26vw;
        min-height: 38vh;
        /* background-color: blue; */
        justify-content: flex-end;
        align-items: flex-end;
    }
    .projectContainer p{
        font-size: 1.5em;
    }

    .projectCompare{
        min-width: 55vw;
        width: 55vw;
    }

    .projectImage{
        display: block;
        min-width: 25vw;
        width: 30vw;
    }
    
    .leasingInfo{
        font-size: 1.1em;
    }

    .mangementInfo ul{
        padding-left: 2vw;
        font-size: 1.1em;
    }
}


@media (max-width: 1200px){
    .aboutContainer img{
        max-width: 25vw;
        max-height: 25vh;
    }
}

/* handle tablets */
@media (max-width: 1130px){
    body{
        font-size: 12px;
    }
    .propertyContainer{
        min-width: 45vw;
        width: 45vw;
    }
    .propertyImage{
        display: block;
        min-width: 40vw;
        height: auto;
    }

    .projectContainer{
        min-width: 26vw;
        width: 26vw;
        min-height: 38vh;
        /* background-color: blue; */
        justify-content: flex-end;
        align-items: flex-end;
    }
    .projectContainer p{
        font-size: 1.5em;
    }

    .projectCompare{
        min-width: 55vw;
        width: 55vw;
    }

    .projectImage{
        display: block;
        min-width: 25vw;
        width: 30vw;
    }

}


@media (max-width: 1065px){

    .propertyContainer{
        min-width: 45vw;
        width: 45vw;
    }
    .propertyImage{
        display: block;
        min-width: 40vw;
        height: auto;
    }

    .projectContainer{
        min-width: 26vw;
        width: 26vw;
        min-height: 38vh;
        /* background-color: blue; */
        justify-content: flex-end;
        align-items: flex-end;
    }
    .projectContainer p{
        font-size: 1.5em;
    }

    .projectCompare{
        min-width: 55vw;
        width: 55vw;
    }

    .projectImage{
        display: block;
        min-width: 25vw;
        width: 25vw;
        height: 20vh;
        max-height: 30vh;
    }
    
}



body{
    /* background-color: #457DD0; */
    background-color: #46342A;
    font-family: 'roboto-light';
}


.spinner-container {
    display: none;
    justify-content: center;
    align-items: center;
    height: 10vh; /* Adjust as needed */
 }
 
 /* Spinner Styles */
 .spinner {
    border: 4px solid rgba(0, 0, 0, 0.1); /* Spinner border color */
    border-top: 4px solid #3498db; /* Spinner top border color (adjust as needed) */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite; /* Rotation animation */
 }
 
 /* Keyframes for Rotation */
 @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
 }

.contactContainer{
    margin-top: 0;
    display: flex;
    flex: .8;
    width: 95%;
    justify-content: space-between;
}


.contactPageBox{
    display: flex;
    flex: 1;
    max-width: 30vw;
    max-height: 65vh;
    flex-direction: column;
    align-items: center; 
}

.contactPageBox h2{
    color: #F9EAE1;
    margin: 0;
    margin-bottom: 4px;
}

.contactPageInnerBox{
    display: flex;
    flex: 1;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    border-style: solid;
    border-width: 2px;
    border-color: #CEFDFF;
}

.contactForm{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 95%;
}

.contactFormField{
    display: flex;
    flex: 1;
    max-height: 5vh;
    height: 5vh;
    width: 95%;
    background-color: #F9EAE1;
    border-radius: 10px;
    font-size: 0.8em;
    padding-left: 2%;
    border: none;
    resize: none;
}

.formComponent{
    display: flex;
    flex: 1;
    width: 95%;
    flex-direction: center;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.formComponent label{
    margin-bottom: 4px;
    color: #FFF;
    font-size: 1.25em;
    text-align: center;
}

.submitButton{
    width: 5vw; 
    text-align: center; 
    font-size: 0.7em;
    margin-bottom: 2vh;
    cursor: pointer;
    border-radius: 10px;
    transition: width 0.2s ease-in-out, font-size 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.submitButton:hover{
    background-color: darkgray;
    width: 6vw;
    font-size: 0.8em;
}


.leasingInfo li{
    text-align: left;
    font-size: 1.7em;
    line-height: 1.2;
    color: #F9EAE1;
    margin-left: 2%;
    margin-right: 2%;
}

.mangementInfo h3{
    margin-left: 8%;
    margin-right: 8%;
    font-size: 1.8em;
    color: #F9EAE1
}


.mangementInfo li{
    margin-left: 10%;
    margin-right: 8%;
    font-size: 1.2em;
    color: #F9EAE1;
    word-wrap: break-word;
}


.navBar{
    display: flex;
}
.navBarList{
    display: flex;
    flex: 1;
    justify-content: space-evenly;
    list-style: none;
}

.titleTextContainer {
    display: flex;
    flex: 1;
    color: #F9EAE1;
    text-align: left;
    font-family: 'ledger', 'Times New Roman', Times, serif;
}

.contentContainer{
    display: flex;
    width: 100%;
    align-items: left;
    padding-bottom: 5em;
}

.nextSectionTextContainer{
    align-items: center;
}


.nextSectionText a{
    color: #F9EAE1;
    font-size: 1.5rem;
    text-decoration: none;
    transition: font-size 0.1s ease-in-out, color 0.1s ease-in-out;
}

.nextSectionText a:hover{
    font-size: 1.6rem;
    color: #AA998F;
}

.headerContainer{
    display: flex;
    width: 100%;
    flex: 0.15;
    flex-direction: row;
    justify-content: space-evenly;
}

.descriptionTextContainer{
    display: flex;
    flex: 0.05;
    flex-direction: row;
    width: 100%;
    margin-top: 2em;
    justify-content: center;
}

.descriptionTextContainer p{
    text-align: center;
    font-size: 1.5em;
    color: #F9EAE1;
}

.propertyImage{
    width: 30vw;
    height: 40vh;
    border-radius: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}


.propertyContainer{
    display: flex;
    flex: 1;
    flex-direction: column;
    max-width: 33vw;
    width: 30vw;
    justify-content: center;
    align-items: center;
    margin-right: 3vw;
}

.propertyContainer p{
    text-align: center;
}

.propertyTextContainer{
    justify-content: center;
    align-items: center;
}

.propertyTextContainer p {
    color: #fff;
    font-size: 1rem;
}


.propertiesCarousel{
    display: flex;
    overflow: hidden;
    flex: 0.7;
    height: 25vh;
    width: 95%; 
    margin-right: 8vw;
    margin-left: 8vw;
    margin-bottom: 0vw;
    position: relative;
    /* justify-content: space-evenly; */
    /* align-items: center; */
    overflow-x: auto;
    white-space: nowrap;
}


.carouselButtons{
    display: flex;
    flex: 0.02;
    width: 36vw;
    height: 1vw;
    justify-content: space-between;
    margin-top: 5px;
}


.leftArr {
    display: flex;
    flex: 1;
    max-width: 1vw;
    max-height: 5vw;
    height: 1.8vw; /* revisit not sure ?? */
    width: 1vw;
    cursor: pointer;
    padding: 0.2vw;
    padding-right: 0.3vw;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.rightArr {
    display: flex;
    flex: 1;
    max-width: 1vw;
    max-height: 5vw;
    height: 1.8vw; /* revisit not sure ?? */
    width: 1vw;
    cursor: pointer;
    padding: 0.2vw;
    padding-left: 0.3vw;
    justify-content: center;
    align-items: center;
    border-radius: 1.3vh;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.rightArr img{
    display: block;
    width: 1vw;
    height: 1.5vw;
}

.rightArr:hover,
.leftArr:hover{
    background-color: #534C47;
    transform: scale(1.4);
}

.leftArr img{
    display: block;
    width: 1vw;
    height: 1.5vw;
    transform: rotate(180deg);
}


.aboutContainer{
    display: flex;
    flex: .8;
    width: 95%;
    position: relative;
    justify-content: center;
    margin-top: 8vh;
}

.aboutContainer img{
    display: block;
    width: 25.7vw;
    height: 35vh;
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-60%);
    border-radius: 10px;
}

.aboutTextContainer{
    justify-content: center;
    line-height: 1.5;
}

.aboutText{
    text-align: left;
    font-size: 1.8em;
    color: #F9EAE1;
}

.aboutTextContainer ul{
    padding-left: 5vw;
    font-size: 1.5em;
    margin: 0;
    color: #F9EAE1;
}


.projectTextContainer{
    justify-content: center;
    align-items: center;
}

.projectTextContainer p{
    margin-bottom: 0.2vh;
    color: #AA998F;
}

.projectContainer{
    display: flex;
    flex: 1;
    flex-direction: column;
    max-width: 20vw;
    width: 20vw;
    justify-content: center;
    align-items: center;
    margin-right: 0.6vw;
}

.projectCompare{
    display: flex;
    flex: 1;
    max-width: 42vw;
    width: 42vw;
    margin-right: 6vw;
    justify-content: center;
    align-items: center;
}

.projectImage{
    padding: 0;
    display: block;
    width: 19.05vw;
    height: 37.3vh;
    border-radius: 15px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}


.applySection{
    display: flex; 
    flex: 1; 
    justify-content: flex-end;
}

.applySection p{
    color: #F9EAE1;
    margin: 0;
    padding-top: 1em;
    padding-right: 1.5em;

}

.sectionTitle{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.sectionTitle h1{
    text-align: center;
    margin: 0;
    color: #F9EAE1;
    font-size: 2em;
}

.nameSmall{
    text-align: center;
    color: #F9EAE1;
    font-size: 1.5em;
    margin: 0;
    padding-top: 1em;
    padding-left: 1.5em;
}

.nameContainer{
    display: flex; 
    flex: 1; 
    justify-content: flex-start; 
    align-items: flex-start;
}


.imageContainer {
    max-width: 100%;
    flex: 2;
}


.homeImage{
    max-width: 100%;
    max-height: 100%;
    width: 50%;
    border-radius: 1%;
}

.page{
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    max-height: 100vh;
}

.pagesContainer{
    display: flex;
    flex:1;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
}

.navTags a{
    text-decoration: none;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 1.3em;
    transition: color 0.2s ease-in-out, font-size 0.2s ease-in-out;
}

.navTags a:hover{
    font-size: 1.4em;
    color: #AA998F;
}