@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    background-color: #111;
    color: #dedede;
    font-size: 1.6rem;
    line-height: 2.8rem;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
    overflow: hidden;
}

section, main {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100dvh;
    height: 100%;
    position: relative;
    background-color: #111;
}

section::before,
main::before {
    content:'';
    position: absolute;
    width: 100%;
    height: 100%;
    z-index:1;
}

section > *,
main > * {
    position: relative;
    z-index: 100;
}

h2 {
    text-align: center;
}

ul {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

li {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

li em { display: none;}

img {
    width: 80px;
    border-radius: 1rem;
}

p:first-child {
    margin-bottom: 2rem;
}

.fav a:link,
.fav a:visited {
    background-color:#111;
    padding: 1rem 2rem;
    border-radius: 1rem;
    color: goldenrod;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 500;
}

/* 00 Seccion inicial
------------------------------ */
#top::before {
    background:url('images/pietro-jeng-n6B49lTx7NM-unsplash.jpg');
    background-size: cover;
    opacity: 0.4;
}

#top {
    padding: 3rem;
}

#top p {
    font-size: 2rem;
    line-height:3.6rem;
}

.desktop {
    display: none;
}

.intro {
    display: block;
    font-size: 2.5rem;
    line-height:4rem;
    font-weight: 200;
    margin-bottom: 3rem;
}

.meow {
    display: inline-block;
    word-break: keep-all;
}

#top a {
    display: inline;
    padding: 0 0.5rem;
}

#top a:link, #top a:visited {
    color: #BE0000;
    text-decoration: none;
    background: rgba(0,0,0,0.5);
}

#top a:hover, #top a:active{
    color: #009A4D;
    text-decoration: none;
    background: rgba(0,0,0,1);
}

#top a.external:link,
#top a.external:visited {
    color: #009A4D;
}

#top a.external:hover,
#top a.external:active {
    color: #BE0000;
}

/* 01 Seccion aprender
------------------------------ */
#aprender::before {
    background:url('images/andyone--WW8jBak7bo-unsplash.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

/* 02 Seccion musica
------------------------------ */
#musica::before {
    background:url('images/anthony-delanoix-hzgs56Ze49s-unsplash.jpg');
    background-size: cover;
    opacity: 0.3;
}

/* 03 Seccion videojuegos
------------------------------ */
#videojuegos::before {
    background:url('images/alexey-savchenko-k4Akpt5-Sfk-unsplash.jpg');
    background-size: cover;
    opacity: 0.25;
}

/* MEDIA QUERIES
------------------------------- */
@media (min-width: 768px) {
    #top {
        padding: 0 20%;
    }
    .desktop {
        display: inline;
    }
    .intro {
        display: block;
        font-size: 4rem;
        line-height:6rem;
        font-weight: 200;
        margin-bottom: 3rem;
    }
    #top a { display: inline-block; }
    ul {flex-direction: row;}
    li {flex-direction: column;}
    li em { display: inline-block;}
    img {
        width: 120px;
        border-radius: 50%;
    }
}

@media (min-width: 900px) {
    img {
        width: 150px;
    }
}

@media (min-width: 1200px) {
    img {
        width: 180px;
    }
}