* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding: 20px 10%;
    background-color: #333;
    flex: 90;  
    min-height: 70vh;     
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 85;
}

.logo {
    max-width: 80%;
    height: 300px;  
}

main {
    height: 10vh;
}

nav {
    position: sticky;     
    top: 0;
    background: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    flex-direction: row; 
    justify-content: center; 
    flex: 15;       
    flex-wrap: wrap;  
}

.nav-links li {
    border: 2px solid peachpuff;
    box-shadow: 5px 5px 15px rgba(238, 120, 120, 0.678);
    transition: all 0.3s ease;
    padding: 10px;
    margin: 5px;   
    text-align: center;
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-radius: 15px; 
    width: auto;      
    cursor: pointer; 
}

.nav-links i {
    color: #f7a987;
}

.nav-links li span {
    display: none; 
}

.nav-links a {
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1rem;
}

#video-section {
    background-color: #212121; /* dark color, different than the header */
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container {
    border: 5px solid #ff00ff; 
    border-radius: 25px;
    box-shadow: 0px 0px 20px #00ffff; 
    padding: 20px; 
    overflow: hidden; 
}

.video-container iframe {
    max-width: 100%;
    height: auto; 
    display: block; 
}

.video-container .video-caption {
    font-size: 1em; 
    font-style: italic; 
    color: rgba(0, 255, 255, 0.6); 
    text-align: right; 
    padding-top: 10px; 
    padding-right: 2%; 
}

/* Running Section */
#running {
    background: linear-gradient(to bottom, black, gray);
    padding: 20px;
    text-align: center;
    color: #00FF00; /* Neon Green */
    margin-top: 12px;
    box-shadow: 0 0 10px #00FF00, 0 0 20px #00FF00;
}



.running-stats {
    font-size: 10vh; /* Making it bigger like a header */
    margin-bottom: 20px;
    padding-top: 5vh;
    padding-bottom: 5vh;
    font-style: italic;
    color: goldenrod;
    text-shadow: 0 0 10px #FF4500, 0 0 20px #FF4500, 0 0 30px #FF4500; /* Neon orange shadow */
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: rgb(119, 72, 131);
}

.running-image-container {
    display: inline-block;
    max-width: 80vw; /* Set maximum width to 80% of the viewport width */
    margin: 0 auto;  /* Center the image container */
}

.running-image {
    border: 1px solid #00FF00; /* Neon Green */
    border-radius: 10px;    
    max-width: 100%;
    margin-bottom: 20px;
    width: 100%; /* Set image width to 100% of its container */
    height: auto; /* Keep the aspect ratio */
    max-height: 70vh; /* Set maximum height to 70% of the viewport height */
}

.running-links a {
    color: #00FF00; /* Neon Green */
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 20px; /* Add some space between the image and the links */
}

.running-links a:hover {
    color: #FFFFFF; /* Changing color to white on hover */
}

@media screen and (max-width: 768px) {
    .running-image {
        margin-left: 10px;
        margin-right: 10px;
    }
}

@media (max-width: 768px) {
    #video-section {
        padding: 50px 10px; 
    }

    .video-container .video-caption {
        font-size: 0.6em; 
    }
}

main {
    flex: 2;
}

.objective {
    padding: 50px 10%;
    padding-top: 5%;
}

.objective h1 {
    text-transform: uppercase;
    font-family: Impact, Charcoal, sans-serif;
    font-size: 3.5vh;
    padding-bottom: 3%;
}

.objective p, .objective li {
    font-size: 2vh;
}

.objective ul {
    margin-left: 40px;
    padding-top: 2%;
    padding-bottom: 2%;
}

#interview-images {
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 20px;
    border-top: 3px solid purple;
    box-shadow: 0 0 10px purple, 0 0 5px darkviolet;
}

.interview-image-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
    max-width: 1200px;
    width: 100%;
    padding: 20px 0;
}

.interview-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    width: 30%;
    height: 300px;
    margin: 10px;
    border-radius: 15px;
    overflow: hidden;    
}

.interview-image-wrapper img {
    height: 90%;
    width: 90%;
    object-fit: cover;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .interview-image-container {
        flex-direction: column;
    }

    .interview-image-wrapper {
        width: 60%;
        height: 200px;
    }
}

/* "websites" section styles */
#websites {
    background-color: #1a1a1a;
    padding: 20px 0;
    text-align: center;
    margin-top: 5vh;
}

.websites-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2%;  /* spacing between the images */
    max-width: 100%;  
    padding: 10px; /* padding from the edges of the viewport */
}

.websites-container a {
    width: 24%; /* Further adjusted width to make images smaller on desktop */
    display: flex;
    justify-content: center;
}

