@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rock+Salt&family=Vina+Sans&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;  
}


/*########################################LOADER DE LA PAGINA####################################################################### */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.ldio-x2uulkbinbj > div {
    transform-origin: 100px 100px;
    animation: ldio-x2uulkbinbj 0.2s infinite linear;
  }
  .ldio-x2uulkbinbj > div div {
      position: absolute;
      width: 22px;
      height: 152px;
      background: #646464;
      left: 100px;
      top: 100px;
      transform: translate(-50%,-50%);
  }
  .ldio-x2uulkbinbj > div div:nth-child(1) {
      width: 120px;
      height: 120px;
      border-radius: 50%;
  }
  .ldio-x2uulkbinbj > div div:nth-child(6) {
      width: 80px;
      height: 80px;
      background: #ffffff;
      border-radius: 50%;
  }.ldio-x2uulkbinbj > div div:nth-child(3) {
    transform: translate(-50%,-50%) rotate(45deg)
  }.ldio-x2uulkbinbj > div div:nth-child(4) {
    transform: translate(-50%,-50%) rotate(90deg)
  }.ldio-x2uulkbinbj > div div:nth-child(5) {
    transform: translate(-50%,-50%) rotate(135deg)
  }
  .loadingio-spinner-gear-nq4q5u6dq7r {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    background: none;
  }
  .ldio-x2uulkbinbj {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0; 
  }


@keyframes ldio-x2uulkbinbj {
    0% { transform: rotate(0deg) }
   50% { transform: rotate(22.5deg) }
  100% { transform: rotate(45deg) }
}

/*########################################PRIMER CONTENEDOR####################################################################### */
.titulo {
    font-family: "Anton", Sans-serif;
    margin-bottom: 10px;
    font-size: 65px;
    text-transform: uppercase;
    color: #c9c9c9;
    text-align: center;
    margin-top: 80px;
    text-shadow: 2px 2px 2px rgb(77, 135, 161);
    
}
.descripcion {
    font-family: "Anton", Sans-serif;
    margin-bottom: 40px;
    font-size: 25px;
    color: #c9c9c9;
    text-align: center;
    text-shadow: 2px 2px 2px rgb(77, 135, 161);
    
}
.textoserv{
    font-family: "Lato", Sans-serif;
    margin-bottom: 5px;
    font-size: 19px;
    color: #ffffff;
    text-align:left;
    text-shadow: 
    -1px 1px 0 #000,
    1px 1px 0 #000;
    margin-bottom: 27px;
}
.image-text-container {
    display: flex;
    flex-direction: flex;
    align-items: center;
    text-align: left;
    padding: 0px 100px;
}

.image-container {
    margin-top: px;
    padding: 30px;
}

.image-container img {
    box-shadow: 0 5px 10px #4d4d4d;
    width: 330px;
    height: 300px;
    border: 4px solid #39687e;
    border-radius: 5px;
}


.textoserv-container {
    display: flex;
    flex-direction: column;
    align-items: left;
    text-align: left;
    max-width: 90%; 
    margin: 0 auto;
    padding: 15px;
}
.textoserv1{
    font-family: "Anton", Sans-serif;
    margin-top: 30px;
    margin-bottom: 40px;
    font-size: 25px;
    color: #ffffff;
    text-align:left;
}

.content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: left;
}

.serv {
    position: relative;
    background-image: url("https://img.freepik.com/foto-gratis/luz-natural-herramientas-reparacion-acostadas-sobre-motor-automovil-debajo-capo_146671-16158.jpg?w=740&t=st=1712532757~exp=1712533357~hmac=10e4e0be27e085ec7957496b57eb094a074d2b6f5bca5a3eb3c1a88a84f1e0be");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    z-index: -2;
    

}

.serv::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    z-index: -1; 
}

/*########################################SEGUNDO CONTENEDOR####################################################################### */
.card-container {
    display: flex;
    flex-wrap: wrap; 
    background-image: url('fondoxd1.jpg');
    width: 100%;
    padding: 90px 0;
    margin: 0 auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative; 
    overflow: hidden;
    z-index: 1;
}
.card-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 43, 43, 0.5); 
    z-index: -1; 
}


