* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    background: transparent;
    font-family: "Nunito", sans-serif;
    font-weight: 420;
    vertical-align: middle;
}

body {
    background-color: #f7fcfc;
    margin-top: 1em;
}

#logo {
    max-height: 100px; /* Set a maximum height that fits your content */
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}

.hidden { 
    display: none !important;
}

.choice-buttons.hidden {
    display: none;
}

.card-box.card-image.hidden {
    display: none;
}

.wrapper {
    max-width: 30em;
    margin: 0 auto;
}

.centre {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.small-text {
    font-size: 0.7em;
    align-items: center;
}

.bottom-menu {
    z-index: 5;
    height: 2.5em;
    text-align: center;
    line-height: 2em;
    position: fixed;
    background-color: #fcfcfc;
    bottom: 0;
    width: 100%;
    padding-top: 5px;
    border-top: 2px solid;
    border-color: rgba(128, 128, 128, 0.1);
    border-width: 0.5px;
    font-weight: 900;
    box-shadow: 0px 11px 11px 13px rgba(128, 128, 128, 0.8);
}

.card {
    padding: 1em 1em 4em 1em;
    margin-bottom: 50px;
}

.card-carousel img {
    width: 100%;
    display: none;
}

.floorplan-image {
    width: 100%;
    border-radius: 10px;
}

.card-carousel {
    position: relative;
    display: flex;
    justify-content: center;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
}

.carousel-dots .dot {
    width: 7px;
    height: 7px;
    border: 1px solid #f1f1f1;
    margin: 0 5px;
    background-color: #888888a7;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.carousel-dots .dot.active {
    background-color: #feffffcc;
}

.card-carousel img.carousel-active {
    border-radius: 8px;
    display: block;
    max-height: 50svh;
    object-fit: cover;
}

.card-map {
    height: 300px;
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 0;
}

.card-map-annotation {
    position: absolute;
    background-color: #feffff;
    z-index: 1;
    left: 0;
    bottom: 0;
    border-radius: 0 10px;
    border: 2px solid #111111;
    border-bottom: none;
    border-left: none;
    padding: 0.23em 0.6em;
    max-width: 91%;
}

#landingImage {
    object-fit: cover;
    width: 148%;
    margin: 0 -24%;
}

.map_optOut {
    border-radius: 20px 20px 0 0;
    border-left: 2px solid #111111;
    left: auto;
    cursor: pointer;
    transition: height 0.35s ease-in-out;
    background-color: #f5fafaf5;
    text-align: center;
    font-size: 0.85em;
}

.map-out-out > :nth-child(2) {
    margin-left: -1px;
}

#map-slide-out {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border-radius: 0 10px 10px 0;
    right: 0;
    z-index: 999;
    bottom: 10vh;
    position: fixed;
    height: 12svh;
    margin: auto;
    text-align: center;
    border: 2px solid #111111;
    border-left: none;
    bottom: 60svh;
    width: 1em;
    padding: 0.2em 0.25em 0.2em 1em;
    cursor: pointer;
    background-color: #feffff;
}


.card-box { /* covers the home page boxes */
    border-radius: 10px;
    border: 2px solid #111111;
    background-color: #feffff;
    margin: 0 0 20px 0;
    position: relative;
    color: #111111;
}

.card-flex-h-CTAs { /* covers phone and rightmove link CTAs on Accept screen */
    border-radius: 10px;
    background-color: #feffff;
    margin: 15px 0 20px 0;
    position: relative;
    color: #111111;
    display: flex;
    gap: 9px;
}

.card-flex-h-CTAs > div {
    flex-grow: 0.5;
    border: 2px solid white;
    background-color: #137676;
    border-radius: 10px;
    padding: 8px;
    color: #eaeaea;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 3px 4px;
}

.card-flex-h-CTAs > div > * {
    text-decoration: none;
}

