* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: 'roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
}



header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #091235;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .1);
    padding: 0px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

header .logo {
    font-weight: bolder;
    font-size: 25px;
    color: #88A9C3;
}

header .navbar ul {
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    font-size: 20px;
    padding: 20px;
    color: #88A9C3;
    display: block;
}

header .navbar ul li a:hover {
    background: #091235;
    color: #fff;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    width: 140px;
    background: #091235;
    display: none;
}


header .navbar ul li ul li {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .1);
}

header .navbar ul li ul li ul {
    left: 200px;
    top: 0;
}

header .navbar ul li:hover>ul {
    display: initial;
}

#menu-bar {
    display: none;
}

header label {
    font-size: 20px;
    color: #88A9C3;
    cursor: pointer;
    display: none;
}


@media(max-width:991px) {
    header {
        padding: 20px;
    }

    header label {
        display: initial;
    }

    header .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #091235;
        border-top: 1px solid rgba(0, 0, 0, .1);
        display: none;
    }

    header .navbar ul li {
        width: 100%;
    }

    header .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li {
        background: #091235;
    }

    header .navbar ul li ul li ul {
        width: 100%;
        left: 0;
    }

    #menu-bar:checked~.navbar {
        display: initial;
    }
}


#servicios-section {
    min-height: 740px;
    width: 100%;
    background: #14202E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

#servicios-section h2 {
    color: #88A9C3;
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
}

#servicios-section h2::after {
    position: absolute;
    content: "";
    top: 8px;
    left: -30px;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-left: 20px solid var(--primery-color);
}

#servicios-section h2::before {
    position: absolute;
    content: "";
    top: 8px;
    right: -30px;
    height: 0px;
    width: 0px;
    border-top: 20px solid transparent;
    border-right: 20px solid var(--primery-color);
}

#servicios-section #peragraph {
    width: 40%;
    font-size: 1rem;
    color: #fff;
    text-align: center;
    line-height: 1.5rem;
    white-space: 1px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    z-index: 9;
    margin-top: 20px;
    z-index: 9;
}

.cards .card {
    height: 340px;
    width: 410px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 8%;
    background: #88A9C3;
    position: relative;
    border-radius: 10px;
    margin: 0 10px;
}

.cards .card::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: 10px;
    background-color: #2B4257;
    /* transform: rotate(10deg); */
    transform: rotate(0deg);
    z-index: -1;
}

.cards .card:hover.card::before {
    transform: rotate(10deg);
}

.cards .card i {
    font-size: 2.5rem;
    color: #14202E;
    margin-bottom: 10px;
}

.cards .card h3 {
    font-size: 1.8rem;
    color: #14202E;
    margin-bottom: 10px;
}

.cards .card .content p {
    color: #14202E;
    font-size: 1.0rem;
}

.cards .card .content li {
    color: #14202E;
    font-size: 1.0rem;

}

@media(max-width:1100px) {
    #servicios-section h2 {
        margin-top: 80px;
    }

    .cards {
        grid-template-columns: repeat(1, 1fr);
    }

    #servicios-section #peragraph {
        width: 100px;
    }
}

@media(max-width:900px) {
    .cards .card {
        height: 350px;
        width: 400px;
        margin: 20px 0;
    }
}

body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #14202E;
}


section {
    display: grid;
    place-items: center;



}

h1 {
    color: #88A9C3;
    font-size: 3rem;
    padding: 20px;
    margin: 20px 0px;
    text-align: center;
}

h2 {
    color: #ffffff;
    font-size: 1rem;

    margin: 20px 20px;
    text-align: center ;
}


.slider {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 80%;
    overflow: hidden;
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.slider-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: scrolling 25s linear infinite;
}

@keyframes scrolling {
    0% {
        transform: translateX(85%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.slider-items img {
    width: 12%;
    margin: 20px;

}



footer {
    position: relative;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #88A9C3;
    background-color: #091235
}

.tarjetas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    min-height: 30vh;
    background-color: #14202E;
}

.carrusel-section {
    position: relative;
    width: 300px;
    height: 350px;
    margin: 20px;
}

.carrusel-section .face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

.carrusel-section .front {
    transform: perspective(600px) rotateY(0deg);
    box-shadow: 0 5px 10px #000;
}


.carrusel-section .front img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrusel-section .front h3 {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35px;
    line-height: 35px;
    color: #88A9C3;
    background: rgba(0, 0, 0, .4);
    text-align: center;
}

.carrusel-section .back {
    transform: perspective(600px) rotateY(180deg);
    background: #88A9C3;
    padding: 15px;
    color: #14202E;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 5px 10px #000;
}

.carrusel-section .back .link {
    border-top: solid 1px #091235;
    height: 50px;
    line-height: 50px;
}

.carrusel-section .back .link a {
    color: rgb(255, 255, 255);
    background: #091235;
    border-radius: 5px;
    padding: 10px;
   
      
}

.carrusel-section .back h3 {
    font-size: 30px;
    margin-top: 20px;
    letter-spacing: 2px;
}

.carrusel-section .back p {
    letter-spacing: 1px;
}

.carrusel-section:hover .front {
    transform: perspective(600px) rotateY(180deg);
}

.carrusel-section:hover .back {
    transform: perspective(600px) rotateY(360deg);
}