@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #1c355e;
    --secondary: #0197F6;
    --neutral: #cad1ea;
    --highlight: #f65f00;
    --highlight2: #eff600;
    --dark: #000;
    --light: #fff;
  }

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
} 

body{
    margin: 0;
    color: var(--light);
    font-family: Poppins;
    font-size: 12px;
}
#container {

}
main {
    width: 100% !important;
}
.whatsapp {
    color: var(--light);
    z-index: 99999;
    font-size: 2.75em;
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: green;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
a.whatsapp {
    color: var(--light);
    z-index: 99999;
    font-size: 5.75em;
    position: fixed;
    bottom: .25em;
    left: .15em;
    background: green;
    border-radius: 50%;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 0 10px var(--dark);
}
a.whatsapp:hover  {
    color: green;
    background: var(--light);
    transition: all .5s;
}
a {
    text-decoration: none;
}
header {
    background: var(--primary);
    width: 100%;
    margin: auto;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 999;
    position: sticky;
    top: 0;
}
    header a {
        color: var(--light);
        margin-right: 2.125rem;
        font-weight: bold;
        letter-spacing: 4px;
        padding: 4px 10px 0 16px;
        border-radius: 4px;
    }
    header a:hover {
        color: var(--light);
        background: var(--secondary);
        transition: all 2s;
    }
    header a.activo {
        color: var(--light);
        background: var(--secondary);
    }
    header nav#desktop {
        display: flex;
    }
    header nav#desktop a.btnContacto {
        background: var(--primary);
        padding-top: 3px;
        cursor: pointer;
    }
    header nav#desktop a.btnContacto img {
        width: 1.75em;
        fill: var(--light);
        padding: 0 !important;
    }
    header nav#movil {
        display:none;
    }

.menu_movil{
    display:none;
}
.menu_movil2{
    display:none;
}

.logo {
    width: 80px;
    background: var(--light);
    padding: 0 8px;
    margin: 2.25rem 0 0 1rem;
    border-radius: 4px;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.681);
    z-index: 9;
}
    .logo img {
        width: 100%;
        height: 100%;
    }

footer {
    background: var(--primary);
    display: flex;
    justify-content: space-between;
    padding: 12px 12px 12px 80px;
}
    footer a {
        color: var(--neutral);
        text-decoration: none;
    }
    footer .col1 {
        text-align: left;
    }
    footer .col2 {
        text-align: center;
    }
    footer .col3 {
        text-align: right;
        font-size: 24px;
    }
/* carousel */
.carousel {
    height: 100vh;
    margin-top: -50px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
    .carousel .list .item{
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0 0 0 0;
    }
    .carousel .list .item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .carousel .list .item .content{
        position: absolute;
        top: 20%;
        width: 1140px;
        max-width: 80%;
        left: 50%;
        transform: translateX(-50%);
        padding: 2.5% 20% 2.5% 5%;
        box-sizing: border-box;
        color: var(--light);
        text-shadow: 0 5px 10px #0004;
        /* From https://css.glass */
        background: rgb(28 53 94 / 60%);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3)
    }
    .carousel .list .item .author{
        /*
        font-weight: bold;
        letter-spacing: 10px;
        color: var(--secondary);
        background: rgba(0, 0, 0, 0.2);
        */
        font-weight: bold;
        letter-spacing: 10px;
        color: #ededed;
        background: rgb(28 53 94 / 70%);
        background: var(--primary);
        background: linear-gradient(90deg, rgba(28,53,94,1) 57%, rgba(28,53,94,0) 100%);
        text-align: center;
        font-size: 1.5em;
        border-radius: 8px 8px 0 0;
    }
    .carousel .list .item .title,
    .carousel .list .item .topic{
        font-size: 3.85em;
        font-weight: bold;
        line-height: 1.125em;
        text-transform: uppercase;
    }
    .carousel .list .item .title{
        color: var(--highlight2);
        margin-top:.1125em;
    }
    .carousel .list .item .topic{
        display: none;
        color: var(--neutral);
    }
    .carousel .list .item .des{
        font-size: 1.65em;
        color: var(--light);
    }
    .carousel .list .item .buttons{
        display: grid;
        grid-template-columns: repeat(2, 130px);
        grid-template-rows: 40px;
        gap: 5px;
        margin-top: 20px;
    }
    .carousel .list .item .buttons button{
        border: none;
        background-color: var(--light);
        letter-spacing: 3px;
        font-family: Poppins;
        font-weight: 500;
    }
    .carousel .list .item .buttons button:nth-child(2){
        background-color: transparent;
        border: 1px solid var(--light);
        color: var(--light);
    }
