@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-title: #fff;
}

body{    
    background-color: #181818;
    font-family: 'Poppins', sans-serif;
}
body::-webkit-scrollbar{
    background-color: #0000008c;

}
body::-webkit-scrollbar-button{
    background-color: #444444;
}
body::-webkit-scrollbar-thumb{
    background-color: rgb(130, 37, 0);
    border-radius: 5px;
}

.container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}



 /* Hero container */

.hero_container{
    top: 6rem;
    height: 40rem;
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: lem;
    padding-bottom: 80px;
    text-align: center;   
}

.hero_title{
    font-size: 3rem;
    text-shadow: 10px 10px 20px rgba(63, 43, 36, 0.986);
    padding-top: 100px;
}

.hero_paragraph{
    margin-top: 25px;
    margin-bottom: 25px;
}

.cta{
    display: inline-block;
    background-color: #f97020ec;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 32px;
    transition: .3s;
}

.cta:hover {
    background: rgba(255, 72, 0, 0.76);
}


/* About */

.about{
    text-align: center;
    padding-top: 0%;
}

#lsn{
    padding-bottom: 0;
}

.subtitle{
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}

.about_paragraph{
    color: #fff;
    line-height: 1.7;
}

.about_main{
    padding-top: 40px;
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}

.about_icons{
    color: #fff;
    display: grid;
    gap: 1em;
    justify-self: center;
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
}

.about_icon{
    width: 40px;
    justify-self: center;
}

.about_paragraph_name{
    justify-self: center;
}

.asd{
    color: #fff;
    display: grid;
    gap: 1em;
    justify-items: center;
    overflow: hidden;
    margin: 0 auto;
    text-decoration: none;
    justify-self: center;
}


/* Habitantes */

#bio{
    padding-top: 0;
}

.hero_title_habitantes{
    font-size: rem;
    text-shadow: 10px 10px 20px rgba(63, 43, 36, 0.986);
}

.hero_habitantes{
    width: 100%;
    height: 90vh;
    min-height: 200px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color:#fff;
}

.hero_habitantes::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(#550d39, #270537);
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 95%, 0 70%);
    z-index: -1;
}

.about_contacto{
    color: #fff;
    display: grid;
    gap: 1em;
    justify-self: center;
    width: 100px;
    overflow: hidden;
    margin: 0 auto;
}


/* Footer */

.footer{
    background-color: rgb(0, 0, 0);
}



/* Cenizas */

i{
    position: absolute;
    background: rgb(90, 90, 90);
    border-radius: 50%;
    box-shadow: 4 4px 4px rgb(10, 10, 10);
    top: -10px;
    animation: cenizas linear infinite;   
    overflow: hidden;    
}

@keyframes cenizas {
    0% {
        top: -10%;
        rotate: 0deg;
    }
    100% {
        top: calc(200vh);
        rotate: 540deg;
    }}

j{
    position: absolute;
    background: rgb(180, 2, 2);
    border-radius: 50%;
    box-shadow: 4 4px 4px rgb(10, 10, 10);
    top: -10px;
    animation: brasas linear infinite;   
    overflow: hidden;    
}

@keyframes brasas {
    0% {
        top: 200vh;
        rotate: 0deg;
    }
    100% {
        top: 0vh;
        rotate: 1800deg;
}}

k{
    position: absolute;
    background: rgb(180, 2, 2);
    border-radius: 50%;
    box-shadow: 4 4px 4px rgb(10, 10, 10);
    top: -10px;
    animation: brasaskl linear infinite;   
    overflow: hidden;    
}

@keyframes brasaskl {
    0% {
        top: 200vh;
        rotate: 0deg;
    }
    100% {
        background: #ffe600;
        top: 0vh;
        rotate: 1800deg;
}}


