* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0284c7;
    --primary-dark: #187fb6;
}

body {
    font-family: 'system-ui';
    color: #fff;
}

p,
h1,
h2,
h3 {
    text-align: center;
}

.container {
    background-image: url('../../public/image/weather.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.layer_bg {
    position: absolute;
    background-color: #0000006c;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wrapper {
    width: 30rem;
    margin: 20px 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

form {
    display: flex;
    align-items: center;
    justify-content: baseline;
    gap: 10px;
}

.search {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    appearance: none;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom: 3px solid var(--primary);
    border-top: none;
    border-left: none;
    border-right: none;
    color: #27272a;
}

.search:focus {
    outline: none;
}

.search_btn {
    padding: 14px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border: none;
    cursor: pointer;
    background-color: var(--primary);
}

.cursor-default {
    cursor: default;
}

.search_btn:hover {
    background-color: var(--primary-dark);
    transition: 0.3s;
}

.search_btn svg {
    width: 25px;
    height: 25px;
}

.country_city_name {
    font-size: 32px;
}

.date_text {
    margin-top: 5px;
    font-size: 14px;
    font-weight: bolder;
}

.temperature {
    font-size: 75px;
}

.status_air {
    margin-top: 5px;
    font-size: 27px;
}

.high_low {
    margin-top: 5px;
    font-size: 23px;
}

.loader {
    width: 25px;
    height: 25px;
    border: 3px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.swal-footer, .swal-text {
    text-align: center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


@media screen and (max-width: 600px) {
    .container {
        align-items: start;
    }
    .wrapper {
        width: 25rem;
        margin-top: 40px;
    }

    .search {
        font-size: 18px;
    }

    .search_btn {
        padding: 13px;
    }
}