@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
*, ul{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    list-style: none;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #000;
    width: 100%;
}
/*###########################################################*/

/* HEADER */
header{
    background-image: url('../img/laptop.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: rgb(185, 14, 114);
}
/* STYLING THE LINKS FOR SOCIAL MEDIAS */
.social{
    display: flex;
    padding: 1rem 5rem;
    justify-content: space-between;
    align-items: center;
}
.social .logo{
    display: flex;
    align-items: center
}
.social .logo h3{
    color: #fff;
}
.social .logo h3 span{
    color: rgb(185, 14, 114);
}
.social-medias{
    display: flex;
    gap: 0.7rem;
    align-items: center;
}
.social .social-medias a{
    background: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    color: #000;
    transition: .3s;
}
.social-medias a:hover{
    background: rgb(185, 14, 114);
    color: #fff;
}
/* LOGO */
.social .logo img{
    width: 70px;
    height: 70px;
    border-radius: 50%;
}
/*###########################################################*/

/* NAVIGATION BAR */
.header nav{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-bottom: 10rem;
}
.header nav ul{
    display: flex;
    gap: 2rem;
    padding: 5rem 0;
    align-items: center;
    justify-content: center;
}
.header nav ul a{
    color: rgb(185, 14, 114);
    font: normal 14pt arial;
    transition: .3s;
    position: relative;
    font-family: 'Rubik', sans-serif;
}
.header nav ul a:hover{
    color: rgb(207, 137, 184);
}
.header nav img{
    width: 12%;
    border-radius: 50%;
}
.random-quote{
    text-align: center;
    padding-bottom: 15rem;
}
.random-quote p{
    text-transform: uppercase;
    font-size: 22px;
}
.random-quote h1{
    font: normal 43pt arial;
}
/*###########################################################*/

/* FIRST SECTION */
.first-section{
    color: #fff;
}
/* PRESENTATION */
.first-section .presentation{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15% 2%;
    text-align: justify;
    /* text-align: center; */
}
.first-section .presentation .text-left .occupation{
    padding: 1rem 0;
}
.first-section .presentation .text-left span{
    color: rgb(148, 38, 38);
    font-size: 20px;
    letter-spacing: 0.5rem;
    margin-left: 50%;
}
.first-section .presentation .text-left #title{
    color: rgb(148, 38, 38);
    font-size: 20px;
    letter-spacing: 0.2rem;
    padding: 0.5rem 0;
}
.first-section .presentation .text-left{
    width: 35%;
}
.first-section .presentation .image{
    text-align: center;
    width: 30%;
}
.first-section .presentation .image img{
    width: 90%;
}
.first-section .presentation .text-right{
    width: 35%;
}
.first-section .presentation .text-right #greeting{
    color: rgb(148, 38, 38);
    font-size: 40px;
    padding: 0.5rem 0;
}


/* HAMBURGER MENU STYLE */

#btn-mobile{
    display: none;
}
@media screen and (max-width: 750px) {
    header{
        height: 100vh;
    }
    .social{
        flex-direction: column;
        gap: 0.5rem;
    }
    #menu-mobile ul{
        display: flex;
        gap: 2rem;
        padding: 5rem 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    #menu-mobile ul a{
        color: #fff;
        font: normal 14pt arial;
        transition: .3s;
        position: relative;
    }
    #menu-mobile ul img{
        display: none;
    }
    #btn-mobile{
        display: block;
    }
    #menu{
        display: block;
        /* display: block; */
        position: absolute;
        width: 100%;
        top: 100px;
        right: 0;
        background: rgba(0, 0, 0, 0.9);
       height: 0px;
       transition: .3s;
        z-index: 1000;
        visibility: hidden;
        overflow-y: hidden;
    }
    #menu-mobile.active #menu{
        height: calc(100vh - 100px);
        visibility: visible;
        overflow-y: auto;
    }
    #menu a{
        padding: 1rem 0;
        margin: 0 1rem;
    }
    #btn-mobile{
        position: absolute;
        top: 0;
        right: 0;
    }
    #btn-mobile{
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        color: #fff;
        gap: .5rem;
    }
    #hamburguer{
        display: block;
        border-top: 2px solid;
        width: 20px;
    }
    #hamburguer::after, #hamburguer::before{
        content: "";
        width: 20px;
        height: 2px;
        background-color: currentColor;
        display: block;
        margin-top: 5px;
        position: relative;
        transition: .5s;
    }
    #menu-mobile.active #hamburguer{
        border-top-color: transparent;
    }
    #menu-mobile.active #hamburguer::before{
        transform: rotate(135deg);
    }
    #menu-mobile.active #hamburguer::after{
        transform: rotate(-135deg);
        top: -7px;
    }
    #what .carts .webCart, #what .carts .UICart{
        width: 100%;
    }
    #portfolio .gallery img{
        width: 45%;
    }
}

