* {
    margin: 0;
    padding: 0;
}

.hero{
    height: 100%;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("Images/bg.webp");
    background-position: center;
    background-size: cover;
    position: absolute;
}

.form-box{
    width: 380px;
    height: 480px;
    position: relative;
    margin: 6% auto;
    background: #fff;
    padding: 5px;
    border-radius: 30px;
}

.button-box{
    width: 270px; /* Ajusté pour plus d'espace */
    margin: 70px auto;
    position: relative;
    box-shadow: 0 0 20px 9px violet;
    border-radius: 30px;
    display: flex; /* Flexbox pour aligner les boutons */
    justify-content: center; /* Centrer les boutons horizontalement */
    align-items: center; /* Centrer les boutons verticalement */
}

.toggle-btn{
    padding: 10px 10px; /* Ajusté pour de meilleurs proportions */
    margin: 0 10px; /* Espacement entre les boutons */
    cursor: pointer;
    border: 0;
    outline: none;
    position: relative;
    border-radius: 5px; /* Arrondir les coins */
    color: black; /* Couleur du texte */
    background: white;
    font-weight: bold; /* Style de police */
    transition: 0.3s; /* Transition douce au survol */
}

.toggle-btn:hover{
    background: linear-gradient(to left, blue, darkviolet); /* Effet au survol */
}


.social-icons{
    margin: 30px auto;
    text-align: center;
}

.social-icons img{
    width: 30px;
    margin: 0 12px;
    box-shadow: 0 0 20px 0 #7f7f7f3d;
    cursor: pointer;
    border-radius: 50%;
}
.input-group{
    top: 180px;
    position: absolute;
    width: 280px;
    transition: 0.5s;
}
.input-field{
    width: 100%;
    padding: 10px 0;
    margin: 5px 0;
    border-left: 0;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #999;
    outline: none;
    background: transparent;
}
.submit-btn{
    width: 85%;
    padding: 10px 30px;
    cursor: pointer;
    display: block;
    margin: auto;
    background: linear-gradient(to right, blue, darkviolet);
    border: 0;
    outline: none;
    border-radius: 30px;
}
.check-box{
    margin: 30px 10px 30px 0;
}
span{
    color: #777;
    font-size: 12px;
    bottom: 68px;
    position: absolute;
}
#login{
    left: 50px;
}
#register{
    left: 450px;
}