html{
    margin: 0;
    padding: 0;
}

body{
    color: white;
    background-color: #EBE3F5;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

p{
    text-align: justify;
}

.icone{
    width: 180px;
    height: 180px;
    margin: 50px;
    cursor: pointer;
}

#choix{
    display: flex;
    flex-direction: column;
    margin: 75px;
}

#choix_{
    display: flex;
    flex-direction: row;
}

#choix input{
    margin: 15px;
}

@media (max-width: 1500px) {
    #choix_{
        display: flex;
        flex-direction: column;
        margin-top: 50px;
    }
}

#accueil{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

#h1_index{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    text-align: center;
    z-index: 10;
    font-size: 3em;
    padding: 0.5em;
    border: solid;
    border-color: #ff6f61;
    border-radius: 25px;
    background-color: #ff5722;
    cursor: pointer;
    transition: background-color 0.5s ease, border-radius 0.3s ease;
}

#h1_index:hover{
    background-color: #ff6f61;
    border-radius: 50px;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #ABA0F9;
    margin: 0;
    margin-bottom: 25px;
    height: 50px;
}

#propos{
    transform: translateY(10px);
}

#res{
    transform: translateY(10px);
}

#logo{
    cursor: pointer;
}

#apropos{
    text-align: justify;
    padding: 3em;
}

#apropos h2{
    text-align: center;
}

#logo h1 {
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

#logo h1 {
    color: white;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 40px;
}

nav li h3{
    cursor: pointer;
}

h3{
    color: #FEFEFF;
}

td{
    border: solid;
    padding: 1em;
    background-color: #ABA0F9;
    width: 10%
}



#compte {
    background-color: #ff6f61;
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

#compte:hover {
    background-color: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

main{
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-top: 75px;
    gap: 40px;
}

#main_{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
    background-color: #FEFEFF;
    border-radius: 10px;
    width: 80vw;
    height: 60vh;
    margin: auto;
    padding: 20px;
    color: #7C80FC;
    text-align: center;
}

@media (max-width: 768px) {
    #main_{
        height: 220vh;
        align-items: normal;
    }
}

#main_2{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
    background-color: #FEFEFF;
    border-radius: 10px;
    width: 80vw;
    height: 65vh;
    margin: auto;
    padding: 20px;
    color: #7C80FC;
    text-align: center;
}

#main_3_cont{
    display: flex;
    flex-direction: row;
}

#main_3_cont2{
    display: flex;
    flex-direction: column;
}

#main_3{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
    background-color: #ff6f61;
    border-radius: 10px;
    width: 35vw;
    height: 20vh;
    margin: 50px;
    padding: 20px;
    color: #7C80FC;
    text-align: center;
}

@media(max-width: 950px){
    #main_3_cont{
        display: flex;
        flex-direction: column;
    }
    
    #main_3_cont2{
        display: flex;
        flex-direction: row;
        margin-left: 150px;
    }
    
    #main_2{
        height: 110vh;
    }
}

#caroussel{
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    border-radius: 10px;
}

#caroussel{
    width: 45vw;
    height: 40vh;
    cursor: pointer;
    margin-bottom: 50px;
    margin-top: 50px;
    padding: 15px;
    border-radius: 50px;
    transition: transform 0.3s ease, border 0.1s ease;
}

#caroussel:hover{
    transform: translateY(-15px);
    box-shadow: 0 4px 8px;
}

#apropos h2 {
    font-size: 2.5rem;
    color: #7C80FC;
    margin-bottom: 10px;
    margin-top: 5px;
}

#apropos p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

footer {
    padding: 20px;
    background-color: #ABA0F9;
    color: white;
    text-align: center;
    font-size: 1rem;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer p {
    margin: 0;
    text-align: center;
}





.radio-form {
    color: #FEFEFF;
    background-color: #D6CFFF;
    padding: 30px 40px;
    border-radius: 15px;
    margin: 30px auto;
    width: 90%;
    max-width: 600px;
    transition: all 0.3s ease;
}

.radio-group {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.radio-option {
    color: #FEFEFF;
    display: flex;
    align-items: center;
    position: relative;
    padding: 15px 25px;
    background-color: #ABA0F9;
    border-radius: 10px;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
    margin-bottom: 15px;
}

.radio-option:hover {
    background-color: #f1f1f1;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #ff6f61;
    border-radius: 50%;
    margin-right: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option input[type="radio"]:checked {
    background-color: #ff6f61;
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 13px;
    transform: translate(-50%, -50%);
}

.radio-option label{
    font-size: 1.2rem;
    color: #3f3c3c;
    cursor: pointer;
    font-weight: 500;
}

.form-actions{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.form-submit{
    background-color: #ff6f61;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
    margin-top: 25px;
}

.form-deco{
    background-color: #ff4949;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
    margin-top: 25px;
}


.form-submit:hover{
    background-color: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.form-deco:hover{
    background-color: #ff2222;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

input[type='text']{
    background-color: transparent;
    border: solid;
    border-radius: 25px;
    border-color: #555;
    margin-left: 45px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 1em;
    width: 125%;
    transition: background-color 0.5s ease, border-radius 0.3s ease;
}

input[type='password']{
    background-color: transparent;
    border: solid;
    border-radius: 25px;
    border-color: #555;
    margin-left: 45px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 1em;
    width: 125%;
    transition: background-color 0.5s ease, border-radius 0.3s ease;
}

input[type='date']{
    background-color: transparent;
    border: solid;
    border-radius: 25px;
    border-color: #555;
    margin-left: 45px;
    padding: 1em;
    width: 100%;
    transition: background-color 0.5s ease, border-radius 0.3s ease;
}

input[type='text']:hover{
    border-radius: 50px;
    background-color: rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .radio-form {
        width: 95%;
        padding: 25px 20px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-option {
        min-width: 100%;
        padding: 12px 20px;
    }
    
    .form-submit {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .radio-option label {
        font-size: 1.1rem;
    }
    
    .radio-form {
        padding: 20px 15px;
    }
}

.table-scroll {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: auto;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
}

.table-scroll th, .table-scroll td {
    text-align: left;
    padding: 8px;
    border: 1px solid #ddd;
}
