*{
    margin: 0;
    padding: 0;
}

body{
    height: 100vh;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    overflow-y: hidden;
}

::-webkit-scrollbar {
    height: 15px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: transparent;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(75, 72, 255);
  }

header{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    height: 5vw;
}

.error::placeholder{
    color: red;
}

section{
    height: 10vw;
}

hr{
    border: 1px solid rgb(221, 221, 221);
}

main{
    padding-inline: 5%;
    padding-block: 2%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.weather-list{
    display: flex;
    gap: 5%;
    align-items: flex-end;
    min-width: fit-content;
    height: fit-content;
}

.city-input{
    border: 2px solid black;
    border-radius: 10px;
    padding: 5px;
}

.weather-box-main{
    background-color: rgb(75, 72, 255);
    border-radius: 20px;
    min-width: fit-content;
    min-height: fit-content;
    width: 30vw;
    padding-inline: 4%;
    padding-bottom: 2%;
    white-space: nowrap;
}

.box-head{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 2.5%;
    font-size: clamp(1.25em, 2vw, 3em);
}

.box-head img{
    position: relative;
    top: 10px;
}

.box-local{
    font-size: clamp(1.25em, 4vw, 3.75em);
}

.box-info{
    display: flex;
    align-items: center;
    margin-top: 20px;
    gap: 5%;
}

.box-celcius{
    font-size: clamp(3em, 7.5vw, 10em);
}

.box-celcius::after{
    font-size: 48px;
    content: '\2103';
}

.box-sub-info{
    font-size: clamp(1.1em, 2.5vw, 3em);
    line-height: 1em;
}

.minMax-div{
    display: flex;
    flex-direction: row;
    gap: 5%;
}

.min-temp::after, .max-temp::after, .feel-like::after, .forecast-temp::after{
    content: '\2103';
}

.forecast-div{
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forecast-box{
    background-color: rgb(167, 72, 255);
    color: white;
    border-radius: 20px;
    width: clamp(96px, 10vw ,158px);
    height: clamp(96px, 10vw ,158px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.forecast-icon{
    width: 50px;
    height: 50px;
}

.forecast-temp{
    display: flex;
    align-items: center;
    justify-content: center;
    height:100%;
    font-size: clamp(16px, 10vw,38px);
}