body {
    margin: 1px 1px 1px 1px;
    padding: 1px;
    font-family: Tahoma;
    text-align: left;
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'DePixel'; 
    src: url('../fonts/DePixelBreit.ttf') format('truetype');
}

@font-face {
    font-family: 'Klein'; 
    src: url('../fonts/DePixelKlein.ttf') format('truetype');
}

.a {
    text-decoration: none;
}

.nav-container {
    height: 44px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    font-family: "Silkscreen", system-ui;
    border: .1px solid rgba(255, 255, 255, 0.045);
    width: 100%;
    
}

.nav-container.is-scrolled {
    position: fixed; /* Fixed position when scrolled down */
    top: -60px;
}

.nav-copy {
    position: fixed; /* Fixed position for the copy */
    top: -60px; /* Start off-screen */
    left: 0;

    height: 44px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.338);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    font-family: "Silkscreen", system-ui;
    border: .1px solid rgba(255, 255, 255, 0.045);
    width: 100%;
    
    z-index: 1000; /* Ensure it's above other content */
    transition: transform 0.3s ease; /* Smooth transition for transform property */
}

.nav-copy.visible {
    transform: translateY(60px); /* Bring copy into view */
}

@media (max-width: 400px) {
    .button {
        font-size: 14px !important;
    }
}

.button {
    width: 65px;
    font-size: 17px;
    margin: 5px;
    padding: 5px;
    color: white;
    text-decoration: none;
}

.button:hover {
    background-color: var(--button-color);
    color: white;
    cursor: pointer;
}

.button-text {
    width: 65px;
    margin: 5px;
    padding: 5px;
    color: var(--button-color);
    text-decoration: none;
}

.button-text:hover {
    background-color: var(--button-color);
    color: white;
    cursor: pointer;
}


.headshot {
    display: block;
    margin-top: -20px;
    margin-left: calc((100% - 500px) * 0.48);
    margin-right: calc((100% - 500px) * 0.52);
    width: 500px;
    /* Initial width for computers */
    max-width: calc(100% - 100px);
    /* Maximum width with 50px margin on each side */
    height: auto;
    /* Allows the height to adjust proportionally with the width */
}

.timeline {
    display: block;
    margin-top: -25px;
    margin-bottom: -20px;
    margin-left: calc((100% - 150px) * 0.48);
    margin-right: calc((100% - 150px) * 0.52);
    width: 150px;
    /* Initial width for computers */
    max-width: calc(100% - 300px);
    /* Maximum width with 50px margin on each side */
    height: auto;
    /* Allows the height to adjust proportionally with the width */
    z-index: 100;
    position: relative;
}

@media (max-width: 600px) {
    .headshot {
        width: calc(500px - 10%);
        margin-left: auto;
        margin-right: auto;
    }
    .timeline {
        width: calc(150px - 10%);
        margin-left: auto;
        margin-right: auto;
    }
}

.hello {
    font-family: "Silkscreen", system-ui;
    color: white;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 0;
    font-size: 36px;
    line-height: 1;
    padding-top: 8px;
    padding-bottom: 8px;
}

.welcome {
    font-family: "Silkscreen", system-ui;
    color: white;
    text-align: center;
    margin-top: auto;
    font-size: 24px;
    line-height: 1;
    padding-bottom: 6px;
}

.text {
    font-family: "DePixel", sans-serif;
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    margin-left: 10%;
    margin-right: 10%;
    font-weight: 100;
}

.footer {
    font-family: "Silkscreen", system-ui;
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 12px;
    margin-left: 10%;
    margin-right: 10%;
    font-weight: 100;
}

.subheader {
    font-family: "Silkscreen", system-ui;
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 20px;
    margin-left: 10%;
    margin-right: 10%;
    line-height: 1;
    padding-bottom: 6px;
}

.down {
    font-family: "Press Start 2P", system-ui;
    color: white;
    text-align: center;
    margin-top: auto;
    font-size: 30px;
    font-weight: 0;
    transform-origin: center;
    display: inline-block;
}

.down:hover {
    color: #d2fd77;
    animation: increaseFont 0.1s forwards;
    cursor: pointer;
    will-change: transform;
}

.up {
    font-family: "Press Start 2P", system-ui;
    color: white;
    text-align: center;
    font-size: 30px;
    font-weight: 0;
    transform-origin: center;
    display: inline-block;
    margin-bottom: auto;
}

.up:hover {
    color: #e763d0;
    animation: increaseFont 0.1s forwards;
    cursor: pointer;
    will-change: transform;
}

