@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');
* {
    box-sizing: border-box;
    outline: none;
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

body {
    background-color:white;
    margin: 0;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

#logo {
    padding-left: 50px;
    float: left;
    height: 100px;
    width: 340px;
}

.navbarDesktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 1.1rem;
    color: black;
    background: white;
}

.navbarMobile {
    display: block;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    font-size: 1.1rem;
    color: black;
    background: white;
}

.navbar_links {
    display: flex;
}

.navbar_link {
    padding: 0 10px;
}

.navbar_link>a {
    text-decoration: none;
    color: black;
}
.navbar_link > a::after {
    display: block;
    content: "";
    width: 0;
    height: 1px;
    background: black;
    transition: width .4s;
}

.burger {
    display: none;
}
/*Bouton haut de page */

#scrollUp {
    position: fixed;
    bottom: 10px;
    right: -100px;
    opacity: 0.5;
}
/* Menu large screen */
@media only screen and (min-width: 950px) {
    .navbarMobileDiv {
        display: none!important;
    }
    .navbarDesktopDiv {
        height: 120px;
        display: block;
        position: fixed;
        z-index: 100;
        width: 100%;
    }
    .navbar_link > a::after {
        display:block;
        content:"";
        width:0;
        height:1px;
        background:black;
        transition:width .4s;
      }
      .navbar_link:hover > a::after{
        width:100%;
      }
}
/* Menu small screen */
@media screen and (max-width: 950px) {
    .navbarDesktopDiv {
        display: none!important;
    }
    .navbarMobileDiv {
        height: 120px;
        display: block;
        position: fixed;
        z-index: 100;
        width: 100%;
        font-size: 20px;
        line-height:50px;
    }
    .navbar_link:hover {
        font-size:120%;
      }
}
.navbarDesktop {
    display: flex!important;
}

.navbarMobile {
    display: flex!important;
    justify-content: center;
}

.navbarMobileBurger {
    position: absolute;
    left: 20px;
    cursor: pointer;
}

/*.navbarMobileLogo {}*/

.navbarMobileItems {
    background-color: rgb(255, 255, 255);
    height: 1000px;
}

.navbarMobileItems>.navbar_links {
    display: flex;
    flex-direction: column;
}

/*Image fond */
#plan {
    width:100%;
    max-height: 1000px;
   
}
.txtft{
    position: absolute;
    z-index:1;
    bottom:20%;
    left:20%;
    color:black;
    font-size:34px;
    font-weight:bold;
}
.txtfg{
    position: absolute;
    z-index:1;
    bottom:15%;
    left:30%;
    font-size:34px;
    color:black;
    font-weight:bold;
}
@media screen and (max-width: 1200px) {
    .txtfg{
        font-size:25px;
    }
    .txtft{
        font-size: 25px;
    }
}
/*A propos */
.section1 {
    color: white;
    position: relative;
    width: 100%;
    text-align: center;
    margin-top:-7px;
}
.contentsection1{
    color: black;
    display:flex;
    justify-content: space-around;
    align-items: center;
    margin:-50px 100px -50px 100px;
}
#bureau{
    width:25%;
    height:25%;
}
/* Compétences */
.section2 {
    color: white;
    position: relative;
    top:150px;
    width: 100%;
    text-align: center;
}
.contentsection2{
    color: black;
    display:flex;
    justify-content: space-around;
    align-items: center;
    margin:-50px 100px -50px 100px;
}
#theo{
    width:25%;
    height:25%;

}
/* Réalisations */
.section3 {
    color: white;
    position: relative;
    top:150px;
    width: 100%;
    text-align: center;
}

.custom-slider { 
    display: none; 
}
.slide-container {
    max-width: 800px;
    position: relative;
    margin: 50px auto;
}
.prev, .next {
    cursor: pointer;
    position: absolute;        
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    background-color: rgba(0,0,0,0);
    transition: background-color 0.6s ease;
}
.prev{ 
    left: 15px; 
}
.next { 
    right: 15px; 
}
.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.5);
}
.slide-text {
    position: absolute;
    color: #ffffff;
    font-size: 15px;
    padding: 15px;
    bottom: 15px;
    width: 100%;
    text-align: center;
}
.slide-img{ 
    width: 100%; 
    height: 500px;
    object-fit: cover;
    object-position: center;
}

/* Contact */
.section4 {
    color: white;
    position: relative;
    width: 100%;
    top:200px;
    font-size:40px;
    text-align: center;
}

.contentsection4{
    color: black;
    display:flex;
    justify-content: space-around;
    align-items: center;
}

@media screen and (max-width: 950px) {
    .contentsection1{
        flex-direction:column;
        margin:20px 0px 0px 0px;
    }
    .contentsection2{
        flex-direction:column;
        margin:20px 0px 0px 0px;
    }
    .contentsection4{
        flex-direction:column;
        margin:20px 0px 0px 0px;
    }

}


.titre {
    background-color: black;
    position: relative;
    height: 60px;
}

.txtp {
    font-size: 20px;
    float: right;
    margin: 0 15px 15px 0;
    text-align: left;
    line-height: 20px;
    margin:100px;
    line-height:25px;
    
}

h1 {
    font-size: 35px;
    font-family: 'Poppins', sans-serif;
}

footer{
    position:relative;
    top:200px;
    width:100%;
    text-align:center;
}

