@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Rajdhani:wght@300;400;500&family=Tilt+Prism&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
}
body{
    /* background-repeat: no-repeat; */
    background-size: cover;
    overflow-x: hidden;
    background-image: url(https://source.unsplash.com/user/erondu/1600x900);
}
.body{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
header{
    position: sticky;
}
.rrr{
    color: crimson;
}

.navbar{
    height: 12%;
    display: flex;
    align-items: center;
    background-color: black;
    color: aliceblue;
    padding-bottom: 10px;
}
img{
    margin-right: 20px;
}
nav{
    width: 100%;
}
ul li{
    list-style: none;
}
.left{
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    margin-top: 0;
    margin-left: 1100px;
}
ul li h1{
    margin-top: 30px;
    font-size: 30px;
}
nav ul li{
    display: inline-block;
}
.class{
    margin-top: 10px;
    width: 524.8px;
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7));
    padding: 85px 50px;
    font-size: 30px;
    color: aliceblue;
    border-radius: 50px;
    margin-right: 20px;
}
.search{
    text-align: center;
}
input{
    margin-top: 0;
    width: 400px;
    height: 30px;
    outline: none;
    border: 3px solid rgb(67, 61, 61);
    border-radius: 100px;
    background-color: transparent;
    padding: 10px;
    color: aliceblue;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 10px;
    text-align: center;
}
svg {
    color: #fff;
    fill: currentColor;
    width: 24px;
    height: 24px;
    padding: -100px;
    margin-left: 10px;
}
button {
    all: unset;
    cursor: pointer;
    width: 44px;
    height: 44px;
}
::-webkit-scrollbar{
    width: 0;
}
h2{
    margin-bottom: 20px;
}
.temp{
    margin-bottom: 20px;
}
/* footer{
    display: block;
    background-color: black;
    color: aliceblue;
    padding: 20px;
    text-align: center;
    font-size: 20px;
} */
span{
    font-weight: 900;
}
.weatherContainer{
    width: 524.8px;
    /* padding: 80px 50px; */
    background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7));
    margin-left: 20px;
    color: aliceblue;
    padding: 26px;
    /* font-size: 20px; */
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
}
.description{
    text-transform: uppercase;
}
.error{
    color: aliceblue;
    margin-bottom: 20px;
    text-align: center;
    font-size: 15px;
}
.weather{
    margin-top: 20px;
}
@media screen and (max-width: 758px){
    *{
        padding: 0;
        margin: 0;
    }
    body{
        background-image: url(https://source.unsplash.com/user/erondu/471x709);
    }
    img{
        margin-left: 20px;
    }
    .body{
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
    }
    .card{
        width: 100%;
    }
    h2{
        margin-bottom: 5px;
    }
    .navbar{
        top: 0;
        text-align: center;
    }
    .left{
        margin-left: 100px;
    }
    .error{
        margin-bottom: 5px;
    }
    .class{
        margin-top: 20px;
        padding: 20px 40px;
        width: 200px;
        font-size: 15px;
        margin-left: 0;
        text-align: center;
    }
    input{
        width: 300px;
        margin-left: 0;
        margin-bottom: 5px;
    }
    .weatherContainer{
        display: block;
        margin-top: 20px;
        padding: 20px 40px;
        width: 300px;
        font-size: 15px;
        margin-left: 0;
        margin-bottom: 20px;
    }
    .weather{
        margin-top: 5px;
    }
    ::-webkit-scrollbar{
        width: 0;
    }
    /* footer{
        padding: 10px;
        font-size: 15px;
        margin-top: 170px;
    } */
}