/*--------general--------*/

:root {
    --col-main-light-blue: rgb(37, 152, 219);
    --col-main-light-green: #60c24c;
    --col-main-light-green-hover: #55ac43;
    --col-white: #e4e5e6;
    --col-white-alt: #d0d0d1;
    --col-light-grey: #888888;
    --col-light-grey-alt: #555555;

    /* DARK MODE - MODERN BLACKS */
    --bg-dark-mode-main: #050505;        /* Pure black - background */
    --bg-dark-mode-lighter: #0b0b0b;     /* Almost indistinguishable - sections */
    --bg-dark-mode-lightest: #191919;    /* Slight lift - cards, panels */
    --bg-dark-mode-ultra-light: #131313; /* Hovered elements, inputs */
    --bg-dark-mode-slate: #141414;       /* Borders, dividers, accents */
}


body {
    color: var(--col-white-alt);
}

.container {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;
}

.bigger-container {
    width: min(100% - 40px, 1400px);
    margin-inline: auto;
}

.center {
    display: grid;
    place-items: center;
    height: 100%;
    text-align: center;
}

.flex {
    display: flex;
}

.dark-bg {
    background-color: var(--bg-dark-mode-lighter);
}

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

  .blink {
    animation: blink-animation 1s steps(5, start) infinite;
    -webkit-animation: blink-animation 1.5s steps(5, start) infinite;
  }

  @keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }
  
  @-webkit-keyframes blink-animation {
    to {
      visibility: hidden;
    }
  }

.green {
    color: var(--col-main-light-green);
}

.green-bg {
    background-color: var(--col-main-light-green);
}

.green-hover {
    color: var(--col-main-light-green-hover);
}

a {
    text-decoration: none;
    color: var(--col-main-light-green);
    transition: all 0.25s ease-in-out;
    :hover {
        transition: all 0.25s ease-in-out;
        color: var(--col-main-light-green-hover);
    }
}

.overlay-blur {
    transition: 0.25s ease-in-out all;
    position: fixed;
    display: none;
    height: 100%;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    backdrop-filter: blur(8px);
    z-index: 998;
}

/* https://stackoverflow.com/questions/69970669/shimmer-effect-in-css */
.shimmer {
    color: var(--col-white);
    -webkit-mask:linear-gradient(-60deg,#000 30%,#0005,#000 70%) right/300% 100%;
    background-repeat: no-repeat;
    animation: shimmer 2.5s infinite;
  }
  
   @keyframes shimmer {
   100% {-webkit-mask-position:left}
  }

/*--------end of general--------*/

/*--------header--------*/

@keyframes swayLogo {
    0% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

.logo-box {
    animation: fadeIn 0.5s ease-in-out forwards;
    display: flex;
    align-items: center;
    .logo {
        width: 45px;
        height: auto;
        animation: swayLogo 10s ease-in-out infinite;
        margin-top: 13px !important;
    }
}
.container.container.flex.head {
    justify-content: space-between;
}

.head h2 {
    font-size: 30px;
    line-height: 70px;
    color: var(--col-white);
    animation: fadeIn 0.5s ease-in-out forwards;
}

header {
    background-color: var(--bg-dark-mode-main);
    overflow: hidden;
    box-shadow: rgba(0 0 0 / 0.2) 0px 1px 25px;
    height: 70px;
    position: fixed;
    left: 0;
    right: 0;
    top: 10px;
    z-index: 99;
    border-radius: 50px;
    opacity: 0;
}

nav.head {
    color: var(--col-white);
    font-size: 0px;
    display: flex;
    flex-direction: row;
    animation: fadeIn 0.5s ease-in-out forwards;
}

nav.head a {
    text-decoration: none;
    color: var(--col-white);
    transition: all 0.3s ease-in-out;
    display: inline-block;
    padding: 0 15px;
    font-size: 14px;
}

nav.head {
    width: 100%;
    text-align: right;
    justify-content: space-between;
}

nav.head ul {
    justify-content: space-between;
}
nav.head ul li  {
    display: inline;
}

nav.head ul li a,
nav.head ul li {
    text-transform: capitalize;
}

nav.head ul li a.c-button {
    text-align: center;
    margin-left: 20px;
    padding: 8px 20px 8px 20px;
    width: 100px;
    border-radius: 50px;
    margin-top: 17px;
    color: #fff;
    text-transform: capitalize;
    transition: all 0.3s ease-in-out;
}

nav.head ul li a.c-button:hover {
    transition: all 0.3s ease-in-out;
}

i.hamburger {
    color: #fff;
    font-size: 30px;
    display: none;
    line-height: 70px;
}

/*--------end of header-------- */
/*--------side menu--------*/
.side-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    background-color: var(--bg-dark-mode-main);
    z-index: 999;
    transition: all 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    ul {
        display: flex;
        flex-direction: column;
            list-style: none;
            padding: 20px 0;
            li {
                text-decoration: none;
                color: var(--col-white);
                transition: all 0.3s ease-in-out;
                display: inline-block;
                padding: 10px 15px;
                font-size: 14px;
                text-transform: capitalize;
                font-size: 20px;
                font-weight: 600;
            }
            .side-secret {
                color: var(--bg-dark-mode-ultra-light);
            }

    }
    display: none;
}
/*--------end of side menu--------*/
/*--------hero--------*/

.video-container {
    position: relative;
    width: 100%;
    height: 920px;
    overflow: hidden;
}

.hero-h2 {
    opacity: 0;
    margin-top: 10px;
    color: var(--col-white);
    animation: fadeIn 0.5s ease-in-out forwards;
}

video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
}