.card {
    position: relative;
    width: 22rem;
    height: 23rem;
    margin: 25px 20px 25px 20px;
}
.grupo {
    padding: 10px 30px; /

}
.title-container {
    text-align: left;
    margin-top: 20px;
    margin-left: 50px; 
           
}
.tituloxd{
    font-family: "Anton", Sans-serif;
    margin-bottom: 20px;
    font-size: 50px;
    text-transform: uppercase;
    color: #c9c9c9;
    text-align: left;
    align-items: left;
    text-shadow: 
    1px -1px 0 #000;
    margin-bottom: 10px; 
    text-shadow: 2px 2px 2px rgb(77, 135, 161);
}
.grupo1text1{
    font-family: "Lato", Sans-serif;
    margin-bottom: 5px;
    font-size: 20px;
    color:#ffffff;
    align-items: left;
    text-align: left;
    padding: 0px 50px; 
    text-shadow: 
    -1px 1px 0 #000,
    1px 1px 0 #000;
}
.grupo1text2{
    font-family: "Anton", Sans-serif;
    margin-bottom: 5px;
    font-size: 30px;
    color:#ffffff;
    align-items: left;
    text-align: left;
    padding: 0px 50px; 
    text-shadow: 
    -1px 1px 0 #000,
         1px 1px 0 #000;
    
}

.cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.card .face {
    position: absolute;
    width: 22rem;
    height: 24rem;
    backface-visibility: hidden;
    overflow: hidden;
    transition: .5s;
    border: 2px solid #cecece;
    border-radius: 5px;
}

.card .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000000;
}
.card .front::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1; 
    border-radius: 5px; 
}

.card .front img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}



.card .front h3 {
    font-family: "Lato", Sans-serif;
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 90%; 
    color: orange;
    text-shadow: 2px 2px 2px rgb(0, 0, 0);
    text-align: center;
    font-size: 22px;
    padding: 10px;
    border-radius: 5px;
    z-index: 1;
    font-weight: bold;
    text-shadow: 
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.card .back {
    transform: perspective(600px) rotateY(180deg);
    background-image: url('alayoxd-removebg-preview.png');
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
    padding:0px;
    color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000000;
    object-position: center;
    align-items: center;
    z-index: 1;
    
}
.back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 0, 0.6); 
    z-index: -5; 
}


.card .back h3 {
    font-weight: bold;
    font-family: "Anton", Sans-serif;
    font-size: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #ffffff;
    z-index: 1;
    text-shadow: 
        -1px 1px 0 #000000,
        1px 1px 0 #000000,
        -1px 1px 0 #000000,
        1px 1px 0 #000000;
    z-index: -1;
}

.card .back p {
    font-family: "Lato", Sans-serif;
    letter-spacing: 1px;
    font-size:16px;
    margin-bottom:200px;
    color: #ffffff;
    text-shadow: 
    -1px 1px 0 #000000,
    1px 1px 0 #000000,
    -1px 1px 0 #000000,
    1px 1px 0 #000000;
    z-index: -1;
    font-weight:900;
    padding: 0px 20px;
} 
.card .back img{
    width: 70px; 
    height: 80px; 
    color: #ffffff;
    padding: 10px 0px;
    z-index:-1;
}
.card .back .link {
    position: absolute;
    height: 40px; 
    width: 100px;
    padding: 5px; 
    border-radius: 5px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    bottom: 10px;
    left: 50%; 
    transform: translateX(-50%);
    background: #252525;
    box-shadow: 0 5px 10px #000000;
    z-index:1;
}
.card .back .link:hover {
    background: #252525;
    box-shadow: 0 5px 10px #ffffff;
    height: 45px; 
    width: 110px;
    }

.card .back .link a {
    color: #ffffff;
    display: block;
    padding: 16px 42px;
    text-decoration: none;
    font-family: "Anton", Sans-serif;
    font-weight: 600;
    z-index:1;
}

.card:hover .front {
    transform: perspective(600px) rotateY(180deg);
    
}

.card:hover .back {
    transform: perspective(600px) rotateY(360deg);
    
}


