* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-image: url(../assets/background.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Roboto, sans-serif;
}

form {
    border: 2px solid #6c757d ;
    width: 90%;
    max-width: 700px;
    margin: 40px auto;
    background-color: #3b2346a9;
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #fff;
    box-shadow: 0 0 11px 20px #2c2c2c77;
}

h3, h5 {
    text-align: center;
}

h3 {
    font-size: 1.75rem;
    margin-bottom: 0.3rem;
}

h5 {
    font-size: 1rem;
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.container, .name-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.name-container {
    display: flex;
    gap: 0.75rem;
}

.name-container .name-input {
    width: 100%;
    position: relative;
}

.container i , .name-container .name-input i {
    position: absolute;
    left: 0.5rem;
    top: 1.1rem;
    color: #aaaaaa;
    font-size: 1.1rem;
}

.name-container .name-input i.lastname {
    opacity: 0;
}

.container input, .container select , .name-container input{
    width: 100%;
    padding: 10px 10px 10px 35px;
    margin-top: 0.5rem;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #ccc;
    background-color: transparent;
    color: white;
}

.container input:focus, .container select:focus, .name-container input:focus {
    outline: none;
}

.container select option {
    color: #111;
}

button {
    width: 10rem;
    height: 3rem;
    border-radius: 1.5rem;
    color: #fff;
    background-color: #c72e7a;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 1.5rem;
    display: block;
    margin: 2rem auto 0.5rem auto;
}

button:hover {
    background-color: #b4055c;
}

@media (max-width: 500px) {
    .name-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .name-container .name-input i.lastname {
        opacity: 1;
    }

}



