/* Fuentes importadas */

@import url('https://fonts.googleapis.com/css2?family=Cabin&display=swap');
@import url('https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap');

/* Propiedades generales */

* {
    margin: 0;
    font-family: 'Arial', sans-serif;
    text-decoration: none;
	scroll-behavior: smooth;
}

/* Cabecera de la página */

#main-header {
    /* Gradiente lineal */
    background: -moz-linear-gradient(left, #ffaad9, #f5cee5);
    background: -o-linear-gradient(left, #ffaad9, #f5cee5);
    background: -webkit-linear-gradient(left, #ffaad9, #f5cee5);
    background: linear-gradient(left, #ffaad9, #f5cee5);
    width: 100%;
}

.logo {
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    padding: 10px;
    transition: all 0.60s ease 0s;
}

nav.logo:hover {
    opacity: calc(0.4);
}

.logo img {
    width: 60px;
}

nav.logo h2 {
    color: rgb(255, 255, 255);
    margin-top: 12px;
    margin-right: 15px;
    font-family: 'League Spartan', sans-serif;
}

hr {
    color: rgb(255, 255, 255);
    border: 0.01px solid;
}

a#logo img {
    width: 55px;
    height: 55px;
}

hgroup {
    color: rgb(255, 255, 255);
    padding: 20px;
}

#main-header h1 {
    font-size: 2.5rem;
    padding-bottom: 10px;
    padding-top: 15px;
}

#main-header h2 {
    font-size: 1.5rem;
    padding-bottom: 15px;
}

/* Índice de los temas por lapsos */

#first-moment {
    margin-left: 40px;
    padding: 35px 15px;
}

#second-moment {
    margin-top: -10%;
    margin-left: 40px;
    padding: 35px 15px;
}

#third-moment {
    margin-top: -10%;
    margin-left: 40px;
    padding: 35px 15px;
}

div h1 {
    font-size: 135%;
}

.title-moment {
    margin-bottom: 15px;
}

.container {
    margin-left: 35%;
    margin-right: 32%;
    margin-bottom: 5%;
    margin-top: 5%;
    border: rgba(151, 151, 151, 40%) 3px solid;
    border-radius: 2%;
}

/* Estética y animación del texto del índice */

.index-section a {
    display: block;
    text-decoration: none;
    color: #1a1a1a;
    margin-bottom: 10px;
}

div#first-moment a {
    transition: all 0.45s ease 0s;
}

div#first-moment a:hover {
    color: #ffaad9;
}

div#second-moment a {
    transition: all 0.45s ease 0s;
}

div#second-moment a:hover {
    color: #f0c8d2;
}

div#third-moment a {
    transition: all 0.45s ease 0s;
}

div#third-moment a:hover {
    color: #f17979;
}

/* Estructura del cuerpo / Contenido de la página */

.first-moment-content p {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
}

.first-moment-content center {
    font-size: 1.5rem;
    color: #353434;
}

.first-moment-content li {
    margin-left: 20%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
    list-style: square;
}

.first-moment-content h2 {
    margin: 3% 0 2% 18%;
    line-height: 30px;
    color: #ff9cd2;
    font-size: 1.75rem;
}

.first-moment-content h3 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.25rem
}

.first-moment-content h4 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.1rem;
}

.first-moment-content img {
    margin-top: 2%;
    margin-left: 28%;
    width: 45%;
}

/* Títulos del primer lapso */

#usage {
    margin-top: 25px;
}

#xmas {
    margin-top: 25px;
}

/* Segundo lapso */

.second-moment-content p {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
}

.second-moment-content center {
    font-size: 1.5rem;
    color: #353434;
}

.second-moment-content li {
    margin-left: 20%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
    list-style: square;
}

.second-moment-content h2 {
    margin: 3% 0 2% 18%;
    line-height: 30px;
    color: #eec0cb;
    font-size: 1.75rem;
}

.second-moment-content h3 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.25rem
}

.second-moment-content h4 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.1rem;
}

.second-moment-content img {
    margin-top: 2%;
    margin-left: 28%;
    width: 45%;
}

/* Títulos del primer lapso */

#conditionals {
    margin-top: 25px;
}

#spelling {
    margin-top: 25px;
}

/* Tercer lapso */

.third-moment-content p {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
}

.third-moment-content center {
    font-size: 1.5rem;
    color: #353434;
}

.third-moment-content li {
    margin-left: 20%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.075rem;
    list-style: square;
}

.third-moment-content h2 {
    margin: 3% 0 2% 18%;
    line-height: 30px;
    color: #f17979;
    font-size: 1.75rem;
}

.third-moment-content h3 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.25rem
}

.third-moment-content h4 {
    margin-left: 18%;
    margin-right: 18%;
    line-height: 25px;
    color: #353434;
    font-size: 1.1rem;
}

.third-moment-content img {
    margin-top: 2%;
    margin-left: 28%;
    width: 45%;
}

/* Títulos del primer lapso */

#methods {
    margin-top: 25px;
}

#game {
    margin-top: 25px;
}

/* Pie de página */

.footer-distributed {
    background-color: #232224;
    box-sizing: border-box;
    width: 100%;
	text-align: left;
    padding: 75px;
    margin-top: 80px;
    color: #8f9296;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
    justify-content: space-between;
    display: flex;
}

.footer-distributed #footer-left, .footer-distributed #footer-center, .footer-distributed #footer-right {
    display: inline-block;
    vertical-align: top;
}