.websites-container a img {
    width: 85%;  /* Further adjusted width to make images smaller on desktop */
    border: 3px solid #FF4500;  /* neon tropical orange border */
    border-radius: 8px;  /* rounded corners */
    box-shadow: 0 5px 10px #008000;  /* tropical green drop shadow below the bottom border */
    transition: transform 0.3s ease;  /* smooth hover effect */
    margin: 15px; /* increased space between the images */
}

.websites-container a:hover img {
    transform: scale(1.05);  /* slightly enlarge the image on hover */
}

.websites-caption {
    margin-top: 20px;
    font-size: 2.75rem;  /* caption size */
    color: rgb(198, 115, 219);
    font-family: 'Dosis', sans-serif;
    font-style: italic;
    text-shadow: -2px 0px 10px rgb(240, 162, 7);
    padding-bottom: 2vh;
}

#globe-icon {
    color: aquamarine;
    text-shadow: 0px 2px 1px rgb(198, 115, 219);
}

@media screen and (max-width: 768px) {
    .websites-container a {
        width: 46%;  /* Adjusted width for mobile */
    }

    .websites-caption {
        padding-left: 1vw;
        padding-right: 1vw;
        font-size: 1.5rem;
    }
}


footer {
    padding: 50px 10%;
    text-align: center;
    background-color: #333;
    color: #f0f0f0;
}

footer a {
    color: #f7a987;
}

@media (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        padding: 20px;
        min-height: 90vh
    }

    .logo-container {
        flex: 1;
    }

    .logo {
        max-width: 100%;
        height: auto;
    }

    nav {
        position: relative;     
        top: 0;
        background: #333;
    }

    .nav-links {          
        display: flex;      
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        padding: 0;   
    }

    .nav-links li {
        width: 200px;  
    }

    .nav-links li span {
        display: contents;
    }

    .nav-links li:hover {
        transform: scale(1.1);
        box-shadow: 0px 0px 20px rgba(245, 159, 226, 0.5);
        border-color: goldenrod;
        color: #ee82b8;
    }    

    .nav-links a:hover {
        color: #ee82b8
    }

    .nav-links li:hover i {
        color: #ee82b8
    }

    main {
        height: 10vh
    }

    .objective {
        padding: 50px 10%;
        padding-top: 1.5vh;
        text-align: left;
        color: #f0f0f0;
        font-family: Arial, sans-serif;
        line-height: 1.5;
        padding-left: 200px;    
    
    }

    .objective h1 {
        font-size: 5vh;
        padding-bottom: 1%;
    }

    .objective p, .objective li {
        font-size: 3vh;
    }
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    padding-top: 100px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #000;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    height: 80%;
    overflow: auto;
  }

  .modal-content .carousel-button:hover {
    color: #80e71f
  }
  
  .close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;  
  }
  
  .close:hover,
  .close:focus {
    color: #ac3e8b;
    text-decoration: none;
    cursor: pointer;
  }


.carousel {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item {
    align-self: flex-start; 
    width: 100%; 
}

.carousel-image {
    max-width: 100%;
    max-height: 100%;
    border: 5px solid white;
    border-radius: 5px;
    box-shadow: 5px 2px 25px rgba(245, 159, 226, 0.5);
}

.carousel-button {
    position: absolute;
    top: 50%;
    font-size: 2em;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.carousel-button-previous {
    left: 10px;
}

.carousel-button-next {
    right: 10px;
}

#interview-modal .modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#interview-modal .close {
    position: absolute;
    top: 10px;
    right: 10px;
}

#interview-modal img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    #interview-modal img {
        width: 100%;
        height: 100%;
    }
}

/* Resume modal */
#resume-modal .carousel-item {
    display: none;
}

#resume-modal .carousel-item.active {
    display: block;
    animation: fadein 2s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.resume-content {
    padding: 20px;
    padding-left: 10%; 
    padding-right: 10%;  /* added this line */
    color: #f0f0f0;
    font-size: 16px;
    line-height: 1.6;
    
    margin: 0 auto; /* Centers the content if the viewport is wider than 600px */
    text-align: left; /* Added this line */
    align-self: flex-start; /* New property to override flex alignment */
    width: 90%; /* New property to occupy full width */
}
 
.resume-content section {
    margin-bottom: 30px;
}

.resume-content section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #ee82b8;
}

.resume-content article {
    margin-bottom: 20px;
}

.resume-content article h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #f7a987;
}

.resume-content article h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #f7a987;
}

@media screen and (max-width: 768px) {
    .resume-content {
        padding-left: 5px; /* Changed padding-left for screens smaller than 768px */
        padding-right: 5px;  /* added this line */
    }
}

