body {
    font-family: "Calibri", sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to right, #f2f2f2, #d3d3f3);
    color: #3b3b3b;
}


.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

html {
      scroll-behavior: smooth; /* Enables smooth scrolling */
    }

header {
    background: #d3d3f3;
    color: #6c5ce7;
    padding-top: 50px;
    padding-bottom: 50px;
    min-height: 600px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);

}

header::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    background: #f2f2f2;
    width: 150%;
    height: 150%;

    z-index: 0;
    background-image: url("../assets/images/background.jpeg");
    background-size: 100% 100%;
    background-position: center bottom;

}

.content .slide {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    line-height: 1.5
}

.content .slide:hover {
    transform: translateY(-10px);
}

.slide h2 {
    font-size: 25px;
    color: #6c5ce7;
    margin-bottom: 10px;
}

.slide h3 {
    font-size: 22px;
    font-weight: normal;
}

.slide p {
    line-height: 1.6;
    color: #666;
}

.slide ul {
    margin: 10px 0 0 20px;
    color: #333;
}

.footer {
    background: #6c5ce7;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

.footer p {
    margin: 0;
    font-size: 14px;
}

#medium{
    width: 200px;
    position: absolute;
    top: 400px;
    left: 100px;
    cursor: pointer;
}

@media (min-width: 1400px) {
    .content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 100px;
        padding: 20px 0;
        font-size: 20px;
        line-height: 1.5;
    }

    #book {
        width: 800px;
        height: 500px;
        position: relative;
        background-color: #FFFFFF;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        margin: auto;
        top: 30px;
    }

    /* Spine with rounded shadow to give depth */
    #book::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
        width: 10px;
        background-color: #EDEDED;
        box-shadow: -10px 0 15px rgba(0, 0, 0, 0.1), 10px 0 15px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        /* Rounded shadow near the spine */
        z-index: 1;
    }

    /* Adding subtle shadows to mimic additional pages */
    #book::after {
        content: '';
        position: absolute;
        left: 48%;
        top: 0;
        height: 100%;
        width: 54%;
        background: radial-gradient(circle at left center, transparent 20%, rgba(0, 0, 0, 0.05) 100%);
        z-index: 0;
    }

    #left-page,
    #right-page {
        width: 50%;
        height: 100%;
        padding: 40px;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    #left-page {
        float: left;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #right-page {
        float: right;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;
        top: -40px;
    }
}

@media (max-width: 1399px) {
    .content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 100px;
        padding: 20px 0;
        font-size: 20px;
        line-height: 1.5;
    }

    #book {
        width: 90%;
        height: 500px;
        position: relative;
        background-color: #FFFFFF;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
        margin: auto;
        top: 30px;
    }

    /* Spine with rounded shadow to give depth */
    #book::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        height: 100%;
        width: 10px;
        background-color: #EDEDED;
        box-shadow: -10px 0 15px rgba(0, 0, 0, 0.1), 10px 0 15px rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        /* Rounded shadow near the spine */
        z-index: 1;
    }

    /* Adding subtle shadows to mimic additional pages */
    #book::after {
        content: '';
        position: absolute;
        left: 48%;
        top: 0;
        height: 100%;
        width: 54%;
        background: radial-gradient(circle at left center, transparent 20%, rgba(0, 0, 0, 0.05) 100%);
        z-index: 0;
    }

    #left-page,
    #right-page {
        width: 50%;
        height: 100%;
        padding: 40px;
        box-sizing: border-box;
        position: relative;
        z-index: 2;
    }

    #left-page {
        float: left;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #right-page {
        float: right;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;
        top: -40px;
    }
}

