@import url('https://fonts.googleapis.com/css?family=Lato:300,400|Poppins:300,400,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');
html{
    scroll-behavior: smooth;
}
body{
    font-family: 'Raleway', sans-serif;
    margin: 0px;
    padding: 0px;
    background-color: #232323;
}

/* NAV-BAR */
#navbar{
    position: fixed;
    color: white;
    text-decoration: none;
    box-sizing: border-box;
    height: 80px;
    width: 100%;
    z-index:999;
}
label.logo{
    font-size: 1.2em;
    line-height: 80px;
    padding: 0 100px;
}
#navbar ul{
    list-style: none;
    float:right;
}
#navbar ul li{
    display: inline-block;
    line-height: 30px;
    
}

#navbar ul a {
    text-decoration: none;
    margin-right: 85px;
    color: white;
    font-size: 1.2em;
}

#navbar ul a:hover{
    
    color: #ffb510;
    transition: 0.3s;
}

.checkbtn{
    font-size:1.2em;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor:pointer;
    display: none;

}

#check{
    display: none;
}

@media(max-width: 950px){
    #navbar ul a{
        
        font-size: 0.8em;
    }
}
@media(max-width: 800px){
    .checkbtn{
        display: block;
    }
    #navbar ul{
        position:fixed;
        width: 100%;
        height:100vh;
        top: 50px;
        left:-100%;
        text-align: center;
        transition: all .5s;
    }
    #navbar ul li{
        display: block;
    }
    #navbar ul li a:hover{
        color: #ffb510;
    }
    #check:checked ~ ul{
        left: 0
    }
}

/* WELCOME SECTION  */
#welcome-section{
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color:white;
    margin: auto;
}

.container .box{
        width: 250px;
        height: 250px;
        position: relative;
        display:flex;
        flex-direction: column;
        justify-content: center;
}
.container .title{
    widows: 100%;
    position: relative;
    display:flex;
    justify-content: center;
    height: 50px;
}

.container .title .block{
        width: 0%;
        height: inherit;
        background-color: #ffb510;
        position:absolute; 
        animation: mainBlock 2s cubic-bezier(.74, .06, .4, .92) forwards;
        display: flex;
} 

.container .title h1{
    font-family: 'Poppins','sans-serif';
    color: #fff;
    font-size: 2em;
    -webkit-animation: mainFadeIn 2s forwards;
    -o-animation: mainFadeIn 2s forwards;
    animation: mainFadeIn 2s forwards;
    animation-delay: 1.6s;
    opacity: 0;
    display: flex;
    align-items: center;
    position: relative;
    right: 22px;
}
.container .title .dot{
    width: 0px;
    height: 0px;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    border-radius:50%; 
    background-color: #ffb510;
    -webkit-animation: load 0.6s cubic-bezier(.74, .06, .4, .92) forwards;
    animation: popIn 0.8s cubic-bezier(.74, .06, .4, .92) forwards;
    animation-delay: 2s;
    margin-left: 5px; 
    margin-top:10px;
    position: absolute;
    bottom: 13px;
    right:-12px;  
   
}

.container .role{
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    height: 30px;;
    margin-top: -10px; 
}

.container .role .block{
    width: 0%;
    height: inherit;
    background-color: #e91e63;
    position: absolute;
    animation: secBlock 2s cubic-bezier(.74, .06, .4, .92) forwards;
    animation-delay: 2s;
    display: flex;
}
.container .role p{
    animation: secFadeIn 2s forwards;
    animation-delay: 3.2s;
    opacity: 0;
    font-weight: 400;
    font-family: 'Lato';
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5px;
}


@keyframes mainBlock{  /* animation for first block */
    0%{
        width:0%;
        left:0%;
    }
    50%{
        width: 100%;
        left:0%;
    }
    100%{
        width: 0%;
        left:100%;
    }
}

