:root{
    --main: #009dff;
}

*{
    margin:0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: "Bebas Neue", sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

header{
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 3rem;
    z-index: 1000;
}

.logo{
    color:aliceblue;
    font-size: 1.3rem;
    font-weight: 600;
    text-wrap: nowrap;
    transition: 0.3s ease-in-out;
}

.logo:hover{
    transform: scale(1.1);
}

.nav-links{
    display: flex;
    gap: 2rem;
    white-space: nowrap;
}

li a{
    position: relative;
    color: white;
    font-weight: 300;
}

li a::before{
    position: absolute;
    content:'';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3 ease-in-out;
    background: var(--main);
}

li a:hover::before{
    width: 100%;
}

.addContact{
    padding: 0.8rem 1.5rem;
    margin-left: 2rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    text-wrap: nowrap;
    transition: 0.3 ease-in-out;
    background: var(--main);
}

.addContact:hover{
    background: rgb(0,157,255);
    transform: scale(1.03);
}

section{
    min-height: 100vh;
    padding: 8rem 12%;
    width: 100%;
    position: relative;
}

.section-title{
    font-size: 1.5rem;
}

/*#####################################################################
##########################     TOGGLE     ############################
######################################################################*/

#toggle_btn{
	display: none;
	cursor: pointer;
    border-radius: 50%;
    z-index: 50000;
}

#bar1, #bar2, #bar3{
  width: 35px;
  height: 5px;
  background-color: white;
  margin: 6px 0;
  transition: 0.4s;
}

.active #bar1 {
  transform: translate(0, 11px) rotate(-45deg);
}

.active #bar2 {opacity: 0;}

.active #bar3 {
  transform: translate(0, -11px) rotate(45deg);
}

/*#######################################################################################################
######################                    ABOUT                 ########################################
#######################################################################################################*/

.about{
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.about .about-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.about img{
    width: 25vw;
    border-radius: 50%;
    transition: 0.2s ease-in-out;
}

.about img:hover{
    transform: scale(1.1);
}


.info-box{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.info-box h3{
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.8;
}

.info-box h1{
    font-size: 3rem;
    font-weight: 600;
}

.info-box span{
    background: rgb(0,157,255);
    background-clip: text;
    color: transparent;
    font-size: 2rem;
}

.btn-group{
    display: flex;
    gap: 1rem;
}

.btn-group a{
    border-radius: 3rem;
    padding: 0.5rem 1.5rem;
    border: 2px solid black;
    cursor: pointer;
    font-weight: 500;
    text-wrap: nowrap;
    transform: 0.2s ease-in-out;
    color: black;
}

.btn-group a:hover{
    background: black;
    color: white;
}
 
.socials{
    display: flex;
    gap: 2rem;

}

.socials i{
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.about .socials a{
    color: black;
    width: 1vw;
    padding: 1rem;
 }

.socials i:hover{
    transform: scale(1.1);
}


/*#######################################################################################################
######################                    EXPERIENCES                 ###################################
########################################################################################################*/


.section-title{
    text-align: center;
    font-size: 4rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.experience-info{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}



.grid{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
}

.grid-card{
    border: 2px solid rgb(0, 0, 0);
    border-radius: 3rem;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.grid-card:hover{
    transform: scale(1.1);
    background: black;
    color: white;
}

.grid-card i{
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.grid-card h1{
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--main);
}

.grid-card h2{
    font-size: 1.2rem;
    font-weight: 500;
}

.grid-card h3{
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    padding-bottom: 1rem;
        font-family: 'Arial';
}

.grid-card p{
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Arial';
    
}

.grid-card img{
    width: 8vw;
    padding-bottom: 1rem;
}




/*#######################################################################################################
######################                    FORMATION                 ###################################
########################################################################################################*/

.formation-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 2rem;
}

.formation-card{
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    border: 2px solid black;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.formation-card:hover{
    background-color: black;
    color: white;
    transform: translateY(-10px)scale(1.02);
}

.formation-card h1{
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--main);
}

.formation-card h2{
    font-size: 1.2rem;
    font-weight: 500;
}

.formation-card h3{
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    padding-bottom: 1rem;
    font-family: 'Arial';
}

.formation-card p{
    font-size: 1rem;
    font-weight: 300;
    font-family: 'Arial';
    
}

.formation-card img{
    width: 8vw;
    padding-bottom: 1rem;
}

/*#######################################################################################################
######################                    COMPETENCES                 ###################################
########################################################################################################*/

.typerating{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: 1rem;
    color: black;
    font-weight: 600;
    padding: 1rem;
}

.typerating img{
    width: 20vw;
}

.typerating .hdv{
    color: var(--main);
}
/*#######################################################################################################
######################                    contact                 ###################################
########################################################################################################*/

.contact .contactBox{
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}

.contact .input{
    margin-bottom: 2rem;
}
.contactBox img{

}

.contactBox img:hover{

}


/*##################################################################################################
######################                    FOOTER                 ###################################
####################################################################################################*/

footer{
    bottom: 0px;
    left: 0px;
    height: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

footer ul{
    display: flex;
    align-items: center;
    gap: 3rem;
}

footer ul li a{
    color: black;
    font-weight: 600;
}

.copyright{
    font-size: 300;
    margin-top: 2rem;
}

.card-face{
    position: absolute;
    heigth: 100%;
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


#card-front{
   background-size: cover;
}

#card-back{
    background-size: cover;
    transform: rotateY(180deg);
}

.card.flip{
    transform: rotateY(180deg);
}