@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}
.content{
    height: 100vh;
    object-fit: cover;
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right,#A7BFE8,#eaafc8);
}

/*toggle*/
.dark {
    background: linear-gradient(to right, #2b5876, #2E1437);
}
.toggle{
    position: absolute;
    top: 1rem;
    right: 1rem;
    height: 2rem;
    width: 2rem;
    border-radius: 50%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.dark .toggle{
    background: white;
}
.toggle::before {
    content: '\f186';
    font-family: "FontAwesome";
    color: white;
}
.dark .toggle::before{
    content: '\f185';
    font-family: "FontAwesome";
    color: black;
}
/*box*/

.box{
    background: linear-gradient(120deg,rgba(49, 47, 47, 0.6),rgba(119, 118, 118, 0.7));
    min-width: 60vw;
    margin: 0 2rem;
    border-radius: 2rem;
    padding: 2rem;
    color: white;
    box-shadow: 5px 10px 10px grey;
    word-break: break-all;
}
.dark .box{
    background: linear-gradient(120deg,rgba(160, 159, 159, 0.6),rgba(236, 236, 236, 0.7));
    color: black;
}

.search {
    display: flex;
    justify-content: center;
}
.search-bar{
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 1rem 0 0 1rem;
    background-color: rgba(49, 47, 47, 0.6);
    color: white;
    width: calc(100% - 100px);
    font-size: 1.25rem;
}
.dark .search-bar {
    background-color: white;
    color: black;
}
.search-button {
    border: none;
    border-radius: 0 1rem 1rem 0;
    width: 44px;
    background: rgba(49, 47, 47, 0.6);
    cursor: pointer;
    transition: 0.2s ease-in;
    color: white;
    font-size: 1.25rem;
}
.search-button:hover {
    background: #A7BFE8;
    color: black;
}
.location-section{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-between;
    font-size: 2rem;
    font-weight: bolder;
    margin: 2rem 0;
}
.temperature-section{
    font-size: 1rem;
    font-weight:lighter;
    display: flex;
    flex-direction: column;
}
.temperature-degree{
    font-weight: bold;
    font-size: 1.5rem;
}
@media screen and (max-width:600px){
    *{
        font-size: 80%;
    }
}