/*
.color1 {color: #00000e;}
.color2 {color: #202b4b;}
.color3 {color: #515993;}
.color4 {color: #918ee6;}
.color5 {color: #e1c9ff;}
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

body {
    /* border: 3px solid orange; */
    font-family: 'Kodchasan', sans-serif;
    font-weight: 400;
    font-size: 62%;
    line-height: 1.2;
    color: #00000e;
    margin: 1%;
}

h1 {
    font-size: 3.5em;
}

h2 {
    font-size: 2.7em;
}

h3 {
    font-size: 2em;
}

p,
li {
    font-family: 'Kodchasan', sans-serif;
    font-size: 1.25em;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1400px;
    margin: auto;
}

.container-header {
    display: flex;
    flex-direction: column;
    height: 13%;
    font-weight: 400;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: linear-gradient(to right bottom,
            rgb(202, 183, 213),
            rgba(35, 30, 78, 0.625));
    position: relative;
    backface-visibility: hidden;
}

header .logo {
    margin: 0;
    padding: 25px 30px;
    font-weight: bold;
    color: #fff;
    font-size: 1.6em;
}

.container-header .logo {
    font-size: 2.25em;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2em;
}

header nav {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 25px;
}

/* .logo-img {
    position: absolute;
    left: 20px;
    height: 100px;
    width: 100px;
    z-index: 3;
    display: inline-block;
    vertical-align: middle;
}
 */
.toggle-menu {
    position: absolute;
    top: 0.5rem;
    right: 1.5rem;
    cursor: pointer;
    filter: invert(1);
    width: 40px;
}

.main-menu {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    font-weight: 200;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
    transform: translateY(-200%);
    z-index: 1;
}

.main-menu__item {
    padding: 0.5em;
}

.main-menu--show {
    transform: translateY(0);
}

.main-menu__link {
    color: #fff;
}

.main-menu__link:hover {
    color: #00000e;
}


@media screen and (min-width:768px) {
    .main-menu {
        flex-direction: row;
        transform: translateY(0);
    }

    .toggle-menu {
        display: none;
    }

    .fun-facts{
        flex-wrap: wrap;
        background-color: #fff;
        text-align: center;
    }
}

/* Sección banner descubre +*/

#home-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 80vh;
    color: #fff;
    background-image: linear-gradient(to right bottom,
            rgba(202, 183, 213, 0.541),
            rgba(35, 30, 78, 0.329)),
        url(Img/castillo.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

#home-banner h3 {
    font-weight: normal;
    font-weight: 1.5em;
    padding-bottom: 1em;
    animation: moveInLeft 0.5s ease-out .75s;
    animation-fill-mode: backwards;
}

/* Botones */
button {
    font-size: 1.5em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 10px;
    border: 2px solid rgba(145, 142, 230, 0.575);
    box-shadow: 2px 2px 10px rgba(145, 142, 230, 0.575);
    color: #515993;
    background-color: #fff;
}

button:hover {
    background-color: #918ee677;
}