#newFeatures {
    text-align: center;
    padding: 1em 2em;
    margin: auto;
    background-color: #ff97bf2e;
    /*background-color: #feffffab;*/
    margin: 0 0 20px 0;
}

#newFeatures > :first-child, #mapExplainer > :first-child {
    font-weight: 900;
    font-size: 1.2em;
}

#mapExplainer {
    margin: auto;
    max-width: 60%;
    max-height: 60%;
    padding: 1em;
    text-align: center;
    background-color: #e9f3f3fc;
    border-color: #111111c8;
}

.floorplan_none {
    text-align: center;
    padding: 3px;
    background-color: transparent;
    border: 2px solid #1111113b;
    color: #111111c7;
}

.floorplan_none > * {
    font-size: 0.8em;
}

.card-padded {
    padding: 1.2vh;
    display: flex;         /* This makes it a flex container */
    flex-wrap: nowrap;     /* This ensures the items don't wrap */
    gap: 9px;             /* This gives a gap between the buttons */
    flex-direction: row;
    align-content: stretch;
    align-items: center;
}

.databaseSelector {
    /*border-radius: 10px 10px 0 0;*/
    gap: 0;
    margin-bottom: 0;
}

.databaseSelector > * {
    width: 50%;
    text-align: center;
    height: 45px;
    align-content: center;
    box-sizing: border-box;
    cursor: pointer;
}

#rightmove:hover, #rightmove.selected {
    border-radius: 8px 0 0 8px;
}

#openrent:hover, #openrent.selected {
    border-radius: 0 8px 8px 0;
}

.grid_item:hover {
    background-color: #d0ffc0;
}

.grid_item.selected {
    background-color: #eaeaea;
}

.border {
    width: 2px;
    background-color: black;
}

#optionsContainer {
    padding: 0 !important;
    height: 20px;
    transition: height 0.6s cubic-bezier(0.2, 0, 1, 1);
    display: flex;
    justify-content: center;
}

.databaseOptions {
    display: grid;
    position: absolute;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr auto;
    padding: 0 !important;
    gap: 0;
    width: 95%;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
    border-top: 0px;
    transition: width 0.6s, opacity 0.5s, height 0.8s;
    cursor: pointer;
    inset-area: center;
}

.databaseOptions > * {
    justify-self: center;
    height: 34px;
    align-content: center;
    text-align: center;
}

#rightmoveOptions {
    grid-template-rows: repeat(2, 1fr); /* has floorplan, furnished // Accepts UC tenants without a guarantor, */
    grid-template-areas: 
        "top-left top-left top-right top-right"
        "middle-left middle-left middle-right middle-right"
        "lower-middle-left lower-middle-left lower-middle-right lower-middle-right"
        "bottom-left bottom-left bottom-right bottom-right";
    overflow: hidden;
    text-wrap: nowrap;
}

#rightmoveOptions.unactive, #openrentOptions.unactive {
    width: 0%;
    opacity: 0;
} 

#rightmoveOptions.unactive {
    margin-left: 0;
} 

#openrentOptions.unactive {
    margin-right: 0;
} 

div#optionsContainer > * {
    margin: 0 auto;
}

.topRowRightmoveOptions, .middleRowRightmoveOptions, .lowerMiddleRowRightmoveOptions {
    width: 100%; 
    border-bottom: 2px solid black; 
}

.bottomRowRightmoveOptions {
    width: 100%;
}

#rightmoveOptions > *:nth-child(1) { grid-area: top-left; border-right: 2px solid black; }
#rightmoveOptions > *:nth-child(2) { grid-area: top-right; border-left: 2px solid black; }
#rightmoveOptions > *:nth-child(3) { grid-area: middle-left; border-right: 2px solid black; }
#rightmoveOptions > *:nth-child(4) { grid-area: middle-right; border-left: 2px solid black; }
#rightmoveOptions > *:nth-child(5) { grid-area: lower-middle-left; border-right: 2px solid black; }
#rightmoveOptions > *:nth-child(6) { grid-area: lower-middle-right; border-left: 2px solid black; }
#rightmoveOptions > *:nth-child(7) { grid-area: bottom-left; border-right: 2px solid black; }
#rightmoveOptions > *:nth-child(8) { grid-area: bottom-right; border-left: 2px solid black; }

