@import url(fonts.css);

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Roboto";
}

.logo{
    width: 6%;
    padding: 5px;
    margin-left: 5%;
    margin-top: 5px;
}

body{
    background-image: url(../images/background.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.header{
    color: white;
    text-align: center;
}

.header .title{
    font-size: 35px;
    margin-bottom: 10px;
}

.header .info{
    font-size: 15px;
    font-family: "Roboto-light";
    margin-bottom: 30px;
}

.main{
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0px 30px 100px 0px rgba(17, 23, 41, 0.15);
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    border-radius: 15px;
}

#formulario {
    display: grid;
    gap: 10px;
}

.full-width {
    grid-column: span 2;
}

.formulario-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.formulario-item label {
    color: white;
    font-size: 12px;
}

#formulario input, 
#formulario select, 
#formulario textarea {
    padding: 12px 12px;
    border: 1px solid white;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bolder;
    background-color: white;
}

.submit {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background-color: white;
    color: #4F46E5;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
}

.submit:hover {
    color: white;
    background-color: #4F46E5;
    transition: background 0.3s ease;
}

@media screen and (max-width: 412px) {
    body {
        background-size: cover;
        background-attachment: fixed;

    }

    .logo {
        width: 25%;
        margin-left: 20px;
    }

    .header .title {
        font-size: 28px;
        padding: 0 15px;
    }

    .header .info {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .main {
        width: 90%;
        padding: 20px;
        margin-bottom: 40px;
    }

    #formulario {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .formulario-item, 
    .full-width {
        grid-column: span 1; 
        width: 100%;
    }

    #formulario input, 
    #formulario select, 
    #formulario textarea {
        font-size: 14px;
    }

    .submit {
        font-size: 16px;
        padding: 12px;
    }
}


@media screen and (max-width: 1024px) {
    body {
        background-size: cover;
        background-attachment: fixed;

    }
}