.video-container::before {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    content: '';
    background-color: rgb(0 0 0 / 80%);
    z-index: -1;
}

.center {
    display: grid;
    place-items: center;
    height: 100%;
    text-align: center;
}

h1 {
    opacity: 0;
    font-size: 50px;
    color: var(--col-white);
    z-index: 0;
    vertical-align: top;
    animation: fadeIn 0.5s ease-in-out forwards;
}

button.start-here {
    opacity: 0;
    padding: 10px 10px 10px 10px;
    margin-top: 20px;
    border-radius: 50px;
    width: 120px;
    background-color: rgb(96, 194, 76, 0.5);
    transition: 0.3s ease-in-out;
    margin-right: 10px;
    color: var(--col-white);
    animation: fadeIn 0.5s ease-in-out forwards;
}

button.start-here:hover {
    background-color: rgb(96, 194, 76, 0.7);
    transition: 0.3s ease-in-out;
}

button.nope {
    opacity: 0;
    padding: 10px 10px 10px 10px;
    margin-top: 20px;
    border-radius: 50px;
    width: 120px;
    background-color: rgb(31, 32, 35, 0.5);
    transition: 0.3s ease-in-out;
    color: var(--col-white);
    animation: fadeIn 0.5s ease-in-out forwards;
}

button.nope:hover {
    background-color: #191b1d;
    transition: 0.3s ease-in-out;
}

.background-video {
    z-index: -5;
}

.overlay {
    position: fixed;
    background: rgba(0, 0, 0, 1);
    z-index: 1;
}

/*--------end of hero--------*/

/*--------about / skills---------*/

.about {
     h2 {
        font-size: 30px;
    }
}

.about-sect {
    opacity: 0;
    padding: 75px 0 25px 0;
    display: flex;
    flex-direction: row;
    animation: fadeIn 0.5s ease-in-out forwards;
}

.about-inner {
    margin: 25px
}

.main-p {
    margin-top: 20px;
    color: var(--col-white-alt);
}

img {
    margin-top: 20px;
    width: 350px;
    height: 450px;
    border-radius: 10px;
}

/* Skills */

.banner-container {
    width: 100%;
    height: 40px;
    overflow: hidden;
    position: relative;
    background-color: var(--bg-dark-mode-lightest);
    padding-top: 80px
}

.banner-container::before {
    opacity: 0;
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('../img/skills-sprite-v1.png') repeat-x;
    animation: fadeIn 0.5s ease-in-out forwards, moveBadges 70s linear infinite;
}

@keyframes moveBadges {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

@keyframes bobUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px); /* moves it down */
    }
}



.down-arrow {
    animation: bobUpDown 2s ease-in-out infinite;
}

#education {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 20px;
            margin-left: 50px;
            margin-right: 30px;
            font-size: 20px;
            font-weight: 600;
        }
    }

    .p-box-alternate {
        display: flex;
        width: 100%;
        p {
            margin-top: 5px;
            margin-left: 50px;
            font-size: 18px;
        }
    }

    .text-box {
        margin-top: 25px;
        display: flex;
        flex-direction: column;
    }

    img {
        width: 150px;
        height: auto;
    }

    .course {
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row;
    }

    .education-box {
        gap: 5px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        margin-bottom: 0px;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
            
    }
    .course-box {
        width: 100%;
        max-width: 815px;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }

    .grayed {
        color: var(--col-light-grey-alt);
    }
}