#openrentOptions {
    grid-template-areas: 
    "first-left first-left first-right first-right"
    "second-left second-left second-right second-right"
    "third-left third-left third-right third-right"
    "fourth-left fourth-left fourth-right fourth-right"
    "bottom-label bottom bottom bottom";
    grid-template-rows: repeat(4, 1fr); /* Bills included, accepts UC // furnished, parking // families, pets // max tenants */
    width: 95%;
    overflow: hidden;
    text-wrap: nowrap;
    margin-right: 9.5px;
}

#openrentOptions > * {
    width: 100%
}

#openrentOptions > *:nth-child(1) { grid-area: first-left; }
#openrentOptions > *:nth-child(2) { grid-area: first-right; }
#openrentOptions > *:nth-child(3) { grid-area: second-left; }
#openrentOptions > *:nth-child(4) { grid-area: second-right; }
#openrentOptions > *:nth-child(5) { grid-area: third-left; }
#openrentOptions > *:nth-child(6) { grid-area: third-right; }
#openrentOptions > *:nth-child(7) { grid-area: fourth-left; }
#openrentOptions > *:nth-child(8) { grid-area: fourth-right; }
#openrentOptions > *:nth-child(9) { grid-area: bottom-label; text-align: end;}
#openrentOptions > *:nth-child(10) { grid-area: bottom; }

.openrentOptionsLeft {
    border-right: 2px solid black; 
}
.openrentOptionsRight {
    border-left: 2px solid black; 
}

.openrentOptionsBottomBorder {
    border-bottom: 2px solid black; 
}

.databaseFilter.selected, .true {
    background-color: #d0ffc0;
}

#displayTubeDist.deactivated, #displayDistSupermarket.deactivated {
    background-color: #f1bdbd;
    color: #f1bdbd;
}

#distanceFilterContainer.deactivated {
    background-color: #fde9e9;
}

.false {
    background-color: #f4e9e9;
}

.nothanks {
    border-radius: 8px;
    border: 0px;
    background-color: #eaeaea9c;
    width:50%;
    margin: auto;
    border: 2px solid #11111120;
    padding: 0;
}

#searchPreferences > div {
    padding: 1.2vh 1.8vh;
  }

div#borough_box {
    padding: 0;
}

#lettingHTML.card-padded {
    justify-content: space-between;
}

#lettingHTML .card-padded > div:first-child {
    flex-basis: 40%;
    flex-grow: 0;
    left: 10px;
    position: relative;
}

#lettingHTML .card-padded > div:nth-child(2) {
    background-color: #eaeaea;
    border-radius: 20px;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
    text-align: center;
}

#openRentTenancyPrefsHTML > * {
    justify-content: center;
}

.share-explainer {
    margin-top: -20px;
    width: 55%;
    margin-left: auto;
    margin-right: auto;
    border-top: 0;
    border-radius: 0px 0px 15px 15px;
    text-align: center;
    padding: 5px 0 7px;
    color: #111111c7;
    background-color: #feffff;
    font-size: 0.875em;
}

#distanceParam > :first-child {
    padding-top: 0;
}

#distanceParam > :last-child {
    padding-bottom: 0;
}

#distanceParam > * {
    padding-left: 0;
    padding-right: 0;
}

#distanceParam .card-padded > :first-child {
    flex-basis: 35%;
    flex-grow: 0;
    position: relative;
}

#distanceParam .card-padded > :nth-child(2) {
    flex-grow: 1;  
}

#distanceParam .card-padded > :nth-child(3) {
    margin-left: auto;    
}

#distanceItem {
    display: flex;
    justify-content: center;
    gap: 5px;
}