@media (max-width: 600px) {
    #book{display: none}
    #right-page{display: block;}
    .content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(312px, 1fr));
        gap: 50px;
        padding: 20px 0;
        font-size: 20px;
        line-height: 1.5;
    }
    #mobile_book{
        width: 90%;
        height: 200px;
        position: relative;
        text-align: center;
        margin:auto;
    }

    #mobile_book h1{
        color: #6E4ADB;
        font-size: 48px;
        margin: 0;
        line-height: 1.2;
        text-align: center;
        text-shadow: white 2px 3px;
    }

    #mobile_book p{
        font-size: 30px; 
        color:black; 
        font-weight: normal;
    }

            @keyframes borderAnimation {
        0% {
            box-shadow: 0 0 0 0 #f1828d;
            /* No additional borders at the start */
        }

        25% {
            box-shadow:
                0 0 0 10px #f1828d,
                /* Space between inner and middle border */
                0 0 0 14px #f1828d;
            /* Middle border - Lighter Red */
        }

        50% {
            box-shadow:
                0 0 0 10px #f1828d,
                0 0 0 14px #f1828d,
                /* Middle border */
                0 0 0 20px #f1828d;
            /* Space for outer border */
        }

        70% {
            box-shadow:
                0 0 0 10px #f1828d,
                0 0 0 14px #f1828d,
                /* Middle border */
                0 0 0 20px #f1828d,
                0 0 0 23px #f1828d;
            /* Outer border */
        }

        100% {
            box-shadow:
                0 0 0 0 white;
            /* Reset to no additional borders */
        }
    }

}

    @media (min-width: 601px){
        #mobile_book{display: none}

    @keyframes borderAnimation {
    0% {
        box-shadow: 0 0 0 0 white;
        /* No additional borders at the start */
    }

    25% {
        box-shadow:
            0 0 0 10px white,
            /* Space between inner and middle border */
            0 0 0 14px #ff6666;
        /* Middle border - Lighter Red */
    }

    50% {
        box-shadow:
            0 0 0 10px white,
            0 0 0 14px #ff6666,
            /* Middle border */
            0 0 0 20px white;
        /* Space for outer border */
    }

    70% {
        box-shadow:
            0 0 0 10px white,
            0 0 0 14px #ff6666,
            /* Middle border */
            0 0 0 20px white,
            0 0 0 23px #ff9999;
        /* Outer border */
    }

    100% {
        box-shadow:
            0 0 0 0 white;
        /* Reset to no additional borders */
    }
}
}

#left-page h1 {
    color: #6E4ADB;
    font-size: 48px;
    margin: 0;
    line-height: 1.2;
    text-align: center;
}

h1 p {
    font-size: 30px; 
    color:black; 
    font-weight: normal;
}

#button-49,
#button-49:after {
    cursor: pointer;
    width: 150px;
    height: 76px;
    line-height: 78px;
    font-size: 20px;
    font-family: 'Bebas Neue', sans-serif;
    background: linear-gradient(45deg, transparent 5%, #FF013C 5%);
    border: 0;
    color: #fff;
    letter-spacing: 3px;
    box-shadow: 6px 0px 0px #00E6F6;
    outline: transparent;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

#button-49:after {
    --slice-0: inset(50% 50% 50% 50%);
    --slice-1: inset(80% -6px 0 0);
    --slice-2: inset(50% -6px 30% 0);
    --slice-3: inset(10% -6px 85% 0);
    --slice-4: inset(40% -6px 43% 0);
    --slice-5: inset(80% -6px 5% 0);

    content: 'BUY NOW';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 3%, #00E6F6 3%, #00E6F6 5%, #FF013C 5%);
    text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #00E6F6;
    clip-path: var(--slice-0);
}

#button-49:hover:after {
    animation: 1s glitch;
    animation-timing-function: steps(2, end);
}

#button-49 a{
    text-decoration: none;
    color: white;
}

@keyframes glitch {
    0% {
        clip-path: var(--slice-1);
        transform: translate(-20px, -10px);
    }

    10% {
        clip-path: var(--slice-3);
        transform: translate(10px, 10px);
    }

    20% {
        clip-path: var(--slice-1);
        transform: translate(-10px, 10px);
    }

    30% {
        clip-path: var(--slice-3);
        transform: translate(0px, 5px);
    }

    40% {
        clip-path: var(--slice-2);
        transform: translate(-5px, 0px);
    }

    50% {
        clip-path: var(--slice-3);
        transform: translate(5px, 0px);
    }

    60% {
        clip-path: var(--slice-4);
        transform: translate(5px, 10px);
    }

    70% {
        clip-path: var(--slice-2);
        transform: translate(-10px, 10px);
    }

    80% {
        clip-path: var(--slice-5);
        transform: translate(20px, -10px);
    }

    90% {
        clip-path: var(--slice-1);
        transform: translate(-10px, 0px);
    }

    100% {
        clip-path: var(--slice-1);
        transform: translate(0);
    }
}

