*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{   
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}
.splash{
    /* display: flex; */
    position: relative;
    width: 100%;
    height: 100%;
    background-color: white;
    color: black;
    transition: 0.8s opacity ease-out;

}
.splash-img{
    width: 100%;
    animation: opening 2s ease-in-out forwards ;
}
@keyframes opening {
   from{
       transform: translateY(-100vh);
   }
   to{
    transform: translateY(0vh);
   } 
    
}
.splash-heading{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    position: absolute;
    left: 50%;
    top: 110vh;
    transform: translateX(-50%);
    animation-name: text-opening; 
    animation-duration: 1.5s;
    animation-direction: normal;
    animation-fill-mode: forwards;
    animation-delay: 1.5s;
}
@keyframes text-opening {
    from{
          
           top: 110vh;
           left: 50%;
           transform: translateX(-50%);
           font-size: 1rem;
  
    }
    to{   
           left: 50%;
           transform: translateX(-50%);
           top: 60vh;
           font-size: 5.5rem
           
    }
}

.main-content{
    opacity: 0;
    transition: 0.7s opacity ease-in;
  
}

.main-content.visible{
    
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  
    


}

.navbar{
    width: 90%;
    margin-top: 1rem;
    font-family: Dm sans;
    margin-left: auto;
    margin-right: auto;
    height: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 2rem;
    padding-right: 2rem;
    border-radius: 50px;
    box-shadow: rgba(119, 119, 119, 0.6) 0px 0px 14px 0px;
    
   
}

.nav-logo{
    /* height: 100%; */
     height: 100%;
    color : black;
    font-weight: 400;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    /* padding : 0.5rem 1.3rem; */
    border: none;
    border-radius: 4px;
    cursor: pointer ;

}
.nav-logo a{
    font-family: Dm sans;
    font-weight: 800;
    font-size: 2rem;
}
.nav-logo-img{
    height: 100%;
}
.nav-links{
    display: flex;
    color: black;
    font-weight: 500;
    padding : 0.5rem 1.3rem;
    border: none;
    border-radius: 4px;
    
}
.nav-links .git{
    padding : 0.5rem 1.3rem;
    margin-right: 1.2rem;
    border-radius: 4px;
    cursor: pointer ;
    transition: 0.25s  background-color , color ease-in;

}
.nav-links .git:hover{
    color: white;
    background-color: black;
}

.nav-links .twitter{
   /* background-color: blue; */
   padding : 0.5rem 1.3rem;
   margin-right: 1.2rem;
   border-radius: 4px;
   cursor: pointer ;
   transition: 0.25s background-color , color ease-in;
}
.nav-links .twitter:hover{
    color: white;
    background-color: black;
}
.nav-links .about{
    /* background-color: blue; */
    padding : 0.5rem 1.3rem;
    border-radius: 4px;
    cursor: pointer ;
    transition: 0.25s background-color , color ease-in;
}
.nav-links .about:hover{
    color: white;
    background-color: black;   
}


.hero{
    box-sizing: border-box;
    position: absolute;
    top: 25%;
    left: 50%;
    height: 3rem;
    transform: translateX(-50%);
    display: flex;

  
}
.hero input{
    text-decoration: none;
    outline: none;
    height: 100%;
    width: 15rem;
    padding-left: 0.3rem;
    border: 1.8px solid black;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight:500;
    margin-right: 0.3rem;
    
}
.hero input::placeholder{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1rem;
    font-weight:500;
    vertical-align:middle;

    
}
.hero button{
    width: 5.5rem;
    height: 100%;
    font-family: Dm sans;
    font-size: 1rem;
    cursor: pointer;
    color: white;
    background-color: black;
    border: none;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    
}
.hero button:hover{
    background-color: rgba(0, 0, 0, 0.662);
}

/* another page of html */
/* .temperature-box{
    box-sizing: border-box;
    position: absolute;
    top: 5.9rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: 16rem;
    border: 1 px ;
    background-color: red;

} */



