* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 5em;
}

h2 {
    font-size: 2.7em;
}

h3 {
    font-size: 2em;
}

p {
    font-size: 1.25em;
}

ul {
    list-style: none;
}

.color-acento {
    color: rgb(234, 132, 13);
}

.color-acento2 {
    color: rgb(26, 48, 85);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Garet", sans-serif;
    background-color: rgb(240, 240, 240);
}

button {
    display: inline-block;
    margin: 15px;
    padding: 15px 30px;
    text-align: center;
    font-size: 18px;
    letter-spacing: 1px;
    text-decoration: none;
    color: rgb(219, 123, 13);
    background: transparent;
    cursor: pointer;
    transition: ease-out 0.5s;
    border: 2px solid rgb(219, 123, 13);
    border-radius: 10px;
    box-shadow: inset 0 0 0 0 rgb(219, 123, 13);
}

button:hover {
    color: white;
    box-shadow: inset 0 -100px 0 0 rgb(219, 123, 13);
}

button:active {
    transform: scale(0.9);
}

.container {
    max-width: 1400px;
    margin: auto;
}

#map {
    height: 450px;
    width: 100%;

}

/* ---------- HEADER ---------- */

header {
    background-color: rgb(26, 48, 85);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2;
}

header .logo {
    margin: 0;
    padding: 25px 30px;
}

header img {
    width: 116.4px;
    height: 61.2px;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

header nav {
    flex-direction: row;
    padding-right: 20px;
    padding-top: 50px;
}

header a {
    color: rgb(241, 241, 241);
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;

}

header a:hover {
    color: rgb(234, 132, 13);
}



/* ---------- CARRUSEL ---------- */

#container-slider {
    position: relative;
    display: block;
    width: 100%;
}

#slider {
    position: relative;
    display: block;
    width: 100%;
    height: 100vh;
    min-height: 500px;
}

#slider li {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100%;
    height: 100%;
    display: block;
    -webkit-transition: opacity 1s;
    -moz-transition: opacity 1s;
    -ms-transition: opacity 1s;
    -o-transition: opacity 1s;
    transition: opacity 1s;
    z-index: -1;
    opacity: 0;
}

#container-slider .arrowPrev,
#container-slider .arrowNext {
    font-size: 30pt;
    color: rgba(204, 204, 204, 0.65);
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50px;
    z-index: 2;
}

#container-slider .arrowNext {
    left: initial;
    right: 50px !important;
}

.content_slider {
    padding: 15px 30px;
    color: #FFF;
    width: 100%;
    height: 100%;
}

.content_slider div {
    text-align: center;
}

.content_slider h2 {
    font-family: 'arial';
    font-size: 30pt;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.content_slider p {
    font-size: 15pt;
    font-family: 'arial';
    color: #FFF;
    margin-bottom: 20px;
}

#slider li .content_slider {
    background: rgba(0, 0, 0, 0.50);
    padding: 10px 125px;
}

.content_slider {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btnSlider {
    color: #FFF;
    font-size: 15pt;
    font-family: 'arial';
    letter-spacing: 1px;
    padding: 10px 50px;
    border: 1px solid #CCC;
    background: rgba(37, 40, 80, 0.55);
    border-radius: 31px;
    text-decoration: none;
    transition: .5s all;
}

.btnSlider:hover {
    background: #111;
    border: 1px solid #111;
}

.listslider {
    position: absolute;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: space-between;
    align-items: center;
    left: 50%;
    bottom: 5%;
    list-style: none;
    z-index: 2;
    transform: translateX(-50%);
}

.listslider li {
    border-radius: 50%;
    width: 10px;
    height: 10px;
    cursor: pointer;
    margin: 0 5px;
}

.listslider li a {
    background: #CCC;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: block;
}

.item-select-slid {
    background: #FFF !important;
}



/* ---------- BANNER CON FRASE PEDORRA ---------- 

#Banner{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 90vh;
    color: rgb(241, 241, 241);
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(../IMG/portadas-linked-Ok-copia.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

#Banner h1{
    color: rgb(241, 241, 241);
}



   ---------- NOSOTROS (INFO EMPRESA) ---------- */

#card-nosotros {
    margin-top: 90px;
    margin-bottom: 90px;
}

#card-nosotros .container {
    align-items: center;
    text-align: center;
    padding: 150px 12px;
}

#card-nosotros p {
    text-align: justify;
}

@media (max-width: 1600px) {
    #card-nosotros .container {
        margin-left: 150px;
        margin-right: 150px;
    }
}

/* ---------- NUESTROS SERVICIOS 1 ---------- */

#servicios {
    background-color: rgb(35, 35, 35);
    color: rgb(241, 241, 241);
    text-align: center;
}

#servicios .container {
    padding: 150px 0px;
}

#servicios p {
    text-align: justify;
}

#servicios h2 {
    margin-top: 0;
}

#servicios .programas {
    display: flex;
    justify-content: center;
}

