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



body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(654deg, #007a68, #29203d);    
    font-family: 'Courier New', monospace;
    gap: 20px;
    width: 100vw;
    overflow-x: hidden;


}



.wrapper {
    position: relative;
    display: flex;
    justify-content: space-between; /* Distributes them evenly */
    align-items:center;
    flex-wrap:wrap;
    gap: 15px; /* Keeps a consistent gap */
}



/*user inputed one*/
.container {
    width: 350px;
    background: linear-gradient(135deg, #00feba, #5b548a);
    height: auto;
    margin-bottom: 0px;
    padding-bottom: 15px;
    border-radius: 20px;

}

.searchBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
}

.searchBox input {
    outline: none;
    border: none;
    width: 250px;
    height: 35px;
    border-radius: 10px;
    font-size: 15px;
    padding-left: 10px;
}

.searchBox i {
    background-color: white;
    color: black;
    padding: 8px 8px;
    border-radius: 10px;
    font-size: 17px;
}

body img {
    width: 140px;
    margin-top: 10px;

}

.body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.body h2 {
    font-size: 35px;
    font-weight: bold;
}

.body {
    display: none;
}

.body h3 {
    font-size: 25px;
    font-weight: bold;
}

.detail {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 30px;
}

.detail {
    display: none;
}

.col {
    display: flex;
    align-items: center;
    gap: 20px;
}

.col i {
    font-size: 30px;
}

.col h5 {
    font-size: 18px;
}

.col p {
    font-size: 18px;
}

input:hover{
    transform: scale(1.02);
}

i:hover{
    background-color: #D0D0D0;
}



/*one for london*/

.container2 {
    background: linear-gradient(135deg, #00feba, #5b548a);
    width: 350px;
    height: auto;
    padding-bottom: 8px;   
    border-radius: 20px;
}



.body2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    /*margin-bottom: 40px;*/
}

.body2 h2 {
    font-size: 35px;
    font-weight: bold;
}

.body2 h3 {
    font-size: 25px;
    font-weight: bold;
}

.detail2 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 30px;
}

.col2 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.col2 i {
    font-size: 30px;
}

.col2 h5 {
    font-size: 18px;
}

.col2 p {
    font-size: 18px;
}



/*one for kinshasa*/

.container3 {
    background: linear-gradient(135deg, #00feba, #5b548a);
    width: 350px;
    height: auto;
    padding-bottom: 8px;
    border-radius: 20px;
}



.body3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.body3 h2 {
    font-size: 35px;
    font-weight: bold;
}

.body3 h3 {
    font-size: 25px;
    font-weight: bold;
}

.detail3 {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 20px;
    padding-bottom: 30px;
}

.detail3 {
    display: none;
}

.col3 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.col3 i {
    font-size: 30px;
}

.col3 h5 {
    font-size: 18px;
}

.col3 p {
    font-size: 18px;
}

h4{
    font-size: 18px;
}

.bgChange:hover {
    background-color: transparent !important; /* Removes white background on hover */
}

#solidWind,#solidDrop:hover {
    background-color: transparent !important; /* Removes white background on hover */
}

.bi-brightness-high-fill:hover{
    color: #FFD700;

}
.bi-moon:hover{
    color: #B0B0B0;
}





.bi-brightness-high-fill:hover,.bi-moon {
    background-color: transparent !important; /* Removes white background on hover */
}


.bgChange .bi-moon::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;/* Position line below the icon */
    width: 0;/* Start with no width */
    height: 2px;
    background-color:#B0B0B0;/* Line color */
    border-radius: 1px; /* Optional: rounded edges */
    transition: width 0.3s ease;
}

.bgChange .bi-moon:hover::after {
    width: 100%;
}

.bgChange {
    font-size: 2rem;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    transition: transform 0.3s ease;
    transform: scale(0.9);
    z-index: 10; /* keeps it on top of all elements */


}



.bgChange .bi-brightness-high-fill::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* Position line below the icon */
    width: 0; /* Start with no width */
    height: 2px; /* Line thickness */
    background-color: #FFD700; /* Line color */
    border-radius: 1px; /* Optional: rounded edges */
    transition: width 0.3s ease;
}

.bgChange .bi-brightness-high-fill:hover::after {
    width: 100%;
}


.popUp{
    position: fixed;
    top: -80px;
    right: -10px;
    width: 200px;
    animation: swing 1.5s ease-in-out ; /* Apply swinging motion */
    display: none;
}

#Clothes{
    font-size: 15px;
}

@keyframes swing {
    0%, 100% {
      transform:translateX(0)
    }
    25% {
      transform: translateX(-8px);
    }
    50%{
        transform: translateX(8px);
    }
    75%{
        transform: translateX(-4px);
    }

    90%{
        transform: translateX(-4px);
    }
  }



  @media only screen and (max-width: 600px) {
    /* Theme Toggle (only element that changes) */
    .bgChange {
        position: fixed;
        top: 4px;
        right: 10px;
        z-index: 1000;
        transform: scale(0.6);
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        border-radius: 50%;
        padding: 5px;
    }

    /* Reset all other elements to original size */
    .container, .container2, .container3 {
        width: 100%; /* Original: 100% */
        transform: scale(1); /* Reset scaling */
    }

    .container h2, .container2 h2, .container3 h2 {
        font-size: 25px; /* Original size */
    }

    .container h3, .container2 h3, .container3 h3 {
        font-size: 20px; /* Original size */
    }

    .detail, .detail2, .detail3 {
        justify-content: space-around;
        padding-bottom: 4px; /* Original */
    }

    .col h5, .col2 h5, .col3 h5,
    .col p, .col2 p, .col3 p {
        font-size: 14px; /* Original */
    }

    .detail i, .detail2 i, .detail3 i {
        font-size: 20px; /* Original */
    }

    .searchBox {
        margin-right: 40px; /* Space for toggle */
        width: calc(100% - 50px); /* Original behavior */
    }

    .searchBox input {
        width: 150px; /* Original */
        height: 25px; /* Original */
    }

    body img {
        width: 70px; /* Original */
    }

    .wrapper {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 40px; /* Prevents toggle overlap */
        gap: normal; /* Reset if needed */
        row-gap: 15px; 
    }

    .popUp {
        bottom: -25px;
        width: -10px;
        z-index: 1000;
        transform: scale(1); /* Reset to original */
        /* Remove translate(-50%, -50%) if it wasn't in original */
    }
}

/* Keep tablet/landscape adjustments minimal */
@media (max-width: 768px) {
    .bgChange {
        top: 15px;
        right: 15px;
    }
    .container, .container2, .container3 {
        width: 100%; /* Match original */
    }
}

@media (max-width: 1024px) and (orientation: landscape) {
    .bgChange {
        top: 5px;
        right: 5px;
        transform: scale(0.7);
    }
}