#distanceItem > * {
    text-align: center;
}

.distanceHighlight {
    background-color: #eaeaea;
    border-radius: 20px;
    text-decoration: none;
    padding: 5px 10px 5px 10px;
}

.searchHighlight {
    background-color: #eaeaea;
    border-radius: 20px;
    text-decoration: none;
    padding: 5px;
    width: 2em;
    text-align: center;
}

a {
    color: inherit;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-touch-callout: none; /* iOS Safari */
}

a:focus {
    outline: none;
}

a:hover, a:active {
    color: inherit; /* or any other color */
    text-decoration: none;
}

.phoneHighlight {
    background-color: #eaeaea;
    border-radius: 20px;
    text-decoration: none;
    padding: 5px 8px;
    text-align: center;
}

.card-image {
    display: flex;
    justify-content: center;
    position: relative;
    border-radius: 10px;
    height: 50svh;
    overflow: hidden;
}

.begin-button {
    position: absolute;
    top: 80%;
    left: 20%;
    right: 20%;
    bottom: 10%;
    border-radius: 10px;
    display: flex; 
    align-items: center;
    justify-content: center;
    background: #137676;
    border: 2px solid #d6d6d6e2;
    color: #fcfcfc;
    font-size: 1.15em;
    padding: 17px 20px;;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 3px 4px;
}

button {
    cursor: pointer;
    color: white;
}

.pointer {
    cursor: pointer;
}

.cursorWait {
    cursor: wait;
}

.button {
    background-color: #137676;
    border: 2px solid #137676;
    font-weight: 900;
    font-size: 118%;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
    /*
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
    line-height: 105%;
    color: white;
    text-align: center;
    */
}

.button:hover { /*.button:active, */
    border-color: #fcfcfcf5;
}

.button:disabled {
    background-color: rgb(190, 190, 190);
    cursor: not-allowed;
}

.heavy_text {
    font-weight: bold;
    font-size: 1.2em;
}

.accept_screen {
    text-align: center;
    margin: auto;
    justify-content: center;
}

.email_capture_screen_exits {
    padding: 0px;
    justify-content: center;
}

.email_capture_screen_exits > * {
    padding: 2px 9px; 
    color: #111111;
    height: 4em;
    box-sizing: border-box;
    width: 29%;
    border-radius: 75px; 
    border: 2px solid white; 
    background-color: #eaeaea; 
    box-shadow: rgba(0, 0, 0, 0.2) 1px 3px 4px;
    text-align: center;
    align-content: center;
}

.emailHousesToSelf {
    background-color: #eaeaea;
    color: #111111;
    flex: 1;
    margin: 13px auto 0 auto;
}

.parameters {
    color: rgb(54, 54, 54);
    vertical-align: middle;
}

.maxDistTube .maxDistSupermarket {
    vertical-align: middle;
}

.card-flex-h {
    display: flex;
    align-items: center;
}

.card-flex-h > div {
    border-left: 2px solid #111111;
    flex-grow: 1;
    text-align: center;
}

.card-flex-h > div:first-child {
    border-left: 0;
}

.card-flex-v {
    display: flex;
    flex-direction: column;
}

.card-flex-v > div {
    border-top: 2px solid #111111;
}

.card-flex-v > div:first-child {
    border-top: 0;
}

.sticky {
    position: sticky;
    top: 10px;
    background-color: #feffff;
    border-radius: 10px;
    border: 2px solid black;
    margin-bottom: -2px;
    z-index: 1000;
    box-shadow: 0px 4px 6px -1px rgba(58, 69, 69, 0.4);
}

.sticky-background {
    background-color: #f7fcfc;
    padding-top: 5px;
    margin-top: -5px;
    position: sticky;
    top: 0px;
    z-index: 999;
    border-radius: 0 0 10px 10px;
}

.below-sticky {
    margin-top: -40px;
    padding-top: 35px;
}

