/* Light mode styles */
body {
    margin: 0;
    padding: 0;
    background-color: white;
    color: black;
    font-family: 'Sofia Pro', Arial, sans-serif;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: rgba(250, 250, 250, 0.8);
    color: black;
    padding: 15px 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.top-bar .title {
    font-size: 17px;
    font-weight: Regular;
    color: black;
    letter-spacing: 2px;
    transition: color 0.5s ease;
}

.top-bar .resume,
.top-bar .email-button,
#about-me-button {
    position: absolute;
    top: 16px;
    font-size: 14px;
    color: black;
    text-decoration: none;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0);
    padding: 5px 10px;
    border-radius: 0px;
    border: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.top-bar .resume {
    right: 190px;
}

.top-bar .email-button {
    right: 95px;
}

#dark-mode-toggle {
    position: absolute;
    right: 60px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: black;
    padding: 5px 10px;
}

#about-me-button {
    right: 280px; 
}

/* Icon specific style */
#dark-mode-toggle.dark-mode-icon {
    background: none;
    background-image: url('dark-mode.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 20px;
    height: 20px;
    display: inline-block;
    cursor: pointer;
}

/* Dim on hover */
#dark-mode-toggle.dark-mode-icon:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

/* Reset box around icon */
#dark-mode-toggle.dark-mode-icon {
    border: none;
    padding: 0;
    margin: 0;
    background-color: transparent;
    outline: none;
}


/* Reset default box on hover */
#dark-mode-toggle.dark-mode-icon {
    box-shadow: none;
}



.top-bar .resume:hover,
.top-bar .email-button:hover,
#about-me-button:hover {
    background-color: black;
    color: white;
}

.top-bar .logo {
    height: 30px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
    transition: filter 0.5s ease;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: 60px auto 0;
}

.video-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.5s ease;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: .8;
    border: none;
    padding: 0px; /* Adjust padding as needed */
    border-radius: 50%; /* Keeps the button circular */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.play-button img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

video {
    display: none;
    width: 100%;
    height: auto;
}

/* About Me section */
.about-me {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 140px auto;
    max-width: 1200px;
    text-align: center;
    margin-bottom: 20 px;
}

.about-me img {
    max-width: 300px;
    height: auto;
    margin-right: 20px;
    margin-top: 20px;
    border-radius: 0px;
    transition: transform 0.3s ease;
}

.about-me .text {
    max-width: 650px;
    text-align: left;
    padding-left: 30px;
    padding-right: 30px;
}

.about-me .text h2 {
    margin-bottom: 10px;
    color: black;
}

.about-me .text p {
    color: #555;
}




/* Flexbox row for icons */
.icon-row {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 0;
    position: relative;
    top: -16px;
}

.icon-link {
    margin-right: -12px; /* Adjust negative margin for tighter spacing */
}

.icon-link img {
    width: 22px;
    height: 22px;
    display: block;
}

.icon-link:hover img {
    opacity: .5;
    transition: transform 0.3s ease;
}

.about-me .mobile-resume-section {
    position: abosule;
    font-size: 14px;
    color: black;
    text-decoration: none;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0);
    padding: 0px 0px;
    border-radius: 0px;
    border: none;
    transitiony: background-color 0.3s ease, color 0.3s ease;
    display: none;
}

/* #collage {
    position: absolute;
    left: 50%;
    bottom: -500px;
    width: 200vw;  
    clip-path: inset(0 0 0 0); 
    height: auto;
    z-index: -1;
    opacity: 1;
    overflow: hidden;
   
}
*/

/* Dark mode styles */
.dark-mode {
    background-color: black;
    color: white;
}

.dark-mode .top-bar {
    background-color: rgba(30, 30, 30, 0.9);
}

.dark-mode .resume,
.dark-mode .email-button,
.dark-mode #dark-mode-toggle,
.dark-mode #about-me-button,
.dark-mode .title,
.dark-mode .about-me .text h2 ,
.dark-mode .about-me .text p {
    color: white;
}

.dark-mode .resume:hover,
.dark-mode .email-button:hover,
.dark-mode #about-me-button:hover {
    background-color: white;
    color: black;
}

.dark-mode .logo,
.dark-mode .video-thumbnail,
.dark-mode .dark-mode-icon,
.dark-mode .video-thumbnail,
.dark-mode .icon-link img,
.dark-mode .mobile-resume-section {
    filter: invert(1);
}



/* Mobile + Tablet */
@media (max-width: 1100px) {
    .about-me {
        flex-direction: column;
        align-items: center;
    }

    .about-me img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .top-bar #about-me-button,
    .top-bar .resume, 
    .top-bar .email-button {
        display: none;
    }

    .icon-link {
    margin-right: 8px; /* Adjust negative margin for tighter spacing */
}

.icon-link img {
    width: 28px;
    height: 28px;
    display: block;
}
.about-me .mobile-resume-section {
    display: block;
}
}