.back {
    font-family: "Press Start 2P", system-ui;
    color: white;
    text-align: center;
    font-size: 30px;
    font-weight: 0;
    transform-origin: center;
    transform: rotate(-90deg);
    overflow: visible;
}

.back:hover {
    color: #e763d0;
    animation: increaseFont2 0.1s forwards;
    cursor: pointer;
    will-change: transform;
    overflow: visible;
}

@keyframes increaseFont {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.2);

    }
}

/* me when im too exhuasted with this to care that its janky  */
/* /* why dont variables work? i couldnt tell you! :((( */
@keyframes increaseFont2 {
    from {
        transform: scale(1) rotate(-90deg);
    }

    to {
        transform: scale(1.2) rotate(-90deg);

    }
}


.parent-container {
    display: flex; /* or any other layout that suits your design */
    justify-content: center; /* or any other alignment that suits your design */
    margin: auto;
    align-items: center;
}

#section1, #spacer {
    height: 100vh;
}

.content-container-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    border: .1px solid rgba(255, 255, 255, 0.045);
    max-width: 702px;
    margin-left: auto;
    margin-right: auto;
    
    
}

@media (max-width: 900px) {
    .content-container-img {
        margin-left: 10%;
        margin-right: 10%;
    }
}

.content-container {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    border: .1px solid rgba(255, 255, 255, 0.045);
    margin-left: 10%;
    margin-right: 10%;
    
}

.content-container-small {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    border: .1px solid rgba(255, 255, 255, 0.045);
    margin-left: auto;
    margin-right: auto;
}

.content-container-project {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.192);
    backdrop-filter: blur(10px);
    box-shadow: inset 5px 50px 30px 20px #0000001a, 1px 1px 10px 3px #0000001b;
    border: .1px solid rgba(255, 255, 255, 0.045);
    margin-left: auto;
    margin-right: auto;
    color: var(--button-color);
    text-decoration: none;
}

.content-container-project:hover {
    background-color: var(--button-color);
    color: white;
    cursor: pointer;
}

.text-project {
    font-family: "Klein", sans-serif;
    text-align: center;
    font-weight: 100;
    margin: 0; 
    font-size: 19px; 
    padding: 10px;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    height: 100%;
}

.video-container video {
    max-width: 80%; /* Ensure video doesn't exceed container width */
    max-height: 100%; /* Ensure video doesn't exceed container height */
    border-radius: 10px;
}

.video-container img {
    max-width: 80%; /* Ensure video doesn't exceed container width */
    max-height: 100%; /* Ensure video doesn't exceed container height */
    border-radius: 10px;
}

.enlarge {
    transition: filter 0.2s;
}

.enlarge:hover {
    filter: brightness(70%);
}

.my-slider {
    margin: 50px auto;
    padding: 0;
    list-style: none;
}

.my-slider img {
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 500px;
}

.my-slider video {
    width: 100%;
    max-width: 450px;
    height: auto;
    max-height: 500px;
}

@media (max-width: 700px) {
    .my-slider img {
        max-width: 300px; /* Maximum width as 40% of the screen width */
    }
    .my-slider video {
        max-width: 300px; /* Maximum width as 40% of the screen width */
    }
}

@media (max-width: 400px) {
    .my-slider img {
        max-width: 250px; /* Maximum width as 40% of the screen width */
    }
    .my-slider video {
        max-width: 250px; /* Maximum width as 40% of the screen width */
    }
}

.tns-controls {
    display: flex;
    justify-content: center;
    position: relative;
}

.tns-controls button {
    font-family: "Press Start 2P", system-ui;
    font-size: 30px;
    font-weight: bold;
    color: white; /* Initial color is white */
    text-align: center;
    transform-origin: center;
    overflow: visible;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    transition: color 0.3s; /* Smooth transition for color change */
}

.tns-controls .tns-next:hover {
    color: #d2fd77; /* Yellow color for next button on hover */
    animation: increaseFont2 0.1s forwards;
    will-change: transform;
    overflow: visible;
}

.tns-controls .tns-prev:hover {
    color: #e763d0; /* Pink color for prev button on hover */
    animation: increaseFont2 0.1s forwards;
    will-change: transform;
    overflow: visible;
}

/* Rotate prev button */
.tns-controls .tns-prev {
    transform: rotate(-90deg);
    margin-right: 8px;
}

/* Rotate next button */
.tns-controls .tns-next {
    transform: rotate(-90deg);
    margin-left: 8px;
}