:root {
    --bg-color: rgb(53, 42, 58);
    --nav-color: rgb(238, 238, 245);
    --color-blue: #51618E;
    --color-red: #CA1B56;
    --color-purpl: #6C3258;
    --color-teal: #38626B;
    --color-white: #EEEEF5;
    --color-yellow: #FFE266;
    --color-dark: #352A30;
    --color-orange: #FE9A69;
}

@keyframes animate-image-box {
    25% {box-shadow: var(--color-teal) 0px 5px 15px;}
    50% {box-shadow: var(--color-purpl) 0px 5px 15px;}
    75% {box-shadow: var(--color-dark) 0px 5px 15px;}
}

button {
    all: unset;
  }
  
  button:focus {
    outline: revert;
  }

.asd {
    display: flex;
    gap: 1rem;
}

.dsa {
    gap: 1rem;
    max-width: 12rem;
    display: flex;
    flex-direction: column;
    text-align: left;
}

a {
    all: unset;
}

img {
    max-width: 100%;
}

body {
    background-color: var(--bg-color);
    font-family: "JetBrains Mono", monospace;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100svh;
    display: flex;
    flex-flow: column;
}

#canvas {
    width: 100%;
    display: block;
}

#container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    flex: 1 1 auto;
    margin: auto;
}

.no-show {
    display: none !important;
}

.hidden {
    height:0px !important;
    top: -100% !important;
}

#box-content-container {
    padding: 0 0.5rem;
    overflow: auto;
    height: 100%;
    overscroll-behavior: contain;
}

.box-content {
    display: flex;
    flex-flow: column;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

#contact-trigger {
    cursor: pointer;
    margin: auto;
}

#content-contact {
    height: 100%;
}

#content-about {
    display: flex;
    flex-flow: column;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

.link {
    text-decoration: underline;
    cursor: pointer; 
    color: var(--color-blue);
    font-weight: 800;
}

.highlight-word {
    color: var(--color-red);
    font-weight: 800;
}

.separator {
    border-bottom: solid var(--bg-color);
    width: 80%;
    margin: 1rem auto;
}

.row-left {
    flex-direction: row-reverse;
}

.top-box-image {
    padding-top: 0.5rem;
    margin: auto;
}

.box-image {
    border: 1px solid #352a308f;
    animation: animate-image-box 15s infinite;
    box-shadow: var(--color-blue) 0px 5px 15px;
    border-radius: 50%;
}

.about-content-container {
    margin-top: 1rem;
    text-align: left;
    display: flex;
    gap:1rem;
    align-items: center;
}

#box {
    display: flex;
    flex-flow: column;
    transition: all 0.75s;
    position: absolute;
    left:2.5%;
    top: 2.55%;
    width: 95%;
    height: 95%;
    background-color: var(--nav-color);
    opacity: 0.94;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
}

#box-nav {
    background-color: #191718;
    height: 6rem;
}

.box-nav-button {
    cursor: pointer;
    color: var(--nav-color);
    flex: 1 1 auto;
}

.active {
    transform-origin: center;
    transition: all 0.5s;
    scale: 1.2;
    color: var(--color-red);
}

.nav {
    display: flex;
    text-align: center;
    align-items: center;
    height: 4rem;
    width: 100%;
}

#header-nav {
   background-color: var(--nav-color);
}

#nav-home {
    max-width: 60%;
    letter-spacing: 2px;
    font-size: 1.25rem;
    font-style: italic;
    width: 14rem;
    cursor: pointer;
    flex: 0 0 auto;
}

#nav-middle {
    flex: 1 1 0;
    min-width: 0;
}

#nav-burger {
    cursor: pointer;
    flex: 0 0 auto;
    width: 4rem;
}

.icon:hover {
    transform-origin: center;
    transition: all 0.25s;
    scale: 1.1;
}

#nav-burger > img {
    height:3rem;
    width: 3rem;
}

#foot {
    align-items: center;
    text-align: center;
    display: flex;
    height: 4rem;
    width: 100%;
    background-color: var(--nav-color);
    font-size: 12px;
}

#foot-middle {
    flex: 1 1 0;
    min-width: 0;
}

#foot-text {
    width: 12rem;
    font-weight: 500;
    flex: 0 0 auto;
    max-width: 40%;
}

.foot-icon {
    cursor: pointer;
    width: 3rem;
    flex: 0 0 auto;
}

.foot-icon img {
    height: 2rem;
    width: 2rem;
}

#timeline {
    text-align: left;
    margin: auto;
}

.timeline-row {
    margin-top: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.timeline-content-container {
    align-items: center;
    display: flex;
}

.timeline-date {
    font-weight: bold;
    color: var(--color-blue);
    display: flex;
    justify-content: flex-end;
}

.timeline-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-line::before {
    content: "";
    flex-grow: 1;
    width: 3px;
    background: var(--bg-color);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: -1;
}

.timeline-dot {
    width: 0.75rem;
    height: 0.75rem;
    background: var(--color-red);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    flex: 1;
    padding-bottom: 0.25rem;
}

.timeline-content h3 {
    margin: 0;
}

#content-projects {
    gap: 1rem;
}

#projects {
    justify-content: center;
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.project-container {
    box-shadow: rgba(149, 157, 165, 0.4) 0px 8px 24px;
    text-align: left;
    padding: 1rem;
    width: 20rem;
    flex-direction: column;
    gap: 1rem;
    display: flex;
}

.project-info-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;;
}