*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
p {
    text-align: justify;
    font-size: 150%;
}

ul{
    list-style: none;
}

h1 {
    text-align: center;
    font-size: 250%;
}

.titulo h2 {
    text-align: center;
    font-size: 110%;
}

.trayectoria_texto h2, .servicio-texto h2, .trabajos-realizados h2 {
    text-align: center;
    font-size: 250%;
}

.logoYNombre {
    display: flex;
    min-width: 400px;
    align-items: center;
    margin-left: 50px;
}

.nav-main div.titulo {
    font-size: 19px;
    color: #e4e2e2;
    align-items: left; 
}

.nav-main div.titulo h1 {
    font-size: 19px;
    color: #e4e2e2;
    margin-right: 10px;
    align-items: center;
}

.btns-navbar {
    display: flex;
}

.menu-btn {
    border: 10 px solid black;
    cursor: pointer;
    position: absolute;
    top: 5px;
    left: 1%;
    z-index: 2;
    display: none;
    color: white;
}

.nav-main {
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    font-size: 17px;
    height: 60px;
    justify-content: space-between;
    background: linear-gradient(45deg, #d6544b, #8b0101);
    padding: 20px 0;
    text-align: center;
    margin-left: 0;
    position: fixed;
    z-index: 1;
    
}

.nav-main ul {
    display: flex;
}

.nav-main ul li{
    margin-top: 15px;
    padding: 10px;
}

.nav-main ul li a {
    position: relative;
    display: inline-block;
    font-size: 1em;
    font-weight: 500;
    color: #fff;
    text-decoration: none;
    padding: 0 23px;
    z-index: 1;
}

.nav-span {
    position: absolute;
    top: 0;
    left: 50;
    width: 110px;
    height: 60px;
    background: linear-gradient(45deg, rgb(104, 42, 42), rgb(99, 22, 22));
    border-radius: 8%;
}

.nav-menu {
    margin-bottom: 10px;
}

/* INICIO */
    #inicio {
        background-image: url('Fondo__servicios.avif'); /* Ruta de tu imagen de fondo */  
        background-size: cover;
        background-position: center;
        border: 1px solid black;
        display: flex;
        text-align: center;
        height: 100%;
        flex-wrap: wrap;
        margin-top: 60px;
        min-width: 500px;
        overflow: hidden;
        width: 100%;
        padding-top: 2%;
        padding-left: 4%;
        padding-right: 3%;
        padding-bottom: 2%;
    }

    .check {
        flex: 1;
        min-width: 616px;
        margin-left: 1%;
        margin-right: 1%;
    }

.contenedor-padre-btns-contacto {
    width: 100%;
    display: flex;
    text-align: center;
    align-content: center;
    justify-content: center;
}

.titulo-btns {
    margin-left: 33px;
    margin-right: 33px;
}

.btns-contacto {
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 15px;
    padding: 10px 20px;
    white-space: nowrap;
    border-radius: 35px;
    justify-content: center;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: white;
}

.texto-dentro-btn {
    display: flex;
    align-items: center;
}

#btn-whats {
    background-color: #23D848;
}


#btn-llamar {
    background-color: #546dd6;
}

#btn-correo {
    background-color: #cf2323;
}

.lista-servicios {
    display: flex;
    text-align: justify;
    align-items: center;
}

    /* carrusel */
    .carousel {
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
        margin: auto;
        position: relative;
        box-shadow: 10px solid black;
    }
    
    .carousel-slide {
        display: none;
        width: 100%;
    }
    
    .carousel-slide img {
        object-fit: contain;
        object-position: center;

    }
    
    .carousel-slide.active {
        display: block;
    }
    
    .prev,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        padding: 10px 20px;
        background-color: #333;
        color: white;
        border: none;
        cursor: pointer;
        opacity: 0.7;
        border-radius: 50%;
    }
    
    .prev {
        left: 0px;
    }
    
    .next {
        right: 0px;
    }

