*{
	font-family: "Roboto Condensed", sans-serif;
}

.rdv-box {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 70px;
    gap: 2rem;
    min-height: 95vh;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.rdv-box.visible {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 70px;
    gap: 2rem;
    min-height: 95vh;
    opacity: 1;
    transform: translateY(0);
}

.container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container:after{
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	filter: blur(50px);
	z-index: -1;
}
.contact-box {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    border: 1px solid white;
	background-color: rgba(255, 255, 255,0.4);
    border-radius: 30px;
	background-size: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.left{
	background-size: cover;
	height: auto;
}

.right{
	padding: 25px 40px;
}

h2{
	position: relative;
	padding: 0 0 10px;
	margin-bottom: 10px;
    color: white;
	text-align: center;
    opacity: 0.7;
}

h3{
    color: white;
    margin-bottom: 10px;
    color: white;
	text-align: center;
    opacity: 0.7;
}

h2:after{
	content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 4px;
    width: 20%;
    border-radius: 2px;
    background-color: white;
    opacity: 0.7;
}

::placeholder{
    color:white;
    opacity: 0.7;
    font-weight: 600;
}

.field{
	width: 100%;
	border: 2px solid rgba(0, 0, 0, 0);
	background-color: rgba(255, 255, 255,0.5);
	padding: 1rem 2rem;
	font-size: 1.1rem;
	margin-bottom: 22px;
    border-radius: 30px;
}

textarea{
	min-height: 150px;
}

.btn{
    display: block;
	width: 70%;
    margin: 0 auto 0 auto;
	padding: 1rem 1rem;
	background-color: rgba(255, 255, 255,0.5);
    border-radius: 30px;
	color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
	font-size: 1.1rem;
	border: none;
	outline: none;
	cursor: pointer;
}

.uploadlabel{
	display: block;
	width: 60%;
	text-align: center;
    padding: 0 16px;
    height: 40px;
    cursor: pointer;
	background-color: rgba(255, 255, 255,0.5);
    opacity: 0.8;
    color: white;
	margin: 0 auto;
	margin-bottom: 20px;
    line-height: 40px; 
    border-radius: 30px;
}

.uploadlabel.file-selected {
    background-color: #00a126d5; /* Vert clair */
    color: white; /* Vert foncé */
}

.uploadlabel.file-not-selected {
    background-color: white;
    color: #202020;
}

.btn:hover{
    background-color: rgb(43, 43, 43);
    color: white;
}

.field:focus{
    border: 2px solid rgb(43, 43, 43);
    background-color: #fff;
}

/* Responsive formulaire */

@media (max-width: 768px) {
    .rdv-box {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .container {
        padding: 10px;
    }

    .contact-box {
        width: 100%;
        padding: 15px;
    }

    h2, h3 {
        font-size: 1.2rem;
		text-align: center;
    }

    .field, .btn, .upload {
        font-size: 1rem;
        padding: 10px;
    }
    
    textarea {
        min-height: 100px;
    }
}