@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'century-gothic';
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.firsttop {
    position: absolute;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    left: 0%;
}

.image-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.svg-container polygon {
    transition: fill 0.3s ease;
}

.svg-container polygon:hover {
    fill: rgba(82, 194, 238, 0.7);
}

#addBtn p {
    font-family: Calibri !important;
}

.card-container {
    position: absolute;
    right: 7%;
    bottom: 15%;
    width: 19%;
    height: fit-content;
    padding: 14px;
    box-sizing: border-box;
    background-color: rgb(15 49 23 / 80%);
    z-index: 10;
    display: none;
    flex-direction: column;
    align-items: center;
    border-radius: 34px;
}

.card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: transparent;
    border: none;
}

h1 {
    font-size: 15px;
    margin-bottom: 5px;
    text-align: left;
    color: white;
}

.orientation-buttons {
    display: flex;
    flex-direction: row;
    gap: 6px;
    margin-bottom: 20px;
    width: 100%;
}

.orientation-buttons button {
    width: 100%;
    padding: 1px;
    border: 1px solid;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    background: transparent;
}

#reset-button {
    margin: 5px 4px 3px 1px;
    background: #218838;
    color: white;
    border: 1px solid white;
    font-size: 12px;
    border-radius: 5px;
    width: 94%;
    padding: 5px;
    cursor: pointer;
}

#reset-button:hover {
    background-color: #4CAF50;
}


.orientation-buttons button:hover {
    background-color: #d3dddf8e;
}

#corner-plots-button {
    width: 45%;
    padding: 1px;
    border: 1px solid;
    color: white;
    font-size: 15px;
    cursor: pointer;
    border-radius: 5px;
    background: transparent;
}

.card-container button:hover {
    background-color: #218838;
}

#corner-plots-button:hover {
    background-color: #218838;

}

.slider-section {
    width: 100%;
    margin: 15px 0px 0px 0px;
}

.slider-section h2 {
    color: white;
    font-size: 16px;
    margin: 12px 0px;
}

.slider-section .slider-value {
    color: white;

}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 3px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
    cursor: pointer;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    background: #ffffff;
    cursor: pointer;
    border-radius: 50%;
}

.slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    background: #4CAF50;
    cursor: pointer;
    border-radius: 50%;
}

.amenities-section,
.availability-section {
    width: 100%;
    color: white;
    font-size: 10px;
}

.amenities-buttons,
.availability-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.amenities-buttons button,
.availability-buttons button {
    margin: 5px 4px 3px 1px;
    background: transparent;
    color: white;
    border: 1px solid white;
    font-size: 12px;
    border-radius: 5px;
    width: 30%;
    padding: 5px;
    cursor: pointer;
}

#info-card {
    position: absolute;
    bottom: 0%;
    left: 1%;
    width: 16%;
    height: fit-content;
    padding: 14px;
    background-color: rgb(15 49 23 / 80%);
    color: white;
    border-radius: 23px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.plot-data-value {
    font-size: 16px;
}

#info-card .card-body {
    padding: 0;
}

#info-card .card-title {
    margin-bottom: 10px;
    font-size: 18px;
}

#info-card #plot-info {
    font-size: 14px;
    padding: 10px 0px 0px 0px;
}

#plot-info strong {
    padding: 10px 0px;
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
}

.topbutton {
    display: flex;
    width: 41%;
    position: absolute;
    left: 64%;
    top: 8%;
}

.amenities-selected {
    position: relative;
    right: 48%;
}


.modal-content {
    background-color: transparent;
    margin: auto;
    width: 100%;
    position: relative;
    bottom: 10%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: red;
    text-decoration: none;
    cursor: pointer;
}




.alertmodal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.alert-content {
    background-color: rgb(15 49 23 / 80%);
    margin: 15% auto;
    padding: 13px;
    border: 1px solid #888;
    width: 23%;
    max-width: 400px;
    border-radius: 10px;
    position: absolute;
    top: 54%;
    left: 19%;
    color: white;
    display: flow;
    text-align: center;
}

#compareModal {
    display: none;
    position: fixed;
    top: 57%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 47%;
    height: 38%;
    padding: 20px;
    background-color: rgb(15 49 23 / 80%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border-radius: 10px;
}

#compareModal h2 {
    font-size: 16px;
    display: flex;
    justify-content: center;
    position: relative;
    bottom: 8%;
    color: white;
}

.row-wrapper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.compared-plot.card {
    flex: 1;
    border-radius: 12px;
    max-width: 25%;
    height: 248px;
    font-size: 14px;
    background: transparent;
    border: 1px solid white;
    padding: 15px;
    color: white;
}

.compared-plot h4 {
    margin-top: 0;
}

.compared-plot button {
    margin-top: 10px;
    padding: 5px 10px;
    background-color: #ec0909;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.compared-plot button:hover {
    background-color: #c30707;
}

.threebtns {
    display: flex;
    z-index: 100;
    position: absolute;
    bottom: 3%;
    width: fit-content;
    right: 2%;
    flex-direction: column;
    gap: 10px;
}

#display-filters-button,
#threebtn,
#highlights {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
}

#display-filters-button:hover img {
    content: url('images/filter_hover.png');
}

#threebtn:hover img {
    content: url('images/three_sxty_hover.png');
}

#highlights:hover img {
    content: url('images/location_hover.png');
}




#info-card {
    transition: transform 1s ease !important;
}

.minimized {
    transform: translateY(100%) !important;
}

#minimize-btn {
    font-size: 11px !important;
    color: #d8e9bc !important;
    cursor: pointer !important;
    background-color: transparent !important;
    border: 4px solid #d8e9bc !important;
    padding: 0px !important;
    position: absolute !important;
    bottom: 100% !important;
    left: 82% !important;
    width: 12% !important;
    height: 5% !important;
    display: flex !important;
    justify-content: center !important;
}

