/* color vars */
:root {
    /* Light Mode Colors */
    --mediumBlue: #262626; /* Neutral medium gray */
    --lightBlue: #e6e6e6; /* Soft, warm gray */
    --veryLightBlue: #f9f9f9; /* Off-white */
    --darkBlue: #000000; /* Dark gray */
    --link-hover-bg: #1a1a1a; /* Dark hover background */
    --link-hover-color: #333333; /* Medium-dark gray */
    --links-color: #555555; /* Neutral gray for links */
    --project-hover: #f5f5f5; /* Light hover effect */
    --design-border: #cccccc; /* Medium gray for borders */
    --top-menu-shadow: rgba(0, 0, 0, 0.08); /* Subtle shadow */
}

[data-theme="dark"] {
    --mediumBlue: #c8c8c8;
    --lightBlue: #262626;
    --veryLightBlue: #000000;
    --darkBlue: #b8b8b8;
    --link-hover-bg: #dbdbdb;
    --link-hover-color: #b7b7b7;
    --links-color: #909090;
    --project-hover: #1a1a1a;
    --design-border: #1d1d1d;
    --top-menu-shadow: rgba(255, 255, 255, 0.3);
}

body {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}

body.fade-out {
    opacity: 0;
}

.bad-script-regular {
    font-family: "Bad Script", cursive;
    font-weight: 400;
    font-style: normal;
  }
  
/* apply to everything */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

* {
    font-family: "Montserrat", sans-serif;
}

body {
    margin: 0;
    background-color: var(--mediumBlue);
}

p, li {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;

}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Adjusts dynamically */
}

h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    padding: 0;
    margin: 0;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    padding: 0;
    margin: 0;
}


/* Style the download buttons */
.downloadBtn, .fullBtn, .highlightBtn {
    display: inline-block;
    background-color: var(--mediumBlue);
    color: var(--lightBlue);
    text-decoration: none;
    border-radius: 1.5em;
    font-size: 1.3rem;
    transition: .5s;
    padding: 4vh 6vw;
    bottom: 0;
    left: 0;
}

.downloadBtn:hover, .fullBtn:hover, .highlightBtn:hover{
    background-color: var(--darkBlue);
}

.highlightBtn, .homeBtn {
    /* padding: 2% 4%; */
    /* margin-top: 4%; */
    align-self: center;
}

.danceBtn, .homeBtn{
    margin: 0 1% 2%;
}

/* All topnav styles */
#top-menu {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    padding: 1vh 1vw;
    height: 8vh;
}

/* Logo styling */
#logo {
    height: auto;
    max-height: 50px;
    width: auto;
    max-width: 120px;
    cursor: pointer;
}

.logo-container {
    display: flex;
    align-items: center;
    /* padding-left: 10px; */
}

.menu {
    position: relative;
}

.nav {
    display: flex;
    gap: 10px;
}

.btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 10px 15px;
    transition: color 0.3s;
    color: var(--lightBlue);
}

.btn:hover {
    color: var(--veryLightBlue);
}

.btn::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background: var(--veryLightBlue);
    transition: width 0.3s;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.btn:hover::after {
    width: 100%;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--veryLightBlue); 
    color: var(--darkBlue); 
    padding: 20px;
    border-radius: 15px; 
    z-index: 1000; 
    transition: opacity 0.5s; 
    opacity: 0; 
}

/* HEADER MOVEMENT */
.intro-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 18vh;
}

.interactive-name {
    transform: translate(0, 0);
    transition: none;
}

/* CONTENT STYLES */
main h2 {
    text-align: center;
    /* padding: 4% 0 0 0; */
}

main section{
    background-color: var(--lightBlue);
    color: var(--darkBlue);
}

header {
    color: var(--darkBlue);
    background-color: var(--lightBlue);
    align-content: center;
    text-align: center;
}

footer {
    padding-right: 1%;
    padding-top: 2%;
    background-color: var(--lightBlue);
    text-align: right;
}

#footericon {
    display: flex;
    height: 15vh;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

