@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Chakra+Petch:ital,wght@0,300;0,700;1,300&display=swap');

.contenedor1{
    color: white;
    width: 100%;
    background-image: url(fondoLogo.jpg);
    background-position: left center;
}

.contenedor2{
    display: flex;
    justify-content: center;
}
.contenedor2 img{
    width: 100%;
    height: 580px;
    margin-bottom: 100px;
}

.subtitulo {
    font-family: "Bebas Neue";
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-top: 250px;
    margin-bottom: 20px;
    font-size: 3rem;
    color: black;
    background-color: orange;
}

.contenedor3 {
    width: 100%;
    height: 800px;
    font-family: "Bebas Neue";
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.contenedor3 .card {
    width: 320px;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid #373737;
    position: relative;
}

.contenedor3 .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.contenedor3 .card-body {
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    color: #fff;
    position: absolute;
    background-color: #1f3d4738;
    backdrop-filter: blur(5px);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: 1.5s;
}

.contenedor3 .card:hover .card-body {
    right: 0;
}

.contenedor3 .card-title {
    text-transform: uppercase;
    font-size: 50px;
    font-weight: 500;
}

.contenedor3 .card-sub-title {
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 300;
}

.contenedor3 .card-info {
    font-size: 16px;
    line-height: 25px;
    margin: 40px 0;
    font-weight: 400;
}

.contenedor3 .card-btn {
    color: #1f3d47;
    background: #8fabba;
    width: 120px;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: capitalize;
    border: none;
    outline: none;
    font-weight: 500;
    cursor: pointer;
}

.modal-body img{
    width: 550px;
}

.contenedor4{
    text-align: center;
    margin-left: 500px;
    margin-right: 500px;
    font-family: "Bebas Neue";
}

.contenedor5 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    background-color: #bebed2;
    overflow: hidden;
    margin-top: 400px;
}

.contenedor5 img {
    width: 8%;
    height: auto;
    animation: scroll 10s linear infinite;
}
@keyframes scroll {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(100%);
    }
    75% {
        transform: translateX(-100%);
    }
}

.contenedor6-grid{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}
.form{
    width: 400px;
    margin-right: 10px;
    margin-left: 10px;
    background-color: #bebed2;
    border-radius: 12px;
    border: 1px solid orange;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 24px;
}

.form-input{
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    margin-top: 12px;
    background-color: transparent;
    border: 1px solid orange;
    width: 100%;
    color: black;
}

.form-input:focus{
    background-color: rgba(255, 255, 255, 0.6);
    outline: 2px solid rgba(255, 255, 255, 0.12);
}
.form-input::placeholder{
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}
.form-btn{
    margin-top: 24px;
    font-size: 12px;
    font-weight: 900;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    background-color: orange;
    color: black;
    border: 2px solid black;
    cursor: pointer;
    transition: 0.12s ease-in-out;
}
.form-btn:hover{
    background-color: white;
    color: black;
}

#mensaje{
    margin: 10px;
    border: none;
    border-radius: 5px;
}


.contenedor7-grid{
    background-color: orange;
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: 200px;
    font-size: 1.5rem;
    font-family: "Bebas Neue";
}

.contenedor7-grid > *{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
}

.contenedor7-grid .tema1, .tema2, .tema3{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.contenedor8{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0px;
    height: 30px;
    background-color: orange;
    color: #000;
}

@media all and (max-width:767px){
    .contenedor2 img{
        width: 100%;
    }
    .contenedor3{
        height: 3500px;
        margin: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .modal-body img{
        width: 255px;
    }
    .contenedor4{
        margin-left: 10px;
        margin-right: 10px;
    }
    /*.contenedor5{
        margin-top: 50px;
    }*/
    .subtitulo{
        margin-top: 50px;
        text-align: center;
    }
    .iframe{
        position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    }
    .iframe iframe{
        position: absolute;
        top:0;
        left:0;
        width: 100%;
        height: 100%;
    }
    .contenedor6-grid{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        margin-bottom: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
    .formulario{
        grid-column: 1 / 3;
    }
    .iframe{
        grid-column: 2/3;
        width: 100%;
        margin-top: 15px;
    }
    .contenedor7-grid{
        justify-content: center;
        align-items: center;
    }
    .tema1, .tema2, .tema3{
        grid-column: 1/ 3;
        font-size: 1rem;
    }
    .contenedor8{
        height: 55px;
    }
    .contenedor8 p{
        font-size: 0.7rem;
        height: 3px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }


    .contenedor5 {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        width: 100%;
        text-align: center;
        padding: 0;
        background-color: #bebed2;
        margin-top: 10px;
    }

    .contenedor5 img {
        width: 30%; /* Ajusta el ancho de las imágenes para que quepan 3 por fila en dispositivos pequeños */
        margin: 1%; /* Espaciado entre las imágenes */
    }
}




