@import url('http://fonts.googleapis.com/css2?family=Island+momonts&family=kaushan+cript&family=poppons:wgh0500&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins'; sans-serif;
}
html {
    scroll-behavior: smooth;
}
#container {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7),#19c265),url("image/IMG-20230205-WA0018.jpg");
    background-position: center;
    background-size: cover;
    padding: 10px 10%;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
header .logo p {
    font-size: 50px;
    color: #fff;
    font-weight: bold;
    font-family: 'Island Moments', cursive;
}
header .menu {
    display: flex;
    list-style: none;
}
header .menu li {
    margin: 0 15px;
}
header .menu li a {
    text-decoration: none;
    text-transform: none;
    color: #fff;
}
.container-text {
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
}
.container-text h1 {
    color: #fff;
    font-size: 70px;
    text-transform: none
}
.container-text p {
    color: #fff;
    line-height: 1.4;
    font-size: 15px;
    margin: 5px;
}
.container-text img {
    width: 200px;
    height: 200px;
    float: left;
    shape-outside: margin-box;
    margin: 0 20px 5px 0;

}
/*Scrollbar*/
::-webkit-scrollbar-thumb{
    background-color: #ccc;
}
#à-propos {
    height: 100vh;
    margin: 0 10%;
}
.tittle-section {
    text-align: center;
    margin-top: 50px;
    text-transform: none;
    font-weight: bold;
    color: #19b419;
    font-size: 25px;
}
.sub-tittle-section {
    text-align: center;
    font-weight: bold;
    text-transform: none;
    font-size: 30px;
}
.description-photo {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    height: 500px;
}
.description-photo .desc {
    width: 60%;
}
.description-photo .desc h2 {
    text-align: center;
    margin: 50px;
} 
.list-services {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.service {
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    box-shadow: 0 0 26px rgba(0,0,0,0.1);
    border-radius: 20px;
    height: 100%;
    transition: 0.5s;
    cursor: pointer;
}
.service i {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 26 rgba(0,0,0,0.1);
    border: 2px solid #19b419;
    border-radius: 50%;
}
.service p {
    margin-top: 25px;
}
.service:hover {
    background-color: #19b419;
}
.service:hover i{
    background-color: #fff;
    transition: 0.5s;
}
.service:hover p {
    color: #fff;
}
.description-photo img {
    width: 30%;
    border-radius: 20%;
    
}
#gallerie {
    width: 700px;
    margin: 0 13%;
    height: 100vh;
    overflow: hidden;
    align-items: center
}
.liste-photos {
    display: flex;
    align-items: center;
    animation-duration: 25s;
    animation-name: mesphotos;
    animation-iteration-count: infinite;
}

@keyframes mesphotos {
    0%{
        transform: translate(0);
    }
    10% {
          transform: translate(-150%);
    }
    20% {
        transform: translate(-300%);
    }
    30%{
        transform: translate(-450%);
    }
    40%{
        transform: translate(-600%);
    }
    50% {
        transform: translate(-750%);
    }
    60% {
        transform: translate(0);
    }
}
.show-zone {
    opacity: 0; 
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.show-zone p {
    font-weight: bold;
    font-size: 30px;
}
.liste-photos .gallerie-img:hover .show-zone {
    opacity: 1;
}
#contact {
    height: 100vh;
    margin: 0 10%;
    width: 80%;
} 
#contact div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: calc(100vh - 100px);
}
#contact form {
    display: flex;
    flex-direction: column;
    flex-basis: 40%;
    transition: 0.5s;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 50px rgba(0,0,0,0.4);
}
#contact form:hover {
    background-color: #19b419;
}
label {
    padding: 5px 0;
}
form:hover label {
    color: #fff;
}
textarea,input {
    padding: 5px;
    outline: 0;
    border: 6px;
    border: 2px solid #19b419;
}
textarea {
    margin-bottom: 10px;
    resize: none;
}
input[type="submit"]{
    background-color: #19b419;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: 0.5s;
}
input[type="submit"]:hover {
    border: 2px solid #fff;
}
.sociale {
    flex-basis: 10%;
    height: 100%;
}
.sociale ul {
    list-style: none;
    margin: 0 auto;
}
.sociale ul li {
    margin: 25px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #19b419;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.5s;
}
.sociale ul li a i {
    font-size: 18 px;
    color: #19b419;
}
.sociale ul li:hover {
    background-color: #19b419;
    transform: scale(1.2);
}
.sociale ul li:hover i {
    color: #fff;
}
.image-contact {
    flex-basis: 30%;
}
.image-contact img {
    width: 100%;
    height: 400px;
    border-radius: 20px;
}
footer {
    background-color: #19b419;
    text-align: center;
    padding: 10px 0;
    color: #ccc;
}

/*responsive*/
@media (max-width:784px) {
    #container {
        padding: 5px 20px;
    }
    header .menu {
        display: none;
    }
    header .menu-toggle {
        border: 2px solid #fff;
        height: 50px;
        width: 50px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    header .menu-toggle::before {
        position: absolute;
        content: "";
        width: 28px;
        height: 2px;
        background-color: #fff;
        transform: translateY(-10px);
        box-shadow: 0 10px #fff;
        transition: 0.2s;
    }
    header .menu-toggle.active::before {
        transform: translate(0) rotate(45deg);
        box-shadow: 0 0 #fff;
    }
    header .menu-toggle::after {
        position: absolute;
        content: "";
        width: 28px;
        height: 2px;
        background-color: #fff;
        transform: translateY(10px);
        transition: 0.5;
    }
    header .menu-toggle.active::after {
        transform: translate(0) rotate(-45deg);
    }
    header .menu.responsive {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 0;
        top: 0;
        padding-top: 100px;
        height: fit-content;
        background-color: #19b419;
        width: 200px;
    }
    header .menu.responsive li {
        text-align: center;
        margin: 25px 0;
    }
}