/*
 Theme Name:   Twenty Twenty-Five Child
 Theme URI:    https://wordpress.org/themes/twentytwentyfive/
 Description:  Tema hijo para Twenty Twenty-Five.
 Author:       Yobany Vicentes
 Author URI:   yobany.top
 Template:     twentytwentyfive
 Version:      1.0
 Text Domain:  twentytwentyfive-child
*/
body {
    color: black;
    font-family: Arial;
}

.businesses-container {
    padding: 1px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.business-container {
    padding: 1px;
    min-width: 50px;
    border-color: black;
    border-width: 1px;
    border-style: solid;
}

.business-container img{
    width: 50px;
}

div a {
    color: #e2372e;
    font-size: 20px;
    font-weight: bold;
}

li a {
    color: #FFFFFF;
    font-size: 15px;
    text-decoration: none;
}

.row h5 {
    color: #e2372e;
    font-weight: bold;
}

.search-input {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

td img {
    width: 50px;
}

table a {
    color: #FF0000;
    font-size: 14px;
    font-weight: bold;
}

.logout-container {
    position: fixed;
    top: 10px; /* Distancia desde la parte superior */
    right: 10px; /* Distancia desde la derecha */
}

footer {
    align-self: flex-end;
    padding-bottom: 0px;
    margin-bottom: 0px;
    position: sticky;
    bottom: 0px;
}

.bg-red-solmaq {
    background-color: #e2372e;
    color: #FFFFFF;
    height: fit-content;
    padding: 5px;
    text-align: center;
}

.text-header-1 {
    margin-bottom: 0px;
}

@media screen and (min-width: 1025px) {
    .image-chat-whatsapp-desktop {
        position:fixed;
        width:60px;
        height:60px;
        bottom:30px;
        right:20px;
        background-color:#ffffff;
        color:#FFF;
        border-radius:50px;
        text-align:center;
        font-size:30px;
        z-index:100;
    }
    
    .image-chat-whatsapp-phone {
        display: none;
    }
}

@media screen and (max-width: 1025px) {
    .image-chat-whatsapp-desktop {
        display: none;
    }

    .image-chat-whatsapp-phone{
        position:fixed;
        width:60px;
        height:60px;
        bottom:35px;
        right:20px;
        background-color:#ffffff;
        color:#FFF;
        border-radius:50px;
        text-align:center;
        font-size:30px;
        z-index:100;
    }    
}

li a:hover {
    color: #e2372e;
}

.banner-demotruck {
    width: 80%;
}

.rojo {
    color: #e2372e;
}

/*slider*/

.banner {
    width: 100%;
    height: 50vh;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.banner .slider {
  position: absolute;
  width: 300px;
  height: 200px;
  top: 20%;
  left: 52%;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  animation: autoRune 40s linear infinite;
}

@keyframes autoRune {
  from {
    transform: perspective(1000px) translateX(-50%) rotateX(0deg) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) translateX(-50%) rotateX(0deg) rotateY(360deg);
  }
}


.banner .slider .item {
    position: absolute;
    inset: 0 0 0 0;
    transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
        translateZ(300px);
    background-color: white;
}

.banner .slider .item img, .banner .slider .item video {
    width: 100%;
    height: auto;
    object-fit: fill;
    border-radius: 10px;
    image-rendering: crisp-edges;
}

.banner .content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1400px, 100vw);
    height: max-content;
    padding-bottom: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.banner .content h1 {
    font-family: 'ICA Rubrik';
    font-size: 16em;
    line-height: 1em;
    color: #25283B;
    position: relative;
}

.banner .content h1::after {
    position: absolute;
    inset: 0 0 0 0;
    content: attr(data-content);
    z-index: 2;
    -webkit-text-stroke: 2px #d2d2d2;
    color: transparent;
}

.banner .content .author {
    font-family: Poppins;
    text-align: right;
    max-width: 200px;
}

.banner .content h2 {
    font-size: 3em;
}

.banner .content .model {
    background-image: url();
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    bottom: 0;
    background-size: auto 150%;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 1;
    opacity: 0.6;
}

/* Responsividad para pantallas medianas */
@media screen and (max-width: 1023px) {
    .banner .slider {
        width: 240px;
        height: 160px;
        left: 50%; /* <-- clave */
        transform: perspective(1000px) translateX(-50%) rotateX(0deg);
    }

    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(280px);
    }

    .banner .content h1 {
        text-align: center;
        width: 100%;
        text-shadow: 0 10px 20px #000;
        font-size: 7em;
    }

    .banner .content .author {
        color: #fff;
        padding: 20px;
        text-shadow: 0 10px 20px #000;
        z-index: 2;
        max-width: unset;
        width: 100%;
        text-align: center;
        padding: 0 30px;
    }
}

/* Responsividad para pantallas pequeñas */
@media screen and (max-width: 767px) {
    .banner {
        height: 25vh;
    }

    .banner .slider {
        margin-top: 10px;
        width: 200px;
        height: auto;
        top: 5%;
        left: 51%; /* <-- clave */
        transform: perspective(1000px) translateX(-50%) rotateX(15deg);
    }

    .banner .slider .item {
        transform: rotateY(calc((var(--position) - 1) * (360 / var(--quantity)) * 1deg))
            translateZ(180px);
    }

    .banner .content h1 {
        font-size: 5em;
    }
}

#wrapper-footer {
    padding: 0%;
}

.arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    color: #fff;
    border: none;
    font-size: 2em;
    cursor: pointer;
    z-index: 3;
    border-radius: 50%;
    margin: 0%;
    padding: 0%;
    background-color: transparent;
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

@media screen and (max-width: 767px) {
    .arrow {
        top: 40%; /* Ajustar la posición vertical según el diseño */
        transform: translateY(-40%); /* Centrar en el eje vertical */
    }

    .arrow.left {
        left: 5px; /* Reducir el margen izquierdo */
    }

    .arrow.right {
        right: 5px; /* Reducir el margen derecho */
    }
}