* {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('../images/fondo.jpg') no-repeat center center/cover;
    background-size: cover;

}

section {
    flex: 1;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

form {
    width: 100%;
    text-align: center;
}

form h1 {
    color: #27013b;
    font-size: 2em;
    margin-bottom: 20px;
}

.inputbox {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
}

.inputbox ion-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: black;
}

.inputbox input {
    width: 100%;
    padding: 10px 10px 10px 40px;
    font-size: 16px;
    color: black;
    background: none;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease;
}

.inputbox input:focus {
    border-bottom: 2px solid #27013b;
}

.inputbox input:valid {
    border-bottom: 2px solid #4caf50;
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #7f8c8d;
    pointer-events: none;
    transition: 0.5s;
    font-size: 20px;
    font-weight: 500;
}

.inputbox input:focus~label,
.inputbox input:valid~label {
    top: -10px;
    font-size: 12px;
    color: #27013b;
}

.forget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: black;
    font-size: 14px;
}

.forget a {
    color: #27013b;
    text-decoration: none;
}

.forget a:hover {
    text-decoration: underline;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: black;
    background: linear-gradient(135deg, #27013b, #4caf50);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #4caf50;
}

.register {
    color: black;
    font-size: 14px;
}

.register a {
    color: #27013b;
    text-decoration: none;
}

.register a:hover {
    text-decoration: underline;
}

footer {
    color: #fff;
    text-shadow: 0 4px 100px white;
    padding: 15px 0;
    text-align: center;
    width: 100%;
}

footer .footer-content p {
    margin: 0;
    font-size: 0.9rem;
}

footer .social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1rem;
}

footer .social-links li {
    display: inline-block;
}

footer .social-links a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 4px 100px rgba(255, 255, 255, 0.4); 
}

footer .social-links a:hover {
    color: #27013b;
    text-shadow: 0 4px 100px rgba(255, 255, 255, 0.6); 
}