@media (max-width: 768px) {
    
    .titulo {
        margin-top: 90px;
    }
    
    .descripcion {
        font-family: "Anton", Sans-serif;
        margin-bottom: 40px;
        font-size: 12px;
        font-weight: 600;
        color: #ffffff;
        text-align: center;
    
    }
    .textoserv{
        
        font-size: 15px;
        color: #ffffff;
        text-align:left;
    }
    .image-text-container {
        padding: 0px 50px;
    }
    
    .textoserv1{
        font-family: "Anton", Sans-serif;
        margin-top: 30px;
        margin-bottom: 40px;
        font-size: 20px;
        color: #ffffff;
        text-align:left;
    }
    .titlecard{
        font-family: "Anton", Sans-serif;
        margin-bottom: 10px;
        font-size: 20px;
        text-transform: uppercase;
        color:#ffffff;
        text-align: center;
        padding: 10px;
        text-align: center;
    }
    .card-container{
        display: flex;
        justify-content: center;
        flex-wrap:wrap;
        text-align: center;
    }
    .card {
        position: relative;
        width: 14rem;
        height: 15rem;
        margin:15px;
    }
    .card .face {
        position: absolute;
        width: 14rem;
        height: 16rem;
        backface-visibility: hidden;
        
        overflow: hidden;
        transition: .5s;
    }
    
    
    .card .front {
        transform: perspective(600px) rotateY(0deg);
        box-shadow: 0 5px 10px #000000;
    }
    
    .card .front img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    
    
    
    .card .back h3 {
        font-size: 15px;
        margin-top: 10px;
        margin-bottom: 10px;
        letter-spacing: 1px;
        color: #ffffff;
        font-family: "Anton", Sans-serif;
        text-shadow: 
        -1px 1px 0 #000000,
            1px 1px 0 #000000;
    }
    
    .card .back p {
        letter-spacing: 1px;
        font-size: 7px;
        margin-bottom:100px;
        color: #ffffff;
        font-family: "Anton", Sans-serif;
        text-shadow: 
        -1px 1px 0 #000000,
            1px 1px 0 #000000;
        
    } 
    .card .back img{
        width: 40px; 
        height: 50px;
        padding: 10px;
        color: #f3f3f3;
    }
    .card .back .link {
        position: absolute;
        height: 30px; 
        width:70px; 
        padding: 5px; 
        border-radius: 5px; 
        display: flex; 
        justify-content: center; 
        align-items: center; 
        bottom: 10px;
        left: 50%; 
        transform: translateX(-50%);
        background: #252525;
        box-shadow: 0 5px 10px #000000;
    }
    .card .back .link:hover {
        background: #ff000081;
        }
    
    .card .back .link a {
        color: #ffffff;
        display: block;
        padding: 10px 10px;
        text-decoration: none;
        font-family: "Anton", Sans-serif;
        font-weight: 600;
        font-size: 10px;
    
    } 
    .card:hover .front {
        transform: perspective(600px) rotateY(180deg);
    }
    
    .card:hover .back {
        transform: perspective(600px) rotateY(360deg);
    }
    .grupo {
        padding: 20px; 
    }
    .tituloxd{
    font-family: "Anton", Sans-serif;
    margin-bottom: 20px;
    font-size: 35px;
    text-transform: uppercase;
    color: #ffffff;
    text-align: left;
    align-items: left;
    text-shadow:    
    1px -1px 0 #000;
    }
    .grupo1text1{
        font-family: "Lato", Sans-serif;
        margin-bottom: 5px;
        font-size: 20px;
        color:#ffffff;
        align-items: left;
        text-align: left;
        padding: 0px 50px; 
        text-shadow: 
        -1px 1px 0 #000,
            1px 1px 0 #000;
    }
    .grupo1text2{
        font-family: "Anton", Sans-serif;
        margin-bottom: 5px;
        font-size: 25px;
        color:#ffffff;
        align-items: left;
        text-align: left;
        padding: 0px 50px; 
        text-shadow: 
        -1px 1px 0 #000,
            1px 1px 0 #000;
        
    }
    .image-text-container {
        flex-direction: column; 
        align-items: center;
        text-align: center;
    }

    .image-container {
        margin-top: 0;
        align-items: center;
    }
    .image-container img{
        width: 200px;
        height: 250px;
    }
    .textoserv-container {
        margin:0;
        align-items: center;
        text-align: center;
    }
}
