@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&family=Short+Stack&display=swap');

@font-face {
    font-family: CustomFontRegular;
    src: url(assets/font/SourceSansPro-Regular.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: CustomFontItalic;
    src: url(assets/font/SourceSansPro-Italic.ttf) format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: CustomFontBOld;
    src: url(assets/font/SourceSansPro-SemiBold.ttf) format("truetype");
    font-weight: bolder;
    font-style: bold;
}

* {

    font-family: "Short Stack", cursive;
    font-weight: 400;
    font-style: normal;


}


h2 {
    font-family: "Caveat Brush", cursive;
    font-weight: 400;
    font-style: normal;


}


/* strong {
    font-family: CustomFontBOld;
}

em {
    font-family: CustomFontItalic;
} */


a {
    word-break: break-all;
}


footer {
    position: sticky;
    bottom: 0;
    left: 0;
    background-color: white;
    padding: 0% 1% 1% 1%;
    z-index: 2;
}

footer.fix {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    background-color: white;
    padding: 0% 1% 1% 1%;
}

footer img {
    max-width: 250px;
}

body {
    background-color: white;
    min-height: 100vh;
}

.backWhite {
    background-color: white;
}

.backblue {
    background-color: #f2f6fc;
    box-shadow: #e9e9e9 0px -2px 5px 0px;
    padding: 15px;
}

.fRight {
    float: right;
}


.indent {
    text-indent: -20px;
    margin-left: 20px;
}

#particles-js {
    width: 98%;
    margin: auto;
    height: 46%;
    position: absolute;
}

/* Escenario */
.escenario {
    position: relative;
}

.escenario a {
    position: absolute;
    animation-delay: 1;
    animation-name: DefaultAnimation;
    animation-duration: 2s;
    animation-iteration-count: 1;
    transition: all 0.5s;
}

@keyframes DefaultAnimation {
    from {
        opacity: 0;
        filter: blur(5px);
        transform: scale(0);
    }
}

.escenario a:hover {
    transform: scale(0.95) rotate(15deg);
}

.escenario a img {
    width: 100%;
}


#btn-intro {
    width: 10%;
    left: 5%;
    top: 32%;
}

#btn-mod1 {
    width: 10%;
    left: 21%;
    top: 36%;
}

#btn-mod2 {
    width: 10%;
    left: 36%;
    top: 29%;
}

#btn-mod3 {
    width: 10%;
    left: 56%;
    top: 10%;
}

#btn-mod4 {
    width: 10%;
    left: 73%;
    top: 36%;
}

#btn-mod5 {
    width: 10%;
    left: 91%;
    top: 31%;
}

/* Fin escenario */

.caja {
    max-width: 800px;
    margin: auto;
}

.flex-inicio {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
}

.flex-inicio img {
    width: 250px;
}

.img-800 {
    width: 90%;
    max-width: 800px;
    margin: auto;
    display: block;
}

/* Bibliografía */
.buttonAzul {
    background-color: #00505b;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    border: unset;
    margin: auto;
    display: block;
    transition: all 0.5s;
}

.buttonAzul:hover,
.HomeButton:hover {
    transform: scale(1.2);
    background-color: #00505b;
    color: white;
}

.modal-title {
    color: #00505b;
}

.modal-footer button {
    background-color: #00505b;
}

.ref p {
    margin-left: 35.45pt;
    text-align: justify;
    text-indent: -35.45pt;
    line-height: 115%;
}


/* Navegación */

.HomeButton {
    position: fixed;
    top: 2%;
    right: 3%;
    width: 10%;
    z-index: 5;
    filter: hue-rotate(202deg) saturate(2.7) brightness(1.1);
    border-radius: 10px;
    transition: all 0.5s;
}

.HomeButton img {
    border-radius: 10px;
}

