
*{
    padding:0;
    margin:0;
    outline:none;
    border: none;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
img{
    width: 400px;
    display:flex;
    padding-right: 2.5rem;
}
#img_container{
    display: flex;
    flex-direction: row;
    justify-content: center;
}
a{
    text-decoration: none;
}
body{
    font-family: 'Oswald', sans-serif;
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(3 14 69 / 50%)), url(../images/background-login.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.btn{
    padding: 0.5rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color:#d31e2f;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    margin-top: 1rem;
}
.btn:hover{
    background-color: #f0f0f0;
    color: #212426;
    border: 1px solid #212426;
}
.input-container {
    position: relative;
    width: 100%;
}

.select {
    width: 100%;
    padding: 0.5rem;
    padding-right: 2.5rem; 
    border-radius: 0;
    background: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.select::placeholder {
    color: #fff;
}

.select:focus {
    background: rgba(0, 0, 0, 0.651);
    border-bottom: 2px solid #e02323;
}

#icono {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff; 
    cursor: pointer;
    transition: color 0.3s ease;
}

.principal{
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    max-width: 500px;
    align-content: center;
}
.principal .content h4{
    margin-bottom: 1rem;
    color: rgb(133, 7, 112);
    font-size:1rem;
    font-weight: 600;
}

.principal .content h1{
    color: #222122;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;

}

.principal .content p{
    margin-bottom: 2rem;
    color: #ccc;
}

.principal .image{
    position: relative;

}

.principal .image::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38rem;
    font-weight: 400;
    line-height: 20rem;
    color: #1d4ed8;
    opacity: 0.2;
    z-index: -100;
}

.principal .image img{
    max-width: 600px;
    margin: auto;
}

section .header{
    margin-bottom: 1rem;
    color: #222122;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}
.formulario{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    left: auto;
    top: auto;
}
.formulario .card{
    background-color: rgb(0 26 72 / 0.1);
    backdrop-filter: blur(15px);
    text-align: center;
    border-radius: 15px;
    transition: all 0.5s ease;
    box-shadow: 8px 13px 7px 0 #000000a4;
    padding: 2.5rem;
}
.formulario .card span{
    display: inline-block;
    background-color: rgb(133, 7, 112);
    padding: 2px 9px;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    color: #fff;
    border-radius: 5px;
}
.formulario .card h4{
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;

}

.formulario .card p{
    color: #eee;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}
.formulario .card a{
    color: #fff;
    transition: al 0.3s ease;

}
.formulario .card a:hover{
    color: #dadada;
}
.copyright-text{
    font-weight: normal;
    font-size: 12px;
    color: #fff;
    margin-top: 0.8rem;
}
.container{
    height: 100%;
    width: 100%;
}
#span-error{
    margin: 0;
    font-size: 1rem;
    background-color: #730909;
}
@media (width < 900px){
    img{
        width: 300px;
        display:flex;
    }
}

@media (width < 600px){
    .container{
        padding: 0 2rem 3rem 2rem;
    }
    img{
        display:flex;
    }
}
