/* Add your CSS styling here */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }

body {
margin: 0;
font-family: 'Ubuntu', sans-serif;
background-color: #fcfafa;
overflow-x: hidden;
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 20px;
background-color: #fff;
box-shadow: 4px 3px 11px 5px rgba(0,0,0,0.2);
position: fixed;
width:100vw;
top:0;
box-sizing: border-box; /* Add this line */
z-index:99;
}
h1{
font-weight:300;
}
.logo {
font-size: 24px;
font-weight: bold;
color: #232428;
}
.logo img{
height:75px;
}

.nav {
list-style: none;
display: flex;
gap: 40px;
flex-grow:0.1;
padding: 0;
margin: 0;
margin-right:15px;
align-items: center;
}
.nav a {
text-decoration: none;
color: #232428;
font-size: 22px;
padding: 10px 15px;
display: block;
-webkit-transition: color .4s ease, background-color .4s ease;

}
.nav a:hover {
text-decoration: none;
color:#ea002a;
}
.nav li {
margin: 0;
padding: 0;
}
.contact-btn {
padding: 10px 20px;
background-color: #ea002a;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
font-size:18px;
padding-top: 10px;
padding-bottom:10px;
padding-left:25px;
padding-right:25px;
color:white !important;
}
.contact-btn:hover {
background-color: #c92533;
}
.decoration-bar {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 10px; /* Adjust the height as needed */
display: flex;
}

.red-bar {
width: 50%; /* Adjust the width as needed */
background-color: red;
height: 100%;
}

.bw-bar {
width: 50%; /* Adjust the width as needed */
background: repeating-linear-gradient(
    to right,
    white 0,
    white 10px,
    black 10px,
    black 20px
);
height: 100%;
}

.content {
margin-top:0px;
max-width: 1200px;
background-color: #ffffff;
min-height:500px;
display:block;
margin-left:auto;
margin-right:auto;
padding:15px;
padding-top:5px;
}

.splash {
background-image: url('img/splash.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
width: 100%;
height: 500px; 
display: flex;
align-items: center; 
justify-content: flex-start; 

}

.splash .text {
background-color: rgba(255, 255, 255, 0.8); 
padding: 20px;
max-width: 50%; 
margin-left: 0px; 
padding-left:7%;
padding-right:3%;
}

.splash h1 {
font-size: 2em; /* Adjust the size as necessary */
margin-bottom: 0.5em;
}

.splash p {
font-size: 1em;
color: #555; /* Adjust the color as necessary */
}

.container {
display: flex;
width: 100%;
}

.left-side, .right-side {
width: 50%;
}

.right-side img{
    padding:15px;
    border-radius:50px;
    margin-top:15px;
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Add this line to your CSS */
}

.form-group textarea {
    resize: vertical;
}

button[type="submit"] {
    background-color: #ea002a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* Full width */
    box-sizing: border-box; /* Add this line to your CSS */
    -webkit-transition: color .4s ease, background-color .4s ease;

}

button[type="submit"]:hover {
    background-color: #c92533;
}
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    -webkit-appearance: none; /* Removes default styling on iOS */
    -moz-appearance: none; /* Removes default styling in Firefox */
    appearance: none; /* Removes default arrow in most browsers */
}

/* Optional: add a custom dropdown arrow */
.form-group select {
    background: url('img/dropdown.png') no-repeat 98% 50%;
    background-size:25px;
}


