:root{
    --heading-color:#fff;
    --btn-text-color:#dec2c2;
    --btn-background-color: #323232;
    
}
.h-100{
    height: 100%;
}

#container{
    height: 100vh;
    /* background-image: url("../images/b1.jpg"); */
    background-color: currentColor;
    
    background-repeat: no-repeat;
    background-size: 100% 100%;
    padding: 50px 0px;
}

@media(max-width:768px)
{
    #container{
        padding: 0px;
    }
}

#main-nav {
     width: 1260px;
     margin: 0 auto 20px;
     background-color:grey;
     
}

#main-nav ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    justify-content:space-evenly;
}
#main-nav ul li{
    width: 100%;
    text-align: center;

}
#main-nav ul li a{
    display: block;
    padding: 10px 20px;
    color: whitesmoke;
    /* background-color: aqua; */
    text-decoration: none;
}

#main-nav ul li a:hover{
    background-color: #00599e;
}

@media(max-width:768px)
{
    #main-nav {
        position: fixed;

        z-index: 100;
    }
    #main-nav ul li a span {
         display: none; 
    }
}

.wrapper {
    background-color: #4e4949;
    width: 1160px;
    margin: 0 auto;
    height: calc(100vh - 200px);
    border-radius: 20px;
    position: relative;
    box-shadow: -12px 10px 18px 1px rgba(6, 6, 7, 0.752)
}

.wrapper >.row {
    position: absolute;
    width: 100%;
    height: 100%;
}
/* Breakpoints
1400px 
1200px
992px
768px
576px  */

@media(max-width:1400px){
    .wrapper ,#main-nav {
        width: 1160px;
    }
}
@media(max-width:1200px){
    .wrapper ,#main-nav {
        width: 970px;
    }
}
@media(max-width:992px){
    .wrapper ,#main-nav {
        width: 760px;
    }
}
@media(max-width:768px){
    .wrapper ,#main-nav {
        width: 100%;
    }
    .wrapper{
        height: 100%;
    }
    .wrapper >.row {
        position: static;
        width: 100%;
        height: auto;
    }
}

#hovess li a :hover{
 color: #00599e;
}
.intro { 
    text-align: center; 
    height: 100%;
    background-color: rgb(134, 134, 134);
    color: var(--heading-color);
    display: flex;
    align-items: center;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}
.intro a{
    color: var(--heading-color);
}
.intro ul {
    margin: 0px;
    padding: 0px;
    list-style:none ;
    display: flex;
    justify-content: space-evenly;
}

@media(max-width:768px)
{
    .intro{
        display: none;
    }
}
.content{
    position: relative;
    overflow-x: hidden;
    perspective: 400px;
}
.content > section {
    overflow-y:scroll;
}

@media(max-width:768px)
{
 .content{
    position: absolute;
    top: 0px;
    width: 100%;
 }   
}

#home{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 1s;
}
#home h1{
    font-size: 5em;
    color: var(--heading-color);
}
#home p{
    font-size: 2em;
    color: #ffffffc7;
}

#home img{
    display: none;
}

@media(max-width:768px)
{
    #home h1{
        font-size: 3em;
        color: var(--heading-color);
    }
    #home img{
        display: inline-block;
    }
    
}

#about,#skills,#projects,#contact {
    padding: 50px;
    position: absolute;
    z-index: 10;
    top: 0px;
     width: 100%;
    height: 100%;
    background-color: #323232;
 color: var(--heading-color);
transition-duration: 1s;
 transform: translateX(-100%) rotateY(180deg) ;
}

#about h2,#skills h2,#projects h2,#contact h2{
    letter-spacing: 2px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid orangered;
}

#about p{
    text-align: justify;
}
#about ul li{
    letter-spacing: 1px;
}
#about ul li span{
color: burlywood;
font-weight: bold;
}

#about .icon{
    color: rgb(255, 179, 0);
    font-size: 2em;
}
#about h4{
    font-size: 1.2em;
}

@media(max-width:1200px)
{
    #about ul li {
        font-size: 0.8em;
    }
}

.timeline {
    position: relative;
}
.timeline .box{
    color: #00599e;
    padding: 20px;
    border-radius: 10px;
    width: 50%;
    position: relative;
}
.timeline .box.left{
    padding-left: 0px;
}
.timeline .box .inner-box {
    background-color: #e8fffb;
    padding: 20px;
}
.timeline .box.right {
    position: relative;
    left: 50%;
    padding-left: 30px;
}
.timeline .box:after{
  content: "";
  position: absolute;
  z-index: 1;
  top: 20%;
  width: 20px;
  height: 20px;
  border-radius: 50%;

}
.timeline .box.left::after{
    right: -14px;
    background-color: rgb(249, 177, 10);
}
.timeline .box.right::after{
    left:-7px;
    background-color: rgb(0, 132, 255);
}
.timeline::after {
    content: "";
    height: 100%;
    left: 50%;
    top: 0%;
    position: absolute;
    border: 4px solid white;
}

.timeline .box::before{
    content: "";
    position: absolute;
    top: 20%;
    z-index: 2;
    border: 10px solid;
}

.timeline .box.left::before{
    right: 0px;
    border-color: transparent transparent transparent #e8fffb ;
}
.timeline .box.right::before{
    left: 10px;
    border-color: transparent #e8fffb transparent transparent  ;
}

/* Skills */
.skillset ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.skillset ul li .bar{
    position: relative;
    display: block;
    width: 100%;
    height: 5px;
    border-radius: 20px;
    background-color: #fff;
    margin-bottom: 20px;
}


.skillset ul li span {
    display: block;
    height: inherit;
    width: inherit;
    position: relative;
}

.skillset ul li .p-80::before {
   width: 80%;
}
.skillset ul li .p-70::before {
    width: 70%;
 }
 .skillset ul li .p-85::before {
    width: 85%;
 }
 .skillset ul li .p-60::before {
    width: 60%;
 }
 .skillset ul li .p-50::before {
    width: 50%;
 }
 .skillset ul li .p-100::before {
    width: 100%;
 }

 .skillset ul li span::before{
    content: "";
    position: absolute;
    height: 100%;
    border-radius: 20px;
    background-color: #e28800;
    animation: progressbar 1s linear;
    }

 @keyframes progressbar{
    from{width:0%;}
    to {width:100%;}
 }
#projects .card {
    color: #323232;
    margin-bottom: 30px;
    overflow: hidden;
}
#projects .card img{
    transition-duration: 1s;
} 
#projects .card:hover img {
    transform: scale(1.5,1.5);
}

#home.show,
#about.show,
#skills.show,
#projects.show,
#contact.show {
    transform: translateX(0%) rotateY(0deg) ;
}

@media(max-width:768px){

    #about,#skills,#projects,#contact {
        margin-top: 20px;

    }
}