/* Fogata */
.fogata_container{
    width: 100%;
    max-width: 2400px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

#fogata {
    height: 70vh;
    width: 100vw;
}
.fogata_title {
    text-shadow: 10px 10px 20px rgba(63, 43, 36, 0.986);
    z-index: 100;
}
.fogata_paragraph{
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
    z-index: 100;
}
.fogata_links{
    color: #fff;
    text-decoration: none;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fogata_article {
    margin-top: 10rem;
    position: absolute;
    z-index: 1000;
}
/* .poemario_icons_fogata{
    color: #fff;
    display: grid;
    gap: 1em;
    justify-self: center;
    width: 260px;
    overflow: hidden;
    margin-top: 25rem;
    position: absolute;
    z-index: 1000;
} */


.stage {
    width: 100vw;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}


.campfire {
    position: absolute;
    width: 600px;
    height: 600px;
    transform-origin: center center;
    transform: scale(0.75);
    margin-bottom: 10rem;
}


.log {
    position: absolute;
    width: 238px;
    height: 70px;
    border-radius: 32px;
    background: #781e20;
    overflow: hidden;
    opacity: 0.99;
}
.log::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 35px;
    width: 8px;
    height: 8px;
    border-radius: 32px;
    background: #b35050;
    transform: translate(-50%, -50%);
    z-index: 3;
    box-shadow: 0 0 0 2.5px #781e20, 0 0 0 10.5px #b35050, 0 0 0 13px #781e20, 0 0 0 21px #b35050, 0 0 0 23.5px #781e20, 0 0 0 31.5px #b35050;
}  


.streak {
    position: absolute;
    height: 2px;
    border-radius: 20px;
    background: #b35050;
}
.streak:nth-child(1) {
    top: 10px;
    width: 90px;
}
.streak:nth-child(2) {
    top: 10px;
    left: 100px;
    width: 80px;
}
.streak:nth-child(3) {
    top: 10px;
    left: 190px;
    width: 30px;
}
.streak:nth-child(4) {
    top: 22px;
    width: 132px;
}
.streak:nth-child(5) {
    top: 22px;
    left: 142px;
    width: 48px;
}
.streak:nth-child(6) {
    top: 22px;
    left: 200px;
    width: 28px;
}
.streak:nth-child(7) {
    top: 34px;
    left: 74px;
    width: 160px;
}
.streak:nth-child(8) {
    top: 46px;
    left: 110px;
    width: 40px;
}
.streak:nth-child(9) {
    top: 46px;
    left: 170px;
    width: 54px;
}
.streak:nth-child(10) {
    top: 58px;
    left: 90px;
    width: 110px;
}


.log {
    transform-origin: center center;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.15);
}
.log:nth-child(1) {
    bottom: 100px;
    left: 100px;
    transform: rotate(150deg) scaleX(0.75);
    z-index: 20;
}
.log:nth-child(2) {
    bottom: 120px;
    left: 140px;
    transform: rotate(110deg) scaleX(0.75);
    z-index: 10;
}
.log:nth-child(3) {
    bottom: 98px;
    left: 68px;
    transform: rotate(-10deg) scaleX(0.75);
}
.log:nth-child(4) {
    bottom: 80px;
    left: 220px;
    transform: rotate(-120deg) scaleX(0.75);
    z-index: 26;
}
.log:nth-child(5) {
    bottom: 75px;
    left: 210px;
    transform: rotate(-30deg) scaleX(0.75);
    z-index: 25;
}
.log:nth-child(6) {
    bottom: 92px;
    left: 280px;
    transform: rotate(35deg) scaleX(0.85);
    z-index: 30;
}
.log:nth-child(7) {
    bottom: 70px;
    left: 300px;
    transform: rotate(-30deg) scaleX(0.75);
    z-index: 20;
}

    
.stick {
    position: absolute;
    width: 68px;
    height: 20px;
    border-radius: 10px;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.1);
    background: #781e20;
}
.stick::before {
    content: '';
    display: block;
    position: absolute;
    bottom: 100%;
    left: 30px;
    width: 6px;
    height: 20px;
    background: #781e20;
    border-radius: 10px;
    transform: translateY(50%) rotate(32deg);
}
.stick::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    background: #b35050;
    border-radius: 10px;
}
  
  
.stick {
    transform-origin: center center;
}
.stick:nth-child(1) {
    left: 158px;
    bottom: 164px;
    transform: rotate(-152deg) scaleX(0.8);
    z-index: 12;
}
.stick:nth-child(2) {
    left: 180px;
    bottom: 30px;
    transform: rotate(20deg) scaleX(0.9) ;
}
.stick:nth-child(3) {
    left: 400px;
    bottom: 38px;
    transform: rotate(170deg) scaleX(0.9);
}
.stick:nth-child(3)::before {
    display: none;
}
.stick:nth-child(4) {
    left: 370px;
    bottom: 150px;
    transform: rotate(80deg) scaleX(0.9);
    z-index: 20;
}
.stick:nth-child(4)::before {
    display: none;
} 
    
      
.fire .flame {
    position: absolute;
    transform-origin: bottom center;
    opacity: 0.9;
}

