* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: #EFA00B;
}

body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

ul li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

a {
    text-decoration: none;
}

.viewer-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

.layout {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.villa-info-model {
    position: relative;
    width: 250px;
    font-family: Roboto;
    height: 350px;
}

.filters {
    position: fixed;
    bottom: 80px;
    right: 24px;
    z-index: 99;
    background-color: rgba(0,0,0,0.7);
    padding: 14px;
    display: none;
    flex-direction: column;
    row-gap: 24px;
}

.villa-info-model {
    position: fixed;
    bottom: 18px;
    left: 60px;
    z-index: 99;
    background-color: rgba(0,0,0,0.7);
    padding: 14px;
    display: none;
    flex-direction: column;
    row-gap: 18px;
    border-radius: 10px;
}

.villa-info-model div {
    display: flex;
    column-gap: 8px;
    color: #ffffff;
}

.villa-info-model div a {
    padding: 6px 12px;
    border-radius: 50px;
    cursor: pointer;
    color: #ffffff;
    outline: none;
    border: none;
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 300;
}

#callback {
    background-color: #25d366;
}

#explore {
    background-color: #EFA00B;
}

.status {
    color: aqua;
}

.logo {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 99;
    width: 120px;
    max-height: 120px;
}

.left-controls,
.right-controls {
    display: flex;
    position: fixed;
    bottom: 12px;
}

.left-controls {
    flex-direction: column;
    align-items: center;
    row-gap: 8px;
    left: 12px;
}

.right-controls {
    right: 24px;
    column-gap: 14px;
}

.left-controls div,
.right-controls div {
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 2px;
    row-gap: 4px;
    font-family: Roboto;
}

.left-controls div {
    display: flex;
    flex-direction: column;
}

.right-controls div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.left-controls div div,
.right-controls div div {
    height: 36px;
    width: 36px;
    border-radius: 50px;
    border: none;
    outline: none;
    background-color: black;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.left-controls div div i {
    transform: rotate(-135deg);
}

.filters {
    height: 250px;
    width: 280px;
    color: #ffffff;
    border-radius: 6px;
    user-select: none;
}

.filters div {
    display: flex;
    align-items: center;
    column-gap: 8px;
}

.filters div ul {
    border-left: 1px dashed #ffffff;
    padding-left: 8px;
}

.filters-active {
    display: flex;
}

.orientations,
.sizes,
.statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.orientations li,
.sizes li,
.statuses li {
    border: 1px solid #ffffff;
    padding: 4px 6px;
    cursor: pointer;
    border-radius: 2px;
    font-family: Roboto;
    font-weight: 300;
    font-size: 12px;
    letter-spacing: 2px;
}

.reset-btn {
    cursor: pointer;
    outline: none;
    border: none;
    padding: 6px 12px;
    border-radius: 2px;
    font-family: Roboto;
    border: 1px solid #EFA00B;
    color: #ffffff;
    background-color: transparent;
}

.active-btn {
    background-color: #ffffff;
    color: #000000 !important;
}
  
.full-screen-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1;
    background-color: #000000;
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.full-screen-container button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

.hide {
    display: none;
}

.count {
    position: absolute;
    right: -10px;
    top: -12px;
    background-color: #EFA00B;
    z-index: 9;
    height: 24px;
    width: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    letter-spacing: 0;
}

.copyright-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    bottom: 4px;
    left: center;
    padding: 0;
}

.copyright {
    background-color: #000000;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 50px;
    margin-top: -24px;
    user-select: none;
}

.spim-logo {
    height: 100px;
    position: fixed;
    top: 14px;
    left: 154px;
}

.controls {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    column-gap: 18px;
}

.controls a {
    background-color: #EFA00B;
    font-weight: 400;
    letter-spacing: 2px;
    width: max-content;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 50px;
    font-size: 14px;
    height: 36px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-inner-wrapper {
    height: 70%;
    width: 65%;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    overflow-y: auto;
}

.about-inner-wrapper .about-title {
    font-weight: 24px;
    font-weight: 300;
}

.toggle-container {
    position: fixed;
    top: 30px;
    right: 72px;
    z-index: 9;
    display: block;
}

.right-controls div span {
    user-select: none;
}

@media screen and (max-width: 1399px) and (orientation: landscape) {

    .toggle-container {
        top: 10px;
        right: 50px;
    }

    .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;
    }   

    .left-controls div div,
    .right-controls div div {
        background-color: #3B2C35;
    }
}

.viewer-inner-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    overflow: auto;
}

.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;
    }
}

.minimize {
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-color: #ff0000;
    border: none;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 8px;
    right: 8px;
}

.close-btn {
    height: 24px;
    width: 24px;
    cursor: pointer;
    background-color: #ff0000;
    border: none;
    color: #ffffff;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -16px;
    right: -16px;
}

.surroundings {
    width: 100%;
    height: 100%;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}
  
.checkbox:checked + .checkbox-label .ball {
    transform: translateX(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;
  }

  .popover {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: rgba(0,0,0,0.6);
    width: 100vw;
    height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .popover video {
    object-fit: cover;
  }

  .popover-video-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .popover-video-wrapper button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -18px;
    right: -18px;
    align-self: flex-end;
    outline: none;
    border: none;
    color: #ff0000;
    height: 24px;
    width: 24px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #ffffff;
  }

  @media screen and (max-width: 1023px) {
    .popover video {
        height: 240px;
        width: 426px;
    }
  }

  @media screen and (min-width: 1024px) {
    .popover video {
        width: 854px;
        height: 480px;
    }
  }

.triangle-down {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 16px solid rgba(0,0,0,0.7);
    position: absolute;
    bottom: -16px;
    left: 46%;
}

.triangle-up {
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 16px solid rgba(0,0,0,0.7);
    position: absolute;
    top: -16px;
    left: 46%;
}

.triangle-left {
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-right: 16px solid rgba(0,0,0,0.7);
	border-bottom: 8px solid transparent;
    position: absolute;
    left: -16px;
    top: 46%;
}

.triangle-right {
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-left: 16px solid rgba(0,0,0,0.7);
	border-bottom: 8px solid transparent;
}

.tooltip {
    background-color: #c68400;
    min-width: 220px;
    min-height: 40px;
    position: absolute;
    padding: 14px;
    visibility: hidden;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    z-index: 99;
}

.tower-name {
    color: #ffffff;
    font-size: 16px;
    font-weight: 300;
    font-family: Roboto;
}

.seperator {
    background-color: #ffffff;
    width: 100%;
    height: 1.4px;
    border: none;
}

.tower-summary-list {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
    color: #ffffff;
    font-weight: 300;
    font-size: 12px;
    font-family: Roboto;
}

.tower-summary-list-item {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.total-units {
    font-weight: 300;
    font-size: 12px;
    font-family: Roboto;
    color: #ffffff;
}