.card-image-annotation {
    max-width: 70%;
    top: 0;
    position: absolute;
    background-color: #feffff;
    z-index: 1;
    border-radius: 0 0 10px 10px;
    border: 2px solid #111111;
    border-top: none;
    padding: 0.2em 0.6em;
    text-align: center;
    box-shadow: 0px 3px 10px 2px rgba(58, 69, 69, 0.4);
    font-weight: bold;
    font-size: 1.1em;
}

 /*
input[type=range] {
   -webkit-appearance: none;>
    margin: 9px 0;
    width: 38%;
}*/
input[type=range]:focus {
outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 6px;
cursor: pointer;
background: #B6B6B6;
border-radius: 6px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: #b6b6b6e0;
}
input[type=range]::-webkit-slider-thumb { /*includes iOS*/
height: 16px;
width: 16px;
border-radius: 90px;
background: #137676;
border: 10px #137676 solid;
cursor: pointer;
-webkit-appearance: none;
margin-top: -8px;
}
input[type=range]::-moz-range-thumb {
height: 16px;
width: 16px;
border-radius: 90px;
border: 10px rgb(0, 0, 255) solid;
background: #137676;
cursor: pointer;
}
input[type=range]::-ms-thumb {
height: 16px;
width: 16px;
border: 10px rgba(0, 255, 0) solid;
border-radius: 7px;
background: #f1f1f1dd;
cursor: pointer;
}
input[type=range]::-moz-range-track {
width: 100%;
height: 7px;
cursor: pointer;
background: #137676dd;
border-radius: 6px;
}
input[type=range]::-ms-track {
width: 100%;
height: 7px;
cursor: pointer;
background: transparent;
border-color: transparent;
color: transparent;
}
input[type=range]::-ms-fill-lower {
background: #0D5252dd;
border: 0px solid #0D5252dd;
border-radius: 12px;
}
input[type=range]::-ms-fill-upper {
background: #0D5252dd;
border: 0px solid #0D5252dd;
border-radius: 12px;
}
input[type=range]:focus::-ms-fill-lower {
background: #0D5252dd;
}
input[type=range]:focus::-ms-fill-upper {
background: #0D5252dd;
}

.searchMapImportant {
    position: static !important;
    height: 50svh;
}

.searchMapPostSearch {
    z-index: 9999;
    position: fixed;
    right: 0;
    padding: 0;
    width: 0;
    border-radius: 10px 0 0 10px;
    margin: 0;
    border: 2px solid #111111;
    border-right: none;
    max-width: 400px;
    top: 10vh;
}

#search_menu {
    transition: width 0.25s ease-in-out;
}

#welcomeImage {
    display:flex;
    /*overflow: hidden;*/
}

#welcomeBox {
    transition: height 0.35s ease-in-out;
}
  
#displayRadius {
    display: inline-block;
    vertical-align: middle;
    padding-left: 2px;
    color: rgb(54, 54, 54);
    margin-right: -6px;
}

#boroughsSelector {
    color: rgb(91 91 91);
    vertical-align: middle;
    flex-grow: 0.25;
}

#boroughsSelector::placeholder, #budget-range, #maxDistTube #maxDistSupermarket { /* colour and other style for house search param user inputs */
    color: rgb(91 91 91);
}

#draw_on_map_label {
    right: 10px; 
    position: absolute; 
    display: flex; 
    gap: 7px;
    cursor: pointer;
    color: #111111f1;
}

.overlay-buttons {
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 90px;
}

#polygonOptions {
    position: absolute;
    bottom: 5px;
    right: 8px;
    width: 80px;
    height: 2em;
    color: #1111119c;
    background-color: #f5fafaf5;
    font-size: 0.8em;
    border: 2px solid #111111;
    transition: right 0.5s ease, bottom 0.5s ease;
}

#polygonOptions > * {
    width: 50%;
    text-align: center;
    fill: #111111;
    height: 100%;
    align-content: center;
}