#minimize-btn:hover {
    color: #d8e9bc !important;
}

.tooltip-close-btn {
    background: transparent;
    border: none;
    color: red;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

.tooltip-close-btn:hover {
    color: #ff0000;
}




.slider-section,
.orientation-section {
    margin-top: 10px;
    /* Adjust the value to decrease the space */
}

h2 {
    margin-bottom: 5px;
    /* Reduce the bottom margin of headings */
}

/* Initially hiding content of both sections */
#size-slider,
#size-value,
#orientation-buttons,
#corner-plots-button {
    display: none;
}


button:focus {
    outline: none;
    outline: none;
}


#landscapeAlert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(34 57 87);
    color: white;
    z-index: 9999;
    text-align: center;
}

#landscapeAlert p {
    font-size: 24px;
    margin-top: 30%;
}




.tooltip-button {
    position: relative;
}

.tool-text {
    visibility: hidden;
    background-color: rgb(255 255 255 / 80%);
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 18px;
}

.close-tooltip {
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    color: red;
    font-size: 24px;
}

/* #firsttooltip {
    position: absolute;
    z-index: 1;
    bottom: 23%;
    left: 200px;
    width: 171px;
} */

#firsttooltip {
    position: absolute;
    z-index: 1;
    bottom: 0%;
    left: 200px;
    width: 171px;
    padding: 10px;
    border: 1px solid #ccc;
}

#firsttooltip::after {
    content: '';
    position: absolute;
    bottom: 47%;
    right: 100%;
    width: 30%;
    height: 3px;
    background: rgb(255 255 255 / 80%);
}

#firsttooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    bottom: 37%;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent white transparent transparent;
}


#secondtooltip {
    position: absolute;
    z-index: 1;
    bottom: 62px;
    left: 340px;
    width: 186px;
    padding: 10px;
    background: rgb(255 255 255 / 80%);
    border: 1px solid #ccc;
    font-size: 17px;
}

#secondtooltip::after {
    content: '';
    position: absolute;
    bottom: 47%;
    right: 100%;
    width: 100%;
    height: 3px;
    background: rgb(255 255 255 / 80%);
}

#secondtooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    bottom: 37%;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.paraline::before {
    content: '';
    position: absolute;
    top: 47% !important;
    right: 100%;
    width: 4%;
    height: 60%;
    background: rgb(255 255 255 / 80%);
}


#thirdtooltip {
    position: absolute;
    z-index: 1;
    bottom: 38px;
    left: 244px;
    width: 186px;
    padding: 10px;
    background: rgb(255 255 255 / 80%);
    border: 1px solid #ccc;
}

#thirdtooltip::after {
    content: '';
    position: absolute;
    bottom: 47%;
    right: 100%;
    width: 70%;
    height: 3px;
    background: rgb(255 255 255 / 80%);
}

#thirdtooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    bottom: 37%;
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: transparent white transparent transparent;
}

.secondparaline::before {
    content: '';
    position: absolute;
    top: 47% !important;
    right: 100%;
    width: 4%;
    height: 60%;
    background: rgb(255 255 255 / 80%);
}

#polytooltip {
    position: fixed;
    top: 20%;
    left: 49%;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 1000;
    background: rgb(255 255 255 / 80%);
    padding: 10px;
    border: 1px solid #ccc;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.polytooltip:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-width: 10px;
    border-style: solid;
    border-color: rgb(255 255 255 / 80%) transparent transparent transparent;
}

.filtertooltip,
.threetooltip,
.maptooltip {
    z-index: 1;
    width: 160px;
    padding: 10px;
    background: rgb(255 255 255 / 80%);
    border: 1px solid #ccc;
    border-radius: 6px;
}

.filtertooltip {
    position: fixed;
    right: 7%;
    font-size: 14px;
    bottom: 18%;
    width: 170px;
}

.threetooltip {
    position: fixed;
    right: 7%;
    font-size: 14px;
    bottom: 10%;
    width: 14%;
}

.maptooltip {
    position: fixed;
    right: 7%;
    font-size: 14px;
    bottom: 2%;
    width: 20%;
}

.minimizetooltip {
    display: none;
    position: absolute;
    z-index: 1;
    bottom: 109%;
    left: 40%;
    width: 100%;
    padding: 2px;
    border: 1px solid #ccc;
    background: rgb(255 255 255 / 80%);
    color: black;
    justify-content: center;
    font-size: 14px;
}

.minimizetooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: rgb(255 255 255 / 80%) transparent transparent transparent;
}



.closet-tooltip {
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
    color: red;
    font-size: 24px;

}


.central-tooltip {
    position: fixed;
    bottom: 50%;
    left: 0.2%;
    color: #000;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
    z-index: 9999;
    background: rgb(255 255 255 / 80%);
    width: 14%;
}


#central-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 6%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: rgb(255 255 255 / 80%) transparent transparent transparent;
    display: block;
    z-index: 1001;
}

#central-tooltip.tooltip-visible::after {
    display: block;
}


#central-tooltip::before {
    content: '';
    position: absolute;
    top: calc(100% + 5px);
    left: 6%;
    transform: translateX(-50%);
    height: var(--line-height, 99px);
    width: 0;
    background: none;
    border-left: 2px solid white;
    z-index: 1001;
}


.center-line {
    position: fixed;
    bottom: 34.5%;
    left: 1%;
    width: 10px;
    height: 2px;
    background-color: white;
    display: none;
    z-index: 9998;
}

.tooltip-visible {
    display: block;
    line-height: var(--line-heights);
}

#central-tooltip::hover{
    display:none !important;
}
.central-tooltip::hover{
    display:none !important;
}


