@import url("https://fonts.googleapis.com/css2?family=Lexend+Mega:wght@500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap");

@font-face {
    font-family: "Mabry Pro";
    src: local("Mabry Pro Black"), local("Mabry-Pro-Black"),
        url("fonts/MabryProBlack/MabryPro-Black.woff2") format("woff2"),
        url("fonts/MabryProBlack/MabryPro-Black.woff") format("woff"),
        url("fonts/MabryProBlack/MabryPro-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    font-family: "Lexend Mega", Arial, Helvetica, sans-serif;
}

/* HEADER */
header {
    display: flex;
    justify-content: center;
}

nav {
    display: flex;
    justify-content: space-between;
    position: fixed;
    background-color: #EBE586;
    width: 76%;
    padding: 20px 40px;
    align-items: center;
    border-radius: 10px;
    border: solid 2px #000;
    z-index: 100;
    top: 25px;
}

.navbar-reduced {
    top: -55px;
}

nav.popout {
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

nav.popout:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
}

nav a {
    display: inline-block;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20px;
}

.activenav a:hover {
    border-bottom: #000 solid 1px;
    padding-bottom: 10px;
}

nav a.active {
    padding-bottom: 10px;
    border-bottom: #000 solid 1px;
}

nav button {
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

nav button:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
}

.part1 {
    background-color: #87ceeb;
    background-image: linear-gradient(#69a1b780 2px, transparent 2px),
      linear-gradient(to right, #69a1b780 2px, #87ceeb 2px);
    opacity: 1;
    background-size: 100px 100px;
    height: 100vh;
    font-family: "Lexend Mega", Arial, Helvetica, sans-serif;
    width: 100%;
    padding: 0px 12% 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;

}

.me {
    width: 100%;
}

.me h2 {
    font-size: 24px;
    margin-bottom: 25px;
}

.me h1 {
    font-size: 30px;
    width: 100%;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
}

.me h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.me p {
    font-size: 14px;
}

.hero {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hero img {
    width: 350px;
}
button {
    all: unset;
    cursor: pointer;
    border-radius: 10px;
    font-size: 14px;
    padding: 14px 16px;
    border: 2px solid #000000;
    user-select: none;
    text-decoration: none;
    margin-top: 25px;
  }
  
  .btn-popout {
    background-color: #F2B138;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
  }
  
  .btn-popout:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
  }
  
  .btn-popout:active {
    box-shadow: none;
    transform: translate(0, 0);
  }
  
  /* Retirer le soulignement du lien */
  .btn-popout a {
    text-decoration: none;
    color: inherit; /* Pour hériter la couleur du bouton */
  }
  
.image-container {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.scroll-container {
    position: absolute;
    background-color: #000;
    letter-spacing: 2px;
    left: 0px;
    bottom: 0px;
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    width: 100%;
    color: #fff;
}

.txt {
    white-space: nowrap;
    font-size: 16px;
    animation: scrollTxt 75s linear infinite;
}

@keyframes scrollTxt {
    0% {
        transform: translate(-100%, 0);
    }

    100% {
        transform: translate(0%, 0);
    }
}

strong {
    color: #F2B138;
}

.about {
    padding: 3% 12%;
    display: flex;
    justify-content: center;
}

.about-content {
    width: 75%;
}

.about h3 {
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
}

.p-about {
    background-color: #F2B138;
    padding: 30px 30px;
    border-radius: 10px;
    border: solid 2px #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

.p-about img {
    border-radius: 10px;
    margin: 20px;
    width: 350px;
}

.project {
    display: flex;
    width: 100%;
}

.objectif {
    width: 100%;
    background-color: #f9f5f2;
    padding: 2% 4%;
}

.project h3 {
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
}

.mobile-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-top:  25px;
    margin-bottom:  25px;
    height: 600px;
}

ul {
    padding: 3%;
}

li {
    padding: 1%;
}

.piaf-img {
    display: flex;
    justify-content: space-between;
}


.piaf-img img {
    height: 250px;
    margin-right: 20px;
}

.partenaire {
    margin: 10px;
    width: 1000px;
}

.wordpress {
    display: flex;
    width: 100%;
}


.wordpress-content {
    width: 100%;
    background-color: #fff;
    padding: 2% 12%;
}

.wordpress h3 {
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
}

.wordpress-content img {
    width: 250px;
    margin: 10px;
}

.wordpress-logo {
    width: 100%;
    text-align: center;
}

.wordpress-usage {
    width: 100%;
    padding: 3% 12%;
}

.wordpress-usage .cards {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card {
    max-width: 100%;
    margin: 25px;
    width: 330px;
    height: 500px;
    border-radius: 10px;
    background-color: #ff7a5c;
    border: #000 solid 2px;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
    transition: 0.25s;
}

.card:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
    width: 400px;
    transition: 0.5s;
}

.card-img1 {
    background-image: url(../img/wordpress-config.png);
}

.card-img2 {
    background-image: url(../img/theme-wordpress.png);
}

.card-img3 {
    background-image: url(../img/plugin-wordpress.png);
}

.card-img {
    background-size: cover;
    background-repeat: no-repeat;
    height: 60%;
    border-radius: 10px 10px 0 0;
}

.card-p {
    margin: 10px;
}

.card-p h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.wordpress-usage h3 {
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
}


/* PARTIE 6  */
.contact {
    width: 100%;
    padding: 3% 12%;
    background-color: #f9f5f2;
}

.contact h2 {
    font-family: "Mabry Pro", Arial, Helvetica, sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    text-align: center;
}

.contact p {
    font-size: 16px;
    margin-bottom: 33px;
    text-align: center;
}

.contact .contact-form {
    position: relative;
    margin: 0 auto;
    width: 700px;
    margin-top: 20px;
}

.contact .contact-form .row {
    width: 100%;
    display: flex;
}

.contact .contact-form .row .col {
    width: 50%;
    margin: 10px;
}

.contact .contact-form .row .col2 {
    width: 100%;
    margin: 10px;
    text-align: center;
}

.contact .contact-form .row input,
.contact .contact-form .row textarea {
    width: 100%;
    padding: 10px;
    border: solid 2px #000;
    outline: none;
    border-radius: 15px;
    resize: vertical;
    min-height: 50px;
    max-height: 200px;
    font-size: 16px;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

.contact .contact-form .row input:hover,
.contact .contact-form .row textarea:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
}

.colorinput {
    background-color: #F2B138;
}

.contact .contact-form .row input:focus,
.contact .contact-form .row textarea:focus {
    box-shadow: none;
    transform: translate(0, 0);
}

.contact .contact-form .row textarea {
    height: 100px;
}

.contact .contact-form .row input[type="submit"] {
    all: unset;
    cursor: pointer;
    border-radius: 10px;
    font-size: 14px;
    padding: 14px 16px;
    border: 2px solid #000000;
    user-select: none;
    background-color: #F2D68B;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

.contact .contact-form .row input[type="submit"]:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
}

.contact .contact-form .row input[type="submit"]:active {
    box-shadow: none;
    transform: translate(0, 0);
}

@media (max-width: 700px) {
    /* CONTACT */

    .contact p {
        font-size: 12px;
    }

    /*Contact Formulaire*/
    .contact .contact-form {
        width: 90%;
    }

    .contact .contact-form .row {
        display: block;
    }

    .contact .contact-form .row .col {
        width: 100%;
        margin: 10px 0 10px 0;
    }

    .contact .contact-form .row .col2 {
        width: 100%;
        margin: 10px 0 10px 0;
        text-align: center;
    }

    .contact .contact-form .row input[type="submit"] {
        margin-top: 10px;
    }
}

/* FOOTER */
.footer {
    width: 100%;
    padding: 1%;
}

.reseau {
    text-align: center;
    margin: 1% 0 1% 0;
    user-select: none;
}

.reseau i {
    transition: 0.5s;
    color: #000;
    font-size: 40px;
}

.reseau i:hover {
    color: #F2B138;
    filter: drop-shadow(0px 0px 1px #000);
    transition: 0.5s;
}

.footer p {
    color: #000;
    text-align: center;
    margin: 1% 0 1% 0;
}

.slideshow {
    background-color: #F2B138;
    border-radius: 10px;
    margin-top: 50px;
    border: solid 2px #000;
    box-shadow: 3px 3px 0 #000000;
    height: 400px;
    display: flex;
    align-items: center;
}

.slideshow div {
    margin: 0 auto;
    max-width: 900px;
}

.galery {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.sContent {
    display: none;
    width: 960px;
    height: 360px;
}

div.sContent:target {
    display: block;
    -webkit-animation: Animation 0.5s;
}

.link {
    margin: 20px 0;
    width: 160px;
    height: 60px;
    border: 1px solid black;
    border-radius: 10px;
    transition: box-shadow 100ms, transform 100ms;
    box-shadow: 3px 3px 0 #000000;
    transform: translate(-0.12em, -0.12em);
}

.link:hover {
    box-shadow: 0.05em 0.05em 0 #000000;
    transform: translate(-0.05em, -0.05em);
}

#link1:active {
    width: 154px;
    height: 54px;
    margin: 23px 3px;
}

#link2:active {
    width: 154px;
    height: 54px;
    margin: 23px 3px;
}

#link3:active {
    width: 154px;
    height: 54px;
    margin: 23px 3px;
}

#link4:active {
    width: 154px;
    height: 54px;
    margin: 23px 3px;
}


@-webkit-keyframes Animation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
  }
  
  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  