@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*
{
    font-family: 'Montserrat', sans-serif;  
    margin: 0;
    padding: 0;
}

/* NAVBAR */

.header
{
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0rem 16%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    backdrop-filter: blur(50px);
    z-index: -1;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
}

.logo
{
    width: 100px;
}

.navbar
{
    padding: 0;
}

.navbar a
{
    font-size: 0.9rem;
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.6rem;
    padding-bottom: 18px;
}

.hover
{
    color: black;
}

.connectbtn
{
    padding-top: 17px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 25px;
    background-color: dodgerblue;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
    color: white;
}

.connectbtn:hover
{
    background-color: #1E1E1B;
    transition: 0.3s;
}

#check
{
    display: none;
}

.icons
{
    right: 5%;
    position: absolute;
    font-size: 2.8rem;
    color: black;
    cursor: pointer;
    display: none;
}

/* BANNER */

.banner
{
    background: url('../assets/img/banner.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    padding-top: 15%;
    padding-left: 16%;
    height: 45vh;
}

.title_separation
{
    background-color: white;
    width: 200px;
    height: 1px;
    margin-bottom: 20px;
}

.titrebanner
{
    color: white;
    font-size: 60px;
    font-weight: 800;
    width: 400px;
    text-shadow: 1px 1px 5px #232323;
    line-height: 1.3;
}

.pbanner
{
    margin-top: 20px;
    color: white;
    font-weight: 600;
    width: 600px;
    line-height: 25px;
    text-shadow: 1px 1px 10px #3d3d3d;
}

.more_button
{
    margin-top: 40px;
    border-radius: 30px;
    width: 200px;
    height: 50px;
    align-items: center;
    display: flex;
    justify-content: center;
    border-color: #BF202D;
    border-style: solid;
    border-width: 2px;
}

.more_button p
{
    letter-spacing: 1px;
    text-decoration: none;
    color: black;
    font-size: 15px;
}

/* Services */

.services_container
{
    margin: auto;
    margin-top: 50px;
    width: 85%;
    height: auto;
    margin-bottom: 80px;
    padding: 0% 8%;
    box-sizing: border-box;
    text-align: center;
}

.drapeaufr
{
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 1);
    margin-bottom: 50px;
    width: 70%;
    height: 3px;
}

.services_container h1
{
    font-size: 50px;
    text-align: center;
    font-weight: 700;
    color: #1E1E1B;
}

.services_desc
{
    font-weight: 500;
    margin: auto;
    max-width: 800px;
    width: auto;
    margin-top: 20px;
    margin-bottom: 70px;
    line-height: 1.5;
    color: #1E1E1B;
}

.services_row
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 80px;
}

