
@import url('https://fonts.googleapis.com/css2?family=Domine&family=Orbitron:wght@400;500;600&family=Oswald:wght@200;500&display=swap');
*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}
#nav{
    display: flex;
    /* border: 1px solid black; */
    width: 100%;
    height: 270px;
    margin: auto;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    background-image:url('/images/weather.gif'); background-repeat:repeat; 
    color: white;
    font-family: 'Oswald';
    position: sticky;
    top: 0;

   
}
#nav>form{
    width: 20%;
    display: flex;
    flex-direction: column;
    margin: auto;
    gap: 15px;
    margin-top: 10px;
}
#nav>form>input{
    padding: 8px;
    border: none;
    border-radius: 30px;
    text-align: center;
    font-size: 18px;
    font-family: "Oswald";
    color:#368dc0;
}
#nav>form>button{
    padding: 10px;
    background-color: white;
    color:#368dc0;
    font-size: 20px;
    border: none;
    border-radius: 30px;
    font-weight: bold;
}
#nav>form>button:hover{
    background-color: #368dc0;
    color: white;
}
#container{
    /* display: none; */
    display: flex;
    margin: auto;
    justify-content: center;
    align-items: center;
    width: 80%;
    gap: 50px;
    margin-top: 50px;
    margin-bottom: 100px;
}
#weatherData{
    width: 40%;
    height: 450px;
    margin: auto;
    /* border: 1px solid black; */
    margin: auto;
    /* padding: 50px; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}
#card{
    width: 80%;
    /* height: 400px; */
    /* border: 1px solid black; */
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
   
    
}
#card>div{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    
}
#card>div>img{
    height: 100px;
    width: 100px;
}

#celsius{
    font-size: 20px;
}

#second{
    font-size: 20px;
    font-family: "Orbitron";
}
#first{
    font-family: "Domine";
}
#card>#third{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    padding: 20px;
    gap: 20px;
    


    
}
#third>div{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 10px;
    height: 100px;
    width: 100px;
 
}
#third>div>img{
    height: 40px;
    width: 40px;
}
#third>div>p:last-child{
    font-size: 15px;
    color: #368dc0;

}
#third>div{
    font-size: 20px;
    
}
.c{
    font-size: 10px;
}
#gmap_canvas{
    width: 110%;
    height: 450px;
    /* border: 2px solid black; */
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;

}
#map{
    width: 80%;
}

#daily{
    width: 90%;
    display: grid;
    grid-template-columns: repeat(8,1fr);
    margin: auto;
    text-align: center;
    padding: 25px;
    gap: 20px;
}
#diff{
    display: flex;
    /* gap: 10px; */
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    padding: 5px;
    font-family: "Orbitron";
    
    
}
#div1{
    
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
#div1>p{
    font-size: 25px;
    font-family: "Orbitron";
}
#div1>h5{
    font-size: 20px;
    font-family: "Domine";
   
}
#div1>img{
    width: 75px;
    height: 75px;
}

@media all and (min-width:320px) and (max-width:500px) {

    #container{
        flex-direction: column;
    }
    #map{
        width: 90%;
    }
    #weatherData{
        width: 90%;
    }
  #nav>button{
    width: 90%;
   }
   #daily{
    display: grid;
    grid-template-columns: repeat(1,1fr);
    width: 50%;
    justify-content: center;
    align-items: center;
    margin: auto;
   }
   #nav>form{
    width: 70%;
   }
  #third{
    width: 70%;
  }
  #container{
    width: 100%;
  }
  #map{
    display: flex;
    justify-content: center;
    align-items: center;
  }

}