/*############################# MY SKILLS ##########################*/

.skills{
    text-align: center;
    padding: 3rem 0;
    background: #fff;
}
.skills p{
    font: normal 20pt arial;
    font-weight: 600;
    color: rgb(148, 38, 38);
    padding: 3rem 0;
    border-top: 2px solid rgba(0, 0, 0, 0.9);
}
.skills .row-skills img{
    width: 8%;
    border-bottom: 2px solid rgba(0, 0, 0, 0.9);
    margin: 0 1%;
}

/* ########################### SLIDE ################################### */
#slide{
    display: flex;
    padding: 5rem 1rem;
    gap: 1rem;
}

/* PARALLEL */
.differentials h2, .certs h2{
    text-align: center;
    color: rgb(148, 38, 38);
}
.differentials span, .certs span{
    text-align: center;
    color: rgb(148, 38, 38);
    font-size: 19px;
    font-weight: 600;
    line-height: 2.5rem;
}
#slide .differentials, .certs{
    padding: 1% 1%;
    background: #999;
    border-radius: 5px;
    width: 50%;
    height: 25vw;
    max-height: 180px;
    position: relative;
}
/* PARALLEL */




/* ############### ANIMATED SLIDER ################ */

.active{
    display: block;
}


/* STYLING THE PORTFOLIO */
#portfolio{
    color: #fff;
    text-align: center;
}
#portfolio h2{
    text-transform: uppercase;
    font-size: 33px;
}
#portfolio p{
    border-bottom: 2px solid #fff;
}
#portfolio .gallery{
    display: flex;
    width: 100%;
    padding: 3rem 1rem;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
}
.gallery img{
    width: 30%;
    height: 25rem;
    margin: 0.5%;
    transition: .3s;
}
.gallery img:hover{
    cursor: pointer;
}

/* FULL SCREEN */
#FullImageView{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .9);
    text-align: center;
}
#FullImage{
    padding: 24px;
    max-width: 98%;
    max-height: 98%;
}
@media screen and (max-width: 720px){
    #FullImageView{
        max-height: 100%;
        padding-top: 10%;
    }
}

#CloseButton{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 2rem;
    color: rgb(172, 19, 19);
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
#CloseButton:hover{
    background: #fff;
    color: #000;
}

/* FOOTER */

.footer{
    display: flex;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
}
.footer .logo{
    text-align: center;
    width: 20%;
    padding: 1% 1%;
}
.footer .logo img{
    width: 60%;
}
.footer .logo h2 span{
    color: rgb(185, 14, 114);
}

.footer .social-network{
    padding: 1rem 1rem;
    text-align: center;
}
.footer .social-network h3{
    color: rgb(148, 38, 38);
    line-height: 2rem;
}
.footer .social-network a{
    color: rgb(185, 14, 114);
    line-height: 50px;
    margin: 5%;
    border-bottom: 1px solid currentColor;
}

.ads{
    width: 100%;
    height: auto;
    padding: 1rem 1rem;
}

/* RESPONSIVITY */
@media screen and (max-width: 600px) {
    .first-section .presentation{
        flex-direction: column;
    }
    .first-section .presentation .text-left, .first-section .presentation .text-right{
        width: 80%;
    }
    .first-section .presentation .image{
        width: 50%
    }
    #slide{
        flex-direction: column;
    }
    #slide .differentials, #slide .certs{
        width: 100%;
        height: 120vw;
        position: relative;
    }
    #portfolio .gallery{
        padding: 3rem 0;
    }
    #portfolio .gallery img{
        height: 5%;
    }
    .gallery .hideOnSmall{
        display: none;
    }
    .footer{
        flex-direction: column;
    }
    .footer .logo{
        width: 60%;
    }
    .footer .social-network{
        width: 100%;
    }
    .footer .social-network a{
        margin: 1.5%;
    }
}


/* ANIMATION */
.differentials p{
    opacity: 0;
    position: absolute;
    width: 98%;
}
.certs p{
    opacity: 0;
    position: absolute;
    width: 98%;

}

@keyframes slide{
    to{
        transform: translateX(0);
        opacity: 1;
        transition: 2000ms;
    }
}
.differentials p.selected, .certs p.selected{
    opacity: 1;
    transition: 2000ms;
    animation-name: slide;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    transform: translateY(80px);
}