#footericon img, #footericon a {
    height: 6vh;
    padding: 0 5%;
}

#footericon img {
    opacity: .6;
}

#footericon img:hover {
    opacity: 1;
    height: 6.2vh;
}

#copyWrite {
    margin: 0;
    color: var(--darkBlue);
    text-align: center;
}

/* Home Section Styling */
#homeSec {
    display: flex
;
    align-items: center;
    /* justify-content: center; */
    height: 73vh;
    border-top: 0.3vh solid;
    /* padding: 2vh 5vw; */
}

#homeSec > div {
    display: flex
;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-height: 73vh;
}

/* Image Styling */
#homeSec img {
    max-width: 45%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    object-fit: cover;
    height: 73vh;
}

#homehero {
    max-width: 50%;
    text-align: center;
    max-height: 67vh;
    margin-left: 5vw;
    min-width: 25%;
}



/* ABOUT PAGE */
#aboutTop {
    display: flex;
    justify-content: space-around;
    gap: 2vw;
    padding: 2vh 6vw 0vh;
    /* width: 40vw; */
    align-items: center;
}

#aboutHead {
    color: var(--mediumBlue);
    background-color: var(--lightBlue);
    align-content: center;
    text-align: center;
    height: 20vh;
}

#aboutHead h2 {
    font-size: 4rem;
}
#aboutMain {
    color: var(--lightBlue);
}


#headshot {
    max-height: 60vh;
    /* width: 100%; */
    /* border-radius: 2em; */
    border: 2px solid var(--lightBlue);
    max-width: 35vw;
}

#Bio {
    height: 95%;
    padding: 2% 4%;
    border: var(--mediumBlue) solid 3px;
}

#hobsec {
    margin-bottom: 3%;
    padding: 0 3vw;
}

#hobbies {
    /* display: grid; */
    grid-template-columns: 50% 50%;
    row-gap: 5vh;
    border: solid 3px var(--mediumBlue);
    margin: 3% 0;
}

#hobbies h2 {
    text-align: center;
}
#hobbies div {
    height: 100%;
    margin: auto auto;
}

#hobbies li {
    margin-top: 1em;
}

#looking {
    padding: 5vh 0;
}

#looking h2 {
     margin-top: 0;
     padding-top: 0;
}

#pictures {
    padding-bottom: 1%;
    min-width: 40vw;
    text-align: center;
    overflow: hidden;
    align-items: center;
}

#pictures img {
    margin-right: 0;
    border-radius: 5%;
    height: 85%;
    width: 90%;
    object-fit: cover;
    object-position: center;
}

.mainSec h2 {
    padding: 2vh 0;
    height: 8vh;
    align-items: center;
}

#highlight, .mainSec {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: var(--mediumBlue);
    color: var(--lightBlue); */
    height: 102vh;
    margin: 0;
    padding: 0;
}

.colorOne{
    background-color: var(--mediumBlue);
    color: var(--lightBlue);
}

.colorTwo{
    background-color: var(--lightBlue);
    color: var(--mediumBlue);
}

.colorOne a {
    background-color: var(--lightBlue);
    color: var(--mediumBlue);
}


#highlight p, .mainSec p {
    width: 60%;
    margin: 0 auto;
    padding: 2vh 1vw;
    text-align: center;
    /* height: 12vh; */
}

#highlightLinks, .mainLinks {
    display: flex;
    height: 21vh;
    justify-content: space-evenly;
    width: 100%;
    flex-wrap: wrap;
}

/* .highlightBtn {
    background-color: var(--lightBlue);
    color: var(--mediumBlue);
}

.highlightBtn:hover{
    background-color: var(--veryLightBlue);
} */


/* Slideshow Container */
/* Adjust Slideshow Container */
#slideshow, .mainImg {
    position: relative;
    /* width: 80%; */
    max-width: 95vw;
    /* max-width: 800px; */
    /* margin: 0 auto; */
    overflow: hidden;
    /* border: 2px solid #000; */
    height: 55vh;
    margin: 0 2%;
    display: flex
