.black {
    background-color: black;
}

html {
    font-size: 100%;
    box-sizing: border-box;
}

*,*::before,*::after {
  box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat';
    font-size: 0.875rem;
    font-weight: 300;
    color: #9698a6;
    line-height: 1.3;
    overflow-x: hidden;
   
}

.grey{
    background-color: grey;
}

@media screen and (min-width: 64em){
    body{
        font-size: 1.15rem;
        background-color: hsl(0%, 0%, 98%);
    }
    
}

.flex {
    display: flex;
}

.flex-jc-sb{
    justify-content: space-between;
}

.flex-jc-c {
    justify-content: center;
}

.flex-ai-c {
    align-items: center;

}

a,a:visited,a:hover {
    text-decoration: none;
    
}


h1, h2, h3 {
    margin-top: 0px;
    
}

.know-more{
    color: #c91b28;
    font-weight: 600;
    font-size: 13px;
}

.kn-more-active{
    color: #fff;
}

.arrow{
    font-size: 20px;
    width: 5px;
    font-weight: 600;
}

.container {
    max-width: 77rem;
    margin: 0 auto;
    padding-top: 2.25rem;
    padding-right: 1.5rem;
    padding-bottom: 2.25rem;
    padding-left: 1.5rem;
    
}

.container2 {
    max-width: 50rem;
    margin: 0 auto;
    padding-top: 2.25rem;
    padding-right: 1.5rem;
    padding-bottom: 2.25rem;
    padding-left: 1.5rem;
    
}

nav{
    padding: 24px;
}

.header__logo img {
    width: 5.8rem;
    height: 2.5rem;
    

}

.header__links a {
    font-size: 1rem;
    transition: colour 300ms ease-in-out;
    color: white;

}
.header__links a:hover {
    color: black;
    font-style: bold;
    transition: colour 300ms ease-in-out;
    
}

.header__links a:not(:last-child) {
    margin-right: 32px ;

}

/* Mobile Menu */
.header__menu span{ 
    display: block;
    width: 26px;
    height: 2px;
    background-color: white;
}

.header__menu span:not(:last-child) {
    margin-bottom: 3px;
}

.button {
  position: relative;
  display: inline-block;
  padding: 0.595rem 1.1975rem;
  border: 1px solid white;
  border-radius: 2px;
  cursor: pointer;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  transition: opacity 300ms ease-in-out;
  overflow: hidden;

}

.header__cta {
    font-size: 0.875rem;
    color: white;
    font-style: bold;
    transition: colour 300ms ease-in-out;

}


@media screen and (max-width: 64em) {
    .hide-for-mobile {
        display: none;
    
    }   
}


@media screen and (min-width: 64em) {
    .hide-for-desktop {
        display: none;
    }      
}

@media screen and (min-width: 64em) {
    .hero .container {
        display: flex;
        align-items: center;
        min-height: 40rem; 
    }  
}

@media screen and (min-width: 64em) {
    .container2 {
        display: flex;
        align-items: center;
        min-height: 20rem; 
    }  
}

.hero__cta {
    background-color: red;
    color: white;
    border: none;
}

.hero__text {
    text-align: center;   
}

.hero__text h1 {
    font-weight: 700;
    color: white;
    line-height: 1.15;
    font-size: 2.31rem;
    margin-bottom: 1.5rem;
}

.hero__text h4{
    color: red;
}

@media screen and (min-width: 64em){
    .hero__text h1 {
        font-size: 3.3rem;  
        
    }   

    .hero__text h4{
        color: red;
    }
}

.hero__text p {
    line-height: 1.5;
    margin-bottom: 2.25rem;
    color: azure;
    
}

@media screen and (min-width: 64em) {
    .hero__text {
        flex: 2;
        order: 2;
        text-align: left;  
    }  
}