.polygonOptionSVGs {
    margin-top: -3px;
}

#drawMode {
    border-right: 2px solid #111111;
    border-top-left-radius: 13px;
    border-bottom-left-radius: 13px;
}

#circleMode {
    border-top-right-radius: 13px;
    border-bottom-right-radius: 13px;
}

#circleRange {
    bottom: 40px;
    right: 8px;
    width: 30px;
    height: 100px;
    position: absolute;
    color: #1111119c;
    background-color: #f5fafaf5;
    font-size: 0.8em;
    border: 2px solid #111111;
    transition: right 0.5s ease, bottom 0.5s ease;
}

#circleRangeInput {
    width: 79px;
    transform: rotate(90deg);
}

.circleRangeInput::-webkit-slider-thumb {
    -webkit-appearance: none; /* Remove default styling */
    width: 20px; /* Set width of the handle */
    height: 20px; /* Set height of the handle */
    background: #4CAF50; /* Change handle color */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Change cursor on hover */
}

.circleRangeInput::-moz-range-thumb {
    width: 20px; /* Set width of the handle */
    height: 20px; /* Set height of the handle */
    background: #4CAF50; /* Change handle color */
    border-radius: 50%; /* Make it circular */
    cursor: pointer; /* Change cursor on hover */
}

.choice-buttons {
    bottom: 13vh;
    background-color: #0D5252;
    color: #edefeff1;
    height: 2em;
    width: 2em;
    font-size: 1.5em;
    border: 2px solid ;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 3px 4px;
}

.feedback-request {
    z-index: 4;
    bottom: 10vh;                   /*green scheme    white scheme */
    background-color: #0D5252;    /*#0D5252*/     /*#edefeff1*/
    border: 1px solid #feffff;      /*#ffffff*/     /*#c0c3c3*/
    color: #edefeff1;                 /*#edefeff1*/   /*#7d8081*/
    height: 2em;
    /*width: 48%; */
    padding: 0px 10px;
    font-size: 0.8em;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
    text-align: center;
    max-width: 17em;
    min-width: 14em;
    margin: auto;
}

.closeScreenButton {
    color: #1111119c;
    background-color:#f1f3f3;
    height: 1.5em;
    width: 1.5em;
    font-size: 0.8em;
    padding: 0.1em;
    box-shadow: rgba(0, 0, 0, 0.2) 1px 2px 5px;
    margin-left: auto;
}

.homescreenExtras {
    position: absolute;
    right: 3vw;
    top: 1vh;
}

.polygonShowStatusButtons {
    right: 0;
    top: 0;
    margin: 10px 10px 10px 10px;
    border-radius: 90px;
    width: 40px;
    height: 40px;
    position: absolute;
    background-color: white;
}

#closePostSearchMap {
    position: absolute;
    right: 3vw;
    top: 1vh;
}

.extraHidden {
    border: 0px;
    margin: 0px;
}

.card-call-agent {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 1.2vh;
    align-items: center;
    width: 80%;
    margin: auto;
}

#left-choice {
    margin-left: 8%;    
}

#right-choice {
    margin-right: 8%;    
}

#search_button {
    display: block;
    width: 100%;
    border: 2px solid white;

}

.distanceIcons {
    position:  absolute;
    left: 20px;
}