.footer-distributed .footer-left {
    width: 30%;
}

.footer-distributed h3 {
    color: #bbb1eb;
    font: normal 45px 'League Spartan', sans-serif;
}

.footer-distributed h3 span {
    font: normal 40px 'League Spartan', sans-serif;
    /* color: #aacfca; */
    color: #bbb1eb;
}

.footer-distributed .footer-center {
    width: 35%;
}

.footer-center p {
    margin-top: 30px;
}

.footer-distributed h5 {
    font-size: 18.5px;
    color: rgb(214, 214, 214);
    font-weight: bold;
}

#footer-center h5 {
    cursor: pointer;
}


h5 a:link, h5 a:visited, h5 a:active {
    color: rgb(214, 214, 214);
    text-decoration: none;
    transition: all .5s ease;
}

h5 a:hover {
    color: #85b3a9;
}

/* Copyright en el pie de página */

.footer-copyright {
    text-align: center;
    background-color: #141414;
    color: rgb(214, 214, 214);
    padding: 25px;
}

/* Responsive - Adaptación a móvil */

@media (max-width: 1200px) {

    .container #first-moment, #second-moment, #third-moment {
        margin-left: 4% ;
    }

    .first-moment-content {
        margin-left: -14%;
        margin-right: -16%;
        font-size: 13.5px;
    }

    .first-moment-content img {
        width: 50%;
        margin-left: 24%;
        margin-top: 5%;
        margin-bottom: 2%;
    }

    .second-moment-content {
        margin-left: -14%;
        margin-right: -16%;
        font-size: 13.5px;
    }

    .second-moment-content  h2 {
        font-size: 25px;
    }

    .second-moment-content img {
        width: 60%;
        margin-left: 18.75%;
        margin-top: 5%;
        margin-bottom: 2%;
    }

    .third-moment-content {
        margin-left: -14%;
        margin-right: -16%;
        font-size: 13.5px;
    }

    .third-moment-content  h2 {
        font-size: 25px;
    }

    .third-moment-content img {
        width: 60%;
        margin-left: 18.75%;
        margin-top: 5%;
        margin-bottom: 2%;
    }

}

@media (max-width: 1000px) {

    article.container {
        margin-left: 30%;
        width: 40%;
	}

    .container #first-moment, #second-moment, #third-moment {
        margin-left: 4% ;
    }

    #footer-left {
        margin-left: -1%;
    }

    #footer-center {
        margin-left: -7%;
    }

}

@media (max-width: 800px) {

    article.container {
        margin-left: 30%;
        width: 42%;
	}

    .container #first-moment, #second-moment, #third-moment {
        margin-left: 4% ;
    }

    #footer-center {
        margin-right: 8%;
        margin-left: 2%;
        margin-top: 0.5%;
    }

}

@media (max-width: 660px) {

    .first-moment-content center {
        font-size: 1.2rem;
        font-style: bold;
        color: #1a1a1a;
    }

    .second-moment-content center {
        font-size: 1.2rem;
        font-style: bold;
        color: #1a1a1a;
    }

    .third-moment-content center {
        font-size: 1.2rem;
        font-style: bold;
        color: #1a1a1a;
    }

}

@media (max-width: 600px) {

    article.container {
        margin-left: 20%;
        width: 60%;
	}

    .container #first-moment, #second-moment, #third-moment {
        margin-left: 4% ;
    }

    .first-moment-content h2 {
        font-size: x-large;
        margin-right: 15%;
    }

    .first-moment-content center {
        margin-left: 5rem;
        margin-right: 5rem;
    }

    .second-moment-content center {
        margin-left: 5rem;
        margin-right: 5rem;
    }

    .third-moment-content center {
        margin-left: 5rem;
        margin-right: 5rem;
    }

    .footer-distributed {
        display: block;
    }

    .footer-distributed #footer-center, .footer-distributed #footer-left {
        margin-bottom: 15%;
    }

    #footer-center {
        margin-left: 0;
    }

    .footer-copyright {
        line-height: 2rem;
    }

}

@media (max-width: 400px) {

    article.container {
        margin-left: 15%;
        width: 70%;
	}

    .container #first-moment, #second-moment {
        margin-left: 5% ;
    }

}

@media (max-width: 350px) {

    #main-header h1 {
        font-size: xx-large;
    }

    #main-header hgroup h2 {
        font-size: large;
    }

    article.container {
        margin-left: 4.5%;
        width: 90%;
	}

    .first-moment-content h2 {
        margin-right: 5rem;
    }

    .second-moment-content h2 {
        margin-right: 5rem;
    }

    .third-moment-content h2 {
        margin-right: 5rem;
    }

    .footer-distributed #footer-center, .footer-distributed #footer-left, .footer-distributed #footer-right {
        margin-left: -20%
    }

    #footer-left h3 {
        font-size: xx-large;
    }

    #footer-left span {
        font-size: xx-large;
    }

}

@media (max-width: 270px) {

    .footer-distributed #footer-center, .footer-distributed #footer-left, .footer-distributed #footer-right {
        margin-left: -40%;
    }

    .first-moment-content h2 {
        margin-right: 5rem;
    }

    .second-moment-content h2 {
        margin-right: 5rem;
    }

}

@media (max-width: 250px) {

    .footer-distributed #footer-center, .footer-distributed #footer-left, .footer-distributed #footer-right {
        margin-left: -60%;
    }

}