#work {
    margin-bottom: 100px;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 10px;
            margin-left: 50px;
            margin-right: 30px;
            font-size: 20px;
            font-weight: 600;
        }
    }

    .p-box-alternate {
        display: flex;
        width: 100%;
        p {
            margin-top: 5px;
            margin-left: 50px;
            font-size: 18px;
        }
    }

    .text-box {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    img {
        margin-top: 50px;
        width: 150px;
        height: fit-content;
    }

    .job {
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row;
    }

    .education-box {
        gap: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
    }
    .work-box {
        width: 100%;
        max-width: 815px;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }

    .grayed {
        color: var(--col-light-grey-alt);
    }
}

#front-end,
#back-end,
#ides {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 10px;
            margin-left: 50px;
            margin-right: 30px;
            font-size: 20px;
            font-weight: 600;
        }
    }

    .p-box-alternate {
        display: flex;
        width: 100%;
        p {
            margin-top: 5px;
            margin-left: 50px;
            font-size: 18px;
        }
    }

    .text-box {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }

    img {
        width: 80px !important;
        height: fit-content !important;
        margin-top: 0px !important;
    }

    .stack {
        padding: 20px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center;
        gap: 10px;
    }

    .css {
        width: 85px;
    }

    .ef {
        padding-top: 20px;
        width: 120px !important;
    }

    .education-box {
        gap: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
    }
    .work-box {
        width: 100%;
        max-width: 815px;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }

    .grayed {
        color: var(--col-light-grey-alt);
    }
}

