*{
    box-sizing: border-box;
    font-family: 'Fira Sans', sans-serif;
}
body{
    margin: 0;
}
h1{
    font-size: 2.5rem;
    text-align: center;
}
h2{
    font-size: 1.5rem;
    text-align: center;
}
p{
    font-size: 1.2rem;
    text-align: justify;
}
a{
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}
.dotted-hr{
    border: 6px dotted white;
    border-bottom: none;
    margin: 20px auto;
    width: 70px;
}
[class*="col-"]{
    float: left;
    padding: 10px;
}

/* for mobile */

[class*="col-"]{
    width: 100%;
}


/* navbar design starts here */

.navbar{
background-color: teal;
text-align: center;
padding: 1% 7%;
} 
.navbar .nav-logo{

}
.navbar .nav-logo img{
width: 80px;
height: 80px;
}
.navbar .nav-heading{

}
.navbar h1{
    color: white;
    margin: 0;
    padding-top: 10px;
}
.nav-menu{
display: flex;
flex-direction: column;
text-transform: uppercase;
}
.nav-menu a{
border-radius: 10px;
background-color: cadetblue;
margin: 7px 0px;
padding: 10px;
}
.nav-menu a:hover{
    background-color: grey;
}

.navbar::after{
    content: '';
    display: table;
    clear: both;
}

/* navbar design ends here */

/* profile design starts here */

.profile{
    padding: 130px 10px;
    text-align: center;
    position: relative;
}
.profile .top-weather-icon{
    position: absolute;
    right: 60px;
    top: 20px;
    transition: transform 2s;
}
.profile .top-weather-icon:hover{
   transform: rotate(360deg);
}

.profile img{
    width: 100px;
    height: 100px;
}


.profile-desc{

}
.profile-desc h1{
    font-family: 'Satisfy', cursive;
    font-size: 3rem;
}
.profile-desc p{
    color: gray;
    margin: 0 auto 20px auto;
    text-align: center;
    width: 90%;
}

.profile .bottom-weather-icon{
    position: absolute;
    left: 60px;
    bottom: 10px;
    transition: transform 2s;
}
.profile .bottom-weather-icon:hover{
   transform: rotate(360deg);
}

.profile::after{
    content: '';
    display: table;
    clear: both;
}

/* profile design ends here */


/* About me starts here */

.about-me{
    background-color: teal;
    padding: 1% 7%;
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

.aboutme-image img{
    border: 5px solid white;
    border-radius: 50%;
    width: 200px;
    height: 220px;
}

.about-me p{
    text-align: center;
}
.about-me a{

}

.cv-button{
    background-color: #052d2f;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    margin: 10px;
}


.about-me::after{
    content: '';
    display: table;
    clear: both;
}
/* About me ends here */


/* professional experience starts here */

.professional-experience{
    padding: 1% 0%;
}
.card{
    background-color: grey;
    border-radius: 5px;
    padding: 10px;
    transition: 0.3s;
    height: 600px;
}
.card:hover{
    box-shadow: 0px 4px 8px black;
}
.card-icon{
    text-align: center;
}
.card-icon img{
    width: 100px;
    height: 100px;
    margin-top: 20px;
   }
.rounded-img{
    border: 5px solid white;
    border-radius: 50%;
    padding: 10px;
}
.card-title h2{
    background-color: #616161;
    color: white;
    padding: 10px;
    }
.card-desc{
    margin-top: 50px;
}


.skills-container{
    padding-right: 35px;
    
}
.skills-container li{
    list-style: none;
    margin: 35px 0px;
    text-transform: uppercase;
    font-weight: bolder;
    position: relative;
   
    
    /* background-color: #052d2f; */
}
.skills-container li::before{
    content: '';
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    height: 20px;
    background-color: rgb(63,63,160,0.5);
    border-radius: 1000px;
}
.skills-container li::after{
    content: '';
    position: absolute;
    top: calc(100% + 5px);
    left: 0;

    width: 0%;
    height: 20px;
    background-color: rgb(63,63,160,1);
    border-radius: 1000px;

    animation-duration: 5s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    animation-iteration-count: 3;

}

.skills-container li.nahw::after{
    animation-name: nahw;
}
@keyframes nahw {
    to{
        width: 65%;
    }
}

.skills-container li.sarf::after{
    animation-name: sarf;
}
@keyframes sarf {
    to{
        width: 55%;
    }
}

.skills-container li.balagah::after{
    animation-name: balagah;
}
@keyframes balagah {
    to{
        width: 45%;
    }
}

.skills-container li.html::after{
    animation-name: html;
}
@keyframes html {
    to{
        width: 65%;
    }
}

.skills-container li.css::after{
    animation-name: css;
}
@keyframes css {
    to{
        width: 55%;
    }
}

.skills-container li.javascript::after{
    animation-name: javascript;
}
@keyframes javascript {
    to{
        width: 45%;
    }
}







.professional-experience::after{
    content: '';
    display: table;
    clear: both;
}
/* professional experience ends here */


/* achievement-contact starts here */

.achievement-contact{
    padding: 1% 7%;
    background-color: teal;
    color: white;
    
}
.contact{
    text-align: center;
}

.contact input, textarea{
    text-align: center;
    font-size: 1rem;
    padding: 10px;
    width: 100%;
    border: none;
    border-radius: 10px;
    resize: none;
    margin: 10px;
    cursor: pointer;
    
}
.contact button{
    border: none;
    border-radius: 20px;
    background-color: #052d2f;
    color: gray;
    cursor: pointer;
    width: 80px;
    padding: 10px;
    margin: 20px;
    text-align: center;
}
.contact button:hover{
    background-color: aquamarine;
}
.contact-links{
    text-align: center;
}
.media-buttons{
    margin-top: 100px;
}
.media-buttons .btn{
    font-size: 4rem;
    border: none;
    border-radius: 20px;
    padding: 3px;
    margin: 5px;
    cursor: pointer;
    width: 80px;
    text-align: center;
    
}
.media-buttons .btn:hover{
    background-color: gray;
}


.achievement-contact::after{
    content: '';
    display: table;
    clear: both;
}
/* achievement-contact ends here */


/* footer starts here  */
.footer{
    background-color: black;
    color: white;
    text-align: center;
    padding: 1% 7%;
    font-size: 0.7rem;
}

.footer-menu a{
    display: block;
    padding: 10px;
    margin: 15px auto;
    background-color: #616161;
    font-size: 1rem;
    text-transform: uppercase;
    width: 150px;
    
}
.footer-menu a:hover{
    color: aquamarine;
    background-color: transparent;
}


.footer::after{
    content: '';
    display: table;
    clear: both;
}
/* footer ends here  */