.fire_red .flame {
    width: 48px;
    border-radius: 48px;
    background: #e20f00;
    box-shadow: 0 0 80px 18px rgba(226,15,0,0.4);
}
.fire_red .flame:nth-child(1) {
    left: 138px;
    height: 160px;
    bottom: 100px;
    animation: fire 2s 0.15s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(2) {
    left: 186px;
    height: 240px;
    bottom: 100px;
    animation: fire 2s 0.35s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(3) {
    left: 234px;
    height: 300px;
    bottom: 100px;
    animation: fire 2s 0.1s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(4) {
    left: 282px;
    height: 360px;
    bottom: 100px;
    animation: fire 2s 0s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(5) {
    left: 330px;
    height: 310px;
    bottom: 100px;
    animation: fire 2s 0.45s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(6) {
    left: 378px;
    height: 232px;
    bottom: 100px;
    animation: fire 2s 0.3s ease-in-out infinite alternate;
}
.fire_red .flame:nth-child(7) {
    left: 426px;
    height: 140px;
    bottom: 100px;
    animation: fire 2s 0.1s ease-in-out infinite alternate;
}

      
.fire_orange .flame {
    width: 48px;
    border-radius: 48px;
    background: #ff9c00;
    box-shadow: 0 0 80px 18px rgba(255,156,0,0.4);
}
.fire_orange .flame:nth-child(1) {
    left: 138px;
    height: 140px;
    bottom: 100px;
    animation: fire 2s 0.05s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(2) {
    left: 186px;
    height: 210px;
    bottom: 100px;
    animation: fire 2s 0.1s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(3) {
    left: 234px;
    height: 250px;
    bottom: 100px;
    animation: fire 2s 0.35s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(4) {
    left: 282px;
    height: 300px;
    bottom: 100px;
    animation: fire 2s 0.4s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(5) {
    left: 330px;
    height: 260px;
    bottom: 100px;
    animation: fire 2s 0.5s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(6) {
    left: 378px;
    height: 202px;
    bottom: 100px;
    animation: fire 2s 0.35s ease-in-out infinite alternate;
}
.fire_orange .flame:nth-child(7) {
    left: 426px;
    height: 110px;
    bottom: 100px;
    animation: fire 2s 0.1s ease-in-out infinite alternate;
}


.fire_yellow .flame {
    width: 48px;
    border-radius: 48px;
    background: #ffeb6e;
    box-shadow: 0 0 80px 18px rgba(255,235,110,0.4);
}
.fire_yellow .flame:nth-child(1) {
    left: 186px;
    height: 140px;
    bottom: 100px;
    animation: fire 2s 0.6s ease-in-out infinite alternate;
}
.fire_yellow .flame:nth-child(2) {
    left: 234px;
    height: 172px;
    bottom: 120px;
    animation: fire 2s 0.4s ease-in-out infinite alternate;
}
.fire_yellow .flame:nth-child(3) {
    left: 282px;
    height: 240px;
    bottom: 100px;
    animation: fire 2s 0.38s ease-in-out infinite alternate;
}
.fire_yellow .flame:nth-child(4) {
    left: 330px;
    height: 200px;
    bottom: 100px;
    animation: fire 2s 0.22s ease-in-out infinite alternate;
}
.fire_yellow .flame:nth-child(5) {
    left: 378px;
    height: 142px;
    bottom: 100px;
    animation: fire 2s 0.18s ease-in-out infinite alternate;
}


.fire_white .flame {
    width: 48px;
    border-radius: 48px;
    background: #fef1d9;
    box-shadow: 0 0 80px 18px rgba(254,241,217,0.4);
}
.fire_white .flame:nth-child(1) {
    left: 156px;
    width: 32px;
    height: 100px;
    bottom: 100px;
    animation: fire 2s 0.22s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(2) {
    left: 181px;
    width: 32px;
    height: 120px;
    bottom: 100px;
    animation: fire 2s 0.42s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(3) {
    left: 234px;
    height: 170px;
    bottom: 100px;
    animation: fire 2s 0.32s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(4) {
    left: 282px;
    height: 210px;
    bottom: 100px;
    animation: fire 2s 0.8s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(5) {
    left: 330px;
    height: 170px;
    bottom: 100px;
    animation: fire 2s 0.85s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(6) {
    left: 378px;
    width: 32px;
    height: 110px;
    bottom: 100px;
    animation: fire 2s 0.64s ease-in-out infinite alternate;
}
.fire_white .flame:nth-child(7) {
    left: 408px;
    width: 32px;
    height: 100px;
    bottom: 100px;
    animation: fire 2s 0.32s ease-in-out infinite alternate;
}

        
.spark {
    position: absolute;
    width: 6px;
    height: 20px;
    background: #fef1d9;
    border-radius: 18px;
    z-index: 50;
    transform-origin: bottom center;
    transform: scaleY(0);
}
.spark:nth-child(1) {
    left: 160px;
    bottom: 212px;
    animation: spark 1s 0.4s linear infinite;
}
.spark:nth-child(2) {
    left: 180px;
    bottom: 240px;
    animation: spark 1s 1s linear infinite;
}
.spark:nth-child(3) {
    left: 208px;
    bottom: 320px;
    animation: spark 1s 0.8s linear infinite;
}
.spark:nth-child(4) {
    left: 310px;
    bottom: 400px;
    animation: spark 1s 2s linear infinite;
}
.spark:nth-child(5) {
    left: 360px;
    bottom: 380px;
    animation: spark 1s 0.75s linear infinite;
}
.spark:nth-child(6) {
    left: 390px;
    bottom: 320px;
    animation: spark 1s 0.65s linear infinite;
}
.spark:nth-child(7) {
    left: 400px;
    bottom: 280px;
    animation: spark 1s 1s linear infinite;
}
.spark:nth-child(8) {
    left: 430px;
    bottom: 210px;
    animation: spark 1s 1.4s linear infinite;
}


        
@keyframes fire {
    0% {
        transform: scaleY(1);
        }
    28% {
        transform :scaleY(0.7);
    }
        
    38% {
        transform: scaleY(0.8);
    }
        
    50% {
        transform: scaleY(0.6);
    }
        
    70% {
        transform: scaleY(0.95);
    }
        
    82% {
        transform: scaleY(0.58);
    }
        
    100% {
        transform: scaleY(1);
    }        
}
        
@keyframes spark {
    
    35% {
        transform: scaleY(0) translateY(0);
        opacity: 0;
    }
    50% {
        transform: scaleY(1) translateY(0);
        opacity: 1;
    }
    70% {
        transform: scaleY(1) translateY(-10px);
        opacity: 1;
    }
    75% {
        transform: scaleY(1) translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: scaleY(0) translateY(0);
        opacity: 0;
    }
}


    /* Media queries */

@media (max-width:800px){

    .hero_title{
        font-size: 2.5rem;
    }

    .about_main{
        gap: 2em;
    }

    .knowledge_container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }
    
    .knowledge_picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .libros_container{
        grid-template-columns: 30px 1fr 30px;

    }

    .libros_body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items: center;
    }

    .libros_img{
        width: 200px;
        height: 200px;
    }
}

@media (max-width:600px){

    .stage {
        width: 100vw;
        height: 50vh;
        overflow: hidden;
    }

    .campfire {
        width: 600px;
        height: 600px;
        transform: scale(0.45);
        overflow: hidden;
    }

    .hero_title{
        font-size: 2rem;
    }
    
    .hero_paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.rem;
    }

    .libros{
        --padding-container: 60px 0;
    }

    .libros_container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .libros_arrow{
        width: 100%;
    }

    .libros_ambiente{
        margin-top: 15px;        
    }
    
    .question_title{
        font-size: 1rem;
    }
}