/*Experiencia*/
#experiencia {
    background-color: #ffd4d4;
    width: 100%;
    overflow: hidden;
    display: flex;
    padding-top: 2%;
    padding-left: 3%;
    padding-right: 5%;
    padding-bottom: 2%;
    min-width: 500px;
    flex-wrap: wrap;
    text-align: center;
    flex: 1;
    flex-direction: row;
    align-items: center;
    border-bottom: 1px solid black;
}

.trayectoria_texto {
    margin-left: 1%;
    flex: 1;
    min-width: 300px;
}


.imagen {
    min-width: 40%; 
    min-height: 300px; 
    max-width: 700px; 
    width: 65%;
    height: 100%;
    text-align: center; 
    margin-right: 1%; 
    margin-left: 1%;
    align-items: center;
}

.lista-servicios video {
    width: 70px; 
    height: 53px;
}

/**Servicios*/
#servicios {
    background-color: #ffe6e6;
    width: 100%;
    min-width: 500px;
    padding-top: 2%;
    padding-left: 5%;
    padding-right: 4%;
    padding-bottom: 2%;
}

.trabajos-realizados {
    text-align: center;
    text-justify: justify;
}

.galeria video {
    padding: 15px;
    background-color: rgba(255, 63, 63, 0.158);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 40%;
}

#servicios img {
    margin-bottom: 1%;
    padding: 15px;
    width: 40%;
    background-color: rgba(255, 63, 63, 0.158);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}
.metodoPago {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2%;
    text-align: center;
}

.efectivo p, .transferencia p{
    text-align: center;
}


/*Pie de pagina*/
#contacto {
    border-top: 1px solid black;
    background: linear-gradient(45deg, rgb(104, 42, 42), rgb(99, 22, 22));
    color: white;
    width: 100%;
    min-width: 500px;
    padding-bottom: 15px;
    text-align: center;
}

#pata{
    padding-top: 15px;
    display: flex;
    padding-bottom: 15px;
    align-items: center;
    justify-content: center;
}

.horario-pata {
    align-items: center;
    justify-content: center;
    display: flex;
}

.texto-pata {
    padding-right: 15px;
    width: 40%;
}

.texto-pata a {
    color: #a2b5ff;

}

.aplicarTransicion {
    transition: transform 0.5s ease-in-out;
}

.nav-main a:hover {
    color: rgba(245, 245, 245, 0.685);
}

@media (max-width: 1007px) {
    .menu-btn { 
        display: block;
    }

    .nav-main div.titulo h1 {
        font-size: 19px;
        color: #e4e2e2;
        margin-right: 10px;
        align-items: center;
    }

    .nav-main ul.nav-menu {
        background-color: rgb(82, 31, 31);
        display: block;
        left: 0;
        height: 4000%;
        padding: 30px;
        position: absolute;
        top: 0;
        transform: translateX(-400px);
    }

    .nav-span{
        display: none;
    }
    
    .nav-main ul.nav-menu.show {
        transform: translateX(-10px);
    }
    
    .nav-main ul.nav-menu li {
        font-size: 20px;
        padding: 12px;
    }
    
    .nav-main ul.nav-menu li.show {
        font-size: 20px;
        padding: 12px;
        background: linear-gradient(45deg, #4b1818, rgb(138, 35, 35));
    }
    
    .nav-main ul.nav-menu li.inicio {
        font-size: 20px;
        padding: 12px;
        margin-top: 20px;
    }
    

    .trayectoria_texto {
        order: 1;
    }

    .imagen {
        order: 2;
        width: 100%;
        min-height: 60px;
    }

    #experiencia {
        justify-content: center;
        align-items: center;
    }
}


@media screen and (max-width: 768px) {
    .check {
        min-width: 399px;
    }

    .horario-pata {
        display: block;
    }
}

@media (min-width: 1900px) {
    p {
      font-size: 300%;
    }
    
    h1 {
        font-size: 400%;
    }

    button {
        font-size: 200%;
    }
  }
