@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

body {
    background-color: #01161E;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 1rem;
}

.weather {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.temp {
    font-size: 4rem;
    font-weight: bold;
}

.time_location p {
    font-size: 2rem;
    font-weight: 500;
}

.time_location span {
    font-size: 0.9rem;
    color: #ccc;
}

.weather_condition img {
    width: 3rem;
}

.weather_condition span {
    display: block;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

nav {
    height: 80px;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

nav form {
    width: 80%;
    display: flex;
    gap: 0.5rem;
}

.searchField {
    flex: 1;
    font-size: 1.1rem;
    outline: none;
    color: white;
    background-color: transparent;
    padding: 0.8rem;
    border: none;
    border-bottom: 2px solid white;
}

nav form button {
    background-color: #4ECDC4;
    font-size: 1.1rem;
    color: white;
    outline: none;
    border: none;
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav form button:hover {
    background-color: #38b2ac;
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .temp { font-size: 3rem; }
    .time_location p { font-size: 1.5rem; }
}