#skills {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 20px;
            font-size: 20px;
            font-weight: 600;
        }
    }

    img {
        width: 100px;
        height: 100px;
    }

    #ef {
        width: fit-content;
    }

    .ef-p {
        display: flex;
        flex-direction: column;
        gap: 0PX;
        margin-top: 0px;
        :last-child {
            margin-top: 0px;
        }
    }

    .skill {
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .skill-alternate {
        background-color: var(--bg-dark-mode-ultra-light);
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .last-skill {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .coding-skills-box {
        gap: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
    }
    .skill-box {
        width: 400px;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }
    
    .currently-learning {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    #php, #aws {
        width: 200px    
    }

    ol {
        padding-left: 40px;
        li {
            padding: 20px 20px 0 0;
        }
    }
}

/*--------end of about / skills--------*/
/*--------projects--------*/
.projects-sect {
    margin-top: 100px;
    h2 {
        font-size: 30px;
    }

    .project-title-link {
        display: flex;
        flex-direction: row;
        list-style: none;

    }
    .projects-box {
        margin-top: 20px;
        display: flex;
        flex-direction: column;
    }

    .project-title-link {
            i {
                color: var(--col-light-grey);
                font-size: 25px;
                line-height: 37px;
                margin-left: 20px;
                transition: all 0.3s ease-in-out;
            }
            
            i:hover {
                color: #fff;
                transition: all 0.3s ease-in-out;
            }
    }
    
    .tech-used {
        gap: 10px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        .tech-bubble {
            padding: 5px 10px 5px 10px;
            border-radius: 50px;
        }
        .react {
            background-color: #61dafb;
            color: #000;
        }
        .js {
            background-color: #f7df1e;
            color: #000;
        }
        .html {
            background-color: #e34c26;
            color: #fff;
        }
        .css {
            background-color: #1572b6;
            color: #fff;
        }
        .csharp {
            background-color: #68217a;
            color: #fff;
        }
        .dotnet {
            background-color: #512bd4;
            color: #fff;
        }
        .azure {
            background-color: #007acc;
            color: #fff;
        }
        .sql {
            background-color: #f29111;
            color: #fff;
        }
    }

    .project-details {
        display: flex;
        flex-direction: column;
    }

    .project-description {
        margin-top: 20px;
    }

    img {
        height: auto !important;
        width: 500px;
        margin-top: 0px;
    }

    .project {
        background-color: var(--bg-dark-mode-lightest);
        padding: 20px;
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 50px;
        &:first-child {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        &:last-child {
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }
    }

    .project-alternate {
        padding: 20px;
        background-color: var(--bg-dark-mode-ultra-light);
        display: flex;
        flex-direction: row-reverse;
        gap: 50px;
    }

    .photo {
        padding: 20px;
        width: 100%;
        gap: 50px;
        &:first-child {
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
        &:last-child {
            border-bottom-left-radius: 10px;
            border-bottom-right-radius: 10px;
        }
        display: flex;
        flex-direction: column;
        align-items: center; /* centers everything horizontally */
        text-align: center;  /* centers all text inside */
    }

    .photo-alternate {
        padding: 20px;
        background-color: var(--bg-dark-mode-ultra-light);
        display: flex;
        flex-direction: row-reverse;
        gap: 50px;
    }


    .photo img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 10px; /* spacing between image and text */
    }

    .photo-details {
        text-align: center;
    }

    .photo-description {
        padding-top: 20px;
        padding-bottom: 50px;
    }

    .photography-sect-buffer {

    }
}


/*--------end of projects--------*/
/*--------contact--------*/

.contact {
    display: flex;
    flex-direction: column;
    opacity: 0;
    margin: 100px 0 100px 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2, span {
        font-size: 30px;
    }
}
/*--------THIS IS COMPLETELY STOLEN, I JUST LIKED THE PUNCH LINE!!---------*/
/*--------SOURCE: https://1stwebdesigner.com/make-fire-animation-text-effect-css/---------*/
.fire {
    color: #f5f5f5; /* Light text color */
    text-align: center; /* Center alignment of text */
    font-size: 25px; /* Text size */
    text-shadow: /* Multi-layered text-shadow for fire effect */
    0px -1px 1px #fff, /* Innermost layer - intense heat (white) */
    0px -1px 3px #FF3, /* Second layer - core of flame (yellow) */
    0px -2px 5px #F90, /* Middle layer - body of flame (orange) */
    0px -5px 7px #C33; /* Outermost layer - edges of flame (red) */
   }

.burning {
    color: var(--col-white);
}

.or {
    margin: 20px 0 20px 0;
    color: var(--col-white);
}

.personalized {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.person-p {
    margin: 8px 5px 0 0;
    color: var(--col-white);
}

.contact-form {
    font-size: 20px;
}

.contact-p {
    margin-top: 17px;
    color: var(--col-white);
}

.contact-ul {
    list-style-type: none;
    padding: 0;
    display: flex;
  }

  .contact-ul li {
    margin-right: 10px;
    margin-top: 20px;
  }

  .c-button {
    margin: 8px 0 0 8px;
    color: var(--col-white);
    text-decoration: none;
    padding: 8px 20px 8px 20px;
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    font-weight: 500;
  }


.c-button:hover {
    background-color: var(--col-main-light-green-hover);
    transition: all 0.3s ease-in-out;
}

.contact {
    ul {
        li {
            a {
                i {
                    color: var(--col-light-grey);
                    padding: 10px 8px 0 8px;
                    font-size: 35px;
                    transition: all 0.3s ease-in-out;
                }
                
                i:hover {
                    color: #fff;
                    transition: all 0.3s ease-in-out;
                }
            }
        }
    }
}
/*--------end of contact--------*/
/*--------footer--------*/
.foot {
    justify-content: center;
}

footer {
    bottom: 0;
    color: #fff;
    height: 80px;
    width: 100%;
    z-index: 1000000;
    background-color: var(--bg-dark-mode-main);
}

nav.foot {
    line-height: 80px;
}



.copyright {
    line-height: 80px;
    color: #535353;
    font-size: 14px;
}
/*--------end of footer--------*/

    /*--------@media--------*/

@media only screen and (max-width: 1280px) {

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 20px;
    }

    .fire {
        font-size: 20px;
    }

    .about-sect {
        flex-direction: row;
        align-items: center;
    }

    .img2 {
        height: auto;
        max-width: 300px;    }

    .img1 {
        height: auto;
        max-width: 300px;
    }
}

@media only screen and (max-width: 1250px) {
    .main-box {
        flex-wrap: wrap;
        flex: 1 1 45%
    }


}

@media only screen and (max-width: 1000px) {
    .img1 {
        visibility: hidden;
        height: 0px;
        width: 0px;
    }

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

    .about-sect {
        flex-direction: column;
        align-items: center;
    }

    .main-box {
        flex-direction: column;
    }

    .currently-learning {
        display: flex;
        flex-wrap: wrap;
        flex: 1 1 100%;
    }

    .skill-box {
        width: 100%;
    }

    ol:last-child {
        padding-bottom: 20px;
    }

    .project, .project-alternate {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        justify-content: center;
    }

    .tech-used {
        flex-wrap: wrap;
        flex: 1 1 33%
    }
}

@media only screen and (max-width: 900px) {
    h1 {
        font-size: 35px;
    }

    .banner-container::before {
        animation: fadeIn 0.5s ease-in-out 2s forwards, moveBadges 40s linear infinite;
     }
 }

@media only screen and (max-width: 768px) {
    .logo-box {
        .logo {
            margin-top: 0px !important;
        }
    }

    .about-sect {
        flex-direction: column;
        align-items: center;
    }

    .img2 {
        order: 2;
        height: auto;
        max-width: 100%;
    }

    .img1 {
        visibility: hidden;
        width: 0px;
        height: 0px;
    }

    h1 {
        font-size: 30px;
    }

    .banner-container::before {
        animation: fadeIn 0.5s ease-in-out 2s forwards, moveBadges 25s linear infinite;
     }

     .head-ul {
        display: none;
    }

    i.hamburger {
        color: #ffffff;
        font-size: 30px;
        display: block;
        line-height: 70px;
        transition: 0.25s ease-in-out all;
        :hover {
            transition: 0.25s ease-in-out all;
            color: var(--col-light-grey);
        }
    }

    #education {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 20px;
            margin-left: 20px;
            margin-right: 20px;
            font-size: 17px;
            font-weight: 600;
        }
    }

    .p-box-alternate {
        display: flex;
        width: 100%;
        p {
            margin-top: 5px;
            margin-left: 20px;
            font-size: 17px;
        }
    }

    .text-box {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
    }

    img {
        width: 150px;
        height: fit-content;
    }

    .course {
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row;
    }

    .education-box {
        gap: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
    }
    .course-box {
        width: 100%;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }

    .grayed {
        color: var(--col-light-grey-alt);
        display: none;
    }

}
    .photo-title {
        font-size: 16px; !important;/* or whatever size you want */
    }
    .photo-description {
        font-size: 14px; !important;
    }
}


