*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    position: fixed;
    z-index: 1;
    width: 100%;
}

#home {
    background-color: #343a40;
    color: #fff;
    padding: 100px 0;
    position: relative;
    width: 100%!important;
}

h1 {
    margin-top: 10px;
}

img {
    width: 10%;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-icons a {
    margin: 0px 39px;
    margin-top: 8%;
}

.profile-image {
    display: none;
}

.logo-image {
    display: none;
    width: 50px;
}

.profile-image,
.logo-image {
    opacity: 0;
    transition: opacity 2s ease;
}


#about {
    background-color: #fff;
    color: #333;
    padding: 80px 0;
}

#about .container h4 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 20px;
}

#about .container.appear h4 {
    opacity: 1;
    transform: translateY(0);
}

#about .container h3 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#about .container.appear h3 {
    opacity: 1;
    transform: translateY(0);
}

.about-container {
    display: flex;
    flex-direction: row;
    border: 2px solid #ccc;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    width: 100%!important;
}

.about-container.appear {
    opacity: 1;
    transform: translateY(0);
}

.contact-info {
    flex: 1;
    margin-right: 20px;
}

.contact-info svg {
    width: 8%;
    height: 5%;
    margin-left: 5%;
}

.presentation {
    flex: 2;
    margin: auto;
}

.contact-info h3,
.contact-info h4,
.presentation h2,
.presentation h4 {
    margin-bottom: 10px;
}


#skills {
    padding: 80px 0;
}

.skills-section {
    width: 100%;
}

.element {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.element-img {
    display: flex;
    flex-direction: column;
}


#production .container h4 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 20px;
}

#production .container.appear h4 {
    opacity: 1;
    transform: translateY(0);
}

.production-container.appear {
    opacity: 1;
    transform: translateY(0);
}

.slider-container {
    position: relative;
}

.slider {
    display: flex;
    overflow: hidden;
}

.slider h3 {
    text-transform: uppercase;
}

.competence {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    margin-top: 5%;
}
  
.competence a {
    text-decoration: none;
    margin: 0 10px;
    text-align: center;
    color: black;
    display: flex;
    flex-direction: column;
}
  
.competence img {
    width: 95%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.slider button {
    margin-top: 11%;
    margin-left: 5%;
    width: 20%;
    max-width: 100%;
    height: 30px;
    background-color: #333;
    color: white;
    border-radius: 10px;
}

.slider .button2 {
    margin-top: 16%!important;
    margin-left: 13%!important;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}

.slider-container {
    width: 80%;
    margin: auto;
}

.slider {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.slide2,
.slide3,
.slide4 {
    display: none;
}

button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

.navigation {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.nav-navigation {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.nav-navigation.active {
    background-color: #333;
}


#project .container h4 {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 20px;
}

#project .container.appear h4 {
    opacity: 1;
    transform: translateY(0);
}

.project-container.appear {
    opacity: 1;
    transform: translateY(0);
}

.project-contenue {
    text-align: center;
}

footer {
    background-color: #343a40;
    color: #fff;
    padding: 20px 0;
    margin-top: 10%;
}

#zoomButton {
    opacity: 0%;
}


@media (max-width: 600px) and (orientation: portrait) {

    #responsive {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100% !important;
    }

    .navbar {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
    }

    .profile-image, .profile-image {
        width: 25%;
    }

    .contact-info, h3 {
        font-size: 17px;
    }

    footer {
        width: 100%;
    }

    .about-container {
        flex-direction: column;
        width: 100%;
    }

    #home, .container-responsive {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .contact-info {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    section {
        width: 100%!important;
    }

    .element {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    /*ICI */
    .competence {
        display: flex;
        /*flex-direction: column;*/
        align-items: center;
        width: 100%;
    }

    .slider-container {
        width: 90%;
        margin: auto;
        font-size: 15px;
    }
    
    .navbar-brand {
        font-size: 15px;
        margin-left: 20%!important;
    }

    #home, h1, h2 {
        font-size: 20px;
    }
    
    #home, img {
        width: 40%;
    }

    iframe {
        width: 100%;
    }
    
    #about .container h4 {
        font-size: 12.5px;
    }

    #about .container .contact-info h4 {
        font-size: 13.5px;
    }
    
    #project .container h4 {
        font-size: 12.5px;
    }
    
    .h5, h5 {
        font-size: 0.75rem;
    }
    
    .slider {
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .slider button {
        font-size: 7px;
        width: 20%;
        height: 12%;
    }

    /*
    .slide1, .slide2, .slide3 {
        display: block;
        width: 100%;
    }
    */

    .competence {
    /*        flex-direction: column;*/
        width: 100%;

        a {
            font-size: 12px;
        }
    }    

    .prev, .next {
        margin-top: -1%;
        margin-left: -2%;
        margin-right: -2%;
    }       

    #zoomButton2 {
        opacity: 0%;
    }

    #zoomButton {
        opacity: 100%!important;
        margin-left: 75%;
        position: fixed;
        top: 3%;
    }

    .navbar-toggler {
        position: fixed;
        top: 3%;
    }

    #about {
        margin-top: 70%!important;
    }

}

@media (min-width: 601px) and (max-width: 1000px) and (orientation: landscape) {

    .navbar-brand {
        margin-left: 20%!important;
    }

    
    .navbar-toggler {
        position: fixed;
        top: 8%;
    }

    #zoomButton2 {
        opacity: 0%;
    }
    
    #zoomButton {
        opacity: 100%!important;
        margin-left: 75%;
        position: fixed;
        top: 8%;
    }

}