.banner {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: max-content;
    background-image: url('../image/banner/banner.png');
    margin-top: 80px;
    position: relative;

}

.banner img {
    width: 100%;
    height: auto;
}

.descr-banner {
    position: absolute;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: max-content;
    margin-left: 18%;
    margin-top: 60px;
    font-family: 'J-Medium';
    font-size: 2.5rem;
    color: #333333;

}

.form-banner {
    position: absolute;
    height: 500px;
    width: 350px;
    background-color: #FAFBFC;
    left: 20%;
    top: 30%;
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: 170px;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
    padding-bottom: 0px;
    z-index: 2;
    font-family: 'Barlow-Bold';
    letter-spacing: 1px;
    text-align: center;
    margin: 0 auto;
    border-radius: 5px;
}

.title-form {
    background-color: #D3592A;
    width: 100%;
    height: 160px;
    font-size: 1.5rem;
    padding-top: 20px;
}

.title-form-banner {
    display: grid;
    grid-template-columns: 100%;
    grid-template-rows: max-content;
    background-color: #D3592A;

}

.title-form img {
    width: auto;
    height: 25px;
}

.form {
    text-align: left;
    color: #5D5D5D;
    display: grid;
    grid-template-columns: 80%;
    justify-content: center;
    font-size: 1.2rem;
    font-family: 'J-Regular';
}

.form input {
    width: 100%;
    height: 30px;
    border: 1px #cac3c3 solid;
    margin-bottom: 10px;
    font-family: 'J-Medium';
}

.form label,
input,
button {
    display: block;
}

.form button {
    background-color: #D3592A;
    font-family: 'J-SemiBold';
    border: 0px;
    font-size: 1.5rem;
    color: #ffff;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    width: 100%;

}

.container {
    display: grid;
    grid-template-columns: 80%;
    justify-content: center;
    grid-gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    font-family: 'J-Regular';
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.form-group button {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    background-color: #D3592A;
    color: #fff;
    cursor: pointer;
}

.data-horario {
    display: flex;
    flex-direction: row;
}

.data-horario label{
    margin-top: 10px;
}

.data{
    margin-left: 10px;
}

.horario{
    margin-left: 10px;
}



@media only screen and (max-width: 750px) {
    .descr-banner {
        position: relative;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: max-content;
        margin-left: 1%;
        margin-top: 0px;
        font-family: 'J-Medium';
        font-size: 1.2rem;
        color: #333333;
        text-align: center;
        background: #F8E9DE;
    }

    .container{
        display: grid;
    }

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

@media only screen and (max-width: 1230px) {
    header{
        display: none;
    }
    .banner {
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: max-content;
        background-image: url(../image/banner/banner.png);
        margin-top: 0px;
        position: relative;
    }
    
    

    .form-banner {
        position: absolute;
        height: 460px;
        width: 350px;
        background-color: #FAFBFC;
        left: 80px;
        top: 100px;
        display: grid;
        grid-template-columns: 100%;
        grid-template-rows: 170px;
        justify-content: center;
        font-size: 0.9rem;
        color: #fff;
        padding-bottom: 0px;
        z-index: 2;
        font-family: 'Barlow-Bold';
        letter-spacing: 1px;
        text-align: center;
        margin: 0 auto;
        border-radius: 5px;
    }

    .form input {
        width: 250px;
        height: 30px;
        border: 1px #cac3c3 solid;
        margin-bottom: 10px;
        font-family: 'J-Medium';
    }
}

@media only screen and (max-width: 1120px) {

    .form-banner {
        display: none;

    }

}