@import url('https://fonts.googleapis.com/css2?family=Righteous&display=swap');
*{
    margin: 0;
    padding: 0;
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;  ;
}

/*===== GOOGLE FONTS =====*/
/*===== VARIABLES CSS =====*/
:root{
    --container-width: 90%;
    --container-bg-height: 80vh;
    --container-height: 70vh;

    /*========== Colors ==========*/
    --first-color: yellow;
    --first-color-alt: #2ECC71;
    --title-color: #393939;
    --text-color: #dde;
    --text-color-light: #ddd;
    --href-color: #fff;
    --body-color: #FBFEFD;
    --container-color: #FFFFFF;
    --first-color-span: yellow; 
   
    /*========== Font and typography ==========*/
    --body-font: 'Poppins', sans-serif;
    --biggest-font-size: 4rem;
    --font-titel: 8rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.5;
    --p-font-size: 1.5rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;


  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== Margenes And padding  ==========*/
    --mb-1: .5rem;
    --mb-2: 1rem;
    --mb-3: 1.5rem;
    --mb-4: 2rem;
    --mb-5: 2.5rem;
    --mb-6: 3rem; 

    --container-mr: 5%;

    --pad-1: 2rem;

    --border-radius: 10px;


    /*========== Colmun gap and row-gap  ==========*/
    --cg-1: 4rem;
    --cg-2: 1rem;
    --cg-3: 0.5rem;
    --cg-4: 2rem;
    --cg-5: 2.5rem;
    --cg-6: 3rem;
    
  
    /*========== z index and transition ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-fixed-fixed: 1000;
    --o-transition: 0.5s;
  }

/*=================SECTION 1 ABOUT================*/


#section-bg-about{
    background-image: url('./images/victor-freitas-WvDYdXDzkhs-unsplash.jpg');
}
#container-bg-about{
    height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

/*=================SECTION 1 ABOUT================*/





.our__skills{
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

.our__skills h1{
    color: var(--first-color);
    margin-bottom: 20px;
    font-size: 4rem;
}

.our__skills p{
    color: var(--title-color);
}
/*=================SECTION 2 ABOUT================*/
#section-2-about{
    background-color: var(--title-color);
}
    
#container-2-about{
    padding: 50px 0 50px 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
}

.div__1__section__2{
    width: 65%;
    background-position: center;
    background-size: cover;
    /*background-image: url('./images/images.home/bg-home.jpg');*/
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.div__1__section__2 div{
    width: 300px;
    background-color: var(--first-color);
    padding: 20px 10px;
    cursor: pointer;
    transition: var(--o-transition);
}

.div__1__section__2 div img{
    width: 100px;
    height: 100px;
}

.div__1__section__2 div h1{
    color: var(--title-color);
    margin: 10px 0;
}

.div__1__section__2 div p{
    color: var(--title-color);
}




/*===================================================================*/
.cards__page__about{
    width: 35%;
    display: flex;
    
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.cards__page__about::before{
    position: absolute;
    width: 100%;
    content: 'SKILLS';
    transform: rotate(90deg);
    display: flex;
    top: 50%;
    justify-content: center;
    font-size: 10rem;
    opacity: 0.2;
}
svg{
    position: relative;
    width: 150px;
    height: 150px;
    z-index: 1000;
}

svg circle{
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--title-color);
    stroke-width: 10;
    stroke-linecap:round ;
    transform: translate(5px, 5px);
}

svg circle:nth-child(2){
    stroke-dasharray: 300;
    stroke-dashoffset: 120;
}

.card{
    position:relative;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    border-radius: var(--border-radius);
    text-align: center;
    overflow: hidden;
    transition: var(--o-transition);
   /* box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1;
    background-image: url('./images/damir-spanic-rHDK3UU7HUw-unsplash.jpg');*/
    background-position: center;
    background-size: cover;
    cursor: pointer;

}
.card img{
    width: 100%;
    height: 100%;
    position: absolute;
}

.card::before{
    content: '';
   /* background-color: var(--title-color);*/
    mix-blend-mode: color;
    position: absolute;
    background-size: cover;
    background-position: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    transition: 0.5s;
}
.card:hover:before{
    background: none;
}
.parcent{
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto;
    margin-bottom: 20px;


}

.parcent .number{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.parcent .number h2{
    color: white;
    font-size: 3rem;
    opacity: 0.7;
    transition: var(--o-transition);
    
}
.parcent .number h2 span{
    font-size: 2rem;
    color: var(--first-color);
}

.text{
    color: var(--first-color);
}

svg circle:nth-child(2){
    stroke-dasharray: 440 ;
    stroke-dashoffset: 440 ;
}

.card svg circle:nth-child(2){
    stroke: var(--first-color) ;
}

.card:nth-child(2) svg circle:nth-child(2){
    stroke-dashoffset: calc(440 - (440 * 90) / 100) ;

}

.card:nth-child(3) svg circle:nth-child(2){
    stroke-dashoffset: calc(440 - (440 * 80) / 100) ;

}
.card:nth-child(4) svg circle:nth-child(2){
    stroke-dashoffset: calc(440 - (440 * 65) / 100) ;

}
.card:nth-child(5) svg circle:nth-child(2){
    stroke-dashoffset: calc(440 - (440 * 50) / 100) ;

}


.card p{
    color: white;
    padding: 0 10px;
    height: 0;
    overflow: hidden;
    transition: var(--o-transition);
}

.card:hover.card p{
    height: 55px;
}

.card:hover.card .parcent .number h2{
    font-size: 4rem;
    opacity: 1;
}


/*========================Media=================*/

@media (max-width: 1100px){
    #container-2-about{
        flex-direction: column;
        align-items: center;
    }
    .div__1__section__2{
        width: 80%;
        justify-content: center;
    }

    
    .cards__page__about{
        width: 80%;
        justify-content: space-between;
    }
}


@media (max-width: 800px){
    

    .div__1__section__2 div{
        width: 100%;
    }

    

    
}
@media (max-width: 600px){
     

    .cards__page__about{
        width: 100%;
        justify-content: center;

    }

    .cards__page__about .card{
        width: 80%;
    }
}


h2{
    margin-bottom: 15px;
    color: var(--title-color);
}

#section-3-about::before{
     position: absolute;
     bottom: 30%;
     right: -10%;
     content: 'AGE : 15 YEARS';
     transform: rotate(-90deg);
     font-size: 4rem;
     color: var(--title-color);
     opacity: 0.5;
     
}
h2 i{
    color: var(--first-color);
    margin-right: 10px;
}


.container-3-about{
    padding:  100px 0 100px 0;
    
}


/*====================================MEdia Query Page About====================*/

@media (max-width: 1200px){
    .div__1__section__2{
        width:100%;
    }

    .cards__page__about {
        width: 100%;
    }
}
@media (max-width: 550px){
    .cards::before {
        width: auto; 
        height: auto;
        transform: rotate(90deg);
        font-size: 12rem;
    }
}


