.apartment-ui {
    width: 100%;
    display: block;
    text-align:center; 
    /* flex-wrap: wrap; */
}

.schematic, .apartment-schematic {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 10%;
	max-width: 49%;
    /*width: 35%;*/
}

.schematic img {
    width: 100%;
    height: auto;
}
.schematic-area{
    position:absolute; left:0; top:0; width:100%; height:100%; cursor:pointer;
}
.schematic-area:hover, .schematic-area:active {
    background-color: rgba(255, 255, 0, 0.5);
}
.roomNumber{
    position:absolute; 
    background-color: #a6ad15;
    color: #fff;
    width: 2vw; height: 2vw;
    border-radius: 2vw;
    line-height: 2vw;
}


.room-list, .singleApartmentSpacer {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
    list-style: none;
    padding: 0;
    width: 40%;
    margin-top: 5%;
}
.floor-plan{
    position: relative;
    width: 80%;
    margin: 50px auto 0px auto;
}
.floor-plan-apartment{
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(255, 255, 0, 0.5);
}


.room-item {
    padding: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
    font-family: 'Cormorant Garamond',serif;
    font-size: 22px;
    list-style: none;
}

.room-item:hover {
    background-color: rgba(255, 255, 0, 0.5);
}

.room-number {
    font-weight: bold;
}

.room-size {
    font-style: italic;
    color: #666;
}

.full-width-image {
    width: 80%;
    height: auto;
    margin: 50px auto 0px auto;
    transition: opacity 0.3s;
}

.highlight {
    /* position: absolute; */
    background-color: rgba(255, 255, 0, 0.5);
    pointer-events: none;
    transition: opacity 0.3s;
}

.hidden {
    display: none;
}

.floor-plan2{display: none; }



/* Media query for screens smaller than 760px */
@media (max-width: 760px) {
    

    .apartment-schematic, .room-list {
        width: 100%;
        margin: 0px auto 20px auto; /* Add spacing below the schematic */
    }

    .apartment-schematic{
        width: 90%; 
    }

    .full-width-image{
        width: 100%;
        margin: 10px auto 0px auto;
    }

    
    .roomNumber{
        width: 7vw; height: 7vw;
        border-radius: 7vw;
        line-height: 7vw;
    }

    .room-list ul{
        padding: 0px; margin: 0px;
    }

    .floor-plan{display: none; }
    .floor-plan2{display: block; }



}


@media (max-width: 560px) {
    .roomNumber{
        width: 5vw; height: 5vw;
        border-radius: 5vw;
        line-height: 5vw;
    }
}


