/* Video container styling */
.home-video-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 50px; /* Add padding around the whole container */
    height: 600px;
}

.home-video {
    width: calc(33.33% - 10px); /* Three videos side by side with margin in between */
    background-color: #f0f0f0; /* Background color of the video container */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Hide overflow content */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.home-video::before {
    content: "";
    display: block;
    padding-top: 100%; /* Make the video fill the entire container */
}

/* view more buttons styling */
.button-container {
    text-align: center; /* Center align the button */
    margin-top: 30px; /* Add margin from the videos container */
}

.view-more-btn {
    padding: 0; /* Remove button padding */
    background-color: transparent; /* Transparent background */
    color: #383838; /* Button text color */
    text-decoration: none; /* Remove default underline */
    font-size: 30px; /* Button text size */
    position: relative; /* Ensure position is relative for absolute positioning of the underline */
    margin-bottom: 20px;
}

.view-more-btn::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background-color: #82e4ff; /* Color of the underline */
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease; /* Add transition effect */
}

.view-more-btn:hover::after {
    width: 100%; /* Expand the underline on hover */
}

.view-more-btn:hover {
    color: #82e4ff; /* Color of the underline */
}


.example-editor-profiles {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.example-editor-profile {
    margin-top: 50px;
    display: flex;
    align-items: center;
    margin-bottom: 100px;
}

.example-profile-picture {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #f0f0f0;
    background-size: cover; /* Ensure image covers the circle */
    background-position: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.left-circle {
    margin-right: 50px;
}

.right-circle {
    margin-left: 50px;
}

.example-profile-info {
    color: #383838;
    font-size: 30px;
    width: 600px; /* Adjust the width of the info container */
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* CSS for slideshow */
.slideshow-container {
    position: relative;
    background-color: #f0f0f0;
    height: 110px; /* Adjust height as needed */
    width: 90%; /* Adjust width as needed */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-left: 5%;
}

.slideshow-slide {
    display: flex;
    justify-content: center; /* Horizontally center text */
    align-items: center; /* Vertically center text */
    padding: 40px;
    color: #333; /* Text color */
    font-size: 18px; /* Text font size */
    text-align: center;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 50px;
    background-color:#f0f0f0;
    color: #383838;
    font-size: 20px;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

.dots-container {
    text-align: center;
    margin-top: -20px;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #82e4ff;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #383838;
}

/* CSS for video container */
.video-container {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.video-item {
    flex: 0 0 calc(25% - 20px); /* Each video item should take 25% of the container width */
    margin: 10px;
    margin-top: 50px;
    text-align: center;
    overflow: hidden; /* To prevent videos from overflowing */
    position: relative; /* Necessary for proper positioning of the profile pic and name */
}

.video-item video {
    width: 100%; /* Ensure videos take up the entire width of the container */
    max-width: 100%; /* Ensure videos don't exceed the width of the container */
    height: auto;
}

/* Clear the float for every 4th video to start a new row */
.video-item:nth-child(4n + 1) {
    clear: both;
}

.profile-pic {
    display: inline-block; /* Make profile pic an inline block */
    margin-top: 10px; /* Add some margin between video and profile pic */
    border-radius: 50%; /* Make the profile pic circular */
    width: 40px; /* Adjust the width of the profile pic */
    height: 40px; /* Adjust the height of the profile pic */
    overflow: hidden; /* Ensure the circular shape is maintained */
}

.editor-name {
    display: inline-block; /* Make editor name an inline block */
    vertical-align: top; /* Align editor name to the top of the profile pic */
    margin-left: 10px; /* Add some margin between profile pic and editor name */
    margin-top: 20px; /* Adjust margin from video */
}

/* External CSS for adding shadow around text container */
.text-container {
    margin-left: 100px;
    margin-top: 50px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); /* Shadow effect */
    padding: 20px; /* Add padding for spacing */
    max-width: 400px; /* Limit maximum width */
}

.text-container h1 {
    font-family: 'Poetsen One', sans-serif; /* Poetsen One font */
    font-weight: 1000;
    font-size: 25px;
}

.text-container h3 {
    font-family: 'Roboto', sans-serif; /* Roboto font */
    font-weight: 100;
    font-size: 15px;
}

.image-container {   
    margin-left: 60%;
}
 
.edit-cartoon {
    width: 400px; /* Adjust image width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px; /* Rounded corners */
}


/* Styles for devices with a maximum width of 600px */
@media only screen and (max-width: 600px) {


    /* Banner styles */
    .banner img {
        width: 100%; /* Make the banner image responsive */
    }
    
    /* works section styles */
    .works-section {
        padding: 20px;
        text-align: center;
    }
    
    .works-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        grid-gap: 15px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .works-container h2 {
        grid-column: span 2; /* Span the heading across both columns */
        margin-bottom: 20px;
    }
    
    .work {
        display: flex;
        justify-content: center; /* Center the image horizontally */
        align-items: center; /* Center the image vertically */
    }
    
    .work img {
        width: 100%; /* Custom width for images */
        height: 100%; /* Custom height for images */
        object-fit: cover; /* Ensure images cover the entire container */
        border-radius: 10px; /* Optional: add rounded corners to images */
    }
    
    
    /* About us section styles */
    .about-us-section {
        padding: 20px;
        text-align: center;
    }
    
    .about-us-container {
        max-width: 320px; /* Adjust max-width for smaller screens */
        margin: 0 auto;
    }
    
    .about-us-container p {
        margin-bottom: 20px;
    }
    

        /* Video container styling */
        .home-video-container {
            flex-direction: column; /* Stack videos vertically */
            padding: 20px; /* Adjust padding */
            height: auto; /* Let height adjust automatically */
        }
    
        .home-video {
            width: 100%; /* Make videos full width */
            margin-bottom: 20px; /* Add spacing between videos */
        }
    
        /* View more buttons styling */
        .button-container {
            margin-top: 20px; /* Adjust margin */
        }
    
        .view-more-btn {
            font-size: 24px; /* Adjust font size */
        }
    
           /* Example editor profiles styling */
        .example-editor-profiles {
            margin-top: 50px;
            display: flex;
            flex-direction: column;
            align-items: center;
            max-width: 100%;
        }
    
        .example-editor-profile {
            display: flex;
            align-items: center;
            flex-direction: row; /* Ensure profiles stay in the same row format */
            margin-bottom: 20px; /* Adjust margin between profiles */
            width: 100%; /* Ensure profiles take full width */
            box-sizing: border-box; /* Include padding and border in element's total width and height */
            padding: 0 10px; /* Add padding for spacing */
        }
    
        .example-profile-picture {
            width: 80px; /* Adjust width */
            height: 80px; /* Adjust height */
            border-radius: 50%;
            background-color: #f0f0f0;
            background-size: cover; /* Ensure image covers the circle */
            background-position: center;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }
    
        .left-circle {
            margin-right: 20px; /* Adjust margin */
        }
    
        .right-circle {
            margin-left: 20px; /* Adjust margin */
        }
    
        .example-profile-info {
            color: #383838;
            font-size: 18px; /* Adjust font size */
            width: calc(100% - 120px); /* Adjust width considering profile picture size and margin */
            height: auto; /* Let height adjust automatically */
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }
    
    
        /* CSS for slideshow */
        .slideshow-container {
            width: 100%; /* Make slideshow full width */
            margin-left: 0; /* Remove left margin */
        }
    
        .slideshow-slide {
            font-size: 16px; /* Adjust font size */
            padding: 45px; /* Adjust padding */
        }
    
        .prev,
        .next {
            padding: 20px; /* Adjust padding */
            font-size: 16px; /* Adjust font size */
        }
    
        /* CSS for video container */
        .video-container {
            flex-direction: column; /* Stack videos vertically */
            padding: 0 10px; /* Add padding for better spacing */
        }
    
        .video-item {
            width: 100%; /* Make video items full width */
            margin: 10px 0; /* Adjust margin */
        }
    
        .profile-pic {
            width: 30px; /* Adjust width */
            height: 30px; /* Adjust height */
        }
    
        .editor-name {
            font-size: 16px; /* Adjust font size */
            margin-left: 5px; /* Adjust margin */
        }
        
    }