/* Reset some default styles */
body, h1, h2, h3, p {
   margin: 0;
   padding: 0;
}

/* Basic styling for the header */
header {
   background-color: #333;
   color: #fff;
   text-align: center;
   padding: 1rem;
}

/* Style the voiceover reel section */
#voiceover-reels {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 20px; /* Add some spacing between voiceover reels */
}

/* Style individual voiceover reels */
.voiceover-reel {
   background-color: #f0f0f0;
   border: 1px solid #ccc;
   border-radius: 10px;
   padding: 20px;
   text-align: center;
   width: 250px;
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
   transition: transform 0.2s ease-in-out;
}

.voiceover-reel:hover {
   transform: scale(1.05); /* Add a hover effect to slightly scale up on hover */
}

/* Style the audio controls */
audio {
   width: 100%;
}

/* Style the titles */
h2 {
   margin-top: 0;
   color: #333;
   font-size: 1.5rem;
}

/* Style the "Follow Me" section */
#follow-me {
   background-color: #0077B5; /* LinkedIn Blue */
   color: #fff;
   padding: 20px;
   text-align: center;
}

.social-links {
   margin-top: 10px;
}

.social-links a {
   display: inline-block;
   margin: 5px;
   padding: 10px 20px;
   background-color: #fff;
   color: #0077B5;
   text-decoration: none;
   border-radius: 5px;
   font-weight: bold;
   transition: background-color 0.3s ease-in-out;
}

.social-links a:hover {
   background-color: #00405B; /* Darker LinkedIn Blue */
   color: #fff;
}

/* Style the "About Me" section */
#about-me {
   background-color: #f0f0f0;
   padding: 20px;
   text-align: center;
}

/* Style the "Contact Me" section */
#contact-me {
   background-color: #007ACC; /* Skype Blue */
   text-align: center;
}

/* Existing CSS styles above this line... */

/* Style the "Projects" section */
#projects {
   padding: 20px;
   text-align: center;
   overflow-x: auto; /* Add horizontal scroll for small screens */
}

.projects-container {
   display: flex;
   flex-wrap: wrap; /* Allow projects to wrap to new lines */
   gap: 20px; /* Add spacing between projects */
   justify-content: center; /* Center-align projects */
}

/* Style individual projects */
.project {
   background-color: #f0f0f0;
   border: 1px solid #ccc;
   border-radius: 10px;
   padding: 20px;
   text-align: center;
   width: calc(33.33% - 20px); /* Adjust the width as needed for 3 videos per row */
   box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
   transition: transform 0.2s ease-in-out;
}

.project:hover {
   transform: scale(1.05); /* Add a hover effect to slightly scale up on hover */
}

.project h3 {
   font-size: 1.5rem;
   margin-top: 0;
}

/* Style the embedded YouTube videos */
.video-container {
   position: relative;
   padding-bottom: 56.25%; /* 16:9 aspect ratio */
   overflow: hidden;
}

.video-container iframe {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
}

/* Responsive layout for different screen sizes */
@media (max-width: 768px) {
   .projects-container {
      justify-content: flex-start; /* Start from the left for narrow screens */
   }

   .project {
      width: 100%; /* Full width for narrow screens, 1 video per row */
   }
}
