@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

*{
    padding:0;
    margin:0;
    outline:none;
    border: none;
    box-sizing: border-box;
    font-family: "Instrument Sans", sans-serif;
}
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/nexen-e-logistics-recinto-fiscalizado-estrategico-en-mexico-ciudad-de-mexico-slider-2.jpg) no-repeat;
    background-size: cover;
}

.container{
    height: 100%;
    width: 100%;
}

.principal{
    position: relative;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    max-width: 500px;
    align-content: center;
}

.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;
}
.select{
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    transition: all 0.3s ease;
}
.select::placeholder{
    color: #fff;
}
.select:focus, .input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid #e02323;
}

.input{
    padding: 0.5rem;
    border-radius: 7px;
    background: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.principal .image{
    position: relative;

}

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;
}

.formulario{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    left: auto;
    top: auto;
    margin-bottom: 1rem;
}
.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: 0 5px 20px 15px #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;
    font-size: 0.8rem;
}
.formulario .card a{
    color: #fff;
    transition: al 0.3s ease;

}
.formulario .card a:hover{
    color: #dadada;
}

 #form{
    margin-bottom: 1rem;
}
.copyright-text{
    font-weight: normal;
    font-size: 12px;
    color: #fff;
    margin-top: 0.8rem;
}

#span-error{
    margin: 0;
    font-size: 1rem;
    background-color: #730909;
}

#div-error{
    padding: 0 0 1rem 0;
}
@media (width < 900px){
    img{
        width: 300px;
        display:flex;
    }
}

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