* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
}

a {
    text-decoration: none;
}

.logo {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 99;
    width: 120px;
    max-height: 120px;
}

.contact {
    height: 100vh;
    width: 100vw;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 36px;
    color: #ffffff;
    padding: 48px;
    position: fixed;
}

.address-wrapper {
    background-color: #000000;
    font-family: Roboto;
    display: flex;
    flex-direction: column;
    row-gap: 14px;
}

.address-wrapper h1 {
    font-size: 18px;
    font-weight: 400;
}

.address-wrapper address {
    line-height: 28px;
    font-weight: 300;
    font-size: 16px;
}

form {
    font-family: Roboto;
    display: flex;
    flex-direction: column;
    row-gap: 18px;
    color: #ffffff;
}

form h1 {
    font-size: 24px;
    font-weight: 400;
    font-family: Roboto;
}

form input {
    padding: 12px;
    background-color: transparent;
    border: 1px solid #ffffff;
    outline: none;
    color: #ffffff;
    width: 300px;
    font-family: Roboto;
    border-radius: 4px;
}

form button {
    border: none;
    outline: none;
    background-color: blue;
    border-radius: 2px;
    padding: 8px 16px;
    color: #ffffff;
    font-family: Roboto;
    width: max-content;
    font-size: 14px;
    cursor: pointer;
}

.contact-top-section {
    display: flex; 
    column-gap: 36px; 
    align-items: center;
}

.copyright {
    font-family: Roboto;
    font-weight: 300;
    position: fixed;
    bottom: 18px;
}

.controls {
    position: fixed;
    bottom: 12px;
    right: 12px;
    display: flex;
    column-gap: 18px;
}

.controls a {
    background-color: #EFA00B;
    font-weight: 400;
    letter-spacing: 2px;
    width: max-content;
    color: #ffffff;
    border-radius: 50px;
    font-size: 14px;
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 1399px) and (orientation: landscape) {

    .prev-btn {
        display: none;
    }

    .logo {
        width: 70px;
        max-height: 70px;
        top: 8px;
        left: 8px;
    }

    .full-screen-container {
        height: 30px;
        width: 30px;
        font-size: 36px;
        top: 8px;
        right: 8px;
    }

    .left-controls {
        left: 8px;
    }

    .right-controls {
        flex-direction: column;
        right: 8px;
        row-gap: 8px;
    }

    .right-controls div span {
        display: none;
    }

    .copyright-wrapper {
        display: none;
    }

    .copyright {
        font-size: 12px;
    }

    .filters,
    .villa-info-model {
        bottom: 8px;
        right: 48px;
    } 

    body,
    .viewer-container {
        overflow: auto;
        width: auto;
        height: auto;
        object-fit: contain;
        overflow: hidden;
    }   

    .left-controls div div,
    .right-controls div div {
        background-color: #EFA00B;
    }

    .contact {
        row-gap: 12px;
    }

    .address-wrapper {
        row-gap: 8px;
    }

    form {
        row-gap: 12px;
    }

    form input {
        width: 250px;
    }

    .controls a { 
        height: 36px;
        width: 36px;
    }
}

.rotate-device-orientation-wrapper {
    background-color: #ffffff;
    z-index: 999;
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.rotate-device-orientation-text {
    font-size: 24px;
    font-weight: 500;
}


@media screen and (max-width: 1399px) and (orientation: portrait) {
    .rotate-device-orientation-wrapper {
        display: flex;
        overflow: hidden;

    }
}

.prev-btn {
    position: fixed;
    top: 50%;
    border: none;
    outline: none;
    height: 36px;
    width: 36px;
    background-color: #EFA00B;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9;
}

.prev-btn {
    left: 24px;
}

.loader-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #000000;
}

.loader {
    width: 50px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #ccc #0000;
    animation: l16 1s infinite linear;
}

.loader::before,
.loader::after {    
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: #f03355 #0000;
    animation: inherit; 
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 8px;
}

@keyframes l16 { 
    100%{transform: rotate(1turn)}
}

.hidden-loader {
    display: none;
}

.contact-us {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 99;
}