.bedroom-button, .max_tenant_button {
    color: rgba(0, 0, 0, 0.825);
    background-color: #eaeaea;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    width: 21%;
    padding: 5px 0;
    border: 2px solid #54545400;
    transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.max_tenant_button {
    width: 16%;
    padding: 2px 0;
}

.bedroom-button:hover, .max_tenant_button:hover { /*,  .bedroom-button:active,  .max_tenant_button:active*/
    border: 2px solid #137676;
}

.bedroom-button.selected, .max_tenant_button.selected {
    background-color: #137676;
    color: white;
    border: 2px solid;
    border-color: #137676;
    transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.max_tenant_button.selected {
    background-color: #d0ffc0;
    color: rgba(0, 0, 0, 0.825);
}

.smallerBedroomButton {
    width: 14%;
}

#title {
    cursor: pointer;
    text-align: center;
    font-size: 2em;
    padding: 0 0.5em;
    font-weight: bold;
    font-size: 50px;
    color: #137676;
    background-image: linear-gradient(
      -205deg,
      #fff800 5%,
      #ff1361 22%,
      #137676 67%,
      #231557 80%,
      #b62bf7 100% );
    background-clip: border-box;
    background-size: 300% auto;
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    animation: textclip 6s linear infinite;
}
@keyframes textclip {
    0%   {background-position: 0% center;   }
    50%  {background-position: 100% center; }
    100% {background-position: 0% center;   }
  }

#subtitle {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
}

#menu_bar {
    display: flex;
    bottom: 10vh;
    position: fixed;
    width: auto;
    left: 0;
    z-index: 1000;
    right: 0;
    align-items: center;
    justify-content: space-between;
    max-width: 750px;
    margin: auto;
  }

#ephemeralBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 65%;
    transition: all 2.5s ease-in-out;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1000;
}

#ephemeralContent {
    background-color: #f6f6f6f1;
    border: 1px white solid;
    box-shadow: 0px 4px 8px 2px rgba(58, 69, 69, 0.4);
    border-radius: 40px;
    padding: 5px 10px;
    width: 100%;
}

#swipeArea {
    height: 22svh;
    background-color: #0d525212;
    margin-top: -60px;
    border-radius: 0px 0px 50px 50px;
    border: 2px solid #111111;
    border-top: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.positionRelative {
    position:relative !important;
}

@media (max-width: 460px) {
    #polygonOptions {
        bottom: 50px;
        right: 4px;
    }

    #circleRange {
        bottom: 7px;
    }

    .close-btn:hover, .close-btn {
        color: #111111;
    }
}

@media (max-width: 360px) {
    #polygonOptions {
        bottom: 50px;
        right: 4px;
    }

    #circleRange {
        bottom: 88px;
    }
}

#login-icon {
    height: 22px;
    fill: #f7fcfc;
}

#login_widget {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    transition: top 0.35s ease-in-out;
}

#login-popup {
    display: none;
    position: fixed;
    top: 80px;
    right: 20px;
    background: #f7fcfc;
    border: 2px solid #111111;;
    padding: 10px;
    border-radius: 7px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 99999;
}

#login-popup form input {
    padding: 5px;
}

input[type="email"] {
    border-bottom: 1px solid #a7c7c7;
}

input[type="submit"] {
    color: white;
    cursor: pointer; 
}

#login-popup form button {
    background-color: #0D5252;
    border: 2px solid #0D5252;
    color: #f7fcfc;
    padding: 5px;
    border-radius: 5px;
    width: 100%;
    font-weight: 900;
    font-size: 110%;
    cursor: pointer;
    margin-top: 4px;
}

#login-popup .close-btn {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #a7c7c7;
}

.close-btn:hover {
    color: #0D5252;
}

#login-form h3 {
    color: #033434;
    font-weight: bolder;
    padding-left: 5px;
    margin-bottom: 4px;
}

#toggle-auth-mode {
    margin-top: 10px;
}

#account_email {
    color: #033434;
    font-weight: bolder;
    margin-bottom: 4px;
}

#accountButtons {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

#house-load-btn {
    background-color: #0D5252;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

#house-load-btn:disabled {
    background-color: rgb(190, 190, 190);
    cursor: not-allowed;
}

#logout-btn {
    background-color: #d44250;
    color: white;
    border: none;
    padding: 5px 6px;
    border-radius: 4px;
    cursor: pointer;
    display: none;
}

#user-details {
    display: none;
    margin-top: 20px;
    background: #f8f9fa;
    padding: 0px 10px 6px 10px;
    border-radius: 5px;
    text-align: left;
}