/* thumbail */
.thumbnail{
    position: absolute;
    bottom: 50px;
    left: 50%;
    width: max-content;
    z-index: 100;
    display: flex;
    gap: 20px;
}
    .thumbnail .item{
        width: 150px;
        height: 200px;
        flex-shrink: 0;
        position: relative;
    }
    .thumbnail .item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
        border: solid 1px #0197f6;
        filter: sepia(100%) hue-rotate(170deg) brightness(85%) saturate(280%) blur(.5px);
    }
    .thumbnail .item .content{
        color: var(--light);
        position: absolute;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .thumbnail .item .content .title{
        font-weight: 700;
        color: var(--highlight2);
    }
    .thumbnail .item .content .description{
        font-weight: 300;
        display: none;
    }
/* arrows */
.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}
    .arrows button{
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /*background-color: #eee4; */
        background-color: var(--highlight);
        border: none;
        color: var(--light);
        font-family: monospace;
        font-weight: bold;
        transition: .5s;
        cursor: pointer;
    }
    .arrows button:hover{
        background-color: var(--light);
        color: var(--dark);
    }

/* animation */
.carousel .list .item:nth-child(1){
    z-index: 1;
}

/* animation text in first item */
.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
    to{
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}
.carousel .list .item:nth-child(1) .content .title{
    animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
    animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
    animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
    animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
    width: 150px;
    height: 220px;
    position: absolute;
    bottom: 50px;
    left: 50%;
    border-radius: 30px;
    animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
    to{
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-last-child(1){
    overflow: hidden;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
    z-index: 100;
}
@keyframes showThumbnail{
    from{
        width: 0;
        opacity: 0;
    }
}
.carousel.next .thumbnail{
    animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
    from{
        transform: translateX(150px);
    }
}

/* running time */
.carousel .time{
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: var(--primary);
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time{
    animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
    from{ width: 100%}
    to{width: 0}
}

/* prev click */
.carousel.prev .list .item:nth-child(2){
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
    animation: outFrame 0.5s linear 1 forwards;
    position: absolute;
    bottom: 0;
    left: 0;
}
@keyframes outFrame{
    to{
        width: 150px;
        height: 200px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}

.carousel.prev .thumbnail .item:nth-child(1){
    overflow: hidden;
    opacity: 0;
    animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
    pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
    animation: contentOut 1.5s linear 1 forwards!important;
}

@keyframes contentOut{
    to{
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}

.form {
    background: var(--neutral);
    z-index: 999;
    width: 100vw;
    min-height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    padding: 4vh 10%;
    display: none;
}
    .form a {
        font-weight: bold;
        color: var(--secondary);
        text-decoration: underline;
    }
    .form label {
        color: var(--primary);
        display: block;
    }
    .form input, .form select, .form textarea  {
        width: 100%;
        color: var(--dark);
        padding: .275em .375em;
        background: var(--light);
        border: 1px solid var(--primary);
        border-radius: 3px;
        margin-bottom: .75em;
        font-family: Poppins;
    }
    .form input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        display: flex;
        flex-wrap: wrap;
        align-content: center;
        justify-content: center;
        border: 1px solid var(--primary);
        border-radius: 3px;
        width: 27px;
    }
    .form input[type="checkbox"]::before {
        content: "";
        width: 1rem;
        height: 1rem;
        clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
        transform: scale(0);
        background-color: var(--secondary);
    }
    .form input[type="checkbox"]:checked::before {
        transform: scale(1);
    }
    .form input[type="checkbox"]:hover {
        color: black;
    }
    .form button {
        background-color: var(--primary);
        color: var(--light);
        cursor: pointer;
        border-radius: 6px;
        width: fit-content;
        padding: .25em 1em;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 1.15em;
        letter-spacing: 2px;
        border-radius: 3px;
        font-family: Poppins;
    }
    .form button:hover {
        background-color: var(--secondary);
        color: var(--light);
    }
    .form .checkbox_aviso {
        display: flex;
        align-items: center;
        margin-top: -.5em;
        color: var(--dark);
    }
    .form .enviar {
        display: flex;
        justify-content: end;
    }
.cerrar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
    a.cerrar {
        color: var(--primary);
        font-weight: bold;
        text-decoration: none;
        cursor: pointer;
    }
    .cerrar img {
        width: 30px;
        margin-left: 10px;
        margin-right: -20px;
    }  
@media screen and (max-width: 678px) {
	.menu_movil2{
    display:block;
		margin:auto;
		width:100%;
		clear:both;}
    .carousel .list .item .content{
        padding-right: 0;
    }
    .carousel .list .item .content .title{
        font-size: 30px;
    }
}

/* carousel2 */
.carousel2, .carousel3 {
    height: 100vh;
    margin-top: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    /* display: flex;
    align-items: center;
    justify-content: center; */
}
    .carousel2 {
        background: var(--primary);
    }
    .carousel3 {
        background: var(--secondary);    
    }


.swiper {
    /*
    width: 600px;
    height: 300px;
    */
}
    .swiper-button-next, .swiper-button-prev {
        color: var(--highlight);
        /*
        background: var(--highlight);
        width: 60px;
        height: 60px;
        border-radius: 50%; 
        */
    }
    .swiper-pagination-bullet-active {
        background: var(--secondary);
    }
    .swiper-slide {
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding-right: 10%;
    }
    .swiper-slide2 {
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding-left: 10%;
    }

.item2 {
    width: 50%;
    padding: 1.5em;
    font-size: 1.4em;
    color: var(--light);

    /* From https://css.glass */
    background: rgb(28 53 94 / 60%);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
    .item2 h3{
        font-size: 1.75em;
        font-weight: bold;
        line-height: 1.1em;
        text-transform: uppercase;
        color: var(--highlight2);
        /*  text-shadow: 1px 1px 1px var(--light);  */
        margin: 0;
        padding-bottom: .25em;
        border-bottom: 1px solid var(--secondary);
    }


/*
https://www.lundevweb.com/2023/11/design-effect-magic-slider-using-html.html 
https://github.com/HoanghoDev/slider_1
*/

/*
https://swiperjs.com/
https://swiperjs.com/demos
*/

/*mediaquerie tablet */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .thumbnail{
        display: none;
    }
	.menu_movil2{
    display:block;
		margin:auto;
		width:100%;
		clear:both;}
}

/*mediaquerie mobile */
@media screen and (max-width: 480px) {
	.menu_movil2{
    display:block;
		margin:auto;
		width:100%;
		clear:both;
}
    header nav#desktop {
        display: none;
    }
    header nav#movil {
        display: flex;
    }
    .menu_movil {
        display:none;
    }
        .menu_movil.is-active {
            display:flex;
            flex-direction: column;
            position: absolute;
            top: 49px;
            background: #1c355e;
            width: 100%;
            padding: 50px;
            z-index: 1;
            height: calc(100vh - 49px);
        }
        .menu_movil.is-active a {
            border-radius: 0;
            border-bottom: 1px solid white;
            padding: 2em 12px;
            font-size: 1.35em;
            margin-right: 0;
            letter-spacing: 4px;
        }
    .thumbnail .item{
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        position: relative;
    }
    .item2 {
        width: 89%;        
    }
    .item2 h3 {
        font-size: 1.35em;
    }
    footer {
        justify-content: space-between;
        flex-direction: column;
    }

    footer .col1, footer .col2, footer .col3 {
        text-align: left;
        padding-bottom: 8px;
        border-bottom: 1px solid var(--secondary);
        margin-bottom: 4px;
    }
}


/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */
 
 .hamburger {
    padding: 8px 8px;
    display: inline-block;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible; }
    .hamburger:hover {
      opacity: 0.7; }
    .hamburger.is-active:hover {
      opacity: 0.7; }
    .hamburger.is-active .hamburger-inner,
    .hamburger.is-active .hamburger-inner::before,
    .hamburger.is-active .hamburger-inner::after {
      background-color: white; }
  
  .hamburger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative; }
  
  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -2px; }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
      width: 40px;
      height: 4px;
      background-color: white;
      border-radius: 4px;
      position: absolute;
      transition-property: transform;
      transition-duration: 0.15s;
      transition-timing-function: ease; }
    .hamburger-inner::before, .hamburger-inner::after {
      content: "";
      display: block; }
    .hamburger-inner::before {
      top: -10px; }
    .hamburger-inner::after {
      bottom: -10px; }
  
  
  /*
     * Squeeze
     */
  .hamburger--squeeze .hamburger-inner {
    transition-duration: 0.075s;
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); }
    .hamburger--squeeze .hamburger-inner::before {
      transition: top 0.075s 0.12s ease, opacity 0.075s ease; }
    .hamburger--squeeze .hamburger-inner::after {
      transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); }
  
  .hamburger--squeeze.is-active .hamburger-inner {
    transform: rotate(45deg);
    transition-delay: 0.12s;
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); }
    .hamburger--squeeze.is-active .hamburger-inner::before {
      top: 0;
      opacity: 0;
      transition: top 0.075s ease, opacity 0.075s 0.12s ease; }
    .hamburger--squeeze.is-active .hamburger-inner::after {
      bottom: 0;
      transform: rotate(-90deg);
      transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); }