html {
   scroll-behavior: smooth;
}

body {
    font-family: 'Rubik';
    margin: 0;
    scroll-behavior: smooth;
}



.glass {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#header {
    /* gradient background from white to very light purple */
    margin-top: 50px;
    padding: 45px 0;
    overflow: hidden;
}

    #header .cover {
        width: 750px;
        transition: 0.4s;
    }

    #header .title {
        font-size: 100px;
        padding: 30px;
        padding-bottom: 0px;
        font-weight: 800;
    }

    .sub-title {
        font-size: 35px;
        padding: 10px 30px;
    }
    
    .gradient-line {
        height:5px;
        border-radius: 5px;
        margin-left: 30px;
        background: linear-gradient(to right, #2172f3,
        #086fff, #236bcf, #b244ee);
        display: inline-block;
        width: 190px;
        margin-top: -10px;
    }

    .gradeint-text {
        background: linear-gradient(to right, #f32170,
                #ff6b08, #cf23cf, #b844ee);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
        background-size: 200% 200%;
        animation: gradient 3s linear infinite;
    }
    
    @keyframes gradient {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }

.section-title {
    font-size: 60px;
    margin-bottom: 0;
}
  
.d-flex {
    display: flex; 
}

.flex-column {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.justify-content-center {
    justify-content: center;
}

.align-center {
    align-items: center;
}

.align-items-start {
    align-items: start;
}

.align-items-end {
    align-items: end;
}

.title-icon {
    width: 85px;
}

.ml-1 {
    margin-left: 1rem;
}

.mr-1 {
    margin-right: 1rem;
}

.ml-2 {
    margin-left: 2rem;
}

.ml-3 {
    margin-left: 3rem;
}

.ml-4 {
    margin-left: 4rem;
}

.ml-5 {
    margin-left: 5rem;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

.mt-5 {
    margin-top: 5rem;
}



.info-card {
    border-radius: 10px;
    transition: 0.4s;
    margin-bottom: 20px;
    border-radius: 16px;
    position:relative;
    
}

.info-card-big {
    
}

.xsm-hide {

}

@media screen and (min-width: 769px) {
    .info-card {
        height: 320px;
    }

    .info-card-big {
        height: 360px;
    }
}


.overlay-image {
    height:600px;transform: translateY(-300px) rotate(-17deg); position:absolute;left:20px;
}

.author-image {
    height:650px; position:absolute;right:20px;bottom:0
}



.logo {
    height: 70px;
}

.fluent-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    /* From https://css.glass */
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    border: 1px solid rgba(255, 255, 255, 0.32);
}

.info-card .icon {
    transform: translateY(-50%);
    height: 120px;
    margin: 0 auto;
    text-align: center;
}

.info-card .body {
    position: absolute;
    top: 50px;
    padding: 1rem;
    padding-bottom: 0;
}

.info-card .title {
    font-weight: bold;
    margin: 0;
}

.info-card p {
    font-size: 18px;
    margin-bottom: 0;
}

.colorful-gradient {
    background: linear-gradient(to right, #f32170,
    #ff6b08, rgb(221, 70, 15), #b844ee);
    color: white;
    background-size: 200% 200%;
}

.blue-gradient {
    background: linear-gradient(to right, #21aaf3,
    #0890ff, rgb(15, 128, 221),rgb(0, 157, 255));
    color: white;
    background-size: 200% 200%;
}

.gradient-animation {
    animation: gradient 3s linear infinite;
}


.p2 {
    font-size: 26px !important; 
    font-weight: 100;
}

.wide-announcment {
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.wide-announcment p {
    font-size: 20px;
    font-weight: 100;
}


.chapter-card {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.chapter-card .parent-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    z-index: 1000;
}

.ms-16 {
    /* box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.132), 0 1.2px 3.6px 0 rgba(0,0,0,.108); */
    /* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.01); */
}

.chapter-card .circle {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    
    border: 5px solid white;
    color: white;
}

.part-1 {
    background: linear-gradient(40deg, #9821f3,
    #a408ff, rgb(146, 3, 171), #b844ee);
}

.part-2 {
    background: linear-gradient(40deg, #21aaf3,
    #0883ff, rgb(52, 89, 239), #4452ee);
}

.part-3 {
    background: linear-gradient(40deg, #21f36e,
    #0ac65c, rgb(9, 182, 27), #44eeb2);
}

.gold {
    background: linear-gradient(40deg, #f3b821,
    #c6c00a, rgb(182, 176, 9),rgb(238, 210, 68));
}

.glassy {
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    flex-grow: 1;
}

.chapter-card a {
    text-decoration: none;
    color: white;
}

.chapter-card .circle h1 {
    margin: 0
}

.chapter-card .body {
    padding: 1rem;
    padding-left: 4rem;
    transform: translateX(-50px);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    flex-grow: 1;
}

.chapter-card .body p {
    font-size: 20px;
    font-weight: 100;
}

.badge {
    position: relative;
    
    color: white;
    border-radius: 5px;
    height: 30px;
    width: 80px;
}

.badge div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    padding: .3rem 1rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 16px;
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    position: relative;
    min-height: 400px;
    margin-top: 3rem;
    border: 3px solid rgb(236, 233, 233);
}


.review-card .parent-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    z-index: 1000;
}

.ms-16 {
    /* box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.132), 0 1.2px 3.6px 0 rgba(0,0,0,.108); */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.078);
}

.ms-8 {
    /* box-shadow: 0 6.4px 14.4px 0 rgba(0,0,0,.132), 0 1.2px 3.6px 0 rgba(0,0,0,.108); */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.02);
}

.review-card .circle {
    border-radius: 50%;
    width: 70px;
    height: 70px;
    min-width: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    color: white;
}

.review-card .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.center-content {
    display: flex;
    align-items: center;
    justify-content: center;
}


.review-card .flag {
    width: 30px;
    margin-top: 6px;
}

.review-card .titles h4,h5 {
    margin-bottom: 2px;
}

.reivew-card .titles .name {
    font-weight: 500;
    font-size: 20px;
}

.review-card .titles p {
    margin-top: 10px;
    color: gray;
}

.review-card .body {
    padding: 1rem;
}

.reactions {
    display: flex;
    justify-content: end;
    position:  absolute;
    top: 95%;
    left: 80%;
}

.reactions .reaction-card {
    display: flex;
    justify-content: end;
    align-items: center;
    border-radius: 20px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(60px);
    -webkit-backdrop-filter: blur(60px);
    height: 35px;
    width: 80px;
    position: relative;
}

.reactions .reaction-card .icon {
    width: 70px;    
    position: absolute;
    left: -25px;
}

.social-media {
    position: absolute;
    bottom: -40px;
    height: 80px;
    border: 2px solid rgb(237, 235, 235);
    border-radius: 20px;
    margin-top: 2rem;
    align-items: center;
    justify-content: space-around;
    width: 400px;
    left: calc(50% - 200px);
}

.social-media .social-link img {
    width: 50px;
    cursor: pointer;
    transition: 0.2s;
}

.social-media .social-link:hover img {
    transform: translateY(-10px);
}

footer {
    background-color: rgb(37, 37, 38);
    padding: 3rem;
}

.author-card {
    position:relative;text-align: left;margin-top:290px
}

@media only screen and (min-device-width: 100px) and (max-device-width: 780px) {
    .info-card {
        height: 320px;
    }

    .info-card-big {
        height: 660px;
    }

    .xsm-hide {
        display: none;
    }

    #header .cover {
        width: 100%;
    }

    #header .title {
        font-size: 50px;
    }

    #amazon-section {
        transform: scale(0.5);
    }

    .section-title {
        font-size: 30px;
    }

    .overlay-image {
        height: 500px;
        left: 0;
    }

    .author-image {
        
    }

    .author-card {
        margin-top: 50px !important;
        height: 1150px
    }

    .social-media {
        bottom: -20px;
    }
}