@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

body{
    width: 100%;
    background: #273D55;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.container-animation-media{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    background: #273D55;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.animation-hero-section {
    width: 100%;
    height: 100vh;
    background-image: url(../assets/hero-section-animation.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
}
/* blur*/

.animation-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
}


.animation-hero-section > * {
    position: relative;
    z-index: 2;
}

.animation-hero-section .text-box{
    width: 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-animation{
    display: none;
    object-fit: contain;
}

.animation-hero-section .text-box .title-top{
    font-family: "Garamond";
    font-size: 35px;
    font-weight: 400;
    line-height: 42px;
    text-align: center;
    margin: 0;
    color: #F9ECB4;
}
.animation-hero-section .text-box h1{
    font-family: 'Cinzel';
    font-size: 80px;
    font-weight: 400;
    line-height: 100.2px;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    color: #F9ECB4;
}

.animation-hero-section .text-box span{
    font-family: Cinzel;
    font-size: 35px;
    font-weight: 400;
    line-height: 45px;
    text-align: center;    
    margin: 0;
    color: #F9ECB4;
    margin-top: 24px;
}

.animation-hero-section button {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid #FFF8DA;
    color: #FFF8DA;
    font-size: 1.2em;
    font-family: 'EB Garamond', serif;
    cursor: pointer;
    font-weight: 400;
    transition: background-color 0.3s ease;
    border-radius: 35px;
    text-align: center;
    width: 300px;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1080px) {
    .animation-hero-section .text-box{
        width: 90%;
    }

    .animation-hero-section .text-box .title-top{
        font-size: 24px;
    }
    .animation-hero-section .text-box h1{
        font-size: 72px;
        line-height: 72px;
    }
    .animation-hero-section .text-box span{
        font-size: 28px;
        margin-top: 0;
    }
}

@media screen and (max-width: 720px) {
    .animation-hero-section .text-box{
        width: 90%;
    }

    .animation-hero-section .text-box .title-top{
        font-size: 16px;
    }
    .animation-hero-section .text-box h1{
        font-size: 40px;
    }
    .logo-animation{
        display: block;
        width: 69vw;
        height: 17vh;
    }
    .animation-hero-section .text-box span{
        font-size: 18px;
    }
    .animation-hero-section button{
        margin: 10px auto;
    }
}

@media screen and (max-width: 380px) {
    .animation-hero-section .text-box{
        width: 90%;
    }
    .animation-hero-section .text-box .title-top{
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .animation-hero-section .text-box h1{
        font-size: 30px;
        line-height: 33px;
    }
    .animation-hero-section .text-box span{
        font-size: 17px;
        line-height: 20px;
        margin-top: 16px;
    }
    .logo-animation{
        margin: 24px 0;
    }
    .animation-hero-section button{
        margin: 10px auto;
        padding: 5px 10px;
    }
}

.animated-section{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    padding: 100px 0;
}

.animated-section .animation-main-content{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.animated-section h2{
    width: 60%;
    font-family: "Cinzel";
    font-size: 40px;
    font-weight: 400;
    line-height: 48px;
    text-align: center;
    color: #F9ECB4;
}
.animated-section .content-box{
    width: 90%;
    display: flex;
    gap: 10px;
    justify-content: center;

    
}
.animated-section .content-box .img-box{
    width: 45%;
    display: flex;
    align-items: end;
    justify-content: space-around;
}
.animated-section .content-box .img-box .child-pic{
    object-fit: contain;
    width: 15vw;
}
.animated-section .content-box .img-box .animal-pic{
    object-fit: contain;
    width: 23vw;
}
.animated-section .content-box .text-box{
    width: 43%;
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: end;
}
.animated-section .content-box .text-box .top-text{
    font-family: 'Garamond';
    font-size: 22px;
    font-weight: 400;
    line-height: 31px;
    text-align: left;    
    color: #F9ECB4;
}
.animated-section .content-box .text-box .bottom-text{
    position: absolute;
    bottom: 0;
    font-family: 'Garamond';
    font-size: 22px;
    font-weight: 400;
    line-height: 31px;
    text-align: left;    
    color: #F9ECB4;
}
.content-box-mobile{
    display: none;
}

@media screen and (max-width: 480px) {
    .animated-section{
        margin: 30px 0;
    }
    .animated-section h2{
        width: 90%;
        font-size: 20px;
        line-height: 26px;
    }
    .animated-section .content-box{
        display: none;
    }
    .animated-section .content-box-mobile{
        display: block;
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .animated-section .content-box-mobile .img-box {
        width: 100%;
        display: flex;
        justify-content: space-around;
        align-items: end;
        /* margin: 20px 0; */
    }
    .animated-section .content-box-mobile .img-box .child-pic{
        object-fit: contain;
        width: 33vw;
    }
    .animated-section .content-box-mobile .img-box .animal-pic{
        object-fit: contain;
        width: 52vw;
    }
    .animated-section .content-box-mobile .top-text{
        font-family: "Garamond";
        font-size: 14px;
        font-weight: 400;
        line-height: 25.6px;
        text-align: left;
        color: #F9ECB4;
    }
    .animated-section .content-box-mobile .bottom-text{
        font-family: "Garamond";
        font-size: 14px;
        font-weight: 400;
        line-height: 25.6px;
        text-align: left;
        color: #F9ECB4;
    }
}

.fairytale-section{
    width: 100%;
    /* background: #000; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.fairytale-section .title{
    width: 70%;
    font-family: "Cinzel";
    font-size: 80px;
    font-weight: 400;
    line-height: 88px;
    text-align: center;
    color: #F9ECB4;
}
.fairytale-section .first-p{
    font-family: "Garamond";
    font-size: 25px;
    font-weight: 400;
    line-height: 48px;
    text-align: center;
    color: #F9ECB4;
}
.fairytale-section .author{
    font-family: 'Cinzel';
    font-size: 30px;
    font-weight: 400;
    line-height: 48px;
    text-align: center;
    color: #F9ECB4;
}
.fairytale-section .img-box {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 20px;
    margin-top: 30px;
}
.fairytale-section .img-box img{
    width: 18vw;
    object-fit: contain;
}
.fairytale-section .books-description{
    font-family: 'Cinizel';
    font-size: 18px;
    font-weight: 100 !important;
    line-height: 30px;
    text-align: center;
    color: #F9ECB4;
}
.fairytale-section .detailed-overview{
    width: 60%;
    font-family: 'Garamond';
    font-size: 25px;
    font-weight: 400;
    line-height: 56px;
    text-align: center;
    color: #F9ECB4;
}
@media screen and (max-width: 480px) {
    .fairytale-section .title{
        width: 70%;
        font-size: 24px;
        line-height: 30px;
    }
    .fairytale-section .first-p{
        font-size: 20px;
        line-height: 24px;
    }
    .fairytale-section .author{
        font-size: 20px;
        line-height: 24px;

    }
    .fairytale-section .img-box {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }
    .fairytale-section .img-box img{
        width: 43vw;
        object-fit: contain;
    }
    .fairytale-section .books-description{
        font-size: 14px;
        line-height: 19px;
    }
    .fairytale-section .detailed-overview{
        width: 80%;
        font-size: 16px;
        line-height: 22px;
    }
}
.fairytale-section .pdf-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin: 0 auto;
}



.pdf-section button {
    color: #F9ECB4;
    border: 1px solid #F9ECB4;
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 1rem;
    padding: 20px 100px;
    border-radius: 100px;
    margin: 0 auto;
    cursor: pointer;
    margin-top: 20px;
    background-color: #273D55;
}

.pdf-section button:hover {
    background-color: #F9ECB4;
    color: #2A3B4C;
}
/* .line-div{
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}    */
.line {
    width: 95%;
    margin: 10px;
}   

@media screen and (max-width: 480px) {
    .fairytale-section .pdf-section button{
        padding: 10px 50px;
    }

}


