*,
*::before,
*::after {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Merriweather sans', sans-serif;

}

:root {
    --colorDark1: #112D4E;
    --colorDark2: #3f72af;
    --colorLight1: #DBE2EF;
    --colorLight2: #F9F7F7;
}

.wrapper {

    width: 100vw;
    height: 100vh;
    color: var(--colorLight2);
    background-image: linear-gradient(160deg, #112d4e 0%, #3f72af 100%);
}

h1 {

    text-align: center;
    padding-top: 20px;
    text-transform: uppercase;
}

.tab-container {

    display: flex;
    justify-content: space-between;
    width: 550px;
    margin: 0 auto;
    margin-top: 4rem;
}

.tab {

    cursor: pointer;
    font-size: 0.875rem;
    letter-spacing: 1.75px;
    padding: 5px 8px;
}

.tab.current-tab {
    background-color: rgba(219, 226, 239, 0.5);
    border-radius: 4px;
}

.weather-conatiner {

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-block: 4rem;
}

.btn {

    all: unset;
    font-size: 0.875rem;
    letter-spacing: 1.75px;
    text-transform: uppercase;
    border-radius: 5px;
    background-color: var(--colorDark2);
    cursor: pointer;
    padding: 10px 30px;
    margin-bottom: 10px;
}

.sub-container {

    display: flex;
    align-items: center;
    flex-direction: column;
}

.grant-location-container {

    display: none;


}

.grant-location-container.active {

    display: flex;
}

.grant-location-container img {

    margin-bottom: 2rem;
}

.grant-location-container p:first-of-type {

    font-size: 1.75rem;
    font-weight: 600;

}

.grant-location-container p:last-of-type {

    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.75rem;
    margin-bottom: 1.75rem;
    letter-spacing: 0.75px;

}


.loading-screen {

    display: none;
}

.loading-screen.active {

    display: flex;
    flex-direction: column;
}

.loading-screen p {

    text-transform: uppercase;
}

.user-info-container {

    display: none;
}

.user-info-container.active {

    display: flex;
}

.name {

    display: flex;
    align-items: center;
    gap: 0 0.5rem;
    margin-bottom: 1rem;
}

.user-info-container p {

    font-size: 1.5rem;
    font-weight: 200;
}

.user-info-container img {

    width: 90px;
    height: 90px;

}

.name p {

    font-size: 2rem;
}

.name img {
    /* display: none; */
    width: 30px;
    height: 30px;
}

.user-info-container p[data-temp] {

    font-size: 2.75rem;
    font-weight: 700;
}

.parameter-container {

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px 20px;
    margin-top: 2rem;
}

.parameter {

    width: 200px;
    background-color: rgba(219, 226, 239, 0.5);
    border-radius: 5px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px 0;

}

.parameter img {
    height: 50px;
    width: 50px;
}


.parameter p:first-of-type {

    font-size: 1.15rem;
    font-weight: 600;
    text-transform: uppercase;

}

.parameter p:last-of-type {

    font-size: 1.2rem;
    font-weight: 200;
}

.form-container {

    display: none;
    width: 90%;
    max-width: 550px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    gap: 0 10px;
    margin-bottom: 3rem;

}

.form-container.active {

    display: flex;
}

.form-container input {
    all: unset;
    width: calc(100%-80px);
    height: 40px;
    padding: 0 20px;
    background-color: rgba(219, 226, 239, 0.5);
    border-radius: 10px;
}

.form-container input::placeholder {

    color: rgba(255, 255, 255, 0.7);
}

.form-container .btn {

    padding: unset;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    margin-bottom: 1px;
}

.form-container input {

    width: 400px;
}

.citynotfound {
    display: none;
}

.citynotfound.active {

    display: flex;
    flex-direction: column;
}

.citynotfound img {

    width: 350px;
}

.citynotfound p {
    font-size: 20px;
    color: var(--colorLight2);
    text-align: center;
}

@media only screen and (max-width: 768px) {

    .wrapper {

        max-width: 768px;
        height: 990px;
        width: 400px;
        color: var(--colorLight2);
        background-image: linear-gradient(160deg, #112d4e 0%, #3f72af 100%);
    }

    .tab-container {

        display: flex;
        justify-content: space-between;
        width: 380px;
        margin: 0 auto;
        margin-top: 4rem;
    }

    .parameter-container {

        width: 400px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px 20px;
        margin-top: 2rem;
    }

    .parameter {


        width: 250px;
        background-color: rgba(219, 226, 239, 0.5);
        border-radius: 5px;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px 0;

    }

    .citynotfound img {

        width: 250px;
    }

    .tab {

        cursor: pointer;
        font-size: 0.975rem;
        letter-spacing: 1.75px;
        padding: 5px 8px;
    }
}