#back-to-top{
    position: fixed;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    -webkit-box-shadow: 0 3px 32px 3px #dddddd;
    -moz-box-shadow: 0 3px 32px 3px #dddddd;
    box-shadow: 0 3px 32px 3px #dddddd;
    right: 20px;
    bottom: 20px;
    background-image: url("../assets/images/up-arrow.jpg");
    background-size: cover;
    z-index: 1
}

@media (min-width: 768px) {

    #button-49,
    #button-49:after {
        width: 200px;
        height: 86px;
        line-height: 88px;
    }
}

#center-button {
    position: relative;
    margin: auto;
    width: 200px;
    min-height: 1px;
    top: -43px;
}

#center-button p{
    font-size: 17px
}
#center-button label{
    font-size: 17px
}

@media (min-width: 1400px) {
    #separation {
        width: 100%;
        height: 270px;
        position: relative;
        background-image: url("../assets/images/separation.png");
        background-size: 100% auto;
    }

    #separation2 {
        width: 100%;
        height: 270px;
        position: relative;
        background-image: url("../assets/images/separation2.png");
        background-size: 100% auto;
    }

    #audio-loader {
        position: relative;

        width: 300px;
        height: 300px;
    }

    #play-button {
        position: absolute;
        width: 200px;
        height: 60px;
        top: 123%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 3rem;
        font-size: 24px;
        cursor: pointer;
        outline: none;
        z-index: 3;
    }

}

@media (max-width: 1399px) {
    #separation {
        width: 100%;
        height: 100px;
        position: relative;
        background-image: url("../assets/images/separation.png");
        background-size: 100% auto;
    }

    #separation2 {
        width: 100%;
        height: 100px;
        position: relative;
        background-image: url("../assets/images/separation2.png");
        background-size: 100% auto;
    }

    #audio-loader {
        position: relative;
        width: 250px;
        height: 250px;
    }

    #play-button {
        position: absolute;
        width: 200px;
        height: 60px;
        top: 130%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        border: none;
        border-radius: 3rem;
        font-size: 24px;
        cursor: pointer;
        outline: none;
        z-index: 3;
    }
}

@media (max-width: 600px){
    #audio-loader {
        position: relative;
        width: 250px;
        height: 250px;
        margin: auto;
    }

    #play-button_mobile {
        position: absolute;
        width: 100px;
        height: 50px;
        top: 200px;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.4);
        color: white;
        border: none;
        border-radius: 3rem;
        font-size: 24px;
        cursor: pointer;
        outline: none;
        z-index: 3;
    }
}


#play-button:active {
    background-color: rgba(0, 0, 0, 0.9);
}

#circle-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ff0000;
    /* Inner border - Bright Red */
    box-shadow: 0 0 0 0 white;
    /* Start with no additional borders */
    animation: borderAnimation 3s linear infinite;
    /* Animation over 4 seconds, looping infinitely */
}

#info-bubble {
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #6c5ce7;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    font-size: 14px;
    text-align: center;
    width: 250px;
    z-index: 10;
}

#info-bubble::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #6c5ce7 transparent transparent transparent;
}

#center-button {
    position: relative;
    margin: auto;
    width: 200px;
    min-height: 1px;
    top: -43px;
    display: flex;
    justify-content: center;
}

#button-49 {
    position: relative;
    z-index: 1;
    /* Make sure the button is above the bubble */
}

#button-49:hover+#info-bubble {
    opacity: 1;
    visibility: visible;
}

#info-bubble:hover {
    opacity: 1;
    visibility: visible;
}

#terms_links{
    cursor: pointer;
}

#terms{
    transform: scale(1.5);
}

