.arrow-icon {
    color: #535d56;
    font-size: 90px; /* Increase the font size for a bigger arrow */
    position: absolute;
    display: flex;
    z-index: 999;
    align-items: center;
    transition: transform 0.5s ease-in-out;
    justify-content: center; /* Center the content horizontally and vertically */
}

.arrow-right {
    position: absolute; /* Make sure to set position */
    right: 3%;
    top: 40%;
    rotate: 90deg; /* Use 'transform' property for rotation */
}

.arrow-left {
    position: absolute; /* Make sure to set position */
    left: 3%;
    top: 40%;
    rotate: 270deg; /* Use 'transform' property for rotation */
}

@keyframes pulsateArrow {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3); /* Increase size during pulsation */
    }
}

.arrow-right:hover,
.arrow-left:hover {
    animation: pulsateArrow 1.2s ease-in-out infinite;
    transform: scale(1.2); /* Increase size when clicked */
}

/* Holding everything */
.scroll-container {
    overflow: hidden;
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100vh; /* Adjust as needed */
    overflow: hidden;
    z-index: 0; /* Set a lower z-index value */
}


/* title and the icon */
.intro-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAFAFA;
    height: 100vh;
    top: -5%;
    overflow: hidden;
    flex-direction: column;
    transform-origin: center center;
    opacity: 0; /* Initial opacity for the intro container */
    transition: opacity 0.5s ease-out;
}

/* Speaking video styles */
.speaking-video {
    z-index: 66;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30%;
    left: 7%;
    width: 100%;
    height: 150vh; /* Increased height to allow for zooming effect */
    transform-origin: center center;
    opacity: 1; /* Initial opacity for speaking video */
    transition: opacity 0.5s ease-out;
}


.speaking-video .image {
    flex: 1;
    margin-left: 5%;
    margin-right: 10%;
    margin-top: 2%;
    border-radius: 2%;
}

.speaking-video img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    border-radius: 2%;
}

.speaking-video .text {
    flex: 1;
    padding: 20px;
}

.speaking-video h3 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-left: 5%;
    color: #FAFAFA;
}

.speaking-video .video {
    flex: 1;
    margin-left: 5%;
    margin-right: 10%;
}

.speaking-video video {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 2%;
}

/* Styling for "Read More" link */
.read-more-container {
    margin-top: 10px;
    z-index: 1000; /* Set a higher z-index value */
}

.read-more-link {
    text-decoration: none;
    color: #d2c3ac;
    display: flex;
    align-items: center;
    font-size: 20px;
    margin-left: 5%;
    position: relative;
    z-index: 1000; /* Set a higher z-index value */
}

.read-more-link .iconify {
    font-size: 50px;
    margin-left: 5px;
    animation: hoverAnimation 1s infinite alternate;
    z-index: 1000; /* Set a higher z-index value */
}

@keyframes hoverAnimation {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(10px);
    }
}

/* Styling for video speaking */
.speaking-video img {
    z-index: -1;
    max-width: 20%; /* Adjust the max-width of images */
    display: block;
    max-width: 200%; /* Ensure images don't overflow their containers */
}


/* Speaking video styles */
.speaking-video-reserve {
    z-index: 66;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -30%;
    right: 7%;
    width: 100%;
    height: 150vh; /* Increased height to allow for zooming effect */
    transform-origin: center center;
    opacity: 0; /* Initial opacity for speaking video */
    transition: opacity 0.5s ease-out;
}

.speaking-video-reserve .image {
    flex: 1;
    margin-left: 12%;
    margin-right: 5%;
    margin-top: 2%;
    border-radius: 2%;
}

.speaking-video-reserve img {
    width: 75%;
    height: 100%;
    object-fit: cover;
    border-radius: 2%;
}

.speaking-video-reserve .text {
    flex: 1;
    padding: 20px;
}

.speaking-video-reserve h3 {
    font-size: 20px;
    margin-bottom: 10px;
    margin-right: 5%;
    color: #FAFAFA;
}

.speaking-video-reserve .read-more-container {
    margin-top: 10px;
    margin-left: -5%;
    z-index: 66;
}

.text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.index-h1 {
    font-size: 100px;
    margin: 0;
}

.image {
    width: 70%;
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.mandelbulb-container {
    position: absolute;
    top: -35%;
    left: -10%;
    right: 0; /* Stretch to both ends horizontally */
    transform: translateY(8%); /* No need to translate horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -1;
    width: 100%; /* Full width */
    height: 100vh; /* You can adjust the height as needed */
}

#canvas-wrapper {
    width: 100%; /* Full width */
    display: flex;
    justify-content: center;
}

#mandelbulb-canvas-container {
    width: 100%; /* Full width */
    height: 100%; /* Adjust as needed */
}

/* Adjust the font size of h3 in speaking-video for smaller screens */
@media (max-width: 768px) {
    .speaking-video h3 {
        font-size: 24px;
    }
}

/* Adjust the font size of .read-more-link for smaller screens */
@media (max-width: 768px) {
    .read-more-link {
        font-size: 18px;
    }
}

/* Adjust the font size of .index-h1 for smaller screens */
@media (max-width: 768px) {
    .index-h1 {
        font-size: 60px;
    }
}

/* Adjust the position of .mandelbulb-container for smaller screens */
@media (max-width: 768px) {
    .mandelbulb-container {
        top: -20%;
    }
}

/* Adjust the font size and margin of .arrow-icon for smaller screens */
@media (max-width: 768px) {
    .arrow-icon {
        font-size: 24px; /* Decrease the font size for a smaller arrow */
        margin-right: 2px; /* Decrease the margin for better alignment */
    }
}

