* {
    box-sizing: border-box;
    font-family: "Syne", sans-serif;
}

body {
    margin: 0;
    background-color: #23265d;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(79, 195, 247, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 90%, rgba(100, 120, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 60% 30%, rgba(129, 212, 250, 0.08) 0%, transparent 50%);
    z-index: -1;
}

.container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

sup {
    font-size: 40px;
    font-weight: 400;
    vertical-align: super;
}

.qidirish {
    display: flex;
    gap: 20px;
}

.input {
    max-width: 250px;
    width: 100%;
    flex: 1;
    padding: 14px 18px;
    border-radius: 15px;
    border: 2px solid rgba(255, 255, 255, 0.183);
    outline: none;
    font-size: 18px;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.input:focus {
    border: 2px solid cyan;
}

button {
    padding: 10px 30px;
    border-radius: 15px;
    border: none;
    background-color: #066e97;
    color: white;
    font-size: 18px;
}

.loading {
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0px;
    color: white;
}

.loading.show {
    display: flex;
}

.swipper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgba(0, 255, 255, 0.953);
    border-right-color: rgb(0, 255, 255);
    animation: aylan 1s ease infinite;
}

.header {
    text-align: center;
    color: white;
}

.namuna {
    text-align: center;
    color: white;
    padding: 30px 0px;
    opacity: 0.5;
    display: block;
}

.lupa {
    font-size: 50px;
    margin: 0;
}

.error {
    background-color: #ff00001b;
    padding: 20px 20px;
    margin-top: 20px;
    border-radius: 20px;
    text-align: center;
    color: red;
    font-size: 20px;
    border: 2px solid rgba(255, 0, 0, 0.746);
    display: none;
}

.error.show {
    display: block;
}

.card {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.302);
    border-radius: 30px;
    padding: 30px 30px 10px;
    margin-top: 30px;
    display: none;
}

.card.show {
    display: block;
}

.shahar {
    margin: 0;
    font-size: 35px;
    color: white;
}

.soat {
    color: rgba(255, 255, 255, 0.506);
    margin: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 10px 0px 5px;
}

.ob-havo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.temp {
    font-size: 75px;
    margin: 0;
    font-weight: bold;
    color: white;
    font-weight: 800;
    line-height: 1;
}

.bulut {
    font-size: 80px;
    margin: 0;
    line-height: 1;
    filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.4));
    animation: float 3s ease-in-out infinite;
}

hr {
    opacity: 0.4;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

.tur {
    margin: 0;
    color: white;
}

.card-grid {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 15px;
    text-align: center;
    border-radius: 20px;
}

.card-grid span {
    font-size: 30px;
    margin: 0;
    color: white;
}

.aniq {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.651);
}

.aniq span {
    font-size: 25px;
}

.card-grid p {
    font-size: 16px;
    margin: 0;
    color: cyan;
}

.aniq-temp {
    color: white;
    font-weight: 700;
}

@keyframes aylan {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width:400px) {
    .shahar {
        margin: 0;
        font-size: 25px;
        color: white;
    }

    .card-grid span {
        font-size: 20px;
        margin: 0;
        color: white;
    }

    .card-grid p {
        font-size: 14px;
        margin: 0;
        color: cyan;
    }

    .grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 10px 0px 5px;
    }

    .card {
        background-color: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.302);
        border-radius: 30px;
        padding: 20px 15px 10px;
        margin-top: 30px;
        display: none;
    }

    .card-grid {
        background-color: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255, 255, 255, 0.3);
        padding: 5px 5px;
        text-align: center;
        border-radius: 20px;
    }

    .bulut {
        font-size: 50px;
        margin: 0;
        line-height: 1;
        filter: drop-shadow(0 0 20px rgba(79, 195, 247, 0.4));
        animation: float 3s ease-in-out infinite;
    }

    .temp {
        font-size: 65px;
        margin: 0;
        font-weight: bold;
        color: white;
        font-weight: 800;
        line-height: 1;
    }
}