;
    column-gap: 2vw;
}

/* Adjust the Image Size */
#slideshow img, .mainImg img {
    /* max-width: 50%; */
    height: 55vh;
    object-fit: cover;
    object-position: center;
    width: 50%;
}

#slideshow img{
    width: 100%;
}
/* Slideshow Navigation */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* Caption Text */
.caption {
    text-align: center;
    padding: 10px;
    background-color: #333;
    color: white;
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: 0.8;
}

/* Smooth Transition */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

.webSec div {
    /* display: flex
; */
    /* flex-direction: column; */
    column-gap: 1%;
    justify-content: space-evenly;
    align-items: center;
}

/* Image Styles */
.designSec img, .webSec img {
    /* border: #000 solid 2px; */
    border-radius: 5px;
    object-fit: cover;
    height: 55vh;
}

/*OTHER FUNCTION STYLES  */
/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    /* height: 100%; */
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    margin: auto auto;
    max-width: 600px;
    text-align: center;
    height: 100vh;
}

.resume-image {
    width: auto;
    max-height: 80vh;
    margin-bottom: 20px;
    padding: 3%;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6c6c6c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #a5a5a5;
}

/* Close Button */
.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 40px;
    cursor: pointer;
    color: white;
}

/* button to top */

#myBtn {
    width: 4vw;
    height: auto;
    display: none;
    position: fixed;
    bottom: 1%;
    right: 1%;
    z-index: 99;
    border: none;
    outline: none;
    cursor: pointer;
    background-color: var(--lightBlue);
    border-radius: 3em;
}
  
#myBtn:hover {
    background-color: var(--mediumBlue); /* Add a dark-grey background on hover */
    border-radius: 10em;
}

#darkModeToggle {
    position: fixed;
    bottom: 1%;
    left: 1%;
    z-index: 1;
    font-size: 1.2em;
    width: 4vw;
    height: auto;
    background-color: var(--lightBlue);
    border-radius: 2em;
    /* border: solid var(--mediumBlue) 3px; */
}

#darkModeToggle:hover {
    background-color: var(--mediumBlue);
    /* border-color: var(--lightBlue); */
}

/* MEDIA QUERIES */

@media screen and (min-width: 1550px) {
    html {
        font-size: 20px;
    }
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 900px) {

    /* Home Section Styling */
    #homeSec {
        height: auto;
    }

    #homeSec > div {
        flex-direction: column;
        align-items: center;
        max-height: none;
        text-align: center;
    } 
    #homeSec img {
        width: 100%;
        clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 0);
        /* height: auto; */
        border-radius: 30px;
        padding-top: 1vh;
        height: auto;
    }
    #homehero {
        max-width: 90%;
        margin-left: 0;
        height: auto;
        max-height: none;
    }

        
    .mainSec h2 {
        padding: 2vh 0;
        height: auto;
        align-items: center;
    }

    #highlight, .mainSec {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* background-color: var(--mediumBlue);
        color: var(--lightBlue); */
        height: auto;
        margin: 0;
        padding: 0;
        padding-bottom: 2vh;
    }

    #highlight p, .mainSec p {
        width: 80%;
        height: auto;
    }

    #highlightLinks, .mainLinks {
        height: auto;
    }

    #highlight p, .mainSec p {
        /* width: 80%; */
        height: auto;
    }

    #highlightLinks, .mainLinks {
        height: auto;
    }

    #slideshow, .mainImg {
        height: auto;
    }

    /* Adjust the Image Size */
    #slideshow img, .mainImg img {
        max-width: 100%; /* Make the image width 100% of the container */
        height: auto; /* Keep the height proportional to the width */
        object-fit: cover; /* Ensure the image covers the container while maintaining aspect ratio */
        object-position: center; /* Center the image within the container */
    }


    /* Image Styles */
    .designSec img, .webSec img {
        height: auto;
        max-width: 95vw;
    }

    .downloadBtn, .fullBtn, .highlightBtn {
        padding: 2vh 4vw;
    }

    /* About Page */
    #aboutTop {
        flex-direction:  column;
        padding: 5vh 5vw 0vh;
        gap: none;
        text-align: center;
    }

    #headshot {
        max-width: 90vw;
    }
}

