/* Formulaire */
input[type="text"], input[type="email"], textarea {
    padding: 12px;
    border: 2px solid #030c1a;
    border-radius: 5px;
    font-size: 18px;
    width: 50%;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: #007bff;
    outline: none;
}

button {
    width: 200px;
    height: 50px;
    z-index: 1;
    position: relative;
    font-size: inherit;
    font-family: inherit;
    color: white;
    padding: 0.5em 1em;
    outline: none;
    border: none;
    background-color: hsl(236, 32%, 26%);
    overflow: hidden;
    transition: color 0.4s ease-in-out;
  }
  
  button::before {
    content: '';
    z-index: -1;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: #3cefff;
    transform-origin: center;
    transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 0);
    transition: transform 0.45s ease-in-out;
  }
  
  button:hover {
    cursor: pointer;
    color: #161616;
  }
  
  button:hover::before {
    transform: translate3d(-50%, -50%, 0) scale3d(15, 15, 15);
  }
  
  .boutton {
    background-color: #007bff;
    width: 150px;
    height: 50px;
    align-items: center;

  }

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 50%;
    margin: 0 auto;
}

label {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"], button {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

input[type="text"]:focus, button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.objet-selection input {
    padding: 10px;
    width: 40%;
    border-radius: 5px;
    font-size: 1em;
    color: #29235c;
}

:root {
	--slide-width: min(25vw, 300px);
	--slide-aspect: 2 / 3;

	--slide-transition-duration: 800ms;
	--slide-transition-easing: ease;

	--font-archivo: "Archivo", sans-serif;
	--font-clash-display: "Clash Display", sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}


button {
    margin-right: 800px;
	border: none;
	background: none;
	cursor: pointer;
	&:focus {
		outline: none;
		border: none;
	}
}


.success-message {
    margin: 20px auto;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    text-align: center;
    width: 80%;
    font-family: Arial, sans-serif;
}


/* Pour les smartphones (écrans de 480px ou moins) */
@media (max-width: 480px) {
    form {
        display: flex;
        flex-direction: column;
        max-width: 600px;
        margin: 0 auto;
    }
    
    input, textarea, button {
        width: 100%;
        margin-bottom: 15px;
        padding: 10px;
        font-size: 1rem;
    }
}

/* Adaptation pour les petits écrans */
@media (max-width: 768px) {
    input, textarea, button {
        font-size: 0.9rem;
        padding: 8px;
    }
}