.services
{
    height: 180px;
    text-align: left;
    padding: 25px 30px;
    border-radius: 10px;
    font-size: 14px;
    cursor: default;
    background: transparent;
    transition: transform 0.5s, background 0.5s;
    box-shadow: 0 4px 6px 6px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.services i
{
    font-size: 50px;
    margin-bottom: 30px;
    color: #1E1E1B;
}

.services h2
{
    color: #1E1E1B;
    font-weight: 700;
    margin-bottom: 15px;
}

.services p
{
    color: #1E1E1B;
    font-weight: 500;
    font-size: 15px;
}

.services:hover
{
    background: #1E1E1B;
    color: #fff;
    transform: scale(1.05);
}

.services:hover i
{
    color: white;
}

.services:hover p
{
    color: white;
}

.services:hover h2
{
    color: white;
}

/* A PROPOS */

.about-us-container
{

    margin-left: 17%;
    margin-top: 150px;
    width: 70%;
    height: auto;
    box-sizing: border-box;
}

.about-us
{
    gap: 50px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    flex-direction: row;
}

.main-img img
{
    max-width: 100%;
    width: 600px;
    border-radius: 15px;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 4px 6px 6px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}

.text
{
    padding: 5% 0;
}

.text h4
{
    color: dodgerblue;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.text h1
{
    color: #1E1E1B;
    font-size: 36px;
    text-transform: capitalize;
    font-weight: 700;
    line-height: 46px;
    margin-bottom: 30px;
}

.text hr
{
    width: 30%;
    border: none;
    height: 2px;
    background-color: dodgerblue;
    margin-bottom: 50px;
}

.text p
{
    max-width: 600px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 60px;
}

.last-text
{
    display: flex;
}

/*Section video*/

.tutovideo-container
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    height: auto;
    box-sizing: border-box;
}

.thevideo
{
    box-shadow: #eaeaea 0px -20px 20px 5px;
}

.tutovideo
{
    text-align: center;
}
        
.tutovideo hr
{
    width: 30%;
    border: none;
    height: 2px;
    background-color: dodgerblue;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
}

.tutovideo p
{
    width: 1040px;
}

.thetext
{
    margin-top: 50px;
}

/* Formulaire */

.formulaire
{
    width: auto;
    margin-top: 150px;
    margin-bottom: 50px;
    display: block;
    text-align: center;
}

.contact-zones
{
    margin-top: 50px;
    margin-left: 30%;
    margin-right: auto;
    display: flex;
    gap: 100px;
    flex-direction: row;
}

.left-zone img
{
    margin-top: 100px;
    height: 200px;
    width: auto;
}

.left-zone p
{
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 16px;
}

.form_title
{
    font-size: 50px;
    font-weight: 700;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
    letter-spacing: 3px;
    width: 600px;
    color: #333333;
}

.form_desc
{   margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-top : 20px;
    line-height: 2;
    color: black;
    letter-spacing: 2px;
    width: 600px;
}

form {
  /* On centre le formulaire */
  margin-left: auto;
  margin-right: auto;
  /* Le contour du formulaire */
  padding: 1em;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

form li + li {
  margin-top: 1em;
}

label {
  display: inline-block;
  width: 90px;
}

input,
textarea 
{
    font-size: 14px;
    width: 500px;
    box-sizing: border-box;
    border: 2px solid lightgrey;
    border-radius: 15px;
    padding:12px;
    margin:12px 0; // add top and bottom margin
}

::placeholder
{
    color: black;
}

input:focus
{
    border: 2px solid #1670BE;
    outline-offset: 0px;
    outline: none;
}

textarea {
    vertical-align: top;
    height: 10em;
    resize: vertical;
    border: 2px solid lightgrey;
    outline-offset: 0px;
    outline: none;
}

input[type=button], input[type=submit], input[type=reset] {
  background-color: white;
  border: none;
  color: #00020A;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.sendbtn
{
    width: 200px;
    height: 50px;
    border-radius: 15px;
    border: 3px solid black;
    cursor:pointer;
    margin-top: 40px;
    background-color: white;
    letter-spacing: 1px;
    color: black;
    font-size: 16px;
    overflow: hidden;
    font-weight: 500;
    box-shadow: 1px 1px 10px grey;
}

/* Contact */

.end-page-bloc
{
    margin-top: 100px;
    background-color: #333333;
    width: 100%;
    height: 20px;
}

.contact
{
    box-shadow: #c6c6c6 0px -10px 20px 1px;
    line-height: 20px;
    text-align: center;
    color: white;
    font-size: 12px;
}

/* Breakpoints */

@media (max-width: 1200px)
{
    .contact-zones
    {
        flex-direction: column-reverse;
        margin-right: 15%;
    }

    .left-zone img
    {
        margin-top: 0;
    }

    .icons
    {
        display: inline-flex;
    }

     #check:checked~.icons #menu_icon
     {
        display: none;
     }

    .icons #close_icon
    {
        display: none;
    }

    #check:checked~.icons #close_icon
    {
        display: block;
    }


    .navbar
    {
        position: absolute;
        top: 99%;
        left: 0;
        height: 0;
        width: 100%;
        background-color: white;
        overflow: hidden;
        transition: 0.3s ease;
        border-radius: 15px;
    }

    #check:checked~.navbar
    {
        height: 19.5rem;
    }

    .navbar .hover
    {
        display: block;
        font-size: 1.1rem;
        margin: 1.2rem 0;
        text-align: center;
        transform: translateY(-50px);
        transition: 0.3s ease;
    }

    #check:checked~.navbar a
    {
        transform: translateY(0);
    }

    #check:checked~.navbar .connectbtn
    {
        transform: translateY(0);
    }


    .navbar .connectbtn
    {
        text-align: center;
        margin-left: 27.5%;
    }

    .controls
    {
        width: 90%;
        height: 30%;
    }
}

@media (max-width: 1400px)
{


    .contact-zones
    {
        margin-left: 15%;
    }

    .about-us-container
    {
        margin-top: 150px;
        width: 70%;
        height: auto;
        box-sizing: border-box;
    }

    .about-us
    {
        gap: 50px;
        height: auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        flex-direction: row;
    }

    .main-img img
    {
        display: block;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        width: 700px;
        border-radius: 15px;
        height: 500px;
        object-fit: cover;
    }

    .text
    {
        padding: 0;
        text-align: center;
    }

    .text hr
    {
        margin-left: auto;
        margin-right: auto;
    }

    .text p
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.7;
        margin-bottom: 60px;
    }
}

@media (max-width: 1000px)
{

    .banner
    {
        height: 45vh;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 20%;
    }

    .titrebanner
    {
        width: auto;
        text-align: center;
    }

    .pbanner
    {
        width: auto;
        text-align: center;
    }
}

@media (max-width: 800px)
{

    .formulaire
    {
        width: auto;
    }

    .form_title
    {
        margin: 0% 10%;
        line-height: 1.2;
        margin-bottom: 20px;
        width: auto;
        font-size: 25px;
    }

    .form_desc
    {
        font-size: 14px;
        margin: 0 10%;
        width: auto;
    }

    input,
    textarea 
    {
        font-size: 14px;
        margin-left: 10%;
        margin-right: 10%;
        width: 200px;
    }
}

@media (max-width: 650px)
{

    .about-us-container
    {
        margin-left: auto;
        margin-right: auto;
    }

    .titrebanner
    {
        font-size: 50px;
    }

    .pbanner
    {
        font-size: 15px;
    }

    .banner
    {
        height: 55vh;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 45%;
    }

    .services_container h1
    {
        font-size: 30px;
        font-weight: 600;
    }

    .services_container p
    {
        font-size: 13px;
    }

    .services
    {
        height: 180px;
        font-size: 12px;
    }

    .services_row
    {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .main-img img
    {
        height: 200px;
        margin-bottom: -30px;
    }

    .text
    {
        padding: 5% 0;
    }

    .text h4
    {
        font-size: 14px;
        margin-bottom: 0px;
    }

    .text h1
    {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .text p
    {
        margin-bottom: 0px;
    }

    .tutovideo h1
    {
        font-size: 25px;
    }

    .navbar .connectbtn
    {
        text-align: center;
    }
}

@media (max-width: 550px)
{

    .about-us
    {
        width: 98%;
        margin-left: auto;
        margin-right: auto;
    }

    .main-img
    {
        margin-bottom: 50px;
    }

}