/* ===========================
   Base Styles
   =========================== */

   body, html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
    cursor: none;
    position: relative;
    z-index: 1;
    background-color: #f4f4f4;
}

/* ===========================
   Mouse Follower
   =========================== */

   #mouseFollower {
    position: absolute;
    width: 50px; /* Or any size you want */
    height: 50px; /* Or any size you want */
    border-radius: 50%; /* Makes it round */
    background-color: white; /* Or any color you want */
    pointer-events: none; /* Ensures the cursor doesn't interact with the div */
    mix-blend-mode: difference; /* Set blend mode to difference */
    z-index: 1000;
}


/* ===========================
   Canvas Containers
   =========================== */

.canvas-container,
.canvas-container-2,
.canvas-container-3 {
    position: relative;
    width: 100vw;
    height: 100vh;
    z-index: 1;
}

.canvas-container {
    background-color: #52e075;
}

/* ===========================
   Media Styling
   =========================== */

.media-image,
.media-video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

/* ===========================
   Text Sections
   =========================== */

.white {
    color: #ffffff;
}

.bgblack {
    background-color: black;
}

.short {
    height: 20vh;
}

.pink {
    color: #ff66db;
}
.white {
    color: #ffffff;
}
.overlay-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Domine', serif;
    font-size: 12vw;
    text-align: center;
    z-index: 2;
    color: #ff66db;
    pointer-events: none;

}

.overlay-text-2 {
    color: #000000;
    font-size: 14vw;
}

.overlay-text-3 {
    color: #000000;
    font-size: 8vw;
}

/* ===========================
   Subtitles
   =========================== */

.subtitles {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color: #ff66db;
    text-align: center;
    font-size: 2em;
    font-family: 'Courier New', monospace;
}

.subtitles p {
    margin: 0;
}

.scientific-section {
    background-color: #ffffff;
    color: #000000;
    padding: 40px; /* Increased padding for more spaciousness */
    margin: 30px auto; /* Increased margin for better separation */
    max-width: 800px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

.scientific-section h2 {
    font-size: 1.5em;
    margin-bottom: 20px; /* More space below the heading */
    color: #333333;
    text-align: left;
}

.scientific-section p {
    font-size: 1em;
    text-align: justify;
    margin-top: 15px; /* Add space above the paragraph */
    color: #555555;
}

.scientific-section img {
    width: auto; /* Allow the width to scale naturally */
    max-width: 200px; /* Set a fixed maximum width for the image */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Center the image block */
    margin: 20px auto; /* Add spacing above and below, and center it */
}
/* ===========================
   Responsive Styles
   =========================== */
   @media screen and (max-width: 768px) {
    #mouseFollower {
        display: none;
    }

    body {
        cursor: auto;
    }

    .overlay-text {
        font-size: 10vw;
    }

    .overlay-text-2 {
        font-size: 12vw;
    }

    .overlay-text-3 {
        font-size: 6vw;
    }

    .scientific-section {
        padding: 30px;
        margin: 20px;
    }

    .scientific-section h2 {
        font-size: 1.3em;
    }

    .scientific-section img {
        max-width: 150px; /* Smaller size for medium screens */
    }
}

@media screen and (max-width: 480px) {
    .overlay-text {
        font-size: 8vw;
    }

    .overlay-text-2 {
        font-size: 10vw;
    }

    .overlay-text-3 {
        font-size: 5vw;
    }

    .subtitles {
        font-size: 1.5em;
    }

    .scientific-section {
        padding: 20px;
        margin: 15px;
    }

    .scientific-section h2 {
        font-size: 1.2em;
    }

    .scientific-section img {
        max-width: 100px; /* Even smaller size for small screens */
    }

    .scientific-section p {
        font-size: 0.9em;
    }
}