@keyframes mainFadeIn{   /* animation for soham shah */
    0%{
        opacity: 0%;
    }
    100%{
        opacity: 100%;
    }
}

 @keyframes popIn{
    0% {
        width: 0px;
        height: 0px;
        background: #e9d856;
        border: 0px solid #ddd;
        opacity: 0;
      }
      50% {
        width: 10px;
        height: 10px;
        background: #e9d856;
        opacity: 1;
        bottom: 20px;
      }
       65% {
          width: 7px;
          height: 7px;
          bottom: -11px;
          width: 15px
       }
       80% {
          width: 10px;
        height: 10px;
          bottom: 0px
       }
      100% {
        width: 7px;
        height: 7px;
        background: #e9d856;
        border: 0px solid #222;
        bottom: -10px;
    
      }
} 

@keyframes secBlock{  /* animation for second block */
    0%{
        width:0%;
        left:0%;
    }
    50%{
        width: 100%;
        left:0%;
    }
    100%{
        width: 0%;
        left:100%;
    }
}

@keyframes secFadeIn{   /* animation for soham shah */
    0%{
        opacity: 0;
    }
    100%{
        opacity: 0.5;
    }
}



/* PROJECT SECTION */

#projects{
    display: flex;
    justify-content: center;
    /* background-color:  #e91e63; */
    height: 100vh;
    flex-direction: column;
    align-items: center;
    
}

#projects h1{
    color: white;
    height: 1.5em;
    /* margin: 30px auto; */
    position: relative;
    top: 0px;
    right: 22px;
    border-bottom: 3px solid #ffb510;
    font-size: 2em;

}


#project-card{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    height: 600px;
    width: 100%;
    margin: 70px;
    /* background-color: red; */

}
#projects .card {
    display: inline-block;
    width: 350px;
    height: 400px;
    background-color:  #ffb510;
    margin-right:10px;
    border-radius: 5px;
    border: 4px solid #ffb510;
    /* border-bottom: solid white 5px; */
    

}
#project-card{
    width: calc(100%/1.2);
}
#projects .card img{
    width: inherit;
    height: 350px;
    border-radius: 5px;
    
}
#projects .card p{
    margin: 5px auto;
    text-align: center;
    
    font-size: 1.4em;
    font-weight: bold;
}

#projects .card p{
  text-decoration: none;
  color: #222;
}

#projects .bracket{

    color:  #ffb510;
    margin: auto;
    transition: color 0.2s ease-out;
}
#projects .project:hover .bracket{
    color: #e91e63;
}






/* PERSONAL SECTION */
#contact{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    position: relative;
    top:50px;
    /* background-color: aqua; */
   
}
#contact h1{
    color: white;
    font-size: 4em;
    margin: 0px;
}

#profile-img{
    width: 250px;
    height: 250px;
    border-radius: 50%; 
    position: relative;
    z-index: 20;
    display: inline-block;
    top: 9em;
    border: 3px white solid;
}

#profile-caption{
    color: #222;
    z-index: 100;
    position: relative;
    top: 8em;
    font-weight: bolder;
    font-size: 1.2em;
    /* text-shadow: 1px 1px black; */
    padding: 0;
}

#rect-bg{
    background-color: #ffb510;
    margin: 10px auto;
    height: 300px;
    border-radius: 20px;
    width: calc(100%/1.6);

}

@media(max-width: 420px){

    #contact{
        height: 350px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #contact img{
        width: 100px;
        height:auto;
        position: relative;
        margin-bottom: 200px;
    }
}

#social{
    position: relative;
    top: calc(100%/1.6);
}
#social ul{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style-type: none;
}

#social ul li .my-profile{
    list-style: none; 
    display: flex;
    flex-direction: row;
    align-items: center;

}
#social ul li a {
    text-decoration: none;
}

#social .img-caption{
    color:  #222;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    padding: 0.5em;
   

}
#social ul li {
    background-color: white;
    padding: 0px 20px;
    border-radius: 30px;
}

#social .img-caption:hover{
    color:  #e91e63;
}