.nvgcn {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.nvgcn a {
    width: 90px;
    background: unset;
    border: unset;
    transition: all 0.5s;
    margin: 5px;
}

.anterior:hover {
    transform: translateX(-15px);
}

.siguiente:hover {
    transform: translateX(15px);
}

.nvgcn a img {
    width: 100%;
}


/* flex cards */
.flex-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.flex-cards .card {
    perspective: 800px;
    transition: all 0.5s ease;
    border: none;
    width: 229px;
}

.flex-cards .card:hover>div {
    transform: rotateY(180deg)
}

.flex-cards .card>div {
    animation: giro 1s 1;
    cursor: default;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s ease 0s;
    width: 100%
}

.flex-cards .card .back,
.flex-cards .card .front {
    backface-visibility: hidden;
    box-sizing: border-box;
    position: relative;
    width: 100%;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
}

.flex-cards .card .back {
    background-color: #ffffff;
    border: 2px solid #00c1c7;
    display: flex;
    align-items: center;
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0px 10px;
    transform: rotateY(180deg);
    width: 100%;
    text-align: center;
    overflow-y: overlay;
    overflow-x: hidden;
}

.flex-cards .card .back div {
    width: 100%;
    height: 80%;
    overflow-y: overlay;
}


.flex-cards .card .front img {
    width: 100%
}

@keyframes giro {
    from {
        transform: rotateY(180deg)
    }

    to {
        transform: rotateY(0deg)
    }
}

.back div p strong {
    color: #0E4F5A;
}

.cards2 .card .back {
    border: 2px solid #5ea201;
}

.cards2 .card {
    width: 250px;
    font-size: 1rem;
}

/* cajas */
.caja-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: stretch;
}

.caja-flex>div {
    background-color: #ffdc91;
    padding: 15px;
    border-radius: 30px;
    width: 300px;
    text-align: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    margin: 10px;
}

.caja-flex h2 {
    font-size: 1.2rem;
    color: #0E4F5A;
}

.alig {
    text-align: left;
}

/* Fin cajas */



@media (max-width: 575px) {
    .fRight {
        float: unset;
    }

    footer {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .SCenter img {
        margin: auto;
        display: block;
    }

    #particles-js {
        display: none;
    }

    .flex-inicio {
        flex-wrap: wrap !important;
    }

    footer.fix {
        position: sticky;
        bottom: 0;
        left: 0;
        background-color: white;
        padding: 0% 1% 1% 1%
    }
}


*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

*::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, .3);
    background-color: #e8631f;
}

.asw-widget .asw-menu-btn {
    left: 20px;
    top: 20px;
    background-color: #e8631f !important;
    outline: 4px solid #00505b !important;
}


/* Animación Nota */
.NotaAnimation {
    position: relative;
}

#R1 {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 20%;
}

#R2 {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 40%;
}

#R3 {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 60%;
}

#R4 {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 80%;
}

.containerSpecial {
    width: 30%;
    margin: auto;
    display: block;
}

.Rectangle {
    height: 15%;
    width: 0%;
    right: 10%;
    position: absolute;
    background-color: #fdffb8;
    /* background-color: red; */
}

#Rectangle1 {
    top: 20%;
    animation-name: LineaNota1;
    animation-duration: 8s;
    animation-iteration-count: infinite;


}

#Rectangle2 {
    top: 40%;
    animation-name: LineaNota2;
    animation-duration: 8s;
    animation-iteration-count: infinite;

}

#Rectangle3 {
    top: 60%;
    animation-name: LineaNota3;
    animation-duration: 8s;
    animation-iteration-count: infinite;

}

#Rectangle4 {
    top: 80%;
    animation-name: LineaNota4;
    animation-duration: 8s;
    animation-iteration-count: infinite;

}

#Lapiz {
    position: absolute;
    width: 50%;
    left: 10%;
    top: -15%;
    animation-name: Lapiz;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    z-index: 1;
}

@keyframes LineaNota1 {
    0% {
        width: 80%;

    }

    20% {
        width: 0%;
    }


}

@keyframes LineaNota2 {
    0% {
        width: 80%;

    }

    25% {
        width: 80%;

    }

    50% {
        width: 0%;
    }



}

@keyframes LineaNota3 {

    0% {
        width: 80%;

    }

    50% {
        width: 80%;

    }

    75% {
        width: 0%;
    }


}

@keyframes LineaNota4 {
    0% {
        width: 80%;

    }

    75% {
        width: 80%;

    }

    100% {
        width: 0%;
    }


}

@keyframes Lapiz {
    0% {
        left: 10%;
        top: -15%;

    }

    12.5% {
        left: 90%;
        top: -15%;

    }

    25% {
        left: 10%;
        top: 5%;

    }

    37.5% {
        left: 90%;
        top: 5%;

    }

    50% {
        left: 10%;
        top: 25%;

    }

    62.5% {
        left: 90%;
        top: 25%;

    }

    75% {
        left: 10%;
        top: 45%;

    }

    87.5% {
        left: 90%;
        top: 45%;

    }




}