.btn-heading-home {
    display: block;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.btn:link,
.btn:visited {
    /*Pseudo clase*/
    background-color: #fff;
    color: #00000e;
    padding: 15px 40px;
    display: inline-block;
    border-radius: 100px;
    transition: all 0.2s;
    position: relative;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn:active {
    transform: translateY(3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.btn::after {
    /*Pseudo elemento es un hijo de btn*/
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all .4s;
}

.btn-heading-home::after {
    background-color: #fff;
}

.btn:hover::after {
    /*Pseudo elemento posterior que se verá solo cuando el botón ha sido seleccionado*/
    transform: scaleX(1.2) scaleY(1.2);
    opacity: 0;
}

.btn-animated {
    animation: moveInBottom 0.5s ease-out .75s;
    animation-fill-mode: backwards;
}

.btnShow-js {
    /*Botón para mostrar información complementaria*/
    display: inline-block;
    font-family: 'Kodchasan', sans-serif;
    color: #00000e;
    background-color: linear-gradient(to right bottom,
            #cab7d5,
            rgb(35, 30, 78));
    border: none;
    font-size: 14px;
    font-weight: 100;
    letter-spacing: 1px;
    border-radius: 100px;
    transition: all .2s;
    text-align: center;
    width: 70px;
    padding: 5px;
}

.btnOrderAz, .btnOrderZa {
    display: inline-block;
    font-family: 'Kodchasan', sans-serif;
    color: #00000e;
    background-color: linear-gradient(to right bottom,
            #cab7d5,
            rgb(35, 30, 78));
    border: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 80px;
    transition: all .2s;
    text-align: center;
    width: 160px;
    padding: 14px;
}

/* Fin botones */

/* Inicio datos curiosos*/
.fun-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.containerFunFacts {
    justify-content: center;
    margin-top: 2em;
    margin-bottom: 2em;
    margin-left: 0.4em;
}

.titleFunFacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: rgb(81, 89, 147);
    margin-top: 2em;
    margin-bottom: 2em;
}

.containerFunFacts {
    width: fit-content;
    height: 100%;
}

.containerFunFacts figure {
    flex-direction: row;
    position: relative;
    height: 250px;
    width: 400px;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.50);
    cursor: pointer;
}

.containerFunFacts figure img {
    width: 100%;
    height: 100%;
    transition: all 500ms ease-out;
}

.containerFunFacts figure .capa {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(145, 142, 230, 0.76);
    opacity: 0;
    visibility: hidden;
    text-align: center;
}

.containerFunFacts figure:hover>.capa {
    opacity: 1;
    visibility: visible;
}

.containerFunFacts figure:hover>.capa h3 {
    margin-top: 70px;
    margin-bottom: 15px;
}

.containerFunFacts figure .capa h3 {
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    margin-bottom: 120px;
    transition: all 500ms ease-out;
    margin-top: 30px;
}

.containerFunFacts figure .capa p {
    color: #fff;
    font-weight: 300;
    font-size: 12px;
    line-height: 1.5;
    width: 100%;
    max-width: 220px;
    margin: auto;
}

/* Fin datos curiosos*/

/* Inicio tarjetas de visualización*/
.showCharacters {
    /*Sección de HTML para mostrar + información de personaje*/
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    color: #cab7d5;
    z-index: 200;
}

#informationCharacters {
    display: flex;
    width: 100%;
    max-width: 90%;
    height: 80%;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.information {
    /*Div de JS para mostrar complementaria*/
    background-color: #cab7d5;
    color: #fff;
    width: 50%;
    font-weight: 300;
    font-size: 18px;
    margin: auto;
    padding: 1em;
    border-radius: 15px;
    transition: all 6s;
    justify-content: center;
    align-items: center;
}

.titleShowCharacters, .titleOrderCharacters{
    display: flex;
    flex-direction: column;
    margin-top: 4em;
    text-align: center;
    color: #515993;
    padding-bottom: 2em;
}

.divShow-js {
    font-size: 14px;
    justify-content: center;
    text-align: center;
    align-items: center;
}

.imgShow-js {
    /*Div de JS para mostrar img hp*/
    height: 12em;
    width: 12em;
    justify-content: center;
    align-items: center;
}

.nameShow-js {
    /*H3 nombre de los personajes*/
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    color: #202b4b;
}

#showOrderCharacters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cardOrder-js {
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #202b4b;
}

.options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.options p {
    font-weight: bold;
}

#averagePrint {
    font-family: 'Kodchasan', sans-serif;
    text-align: center;
    font-weight: bolder;
}

#filterHouseSelect {
    font-family: 'Kodchasan', sans-serif;

}
/* Fin tarjetas de visualización */

.footer-1 {
    display: flex;
    flex-direction: column;
    height: 18vh;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: #00000e;
    position: relative;
}

.footer-names {
    color: #fff;
    position: absolute;
    left: 40px;
    font-weight: 300;
    font-size: 1.6em;
}

.logo-footer {
    position: absolute;
    right: 40px;
}

.img-footer {
    height: 68px;
}

/*Animaciones para título aplicación web y botones*/
@keyframes moveInLeft {

    /*Secuencia de animación por punto de trayectoria*/
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }

    80% {
        transform: translateX(10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }

    80% {
        transform: translateX(-10px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}

@keyframes moveInBottom {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
    }
}