/* App Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

:root {
    --primary-color: navy;
    --secondary-color: white;
    --text-color: rgba(255, 255, 255, 0.5);
    --accent-color: orange;
    --gap: 10px;
}

html {
    /* font-size: 62.5%; */
    box-sizing: border-box;
}


/* ==============================================
MOBILE VIEW - DEFAULT
================================================ */
body {
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

main {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    margin: 30px auto 8px auto;
    min-width: 400px;
    min-height: 500px;
    align-items: center;
    gap: 20px;
}

header {
    margin-top: 20px;
    font-size: 4rem;
    color: var(--secondary-color);
}

.search input {
    background-color: rgb(63, 58, 58);
    color: white;
    width: 300px;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 2px 4px;
}

.search button {
    color: var(--secondary-color);
    background: var(--accent-color);
    min-height: 40px;
    padding: 4px 8px;
    /* border: 1px solid rgba(255, 255, 255, 0.15); */
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.weather-display {
    background: rgba(255, 255, 255, 0.08);
    min-width: 90%;
    min-height: 300px;
    border-radius: 8px;
    padding: 0 16px;
}

.weather-display-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.weather-display-main div {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.weather-display-main img {
    margin-top: -5px;
}

.weather-display h3 {
    text-align: center;
}

.city-country-name {
    color: white;
}

.temperature {
    font-size: 6rem;
    color: var(--accent-color);
    margin: 5px;
}

.weather-display-sub {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.humidity h3, .windspeed h3, .feel h3 {
    color: var(--secondary-color);
}

footer {
    text-align: center;
    margin: 0 0 20px 0;
    color: var(--text-color);
    font-size: 1.4rem;
}


@media (min-width: 600px) {
    main {
        min-width: 500px;
        min-height: 500px;
    }

    .search input {
        width: 400px;
    }
}

