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

:root {
    font-size: 62.5%;
}

body {
    height: 100vh;
    font-size: 1.6rem;
    font-family: 'Inter', Arial, Helvetica, sans-serif;

    background: url("./images/background.jpg");
    background-size: cover;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
 
.card {
    display: none;
    flex-direction: column;
    width: 90%;
    max-width: 30rem;
    padding: 2.4rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 0.1rem solid rgba(255, 255, 255, 0.3);
}

.card.active {
    display: flex;
}

h1 {
    text-align: center;
}

.icon {
    width: 12.8rem;
    height: 12.8rem;
    margin: 0 auto;
}

.wind {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    gap: 0.8rem;
}

.wind img {
    background-color: #fff;
    padding: 0.4rem;
    border-radius: 50%;
    width: 2.4rem;
    height: 2.4rem;
    object-fit: contain;
}

.card h2 {
    text-align: center;
    font-size: 4.8rem;
}

.min-max {
    display: flex;
    justify-content: space-between;
    gap: 1.6rem;
}

.feels-like {
    text-align: center;
}

.humidity {
    text-align: center;
}

.input {
    display: flex;
    margin-top: 1.6rem;
    gap: 0.8rem;
    width: 90%;
    max-width: 30rem;
}

.input input {
    flex: 1;
    display: block;
    background-color: rgba(255, 255, 255, 0.2);
    border: 0.1rem solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 1.6rem;
    border-radius: 1.6rem 0 0 1.6rem;
    color: #000000;
}

.input input::placeholder {
    color: #000000a1;
    opacity: 0.8;
}

.input button {
    display: block;
    width: fit-content;
    border: 0;
    background-color: rgb(242, 108, 59);
    padding: 1.6rem;
    border-radius: 0 1.6rem 1.6rem 0;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.input button:hover {
    background-color: rgb(190, 81, 42);
}

.input button:active {
    background-color: rgb(176, 74, 37);
}

.caixabussola {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.caixabussola:hover {
    transform: scale(1.1);
}

.caixabussola:hover #bussola {
    display: none;
}

.caixabussola:hover .bussolaaberta {
    display: block;
}

#bussola {
    width: 60px;
    display: block;
}

.bussolaaberta {
    display: none;
    width: 130px;
    display: none;
}