@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;

}


body {
    /*Para vidios/fotos -> background-size: cover;
    background-position: center;
    background-repeat: no-repeat;*/
    
    height: 100vh;
    color: #FFFFFF; 
    overflow: hidden;
    background: linear-gradient(to bottom right, #003B5C, #4B8A9B, #A8D0E6, #C6E4F0, #FFFFFF);

}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: -1;
}

/*#bg-vd {
    position: fixed;
    right: 0;
    min-width: 100%;
    max-width: 100%;
    z-index: -1;
    object-fit: cover;
}*/

section {
    padding: 0px 0px 0px 40px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.first-content {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100%;
    width: 70%;
}

header {
    background-color: transparent;
    width: 100%;
    height: 60px;
}

header .title {
    color: #fdead1; 
    font-size: 20px;
    display: flex;
    text-align: center;
    align-items: center;
}

header .title h1 {
    margin: 10px 30px;
}

.info-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: end;
    padding: 10px;
}

.content {
    display: flex;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 60px;
    width: auto;
    background-color: rgba(0, 0, 0, 0.5); 
    border: 1px solid #ffb85c59;
}

.content .temp {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;
    padding: 20px;
    color: #FFFFFF; 
    font-size: 60px;
}

.content .city-hour {
    width: 100%;
    padding: 10px;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.content .city-hour .city {
    font-size: 60px;
    letter-spacing: 3px;
    color: #FFFFFF; 
}

.content .city-hour .hour {
    font-size: 15px;
    color: #ffff; 
}

.sec-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 35%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sec-content:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.search-area {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

input {
    width: 70%;
    font-size: 16px;
    letter-spacing: 2px;
    border: 2px solid transparent;
    outline: none;
    padding: 10px;
    margin-left: 20px;
    background-color: transparent;
    color: #F1F1F1; 
    transition: all 0.3s ease;
    border-radius: 12px;
}

input::placeholder {
    color: #90a4ac; 
}

input:focus {
    border-color: #FFB85C; 
    background-color: rgba(255, 255, 255, 0.1);
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 12px;
    background-color: #FFB85C;
    width: 55px;
    height: 55px;
    margin-right: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: scale(0.9);
    background-color: #FFB85C;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

button img {
    width: 22px;
    height: 22px;
}

.weather-details {
    border: 2px solid #ffb85c59;
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 30px;
    margin: 10px 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.weather-details h2 {
    font-size: 24px;
    color: #fdead1; 
    margin-bottom: 20px;
    text-align: center;
}

.weather-details ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.weather-details ul li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 15px;
    margin: 5px 0;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.weather-details ul li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.weather-details ul li p {
    font-size: 16px;
    color: #fdead1; 
    font-weight: 300;
}

/* Responsividade */
@media (max-width: 768px) {
    .sec-content {
        width: 100%;
        padding: 20px;
    }

    .search-area {
        flex-direction: column;
        align-items: stretch;
        height: auto;
    }

    input {
        width: 100%;
        margin-left: 0;
    }

    button {
        margin-right: 0;
        margin-top: 10px;
        width: 60px;
        height: 60px;
    }

    .weather-details {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .first-content {
        width: 100%;
        padding: 20px;
    }

    .content {
        padding: 15px;
    }
}