@media (max-width: 624px) {
    #homeSec {
        height: auto;
        padding: 5vh 2vw;
    }
    #homeSec > div {
        gap: 10px;
    }
    #homeSec img {
        max-width: 100%;
        height: auto;
    }
    #homehero {
        max-width: 100%;
        padding: 15px;
    }

    #slideshow, .mainImg {
        position: relative;
        /* width: 80vw; */
        /* max-width: 95vw; */
        /* max-width: 800px; */
        /* margin: 0 auto; */
        overflow: hidden;
        /* border: 2px solid #000; */
        height: auto;
        /* margin: 0 2%; */
        display: flex;
        row-gap: 2vh;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .designSec img, .webSec img {
        /* border: #000 solid 2px; */
        border-radius: 5px;
        object-fit: cover;
        height: auto;
    }
    
    #slideshow img, .mainImg img {
        /* max-width: 50%; */
        /* height: 55vh; */
        object-fit: cover;
        object-position: center;
        width: auto;
        max-width: 95vw;
        width: auto;
    }

}


@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }

    #pictures, #hobbies{
        grid-column: 1/3;
    }

    #hobbies div {
        width: 100%;
    }
    #hobbies {
        display: block;
    }

    #headshot {
        /* width: 100%; */
        margin-bottom: 3%;
        grid-column: 1 / 3;
    }

    #myBtn {
        width: 7.5vh;
        position: fixed;
        /* bottom: 2%; */
        right: 1%;
        background-color: var(--lightBlue);
        border-radius: 2em;
        padding: .5%;
    }


    #myBtn:hover {
        background-color: var(--mediumBlue);

    }
        
    #darkModeToggle {
        /* bottom: 1%; */
        width: 7.5vh;
        /* left: 3%; */
    }

      #design {
        flex: 1 1 calc(50% - 20px); /* 2 cards per row on medium screens */
    }

    .designSec, .webSec {
        flex-basis: 100%;
    }

    #aboutMain {
        gap: 0;
    }

    #aboutMain section{
        margin-bottom: 5%;
    }

    #why {
        padding: 3%;
    }

    #Bio {
        border: var(--mediumBlue) solid 3px;
    }

    #pictures {
        padding-bottom: 1%;
        padding-left: 0;
        min-width: 40vw;
        text-align: center;
        overflow: hidden;
        display: block;
    }

    #looking {
        padding-bottom: 0;
    }

    .close {
        top: 10vh;
        font-size: 50px;
    }

    .resume-image {
        /* width: 70vw; */
        margin-top: 10%;
        padding: 0;
        height: 78vh;
    }

    #darkModeToggle:hover {
        background-color: var(--lightBlue);
        border-color: var(--mediumBlue);
    }

    #projectSecNav {
        flex-wrap: wrap;
        margin-bottom: 2%;
    }


@media (max-width: 480px) {

    html {
        font-size: 13px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    } 

    p, li {
        font-size: 1rem;
    }
    .menu .btn {
        font-size: 16px;
    }

    #top-menu {
        flex-direction: column;
        align-items: center;
        padding: 1vh 2vw;
        height: auto;
    }
    .nav {
        flex-direction: column;
        align-items: center;
        gap: none;
    }
    #logo {
        max-height: 40px;
        max-width: 100px;
    }

    #design {
        flex: 1 1 100%;
    }

    #slideshow {
        display: none;
    }

    .resume-image {
        height: 60vh;
    }

    .close {
        top: 5px;
    }

    .downloadBtn, .fullBtn, .highlightBtn {
        padding: 2vh 4vw;
        margin-bottom: 1vh;
    }

    .webSec div {
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
    }

    .intro-banner {
        display: none;
    }
}
}
