:root {
    --naranja: #ff6b00;
    --naranjaoscuro: #ff8c33; 
    --amarillo: #f8e71b;
    --azul: #00a4df;
    --blanco: #ffffff;
    --negro: #000000;
    --fuente: #404e67;
    --headerfondo: #0087d1;
    --bodyfondo: #f8fafd;
}

html,body{
    margin: 0px;
    padding: 0px;
    width: 100%;
    height: auto;
}
body{
    background-color: var(--bodyfondo);
    font-family: 'Quicksand', sans-serif;
}
.body-hidden{
    overflow: hidden !important;
}
h1,h2,h3,h4,h5,h6,p,li{
    position: relative;
    display: block;
    margin: 0px;
    padding: 0px;
    border: none;
    box-sizing: border-box;
    font-weight: normal;
    line-height: normal;
}
button{
    outline: none;
    outline-width: 0;
    font-family: 'Quicksand', sans-serif;
}
div{
    box-sizing: border-box;
    position: relative;
    width: 100%;
}
a{
    font-family: inherit;
}

.container{
    width: 1200px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 0px
}

#header{
    height: 120px;
    border-radius: 22px;
    border: #dce9f1 solid 5px;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
#fondo{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background-repeat: repeat;
    background-size: 200px 200px;
    background-image: url(header.svg);
    background-color: var(--headerfondo);
    animation: animation-fondo 40s infinite linear;
}
@keyframes animation-fondo {
    0%{
        background-position: 0px 0px;
    }
    100%{
        background-position: -200px 200px;
    }
}
#alfa{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0);
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.1) 100%);
}
#title{
    width: 100%;
    font-size: 2rem;
    color: var(--amarillo);
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
}

#app{
    height: auto;
}

.subtitle{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin-bottom: 40px;
}
.subtitle > div{
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
    background-color: var(--naranja);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.15);

    animation: animation-float 3s ease-in-out infinite;
}
@keyframes animation-float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-4px);
    }
    75%{
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0px);
    }
}

.subtitle > div img{
    width: 25px;
    height: 25px;
}
.subtitle h2{
    width: auto;
    font-weight: 700;
    color: var(--azul);
    font-size: 1.5rem;
    flex: 1;
}

.slider-container{
    height: auto;
    margin: 0px;
    margin-bottom: 40px;
}

.slider-wrap{
    height: 430px;
    overflow-y: hidden;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none;     /* IE 10 and older */
    user-select: none;
}
.slider-wrap::-webkit-scrollbar {
    display: none;
}
.slider-wrapper{
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    padding: 25px;
}

.slider-item{
    width: 300px;
    height: 100%;
    border-radius: 20px;
    transition: box-shadow 0.5s;
}
.slider-item:hover{
    box-shadow: 0px 7px 20px -5px rgba(0,0,0,0.3);
}

.slider-item-off{
    visibility: hidden;
}
.slider-item-on{
    animation: animation-slider-on 0.75s 1 forwards;
}
@keyframes animation-slider-on{
    0%{
        opacity: 0;
        transform: scale(0.8) translateY(10%);
        animation-timing-function: ease-in;
    }
    70%{
        opacity: 1;
        transform: scale(0.9) translateY(-10%);
        animation-timing-function: ease-out;
    }
    100%{
        opacity: 1;
        transform: scale(1) translateY(0%);
    }
}

.slider-item-img{
    background-repeat: no-repeat;
    background-image: url(loader.gif);
    background-size: 40px 40px;
    background-position: center;
    height: 150px;
    border-radius: 20px 20px 0px 0px;
    overflow: hidden;
}
.slider-item-img div{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
    transition: transform 0.5s;
}
.slider-item:hover .slider-item-img img{
    transform: scale(1.2) rotate(-2deg);
}
.slider-item-content{
    height: 230px;
    border-radius: 0px 0px 20px 20px;
    overflow: hidden;
    background-color: var(--blanco);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slider-item-content h4{
    font-size: 1.4rem;
    color: var(--azul);
    font-weight: 700;
    margin-bottom: 15px;
}
.slider-item-content p{
    font-size: 1rem;
    color: var(--fuente);
}
.slider-item-content a{
    position: relative;
    display: block;
    text-decoration: none !important;
    transition: transform 0.5s;
    margin-top: auto;
}
.slider-item-content button{
    position: relative;
    width: 100%;
    height: 45px;
    border-radius: 25px;
    background: linear-gradient(135deg, var(--naranja), var(--naranjaoscuro));
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transform-origin: center bottom;

}
.slider-item-content button::after{
    position: absolute;
    content: "";
    width: 0%;
    height: 100%;
    filter: blur(5px);
    background-color: var(--blanco);
    top: 0%;
    left: 0%;
    opacity: 1;
}

.slider-item-content button img{
    width: 20px;
    height: 20px;
    margin-right: 7px;
}
.slider-item-content span{
    font-size: 1rem;
    color: var(--blanco);
    font-weight: 600;
}
.slider-item-content a:hover{
    transform: scale(1.05);
}
.slider-item-content button:hover::after{
    left: 100%;
    width: 50%;
    opacity: 0;
    transition: left 0.5s, opacity 0.5s, width 0.5s;
}

.slider-item-content a::before{
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    border-radius: 25px;
    z-index: 0;
    background-color: rgba(245,228,225,1);
    animation: 
        animation-borde 2s infinite ease-in-out,
        animation-borde2 2s infinite ease-in-out;
}
@keyframes animation-borde{
    0%{
        width: 100%;
        left: 0px;
        top: 0px;
    }
    50%,100%{
        width: calc(100% + 10px);
        width: -moz-calc(100% + 10px);
        height: calc(100% + 10px);
        height: -moz-calc(100% + 10px);
        left: -5px;
        top: -5px;
    }
}
@keyframes animation-borde2{
    0%{
        opacity: 0;       
    }
    25%{
        opacity: 1;
    }
    50%,100%{
        opacity: 0;
    }
}

/***************MODAL***************/

#modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.75);
    top: 0px;
    left: 0px;

    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-off{
    opacity: 0;
    visibility: hidden;
    transition: visibility 1s, opacity 1s;
}
.modal-on{
    opacity: 1;
    visibility: visible;
    transition: visibility 0s, opacity 1s;
}

#modal-box{
    background-color: var(--blanco);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    
    transition: width 0.5s, height 0.5s;
}

.modal-initial{
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-size: 50px 50px;
    background-position: center;
    background-image: url(loader.gif);
}

#iframe_content{
    position: absolute;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    border-radius: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    border: none;
}

.modal-full1{
    width: 855px;
    height: 517px;
    background-image: none;
}
.modal-full2{
    width: 778px;
    height: 588px;
    background-image: none;
}
.iframe_content-full1{
    width: 845px;
    height: 507px;
}
.iframe_content-full2{
    width: 768px;
    height: 578px;
}

#modal-close-btn{
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;

    background-color: var(--azul);
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(x-icon.svg);
    border: var(--blanco) solid 3px;
    box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.3) inset;
    cursor: pointer;
    transform: translate(-50%,-50%);
}
.modal-close-btn-off{
    visibility: hidden;
    pointer-events: none;
}
.modal-close-btn-on{
    visibility: visible;
    transition: visibility 0s 0.5s;
}