html,
body {
    --light-site-color: #fdfff5;
    --dark-site-color: #141414;
    background-color: var(--light-site-color);
    color: var(--dark-site-color);
    max-width: 100vw;

    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}

video {
    display: block;
    margin: 1rem auto;
    width: 720px;
}

code {
    font-size: 1rem;
    word-break: break-word;
}

blockquote {
    border-left: .5rem solid var(--dark-site-color);
    padding-left: 1rem;
    font-family: "Space Grotesk", system-ui;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Space Grotesk", system-ui;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

nav {
    background-color: var(--light-site-color);
    display: flex;
    height: 60px;
    align-items: center;
    font-weight: 700;
    justify-content: space-between;
    position: sticky;
    top: 0;
    padding: 0 2rem;
    z-index: 999;
}

#nav-text {
    z-index: 2;
}

#mobile-align {
    display: none;
}

#nav-icon {
    display: none;
}

nav ul {
    margin: 0px;
    padding: 0px;
}

nav li {
    display: inline-block;
    margin-left: .5rem;
}

nav a {
    text-decoration: none;
}

nav .selected {
    text-decoration: underline;
}

nav .invertIcon {
    filter: invert(1);
}

header {
    display: flex;
    flex-direction: column;
    background-color: #ff604f;
    justify-content: flex-start;
    padding: 0px 20%;
    overflow-wrap: break-word;
}

#header-skills {
    margin-bottom: 1rem;
}

header h2 {
    font-size: 7rem;
    margin: 1rem 0px;
}

header h3 {
    margin-bottom: .5rem;
}

header p {
    font-size: 3rem;  
}

header ul {
    margin: 0px;
    padding: 0px;
}

header li {
    list-style-type: none;
}

#project-summary {
    margin: 0;
}

#hero-image {
    object-fit: contain;
    width: 100%;
    max-height: 450px;
}

#content-wrap {
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
    min-height: 100vh;
}

#content {
    padding: 2rem 20%;
    font-size: 2rem;
    flex-grow: 1;
}

#content iframe {
    display: block;
    margin: 0 auto;
}

#content img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

footer {
    background-color: #e7ff7d;
    padding: 20px 0px;
    text-align: center;
    font-weight: bold;
}

/* home */


#home-hero {
    align-items: center;
    background-color: #b1d600;
    display: flex;
    font-size: 2rem;
    gap: 0px 60px;
    height: 100vh;
    justify-content: center;
    width: 100%;
}

#home-hero h2 {
    font-weight: 400;
    font-size: 4rem;
}

#home-hero img {
    max-height: 500px;
    max-width: 100%;
    object-fit: contain;
}

#project-display {
    font-size: 2rem;
    padding: 60px 0px;
    text-align: center;
    
}

#project-wrap {
    display: flex;
}

#project-wrap p {
    display: none;
}

.project-item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(20%);
    transition: filter 0.2s ease;
}

.project-image:hover {
    filter: brightness(100%);
}

.project-item h3 {
    position: absolute;
    pointer-events: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#about-me {
    display: flex;
    font-size: 2rem;
    gap: 0px 60px;
    justify-content: center;
    align-items: center;
    padding: 60px 20%;
}

#about-me img {
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
}

/* about */

#about-wrap p {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#about-wrap img {
    height: 250px;
    width: 250px;
    object-fit: cover;
    border-radius: 50%;
}

/* projects */

.image-display {
    align-items: center;
    display: flex;
    justify-content: center;
    gap: 0px 10px;
    width: 100%;
    margin-bottom: 1rem;
}

.image-display img {
    height: 100%;
    max-width: calc(100% / 3);
    cursor: pointer;
}

.lightbox {
    align-items: center;
    justify-content: center;
    background-color: rgba(20, 20, 20, .8);
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    cursor: pointer;
}

.lightbox-image {
    height: 80%;
    width: 80%;
    object-fit: contain;
}


.summary-wrap {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    gap: 1rem 0;
}

.summary-item {
    align-items: center;
    color: initial;
    display: flex;
    text-decoration: none;
    width: 50%;
}

.summary-item h2 {
    margin-bottom: .5rem;
}

.summary-item p {
    margin-top: 0;
}

.summary-item img {
    height: 220px;
    min-width: 400px;
    object-fit: cover;
}

.summary-item div {
    padding: 1rem;
    width: 100%;
}

/* contact */

#contact-info {
    display: flex;
}

#contact-info #content {
    width: 100%;
}

#contact-info div {
    width: 50%;
}

#contact-info object {
    height: 100%;
    width: 100%;
}

/* laptop */

@media only screen and (max-width: 1280px) {
    .summary-item {
        flex-direction: column;
        width: 100%;
    }
}

/* mobile */

@media only screen and (max-width: 1024px) and (orientation: portrait) {

    video {
        width: 100%;
    }

    blockquote {
        margin: 0;
    }

    #mobile-align {
        display: block;
    }

    nav {
        justify-content: space-between;
    }

    #nav-icon {
        display: block;
        height: 1.6rem;
        z-index: 2;
        cursor: pointer;
    }

    nav ul {
        z-index: 1;
        top: 0;
        left: 0;
        background-color: inherit;
        justify-content: center;
        align-items: center;
        height: 100vh;
        width: 100vw;
        display: none;
        flex-direction: column;
        position: fixed;
        gap: 2rem 0;
        font-size: 2rem;
    }

    nav ul.flex {
        display: flex;
    }

    #content {
        font-size: 1rem;
        line-height: 1.4rem;
        padding: 0;
    }

    #home-hero {
        font-size: 1.4rem;
        flex-direction: column;
        gap: 0px 0px;
        padding: 2rem;
        text-align: center;
    }

    #home-hero h2 {
        font-size: 3rem;
    }

    .summary-item {
        flex-direction: column;
        width: 100%;
    }

    .summary-item div {
        padding: 0;
    }

    header {
        padding: 0px 1rem;
    }

    header h2 {
        font-size: 3rem;
        margin: 1rem 0px;
    }

    header p {
        font-size: 1.2rem;
    }

    #project-wrap {
        flex-direction: column;
        gap: 1rem 0;
    }

    #about-me {
        padding: 0;
        flex-direction: column;
    }

    #about-me p {
        font-size: 1rem;
    }

    #contact-info {
        flex-direction: column;
    }

    #contact-info div {
        width: 100%;
    }

    #contact-info .pdf {
        height: 100%;
    }

    #about-wrap p {
        flex-direction: column;
    }
    
  }