#left_comment {
    font-size: 18px;
    margin: 20px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: rgba(240, 46, 170, 0.4) -5px 5px, rgba(240, 46, 170, 0.3) -10px 10px, rgba(240, 46, 170, 0.2) -15px 15px, rgba(240, 46, 170, 0.1) -20px 20px, rgba(240, 46, 170, 0.05) -25px 25px;

}

.comment {
    text-align: center;
    font-style: italic;
    font-weight: bold;
    font-size: 20px;
}

#mid_comment {
    font-size: 18px;
    background: white;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: rgba(240, 46, 170, 0.4) 0px 5px, rgba(240, 46, 170, 0.3) 0px 10px, rgba(240, 46, 170, 0.2) 0px 15px, rgba(240, 46, 170, 0.1) 0px 20px, rgba(240, 46, 170, 0.05) 0px 25px;

}

#right_comment {
    font-size: 18px;
    background: white;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: rgba(240, 46, 170, 0.4) 5px 5px, rgba(240, 46, 170, 0.3) 10px 10px, rgba(240, 46, 170, 0.2) 15px 15px, rgba(240, 46, 170, 0.1) 20px 20px, rgba(240, 46, 170, 0.05) 25px 25px;

}

@media (min-width: 1400px) {
    #slogan {
        font-size: 2.5vw;
        text-transform: uppercase;
        text-align: center;
        line-height: 1.3;
        font-family: 'Calibri', sans-serif;
        font-weight: 900;
        color: black;
        text-align: center;
    }
}

@media (max-width: 1399px) {
    #slogan {
        font-size: 3.9vw;
        text-transform: uppercase;
        text-align: center;
        line-height: 1.3;
        font-family: 'Calibri', sans-serif;
        font-weight: 900;
        color: black;
        text-align: center;
    }
}

@media (max-width: 600px) {
    #slogan {
        font-size: 7vw;
        text-transform: uppercase;
        text-align: center;
        line-height: 1.3;
        font-family: 'Calibri', sans-serif;
        font-weight: 900;
        color: black;
        text-align: center;
    }
}

#slogan-line {
    position: relative;
    white-space: nowrap;

    &:after {
        --deco-height: 0.3125em;
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: calc(var(--deco-height) * -0.625);
        height: var(--deco-height);
        background-image: url("../assets/images/test.png");
        background-size: auto 100%;
        background-repeat: round;
        background-position: 0em;
    }
}

/* Style for #comment_title */
#main_title {
    width: 80%;
    min-height: 1px;
    position: relative;
    margin: auto;
    padding-bottom: 40px;
}

/* Style for #white */
#white {
    width: 100%;
    min-height: 1px;
    background: white;
    position: relative;
    top: 40px;
}

@media (min-width: 600px) {
    /* Style for #author_comment_title */
    .comment_title {
        display: flex;
        align-items: center; /* Centers items vertically */
        justify-content: center; /* Centers the content horizontally */
    }

    /* Style for the image inside #author_comment_title */
    .comment_title img {
        width: 120px;
        margin-right: 10px; 
        margin-top: 45px; 
        height: auto;
    }

    /* Style for the paragraph inside #author_comment_title */
    .comment_title p {
        font-size: 42px;
        top: 35px;
        position: relative;
        left: 10px;
        font-weight: 550;
        font-family: 'Calibri', sans-serif;
    }
}

@media (max-width: 599px) {
    /* Style for #author_comment_title */
    .comment_title {
        position: relative;
        width: 100%;
        min-height: 1px;
    }

    /* Style for the image inside #author_comment_title */
    .comment_title img {
        width: 120px;
        margin:auto;
        display: block;
        
    }

    /* Style for the paragraph inside #author_comment_title */
    .comment_title p {
        font-size: 35px;
        text-align: center;
        position: relative;
        left: 10px;
        font-weight: 550;
        font-family: 'Calibri', sans-serif;
    }
}

/* Style for #author_description */
#author_description {
    width: 80%;
    top: 60px;
    min-height: 4px;
    position: relative;
    margin: auto;
    line-height: 35px;
    font-size: 20px;
}

.link{
    color: white;
}