#servicios .carta {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    padding: 50px;
    margin: 20px;
    border-radius: 10px;
}

.carta:first-child {
    background-image: linear-gradient(0deg,
            rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url(../IMG/portadas-linked-Ok-copia.jpg);
}

.carta:nth-child(2) {
    background-image: url(../IMG/mision_blur.png);

    width: 3000px;
    height: 400px;
    display: flex;
    justify-content: center;
    /* Centra horizontalmente los elementos dentro del contenedor */
    align-items: center;
}

.carta:nth-child(2) button {
    align-self: center;
}

@media (max-width: 1600px) {
    #servicios .programas {
        flex-direction: column;
        gap: 15px;
    }

    .carta:nth-child(2) {
        width: calc(95%);
        height: 300px;
        margin-right: 20px;
        margin-left: 20px;
    }
}


/* ---------- TARJETAS SERVICIOS ANIMADO ---------- */

#servicios3 {
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 500px;
    margin-bottom: 1000px;
}

.contenedor-card {
    display: flex;
    flex-direction: row;
    gap: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.card5 {
    width: 700px;
    height: 500px;
    perspective: 2000px;
    transition: 400ms;
}

.card-inner5 {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.999s;
}

.card5:hover .card-inner5 {
    transform: rotateY(180deg);
}

.card-front5 {
    background-image: linear-gradient(0deg,
            rgba(234, 132, 13, 0.5),
            rgba(234, 132, 13, 0.5)), url(../IMG/Galeria_Home/PHOTO-2023-12-12-17-07-26.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 24px;
    transform: rotateY(0deg);
}

.card-back5 {
    background-color: #ffb867;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: justify;
    border: 10px solid #ffb867;
    border-radius: 10px;
    transform: rotateY(180deg);
}

.card5:nth-child(2) .card-front5 {
    background-image: linear-gradient(0deg,
            rgba(28, 45, 87, 0.5),
            rgba(28, 45, 87, 0.5)), url(../IMG/Galeria_Home/IMG_5453.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.card5:nth-child(2) .card-back5 {
    background-color: #457b9d;
    border: 10px solid #457b9d;
}

.card-front5,
.card-back5 {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.card-front5 p {
    max-width: 80%;
    /* Ajusta según sea necesario */
    margin: 0 auto;
    /* Centra horizontalmente el párrafo dentro de la tarjeta */
}

.card5:first-of-type .card-back5 button:first-of-type {
    color: #457b9d;
    border: 2px solid #457b9d;
    box-shadow: inset 0 0 0 0 #457b9d;
}

.card5:first-of-type .card-back5 button:first-of-type:hover {
    color: #fff;
    box-shadow: inset 0 -100px 0 0 #457b9d;
}

@media (max-width: 1450px) {
    .contenedor-card {
        flex-direction: column;
        gap: 15px;
    }

    #servicios3 {
        margin-bottom: 500px;
        padding-top: 250px;
        padding-bottom: 250px;
    }
}


/*
.contenedor-card .card5:hover {
    transform: scale(1.1, 1.1);
}

.contenedor-card:hover>.card5:not(:hover) {
    filter: blur(10px);
    transform: scale(0.9, 0.9);
}



/* ---------- GALERIA ---------- */

.galeria {
    background-color: rgb(35, 35, 35);
    color: rgb(241, 241, 241);
    text-align: center;
}

.gallery-container {
    width: 80%;
    margin: 100px auto;
    display: grid;
    grid-template-columns: repeat(3, 33.33%);
    grid-template-rows: repeat(2, 300px);
}

.gallery-container .gallery-card {
    overflow: hidden
}

;

.gallery-container .gallery-card a {
    width: 100%;
    height: 100%;
}

.gallery-container .gallery-card a>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-container .gallery-card a>img:hover {
    transform: scale(1.5) rotate(30deg);
}



/* ---------- PRODUCTOS ---------- */

.contenido {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    display: flex;
}

.mostrador {
    width: 100%;
    transition: .5s ease;
}

.mostrador .fila {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    margin-left: 50px;
}

.mostrador .fila .item {
    max-width: 210px;
    padding: 30px;
    height: 250px;
    /*border: 2px solid red;*/
    text-align: center;
    margin: 0 10px;
    cursor: pointer;
    border-radius: 5px;
    transition: .3s;
}

.mostrador .fila .item:hover {
    background-color: #e6e6e6;
}

.mostrador .fila .item img {
    width: 100%;
    margin: 30px 0;
}

.mostrador .fila .item .descripcion {
    color: #707070;
    font-weight: bold;
}

.mostrador .fila .item .precio {
    color: #ff5e00;
    font-weight: bold;
    font-size: 20px;
}

.seleccion {
    transition: .5s ease;
    opacity: 0;
    width: 0%;
    border: 1px solid #ccc;
    position: relative;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    margin-left: 70px;
    display: none;
}

.seleccion select {
    margin-left: 100px;
}

.cerrar {
    position: absolute;
    right: 0;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.info {
    padding: 20px;
}

.info img {
    display: block;
    margin: 30px auto;
    width: 80%;
}

.info h2 {
    color: #707070;
    margin-bottom: 10px;
}

.info p {
    font-size: 14px;
    color: #707070;
    margin-bottom: 10px;
}

.info .precio {
    font-size: 30px;
    font-weight: bold;
    color: #f98d00;
    margin-bottom: 10px;
    display: block;
}

.info .fila {
    display: flex;
    align-items: flex-end;
}

.info .fila label {
    display: block;
    margin-bottom: 10px;
}

.info .fila select {
    width: 100px;
    font-size: 18px;
    padding: 6px;
    margin-right: 30px;
}

.info .fila button {
    height: 40px;
    border: none;
    padding: 0 10px;
    color: #fff;
    background-color: #071674;
}



/* ---------- BOTON DE WHATSAPP ---------- */

.container-wsboton {
    background-color: #2e6329;
    border: 1px solid #fff;
    position: fixed;
    z-index: 3;
    border-radius: 100%;
    bottom: 30px;
    right: 30px;
    padding: 25px;
    transition: ease 0.3s;
    animation: efecto 1.2s infinite;
}

.container-wsboton:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.wsboton {
    width: 65px;
    transition: ease 1s;
}

@keyframes efecto {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.85);
    }

    100% {
        box-shadow: 0 0 0 25px rgba(0, 0, 0, 0);
    }
}



/* ---------- FOOTER ---------- */

.pie-pagina {
    width: 100%;
    background-color: rgb(26, 48, 85);
}

.pie-pagina .grupo-1 {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 50px;
    padding: 45px 0px;
}

.pie-pagina .grupo-1 .box figure {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-pagina .grupo-1 .box figure img {
    width: 250px;
}

.pie-pagina .grupo-1 .box h2 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 20px;
}

.pie-pagina .grupo-1 .box p {
    color: #efefef;
    margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social a {
    display: inline-block;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    color: #fff;
    margin-right: 10px;
    background-color: 054164;
    text-align: center;
    transition: all 300ms ease;
}

.pie-pagina .grupo-1 .red-social a:hover {
    color: #f98d00;
}

.pie-pagina .grupo-2 {
    background-color: rgb(21, 39, 70);
    padding: 15px 10px;
    text-align: center;
    color: #fff;
}

.pie-pagina .grupo-2 small {
    font-size: 15px;
}


/* ---------- CONFIGURACIÓN MODO PANTALLA COMPLETA (MONITOR) ---------- */

@media (max-width: 768px) {



    /* ---------- HEADER ---------- */

    header {
        position: relative;
        transition: none;
        justify-content: flex-start;
        width: auto;
    }

    header .logo {
        transition: none;
        justify-content: flex-start;
        width: auto;
    }

    header .container {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        flex-direction: column;
        text-align: center;
        padding-bottom: 25px;
        padding-top: 5px;
    }



    /* ---------- CARRUSEL ---------- */

    .content_slider h2 {
        font-size: 15pt !important;
    }

    .content_slider p {
        font-size: 12pt !important;
    }

    #container-slider .arrowPrev,
    #container-slider .arrowNext {
        font-size: 20pt;
    }

    #container-slider .arrowPrev {
        left: 15px;
    }

    #container-slider .arrowNext {
        right: 15px !important;
    }

    #slider {
        height: 500px;
        min-height: 500px;
    }

    #slider li .content_slider {
        padding: 10px 35px;
    }

    .btnSlider {
        padding: 10px 30px;
        font-size: 10pt;
    }

    /* ---------- BANNER ---------- 

    #banner h1{
        font-size: 7em;
    }
    ---------- */

    /* ---------- NOSOTROS (INFO EMPRESA) ---------- */

    #card-nosotros {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    #card-nosotros .container {
        padding: 100px 50px;
        margin-left: 0;
        margin-right: 0;
    }

    #card-nosotros p {
        text-align: justify;
    }

    /*  ---------- NUESTROS SERVICIOS 1 ---------- */

    #servicios .programas {
        display: block;
        justify-content: center;
    }

    #servicios p {
        display: none;
    }

    #servivios .carta {
        padding: 15px;
    }


    .carta:nth-child(2) {
        width: 92%;
        height: 200px;
        padding: 50px;

    }

    

    /* ---------- SERVICIOS ANIMADOS ---------- */

    #servicios3 {
        margin-top: 400px;
        margin-bottom: 400px;
        padding-top: 300px;
        padding-bottom: 150px;
    }

    .card5 {
        width: 470px;
        height: 420px;
    }

    .card-back5 {
        font-size: 12px;
    }



    /* ---------- PRODUCTOS ---------- */



    /* ---------- BOTON DE WHATSAPP ---------- */

    .wsboton {
        width: 45px;
    }



    /* ---------- FOOTER ---------- */

    .pie-pagina .grupo-1 {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 30px;
        padding: 35px 0px;
    }
}