* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: #fff;
}

.container {
    height: 100vh;
    transition: ease-in-out 1s;
    display: flex;
    justify-content: space-between;
}

.sunny {
    background: url('../img/sunny.png') no-repeat center / cover;
    transition: ease-in-out 1s;
}

.rain {
    background: url('../img/rain.png') no-repeat center / cover;
    transition: ease-in-out 1s;
}

.cloudy {
    background: url('../img/cloudy.png') no-repeat center / cover;
    transition: ease-in-out 1s;
}

.snow {
    background: url('../img/snow.png') no-repeat center / cover;
    transition: ease-in-out 1s;
}

.err-msg {
    color: #991b1b;
}

.face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background: transparent linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%) no-repeat fixed center / cover;
    transition: ease-in-out 1s;
}

.tran {
    height: 0;
    opacity: 0;
}

.afterTran {
    display: none;
}

.face h1 {
    animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
    0% {
        opacity: 0.2;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.2;
        transform: scale(0.9);
    }
}

.container .left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0px 20px 40px;
}

.container .left .information-city {
    display: flex;
    gap: 20px;
}

.container .left .information-city h1 {
    font-size: 5rem;
}

.container .left .information-city div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container .left .information-city div h2 {
    font-size: 2.5rem;
}

.container .left .information-city div h6 {
    font-size: 0.9rem;
}

.right {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    width: 35%;
    padding: 20px 72px 20px 40px;
    overflow-y: scroll;
    overflow-x: hidden;
    border-left: 8px solid rgba(255, 255, 255, 0.1);

    &::-webkit-scrollbar {
        display: none;
    }

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.item-search {
    position: relative;
    margin-bottom: 25px;
}

.right .item-search input {
    border: none;
    outline: none;
    background: transparent;
    border-bottom: 2px solid #fff;
    width: 100%;
    max-width: 25.31rem;
    height: 1.8rem;
    font-size: 1rem;
}

.right .item-search input::placeholder {
    color: #fff;
    opacity: 0.7;
}

.right .item-search .btn-search {
    cursor: pointer;
    background: transparent;
    border: none;
    position: absolute;
    right: 3px;
}

.right .information-Weather .des-temp {
    margin: 40px 0 20px 0;
}

.right .information-Weather .details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.right .information-Weather .details h3 {
    opacity: 0.7;
}

.right .title {
    margin: 100px 0 30px 0;
    border-top: 2px solid #fff;
    padding-top: 50px;
}

.right .forecast div {
    display: flex;
    justify-content: space-between;
}

.right .forecast h2 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.right .forecast span {
    display: flex;
    align-items: center;
}

@media (min-width: 769px) and (max-width: 1044px) {
    .container {
        position: relative;
        flex-direction: column;
    }

    .left {
        height: 100%;
        max-height: 35%;
    }

    .left .information-city div {
        font-size: 1.5rem;
    }

    .right {
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: none;
        width: 100%;
        padding: 0 30% 0 30%;
        height: 100%;
        max-height: 65%;
        border: none;
        border-top: 8px solid rgba(255, 255, 255, 0.1);
    }

    .right .item-search {
        position: absolute;
        right: 40px;
        top: 30px;
        width: 100%;
        max-width: 17rem;
    }

    .right .error-msg {
        position: absolute;
        right: 40px;
        top: 0px;
    }

    .right .information-Weather h4 {
        text-align: center;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        position: relative;
        flex-direction: column;
    }

    .container .left {
        height: 100%;
        max-height: 35%;
        padding: 10px 0px 20px 15px;
    }

    .container .left .information-city h1 {
        font-size: 1.5rem;
        display: flex;
        align-items: center;
    }

    .container .left .information-city div h2 {
        font-size: 1.5rem;
    }

    .container .left .information-city div h6 {
        font-size: 0.6rem;
    }

    .right {
        background: rgba(15, 23, 42, 0.75);
        backdrop-filter: none;
        width: 100%;
        padding: 0 15% 0 15%;
        height: 100%;
        max-height: 65%;
        border: none;
        border-top: 8px solid rgba(255, 255, 255, 0.1);
    }

    .right .item-search {
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .right .error-msg {
        position: absolute;
        right: 40px;
        top: 0px;
    }

    .right .information-Weather h4 {
        text-align: center;
        margin-top: 40px;
    }

    .face h1 {
        font-size: 1rem;
    }
}