@media only screen and (max-width: 500px) {

    .img2 {
        order: 2;
        height: auto;
        max-width: 100%;
    }

    .logo-box {
        .logo {
            margin-top: 0px !important;
        }
    }

    .video-container {
        position: relative;
        width: 100%;
        height: 900px;
        overflow: hidden;
    }

    h1 {
        font-size: 28px;
    }

    .copy {
        font-size: 11px;
    }

    .c-button {
        width: 150px;
        height: 35px;
        font-size: 14px;
    }

    i {
        font-size: 25px;
    }

    .banner-container::before {
       animation: fadeIn 0.5s ease-in-out 2s forwards, moveBadges 20s linear infinite;
    }

    #education,
    #work {
    margin-bottom: 100bpx;
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
    h2 {
        padding-top: 80px;
        font-size: 30px;
    }

    .p-box {
        justify-content: center;
        align-items: center;
        width: 100%;
        p {
            margin-top: 10px;
            margin-left: 20px;
            margin-right: 10px;
            font-size: 17px;
            font-weight: 600;
        }
    }

    .p-box-alternate {
        display: flex;
        width: 100%;
        p {
            margin-top: 5px;
            margin-left: 20px;
            font-size: 16px;
        }
    }

    .text-box {
        margin-top: px;
        display: flex;
        flex-direction: column;
    }

    img {
        width: 150px;
        height: fit-content;
    }

    .course {
        padding: 0 20px 20px 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .education-box {
        gap: 20px;
        margin-top: 20px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        h3 {
            background-color: var(--bg-dark-mode-ultra-light);
            padding: 10px 20px 10px;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }
    }
    .course-box {
        width: fit-content;
        background-color: var(--bg-dark-mode-lightest);
        border-radius: 10px;
    }

    .grayed {
        color: var(--col-light-grey-alt);
        display: none;
    }
}
    #front-end,
    #back-end,
    #ides {
        opacity: 0;
        animation: fadeIn 0.5s ease-in-out forwards;
        h2 {
            padding-top: 80px;
            font-size: 30px;
        }

        .p-box {
            justify-content: center;
            align-items: center;
            width: 100%;
            p {
                margin-top: 10px;
                margin-left: 50px;
                margin-right: 30px;
                font-size: 20px;
                font-weight: 600;
            }
        }

        .p-box-alternate {
            display: flex;
            width: 100%;
            p {
                margin-top: 5px;
                margin-left: 50px;
                font-size: 18px;
            }
        }

        .text-box {
            display: flex;
            flex-direction: column;
            margin-bottom: 20px;
        }

        img {
            width: 60px !important;
            height: fit-content !important;
            margin-top: 0px !important;
        }

        .stack {
            padding: 20px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            justify-items: center;
            gap: 10px;
        }

        .css {
            width: 85px;
        }

        .ef {
            padding-top: 20px;
            width: 120px !important;
        }

        .education-box {

            gap: 20px;
            margin-top: 20px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            h3 {
                background-color: var(--bg-dark-mode-ultra-light);
                padding: 10px 20px 10px;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
            }
        }
        .work-box {
            width: 100%;
            max-width: 815px;
            background-color: var(--bg-dark-mode-lightest);
            border-radius: 10px;
        }

        .grayed {
            color: var(--col-light-grey-alt);
        }
    }

}