@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital@1&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap');

* {
    position: relative;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    position: relative;
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: #ffd900c7;
}

.menu_items {
    position: relative;
    width: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    background-color: #cf2626;
    border-bottom: 2px solid white;
    box-shadow: inset 10px 10px 100px black, 0 0 20px rgb(0, 0, 0);
}


.txt-li {
    display: grid;
    place-items: center;
    height: 35px;
    width: 120px;
    margin-right: 25px;
    margin-left: 25px;
    cursor: pointer;
    transition: 0.5s ease;
}

.txt-li a {
    position: relative;
    display: flex;
    color: #f9f9f9;
    text-decoration: none;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto Condensed', sans-serif;
}

.txt-li a:after {
    content: "";
    width: 100%;
    border-bottom: 3px solid #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.txt-li a:hover:after {
    opacity: 1;
}

/*BOTON APP*/
.cont-app{
    position: absolute;
    background-color: #4b000000;
    top: 100px;
    right: 100px;
    width:200px;
    height: 100px;
    padding: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*ANIMACION BTN DWLD*/

.button-container {
    position: relative;
  }
  
  .pulse-button {
    width: 100px;
    height: 100px;
    background-color: #ff0000; 
    border: none;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(217, 2, 2, 0.7);
    cursor: pointer;
    position: relative;
    z-index: 2;
    animation: pulse-animation 2s infinite;
    color: #fff;
    font-weight: bold;
  }
  
  .pulse-button::before,
  .pulse-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: #ff0000;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(1);
    border: 2px solid #fff;
    z-index: 1;
    opacity: 0;
    animation: ripple-animation 2s infinite;
    pointer-events: none;
  }
  
  .pulse-button::after {
    animation-delay: 1s;
  }
  
  @keyframes pulse-animation {
    0%, 100% {
      box-shadow: 0 0 10px rgba(187, 2, 2, 0.7);
    }
    50% {
      box-shadow: 0 0 20px rgb(153, 7, 7);
    }
  }
  
  @keyframes ripple-animation {
    0% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0.8;
    }
    100% {
      transform: translate(-50%, -50%) scale(1.7);
      opacity: 0;
    }
  }

.app-btn-txt{
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    font-style: italic;
    z-index: 2;
}


.cont-app a{
    position: absolute;
    margin-top: 180px;
    font-size: 11px;
    color: #fff;
    
}

.menu_items .contLogoEmpresa {
    position: absolute;
    left: 0;
    margin-top: 9%;
}

.contLogoEmpresa {
    display: flex;
    align-items: center;
    margin-right: 2px;
}

.contLogoEmpresa img {
    z-index: 1;
    height: 120px;
    border-radius: 50%;
    background-color: #fff;
    padding: 5px;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 0 0 5px white;
    margin-right: 2px;
}

.contTxt {
    position: absolute;
    align-items: start;
    justify-content: start;
    left: 10%;
    font-family: 'Roboto', sans-serif;
}

h1 {
    color: white;
    font-size: 25px;
}

h2 {
    color: white;
    font-size: 18px;
}

@media only screen and (max-width: 1024px) {
    .contTxt {
        left: 15%;
    }
}

@media only screen and (max-width: 820px) {
    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    .contTxt {
        top: 10%;
        left: 18%;
    }

    .txt-li {
        margin-right: 10px;
        margin-left: 10px;
    }

    .contLogoEmpresa img {
        height: 115px;
    }


}