.square-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the space between the squares as needed */
    justify-content: center;
    margin-bottom:45px;
  }
  
  .square {
    flex-basis: calc(25% - 20px); /* Adjust width minus the gap */
    box-sizing: border-box;
    border: 1px solid #ffffff; /* Light grey border */
    border-radius: 10px; /* Rounded corners */
    padding: 20px;
    text-align: center;
    box-shadow: 4px 3px 11px 5px rgba(0,0,0,0.2);
  }
  
  .icon {
    font-size: 40px; /* Adjust size as needed */
    margin-bottom: 20px;
  }
  
  h3 {
    margin: 10px 0;
  }
  
  @media (max-width: 768px) {
    .square {
      flex-basis: calc(50% - 20px); /* Adjust for smaller screens */
    }

    .content {
        margin-top:0px;
        max-width: 100%;
        background-color: #ffffff;
        min-height:500px;
        display:block;
        margin-left:unset;
        margin-right:unset;
        padding:15px;
        padding-top:5px;
        }

    .left-side{
        width:100%;

    }

    .right-side{
        display:none;
    }

    .nav {
        display:none;
    }

    .mobile{
        display:block !important;
    }

    .pret tbody tr td input{
        font-size:10px !important;
    }

  }
  
  @media (max-width: 480px) {
    .square {
      flex-basis: 100%; /* Stack squares on very small screens */
    }
  }
  

  .btn {
    padding: 10px 20px;
    background-color: #ea002a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size:18px;
    padding-top: 10px;
    padding-bottom:10px;
    padding-left:25px;
    padding-right:25px;
    text-decoration: none;
    display:block;
    width: fit-content;
    -webkit-transition: color .4s ease, background-color .4s ease;
    }
    .btn:hover {
    background-color: #c92533;
    text-decoration: none;
    }


    .layout-container {
        /* Background styling here */
    }
    
    .layout-content {
        display: flex;
        flex-wrap: wrap;
    }
    
    .layout-row {
        display: flex;
        flex-wrap: wrap;
    }
    
    .flex-33, .flex-66 {
        flex-basis: calc(33.333% - 20px); /* Adjust the spacing as needed */
        padding: 10px;
    }
    
    .xs-flex-100 {
        flex-basis: 100%;
    }
    
    .parameters {
        /* Additional styling for the parameters block */
    }
    
    .input-container {
        display: flex;
        flex-direction: column;
    }
    
    .block {
        position: relative;
        margin-bottom: 10px;
    }
    
    .purchase-input {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
    }
    
    .unit {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .city-select {
        margin-bottom: 10px;
    }
    
    .button {
        padding: 10px;
        background-color: #ea002a;
        color: white;
        border: none;
        cursor: pointer;
    }
    
    .note {
        /* Additional note styling */
    }
    
    .text {
        /* Additional text block styling */
    }
    
    #result {
        /* Result block styling */
        text-align: center;
    }
    
    .value {
        /* Value styling */
        font-size: 24px;
        display: block;
    }

    .champs {
        background-color: #f9f9f9; /* Light background for the form area */
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Soft shadow for depth */
        max-width: 600px; /* Adjust based on preference */
        margin: 20px auto; /* Centering the form */
    }
    
    .champs form {
        display: flex;
        flex-direction: column;
        gap: 15px; /* Space between form elements */
    }
    
    .champs label {
        font-weight: bold;
        margin-bottom: 5px;
        color: #333; /* Dark gray for contrast */
    }
    
    .champs input[type="text"], .champs select {
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #ccc; /* Light gray border */
        font-size: 16px; /* Larger text for readability */
    }
    
    .champs input[type="submit"] {
        background-color: #ea002a; /* Vibrant pink for the submit button */
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    }
    
    .champs input[type="submit"]:hover {
        background-color: #c92533; /* A bit darker pink on hover */
    }
    
    /* Additional styling for specific elements as needed */
    .champs input[readonly] {
        background-color: #e7e7e7; /* Lighter background for readonly inputs */
    }
    
    /* Adjust the gap for better spacing */
    .champs span {
        display: flex;
        flex-direction: column;
    }
    

    footer {
        margin-top:150px;
        text-align:center;
        margin-left:auto;
        margin-right:auto;
    }

    footer p{
        font-size:8px;
    }

    .mobile-menu {
        display: none;
        background-color: #23242849;
        z-index:999;
        position:fixed;
        width:100vw;
        height:100vh;
        top:0;
    }
    
    .mobile-menu ul {
        padding: 15px !important;
        padding-left:25px !important;
        list-style: none;
        padding: 0;
        background-color: #232428;
        width:75vw;
        height:100vh;
        margin: 0;
        padding-top:25px !important;
    }
    
    .mobile-menu ul li a {
        color: white;
        text-decoration: none;
        display: block;
        padding: 10px 0;
        margin-bottom:30px;
        -webkit-transition: color .4s ease, background-color .4s ease;
    }

    .fermerMenu{
        width:25vw;
        height:100vh;
    }
    
    .menu-toggle {
        background-color: #333;
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        font-size: 30px;
    }

    .mobile{
        display:none;
    }

    .pret{
        font-size:13px;
    }

    .pret tbody tr{
        height: 60px !important;
    }

    .button-accept {
        padding: 10px 20px;
        font-size: 16px;
        color: #fff;
        background-color: #ea002a; /* Vert */
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }
      
      .button-accept:hover {
        background-color: #c92533; /* Un vert un peu plus foncé */
      }
      
      .button-accept:focus {
        outline: none;
        box-shadow: 0 0 0 2px c92533; /* Même couleur que le fond, avec une transparence */
      }

      /* Style commun des boutons */
        .cookie-button {
            padding: 10px 20px;
            margin: 0 10px;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease;
            border-radius:24px;
        }
        
        /* Style spécifique pour chaque bouton */
        .accept-button {
            background-color: #4CAF50; /* Vert */
            color: white;
            -webkit-transition: color .4s ease, background-color .4s ease;

        }
        
        .accept-button:hover {
            background-color: #45a049;
        }
        
        .decline-button {
            background-color: #f44336; /* Rouge */
            color: white;
            -webkit-transition: color .4s ease, background-color .4s ease;

        }
        
        .decline-button:hover {
            background-color: #da190b;
        }
      

      .notif-bubble {
        position: absolute;
        top: -12px;
        right: -12px;
        width: 27px;
        height: 27px;
        border-radius: 50%;
        background-color: red;
        display: none; /* Caché initialement */
        padding:2px;
        text-align:center;
      }
      .contact-btn {
        position: relative;
      }
      
      .notif-bubble2{
          position: absolute;
          top: 16px;
          right: 72px;
          width: 22px;
          height: 22px;
          border-radius: 50%;
          background-color: red;
          display: none;
          padding: 3px;
          text-align: center;
          display: block;
          font-size: 20px;
          display:none;
      }
      .notif-bubble3 {
          position: absolute;
          top: 0;
          left: 110px;
          width: 22px;
          height: 22px;
          border-radius: 50%;
          background-color: red;
          display: none;
          padding: 3px;
          text-align: center;
          display: none;
          font-size: 20px;
          margin-right: 20px;
      }
      
      .mobile-menu ul li a {
        position:relative;
      }

      
      .videocontainer {
        display: flex;
        flex-direction: row; /* direction horizontale par défaut */
        align-items: flex-start;
        flex-wrap: wrap;
      }
    
      
      .text-container {
        flex: 2; /* donne plus d'espace au texte */
        padding:15px;
        margin-left:15px;
      }
    
      .video-container, .text-container {
        width: 50%; /* par défaut, chaque conteneur prend la moitié de l'espace disponible */
        align-self:center;
      }
      
      .video-container {
        flex: 1; /* permet à la vidéo de prendre tout l'espace disponible */
        display:flex;
        justify-content: center; /* centre horizontalement */
        align-items: center; /* centre verticalement */
        margin-top:24px;
        margin-bottom:24px;
        max-width:fit-content;
      }
    
    
      video {
        width: 100%;
        height: auto;
        max-height: 505px;
        max-width: fit-content;
        border-radius:24px;
        box-shadow: 4px 3px 11px 5px rgba(0,0,0,0.2);
      }
    
    
      @media (max-width: 768px) {
        .videocontainer {
          flex-direction: column; /* direction verticale sur les petits écrans */
          
        }
        .video-container, .text-container {
          width: 80%; /* sur les petits écrans, chaque conteneur prend toute la largeur disponible */
        }
        video{
            max-height:unset !important;
        }
        .text-container{
            margin-left:unset !important;
        }
      }




      ::-moz-selection {
        color: #fff;
        background-color: #ea002a
    }
    
    ::selection {
        color: #fff;
        background-color: #ea002a
    }




    a {
        color: #ea002a;
        text-decoration: none;
        -webkit-transition: color .4s ease;
        transition: color .4s ease
    }
    
    a:hover {
        color: #a20025
    }

    a {
        cursor: pointer;
        text-decoration: none
    }
    
    a:active,a:focus,a:hover {
        text-decoration: underline
    }

    .btn{
        -webkit-transition: color .4s ease, background-color .4s ease;
    }
    
    .btn:hover{
        color:white !important;
    }