@font-face {
    font-family: 'Minecraft Five';
    src: url('./font/MinecraftFive-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Minecraft Five Bold';
    src: url('./font/MinecraftFive-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Minecraft Seven v2';
    src: url('./font/Minecraft-Seven_v2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Minecraft Five';
    font-weight: normal;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(rgba(54, 229, 191, 0.1), rgba(11, 185, 191, 0.5));
}

section {}

#container {
    height: 100vh;
    background: url("images/image-ban.png");
    background-position: center;
    background-size: cover;
    padding: 10px 7%;
    transition: 0.5s;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background: rgba(11, 185, 191, 0.42);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3.3px);
    -webkit-backdrop-filter: blur(3.3px);
    padding: 20px;
    transition: 0.5s;
}
header:hover {
    background: rgba(11, 185, 191, 0.75);
    border-radius: 0px;
}


header .logo img {
    height: 60px;
    color: #000;

}
header .menu {
font-family: 'Minecraft Five';
    display: flex;
    list-style: none;
    transition: 0.5s;
}

header .menu li {
font-family: 'Minecraft Five';
    margin: 0 15px;
    text-transform: capitalize;
    transition: 0.5s;
font-size: 20px;
}

header .menu li a {
font-family: 'Minecraft Five';
    text-decoration: none;
    text-transform: capitalize;
    color: #000;
    transition: 0.5s;

}

header .menu li a:hover {
    display: flex;
    list-style: none;
    color: white;
}

.container-text {
font-family: 'Minecraft Five';
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s;

}

.container-text img {
    height: 10vw;
    transition: 0.5s;
}

.container-text a {
    font-family: 'Minecraft Five';
    text-transform: uppercase;
    padding: 10px 30px;
    border: 2px solid#fff;
    border-radius: 6px;
    margin-top: 20px;
    transition: 0.5s;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin-left: 35px;
    margin-right: 35px;
    font-size: 16px;
    cursor: pointer;
    background-color: white;
    color: rgba(0, 130, 166, 1);
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.container-text a:hover {
    background-color: rgba(0, 130, 166, 0.7);
    color: #fff;
}

/*Scrollbar*/
::-webkit-scrollbar {
    width: 8px;
    height: 5px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
}

#a-propos {
    height: 55%;
    margin: 0 10%;
    margin-top: 2%;
    margin-bottom: 5%;
}

.tittle-section {
    text-align: center;
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: rgba(0, 130, 1661, 1);
    font-size: 25px;
}

.sub-tittle-section {
    text-align: center;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 20px;
}

.description-photo {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    height: 358px;
    text-align: justify;

}
.desc .Texte {
    font-family: 'Minecraft Seven v2';
    src: url("../fonts/Minecraft-Seven_v2.ttf") format('truetype');
    font-size: 20px;}
.description-photo .desc {
    width: 80%;
}

.description-photo .desc h2 {
    text-align: center;
    margin: 50px 0;
}

.list-services {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.list-competences {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.service {
    width: 31%;
    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;
    text-align: justify;
}

.competence {
    width: 23%;
    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: 79%;
    transition: 0.5s;
    cursor: grab;
}

.competence p {
    margin-top: 25px;
    font-size: 1.5vw;
}

.card {

    height: 120px;
    width: 120px;

    background: url("images/Piece/Piece.png") no-repeat;
}

.nocard {

    height: 120px;
    width: 120px;
    background: url("images/Piece/PieceNop.png") no-repeat;
}

.card:hover {
    background: url("images/Piece/Piece.gif") no-repeat;
}

.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 rgb(0, 130, 166);
    color: #675afe;
}

.service p {
font-family: 'Minecraft Five';
    margin-top: 25px;
}

.service:hover {
    background-color: rgb(0, 130, 166);
}

.service:hover i {
    background-color: #fff;
    transition: 0.5s;
}

.service:hover p {
    color: #fff;
}

.description-photo img {
    border-radius: 10px;
}


body footer {
    font-family: 'Minecraft Seven v2';
    background-color: rgba(0, 130, 166, 1);
    text-align: center;
    align-content: ;
    padding: 10px 0;
    color: #fff;
}

/*Responsive*/
@media (max-width:1383px) {
    #container {
        padding: 5px 20px;
        transition: 0.5s;
    }


    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;
        transition: 0.5s;
    }

    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.5s;
    }

    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: rgba(0, 130, 166, 0.7);
        width: 200px;

    }

    header .menu.responsive:hover {
        background-color: rgba(0, 130, 166, 1);
        color: #fff;


    }

    header .menu.responsive li {
        text-align: center;
        margin: 25px 0;

    }

    .container-text h1 {
        font-size: 35px;
    }

    .container-text p {
        font-size: 15px;
    }

    #a-propos {
        padding: 30px;
        margin: 0;
        height: fit-content;
    }

    #experiences {
        padding: 30px;
        margin: 0;
        height: fit-content;
    }

    .description-photo {
        height: fit-content;
        flex-direction: column;
    }

    .description-photo .desc {
        width: 100%;
    }

    .description-photo img {
        width: auto;
        height: 250px;
        margin: 20px auto;
    }

    #gallerie {
        height: fit-content;
    }

    .liste-photos .gallerie-img {
        width: 100%;
    }


    .liste-photos .galerie-img {
        width: 100%;
    }

    #contact .images-contact {
        display: none;
    }
    #newsletter {
        margin-left: auto;
        margin-right: auto;
    }
    #newsletter header {
        padding: 20px;        
        margin-left: auto;
        margin-right: auto;
    }
    #newsletter header img{
        width: 90%
    }

}

@media (max-width:780px) {
    #container {
        padding: 5px 20px;
        transition: 0.5s;
    }




}

@media (max-width:718px) {
    #container {
        padding: 5px 20px;
        transition: 0.5s;
    }



    form {
        width: 75%;
    }
}	