@media only screen and (max-width: 768px) {
    .menu_items {
        justify-content: center;
        flex-wrap: wrap;
    }

    .menu_items .contLogoEmpresa,
    .contTxt {
        z-index: 1;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .contLogoEmpresa img {
        top: 40px;
        height: 140px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    .txt-li {
        margin: 10px 0;
        display: none;
    }
}

@media only screen and (max-width: 430px) {
    h1 {
        font-size: 14px;
    }

    h2 {
        font-size: 10px;
    }

    .contTxt {
        top: 30%;
    }

    .contLogoEmpresa img {
        margin-top: 50px;

    }
}

@media only screen and (max-width: 600px) {
    .contLogoEmpresa img {
        top: 50px;
    }
}

/*CAJA DE MOVIEMIENTO*/

.presentacion {
    position: absolute;
    width: 100%;
    height: 450px;
    background-image: url("../images/banner.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: contrast(120%);
    border-bottom: 3px rgb(255, 255, 255) solid;
    box-shadow: 0px 15px 11px -5px rgba(0, 0, 0, 0.63);
}

.cont_items1 {
    position: absolute;
    left: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, #000000, #00000000);
}

.cont_items1 p {
    top: 30%;
    left: 10%;
    font-size: 35px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #f9f9f9;
    width: 420px;
    text-align: left;

}

.cont_items1 button {
    top: 40%;
    left: 25%;
    height: 30px;
    width: 150px;
    cursor: pointer;
    background-color: #ff0000;
    color: rgb(255, 255, 255);
    border: 1px solid white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px white;
    font-family: 'Roboto', sans-serif;
    animation: mov-btn 3s linear infinite;
}

.cont_items1 button:hover {
    background-color: #f07878;
}

@keyframes mov-btn {
    0% {
        scale: 1.1;
    }

    50% {
        scale: 1;
    }

    100% {
        scale: 1.1;
    }
}

@media only screen and (max-width: 768px) {

    .cont_items1 {
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(to top, #000000, #00000000);
        width: 100%;
    }

    .cont_items1 p {
        text-align: center;
        font-size: 25px;
        width: 300px;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, 50%);
    }

    .cont_items1 button {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        animation: none;
    }
    /*BOTON APP MAS CHICO*/
    
    .button-container{
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    }
    .pulse-button {
        position: fixed;
        top: 40px;
        right: 20px;
        width: 60px;
        height: 60px;
        border-radius: 180px;
      }
    
      .pulse-button .app-btn-txt {
        font-size: 10px; /* Texto más pequeño */
      }
    
      .cont-app a {
        position: absolute;
        font-size: 10px;
        top: -150px;
        right: -95px;
      }


}

.info-empresa {
    top: 550px;
    height: 300px;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    backdrop-filter: blur(8px);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 300px;
    grid-column-gap: 80px;
    border-radius: 8px;
}

.card-info {
    z-index: 1;
    background-color: #2b2b2b;
    position: relative;
    border-radius: 8px;
    display: grid;
    place-items: center;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    border: 2px solid rgb(124, 124, 124);
    overflow: hidden;
    scroll-behavior: auto;
    transition: 0.5s ease;
}

.card-info::before {
    z-index: 0;
    bottom: 50px;
    content: '';
    position: absolute;
    width: 150%;
    height: 150px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, #ff9900d3, #f15c5cd3);
    animation: rotate 4s linear infinite;
    margin-bottom: 20%;
    box-shadow: 0 0 20px #fad400;
}

.card-info::after {
    content: '';
    position: absolute;
    background: #181818;
    inset: 5px;
    border-radius: 16px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



@media only screen and (max-width: 1050px) {
    .info-empresa {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 20px;
        height: auto;
    }
}

.card-info:hover {
    scale: 1.1;
    box-shadow: 0 0 20px #363636;
}

.card-info p {
    z-index: 1;
    font-size: 16px;
    margin: 10px;
    color: #ffffff;
    font-weight: bold;
}

.card-info h1 {
    z-index: 1;
    font-size: 18px;
    color: #ffffff;
    background-color: #f9f9f9;
    width: 100%;
    height: 50px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;

}

.separacion {
    top: 580px;
    width: 80%;
    height: 4px;
    border-radius: 8px;
    background: linear-gradient(to right, #000000, #cf2626, #000000);
    box-shadow: 1px 4px 10px #161616;
    margin-left: 10%;
    margin-right: 10%;
}

.nosotros {
    top: 630px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    background: linear-gradient(to bottom, #ff858500, #ff85850c);
}

.capacitacion,
.asistencia {
    color: #000000;
    padding: 20px;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    text-align: left;
}

.capacitacion h2,
.asistencia h2 {
    text-align: center;
    margin-top: 0;
    font-size: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #cf2626;
    text-decoration: underline;
    margin-bottom: 20px;
}

.capacitacion-imagen,
.asistencia-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    margin: 10px;
    background-color: #742020;
    border-radius: 10px;
    box-shadow: 2px 8px 15px #00000065;
}

.capacitacion-imagen img,
.asistencia-imagen img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 20px;
    padding: 10px;
}

@media only screen and (max-width: 768px) {
    .nosotros {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }

    .asistencia-imagen {
        grid-row-start: 4;
        grid-row-end: -2;
    }

    .capacitacion-imagen img {
        height: 100%;
    }
}

.separacion2 {
    top: 680px;
    width: 80%;
    height: 4px;
    border-radius: 8px;
    background: linear-gradient(to right, #000000, #cf2626, #000000);
    box-shadow: 1px 4px 10px #5e3333;
    margin-left: 10%;
    margin-right: 10%;
}

#servicios {
    top: 750px;
    padding: 50px;
    justify-content: space-around;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    background-color: #ff85850c;
}

.tit-servicios {
    top: 740px;
    background-color: #a00000;
    font-size: 40px;
    color: rgb(255, 255, 255);
    text-align: center;
    text-transform: uppercase;
    font-family: 'Roboto Condensed', sans-serif;
    box-shadow: 0 0 0 2px #2e2e2e;
    font-weight: initial;
    border: 3px solid #fff;
}

@media only screen and (max-width: 768px) {
    .tit-servicios {
        font-size: 25px;
    }
}

.servicio {
    transition: transform 0.3s ease;
    margin: 10px 20px;
    box-shadow: 0 4px 8px 0 rgb(117, 116, 116), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    float: left;
    width: 250px;
}

.servicio img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.servicio:hover {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 0 20px #000000;
}

.info-servicio p {
    text-align: center;
    padding: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;

}

.info-servicio {
    background-color: #8b1919;
    box-shadow: inset 0 0 10px #c91616;
}

.donations {
    top: 800px;
    background-image: url("../images/donativo-camion.jpg");
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tit-donacion {
    z-index: 1;
    text-align: center;
    background-color: #2e2e2e;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 10px 5px #000000;
    width: 100%;

}

#txt-donation {
    z-index: 0;
    font-size: 38px;
    color: #ffffff;
    font-family: 'Roboto Condensed', sans-serif;
    background-color: #a00000;
    border: 3px solid #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 3px;
    width: 500px;
    transform: rotate(-3deg);
}

.cont-donacion {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: auto;
    backdrop-filter: blur(8px);
    background-color: #ffffff;
    width: 750px;
    border-radius: 8px 8px 0 0;
    -webkit-box-shadow: 0px -7px 22px -3px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px -7px 22px -3px rgba(0, 0, 0, 0.75);
    box-shadow: 0px -7px 22px -3px rgba(0, 0, 0, 0.75);
}

.cont-donacion img {
    top: 20px;
    height: 100%;
    width: auto;
    background-color: #fff;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 0 10px #2b2b2b;
}

.cont-donacion p {
    margin: 50px 50px 10px 50px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
}

.cont-donacion h2 {
    text-align: center;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 24px;
    color: #8b1919;
}

@media only screen and (max-width: 768px) {
    .cont-donacion {
        width: 80%;
        align-items: center;
        justify-content: center;
        box-shadow: none;
    }

    .cont-donacion p {
        font-size: 15px;
    }

    .cont-donacion h2 {
        font-size: 18px;
        text-align: center;
    }
}

.cuentas {
    width: 750px;
    height: auto;
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
}

.transferencia {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.transferencia p {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 25px;
    margin: 10px;
    font-weight: bold;
}

.transferencia h1 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 25px;
    margin: 10px;
    color: #e70000;
    text-transform: uppercase;
}

@media only screen and (max-width: 768px) {
    .cuentas {
        top: -1px;
        width: 80%;
        flex-direction: column;
    }

    .transferencia p,
    .transferencia h1 {
        font-size: 15px;
    }

}

.logos {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 750px;
    height: auto;
    background-color: #2c2c2c;
    box-shadow: inset 0 0 20px 10px #161616;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.logos img {
    width: 170px;
    height: auto;
    object-fit: cover;
}

@media only screen and (max-width: 768px) {
    .logos {
        width: 80%;
    }

    .logos img {
        width: 90px;
    }
}

footer {
    top: 800px;
    width: 100%;
    background-color: #161616;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer p {
    text-align: center;
    color: #fff;
    font-family: 'Roboto Condensed', sans-serif;
}

.ubic {
    position: fixed;
    z-index: 2;
    bottom: 20px;
    right: 10px;
}

.ubic img {
    width: 50px;
    height: auto;
    animation: brinco 5s ease infinite;
    cursor: pointer;

}

@keyframes brinco {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-20px);
    }

    60% {
        transform: translateY(-10px);
    }
}

#map::-webkit-scrollbar {
    width: 8px;
}

#map::-webkit-scrollbar-thumb {
    background-color: #ff0000;
    border-radius: 4px;
}

#map::-webkit-scrollbar-thumb:hover {
    background-color: #ffd900c7;
}

#map {
    height: 100%;
    animation: abrirModalMap 1s;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 20px #181818;
    position: fixed;
    justify-content: center;
    align-items: center;
}

@keyframes abrirModalMap {
    from {
        margin-left: -100%;
    }

    to {
        margin-left: 0;
    }
}

.close {
    z-index: 1;
    width: 25px;
    height: 25px;
    background-color: #742020;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #000000;
    border-radius: 2px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: 1s ease;
}

.close:hover {
    transform: rotate(360deg);
    scale: 1.1;
}

@media only screen and (max-width: 750px) {
    #map {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .close {
        position: fixed;
        left: 300px;
        top: 10px;
        animation: abrirModalMap 1s;
    }
}

.puerta {
    position: absolute;
    left: 10px;
    bottom: 5px;
}

.puerta img {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.puerta img:hover {
    scale: 1.3;
}

footer img {
    height: 25px;
    width: auto;
    transition: 1s ease;
}

footer img:hover:not(.puerta img) {
    scale: 1.3;
    transform: rotate(360deg);
}