.hero__image {
    position: relative;
    background-image: url(assets/man.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    min-height: 17.5rem; 
}

@media screen and (min-width: 40em) {
    .hero__image {
        background-image: url(assets/man.png);
        min-height: 35rem;
        background-position: center 60%;  
    }    
}

@media screen and (min-width: 64em) {
    .hero__image {
        flex: 3;
        order: 1;
        height: 34rem;
        background-image: url(assets/man.png);
        background-size: 550px;  
        
    }   
}

/* second section */

.skills{
    background-image: linear-gradient(to right, rgba(24, 25, 25) 50%,rgba(0, 0, 0) 0%);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100vh;
}

@media screen and (max-width:750px){

    .skills{
        background-image: linear-gradient(to right, rgba(24, 25, 25) 50%,rgba(0, 0, 0) 0%);
        position: relative;
        display: flex;
        flex-direction: column;
        height: 100%;
        padding-bottom: 20px;
        
    }
}



.feature__intro {
    margin-bottom: 3.75rem;      
}
@media screen and (min-width: 64em){
    .feature__intro {
        width: 100%;  
    }    
}
@media screen and (min-width: 40em){
    .feature__grid {
        display: flex;
        flex-wrap: wrap;
    }   
}
.feature__item1 {
    padding: 0.95rem;
    background-color: red;
    color: white;
}
/* @media screen and (min-width: 40em){
    .feature__item1 {
        flex: 0 0 33%;
        background-color: red;
        color: white;

    }   
} */
@media screen and (min-width: 65em){
    .feature__item1 {
        flex: 1;
        background-color: #c91b28;
        color: white;
    }  
}

.feature__item2 {
    padding: 0.95rem;
    background-color: #1F1E1F;
    color: white;
}
@media screen and (min-width: 40em){
    .feature__ite2 {
        flex: 0 0 33%;
        background-color: #1F1E1F;
        color: white;

    }   
}
@media screen and (min-width: 65em){
    .feature__item2 {
        flex: 1;
        background-color: #1F1E1F;
        color: white;
    }  
}

.feature__icon img {
    height: 50px;
    width: 50px;
}
.feature__icon {
    margin-bottom: 0.5rem;  
}
@media screen and (min-width: 64em){
    .feature__icon {
        margin-bottom: 1rem;
    }
}
.feature__title {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}
@media screen and (min-width: 64em){
    .feature__title {
        color: white;
        font-weight: 600;
        font-size: 1.5rem; 
        margin-bottom: 1rem;
    }   
}
.feature__discription{
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Left right section */

.sidebar {
    flex: 0 0 750px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}
@media screen and (min-width: 65em){
    .sidebar {
        flex: 0 0 750px;
        display: flex;
        justify-content: flex-end;
        align-items: center
    } 
}

.register {
    background-color: black;
}

@media screen and (min-width: 56.25em){
    .flex-container { 
        display: flex;
        padding: 24px;
         
    }
}

.flex-container {
    padding: 24px;
}

.main-content {
    flex: 1; 
}

.left  h1{
    font-size: 33px;
    color: white;
    font-style: bold;
    text-align: center; 
} 

@media screen and (min-width: 65em){
    .left  h1{
        font-size: 40px;
        color: white;
        font-style: bold; 
    } 

}

.left p{
    font-size: 18px;
    color: white;
    text-align: center;
}

@media screen and (min-width: 65em){
    .left p{
        font-size: 19px;
        color: white;
    }
}

/* projects section */

.feature__intro5 {
    margin-bottom: 3.75rem;      
}
@media screen and (min-width: 64em){
    .feature__intro5 {
        width: 100%;  
    }    
}
@media screen and (min-width: 40em){
    .feature__grid5 {
        display: flex;
        flex-wrap: wrap;
    }   
}


.feature__item5 {
    padding: 0.95rem;
    background-color: #1F1E1F;
    color: white;
}
@media screen and (min-width: 40em){
    .feature__item5 {
        flex: 0 0 33%;
        background-color: #1F1E1F;
        color: white;

    }   
}
@media screen and (min-width: 65em){
    .feature__item5 {
        flex: 1;
        background-color: #1F1E1F;
        color: white;
    }  
}

.feature__icon5 img {
    height: 165px;
    width: 300px;
    border: 2px solid black;
}

@media screen and (min-width: 64em){
    .feature__icon5 img {
        height: 215px;
        width: 350px;
        border: 1px solid black;
    }

}

.feature__icon5 {
    margin-bottom: 0.5rem;  
}
@media screen and (min-width: 64em){
    .feature__icon5 {
        margin-bottom: 1rem;
    }
}
.feature__title5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
}
@media screen and (min-width: 64em){
    .feature__title5 {
        color: white;
        font-weight: 600;
        font-size: 1.5rem; 
        margin-bottom: 1rem;
    }   
}
.feature__discription5{
    font-size: 0.95rem;
    line-height: 1.5;
}




/* stats info */

.skill-stats{

    display: grid;
    grid-template-columns: .6fr 1fr;
    margin-top: 100px;
}



.experience{
    text-align: center;
}

.exp{
    font-size:4.5rem;
    margin: 0;
    font-weight: 900;
    color: #c91b28;
}

.year-exp{
    margin: 0;
    margin-top: 0px;
    
}

.oth-stats{

    display: grid;
    grid-template-columns: repeat(2,1fr);
    row-gap: 20px;
    place-items: start;
   
}

.oth-stat-cont{

    background-color:#1f1e1f;
    padding: 20px;
    width: 65%;
    display: flex;
    flex-direction: column;
    align-content: center;

    
}

.stat-num{
    font-size: 2rem;
    margin: 0 auto;
    color: #c91b28;
}

.stat-name{
    margin: 2px 0;
    margin: 0 auto;
}


@media screen and (max-width:800px){

    .experience{
        font-size: 15px;
    }

    .oth-stats{

        font-size: 15px;
    }

}

@media screen and (max-width:750px){
    .oth-stats{

        display: grid;
        grid-template-columns: repeat(2,1fr);
        row-gap: 20px;
        place-items: center;
       margin-top: 10px;
    }

    .oth-stat-cont{

        background-color:#1f1e1f;
        padding: 10px;
        width: 55%;
        display: flex;
        flex-direction: column;
        align-content: center;
    
        
    }

}

@media screen and (max-width:450px){

    .experience{
        text-align: center;
    }

    .exp{
        font-size: 50px;
    }

    .oth-stat-cont{
        padding: 10px;
                    
    }

    .stat-num{
        font-size: 35px;
    }
    
    .stat-name{
        text-align: center;
     }
    

}

@media screen and (max-width:750px){
    .skill-stats{

        display: grid;
        grid-template-columns:1fr;
        margin-top: 100px;
    }

}


/* footer */

.footer{
   
    background-color: #1f1e1f;
    padding: 40px;
   
}

.footer-sb-cont{

    background-color: #1f1e1f;
    position: relative;
    text-align: center;
    height: 120%;
    

}


.btm-icons{
    
    margin: 0 auto;
}

.fa-brands{
    margin-right: 20px;
    font-size:1.2rem;
}
