.div {
    width: 100%;
    height: 5em;
    padding: 15px;
    margin-top: -40px;
    background-color: yellowgreen;
    box-shadow: 5px 5px 2px 6px rgb(58, 69, 73);
    text-align: right; /*alineacion del texto*/
    font-family: "Calibri";
    text-shadow: 2px 2px 4px #000000;
    z-index: -1;
    color: aliceblue;
    transition: height 0.5s;

    
}

.div:hover {
    height: 105px;
}



.sub {
    text-align: center;
    font-family: "ui-sans-serif";
    padding: 10px;
    animation: aparecer 2s forwards;

}

.ti{
    width: 400px;
    height: 100px;
    margin-top: -200px;
    padding: 40px;
    margin-left: 480px;
}

.text {
    text-align: justify;
    color:rgb(110, 105, 105);
    padding: 15px;
    font-family: ui-sans-serif;
    height: 124px;
    margin-left: 230px;
    width: 66.8%;
    font-size: 19px;
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 10px 10px 5px 12px rgba(255, 255, 255, 0.603);
    opacity: 0;
    animation: aparecer 2s forwards;
}


.linea {
    border-top: 1px solid rgb(255, 255, 255);
    height: 4px;
    max-width: 20000px;
    padding: 0px;
    margin: 50px auto 0 auto;
}

.as {
    width: 130px;
    height: 130px;
    margin-bottom: -110px;
    margin-left: 10px;
}

/**.div {
    width: 500px;
    height: 350px;
    margin-left: 450px;
    box-shadow: 5px 5px 2.5px 6px rgba(58, 69, 73, 0.603);
    transition: width 2s, height 4s;
}*/

.foto1 {
    width: 1010px;
    height: 550px;
    margin-left: 230px;
    box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    margin-top: 10px;
    animation: aparecer 2s forwards;
    overflow: hidden;

}

.foto1 img {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.foto1 img:hover {
    transform: scale(1.2);
}

.foto2 {
    width: 1010px;
    height: 500px;
    margin-left: 230px;
    box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    margin-top: 300px;
    animation: aparecer 2s forwards;

}

.foto3 {
    width: 1010px;
    height: 500px;
    margin-left: 230px;
    box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    margin-top: 50px;
    animation: aparecer 2s forwards;

}

.final {
    background-color: rgb(147, 160, 10);
    margin-top: 200px;
    color: aliceblue;
    text-align: center;
    box-shadow: 10px 10px 10px 20px rgb(255, 255, 255);
    padding: 10px;
    height: 110px;
}

.button {
    padding: 10px 20px;
    background-color: blue;
    color: white;
    transition: background-color 0.3s ease;
}
  
.button:hover {
    background-color: lightblue;
}
  
.esp {
    padding: 5px;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background-image: url(fs.png);
    background-size: cover;
    background-attachment: fixed;
    overflow-x: hidden; /* Evita el desplazamiento horizontal */

}


@media (max-width: 768px) {

    body {
        background-image: none;
        overflow-x: hidden; /* Evita el desplazamiento horizontal */
    }

    .div {
        width: 100%;
        height: 150px;
        min-width: 350px;
        margin-left: -10px;
        padding: 15px;
        margin-top: -40px;
        box-shadow: 5px 5px 2px 6px rgb(58, 69, 73);
        font-size: 16px;
    }

    

    .as {
        width: 15%;
        height: 15%;
        margin-bottom: -65px;
        margin-left: -5px;
    }

    .ti {
        width: 65%;
        height: 55%;
        margin-top: -1000px;
        padding: 60px;
        margin-left: 2px;
    }

    .text {
        margin-left: 45px;
    }

    .foto1 {
        width: 350px;
        height: 200px;
        margin-left: 0px;
        padding: 0px;
        margin-top: 370px;
        box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    }
    
    .foto2 {
        width: 350px;
        height: 200px;
        margin-left: 0px;
        padding: 5px;
        margin-top: 1300px;
        box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    }


    .foto3 {
        width: 350px;
        height: 200px;
        margin-left: 0px;
        padding: 0px;
        margin-top: 300px;
        box-shadow: 5px 5px 2px 6px rgba(58, 69, 73, 0.603);
    }

    .linea {
        border-top: 0px solid rgb(255, 255, 255);
        height: 0px;
        max-width: 0px;
        padding: 0px;
        margin: 0px auto 0 auto;
    }

    .espc {
        padding: 50px;
    }

    .final {
        height: 200px;
    }

}

/*
.div:hover {
    width: 600px;
    height: 450px;
}

.texto {
    opacity: 0;
    animation: aparecer 2s forwards;
}

