*,
*::before,
*::after {
  box-sizing: border-box;
}

.content {
   display: flex;
   border: 2px solid #28a745;
   border-radius: 10px;
   overflow: hidden;
   max-width: 700px;
   max-height: 700px;
   margin: 70px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video, .form {
   width: 50%;
   box-sizing: border-box;
}

.video {
   position: relative;
   border-right: 1px solid #ccc;
   display: flex;
   justify-content: center;
   align-items: center;
   overflow: hidden;
}

.video video {
   width: 100%;
   height: 100%;
   object-fit: cover;
   display: block;
}

/* Texte positionné en bas avec dégradé */
.video-text {
   position: absolute;
   bottom: 0;
   left: 0;
   width: 100%;
   background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
   color: white;
   padding: 20px;
   text-align: center;
   font-size: 18px;
   font-weight: 500;
   z-index: 1;
   box-sizing: border-box;
   text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Bouton stylé */
.video-text .btn {
   margin-top: 10px;
   background-color: #28a745;
   color: white;
   padding: 10px 20px;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   transition: all 0.3s ease;
}

.video-text .btn:hover {
   background-color: white;
   color: #28a745;
   transform: translateY(-2px) scale(1.05);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.form {
   padding: 30px 20px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   background-color: #fff;

}

.form .logo {
   max-width: 100px;
   margin: 0 auto 10px;
   display: block;
}

.form h1 {
   text-align: center;
   color: #333;
   margin-bottom: 20px;
   font-size: 24px;
}

form {
   display: flex;
   flex-direction: column;
   gap: 15px;

}

.container {
   display: flex;
   flex-direction: column;
}

form label {
   font-weight: 600;
   margin-bottom: 5px;
   color: #444;
}

form input,
form select {
   padding: 10px;
   border-radius: 5px;
   border: 1px solid #ccc;
   font-size: 14px;
   transition: border 0.3s;
}

form input:focus,
form select:focus {
   border-color: #28a745;
   outline: none;
}

form button {
  margin-top: 10px;
   background-color: #28a745;
   color: white;
   padding: 10px 20px;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   font-weight: bold;
   cursor: pointer;
   align-self: center;
   transition: all 0.3s ease;

}

form button:hover {
  background-color: white;
   color: #28a745;
   transform: translateY(-2px) scale(1.05);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #888;
}

.input-icon input,
.input-icon select {
    width: 100%;
    padding: 10px 10px 10px 35px; /* espace pour l'icône */
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
}

.input-icon input:focus,
.input-icon select:focus {
    border-color: #4CAF50;
}

