@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');




/* global styles */
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  font-family: "Atkinson Hyperlegible", sans-serif;
  font-weight: 400;
}
.h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}
.h2 {
  font-family: "DM Sans", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
  font-weight: 700;
}
p{
  font-family: "Atkinson Hyperlegible", sans-serif;
  line-height: 1.25;
}
/*.layout and view styling */
nav{
  --hor-padding: 1em;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  /* padding-left:; */
  font-size: 1.1em;
  margin-top: 1.2em;

  a > img{
      width: 7em;
  }

  ul{
      list-style: none;
      display: flex;
      flex-direction: row;
      align-items: center;
      gap: 2em;
  }

  button{
      margin-right: var(--hor-padding);
  }
}
a{
  text-decoration: none;
  color: black;
}
main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
body {
  width: 100%;
  padding: 0 clamp(1em, 3vw, 2em);

  box-sizing: border-box;

  margin: 0;

  display: flex;
  flex-direction: column;
}
footer {
  display: flex;
  flex-direction: column;
  padding-bottom: 2rem;
  
  /* New styles to add: */
  margin-left: calc(-1 * clamp(1em, 3vw, 2em));
  margin-right: calc(-1 * clamp(1em, 3vw, 2em));
  padding-left: clamp(1em, 3vw, 2em);
  padding-right: clamp(1em, 3vw, 2em);
  margin-top: 2rem;
  background-color: #ededed; /* Add your desired background color here */
  width: auto; /* Override your existing width: 1 which appears to be incomplete */

  >div:nth-of-type(1){

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  margin-top: 3rem;

  width: 100%;
  height: 400px;
  position: relative;

    section{
      display: flex;
      flex-direction: column;
      height: 70%;
      justify-content: space-around;
      width: 35%;

      p{
        width: 70%;
      }
    }

    > img {
      width: 30%;
      aspect-ratio: 4 / 3;
      object-fit: cover;
    }

    > div:nth-of-type(1) {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      width: 25%;

      ul{
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.2rem;

        font-size: 1rem;
      }

    }
  }

  hr{
    margin-top: 4rem;
  }
  >div:nth-of-type(2){
    width: 100%;
    height: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    ul{
      list-style: none;
      display: flex;
      gap: 2rem;

      li img{
        width: 2.1em;
      }
    }
  }
}
section {
  /* border: 1px solid red; */
}
.image-stairs {
  list-style: none;
  display: flex;
  flex-direction: row;
  gap: 2em;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  margin-top: 2em;

  height: 60%;

  li {
    --width: 28vw;

    /* background-color: green; */
    width: var(--width);
    height: var(--height);

    background-size: cover;
    background-position: center;
    border-radius: 15px;

    a img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 25px;
    }
  }

  li:nth-of-type(1) {
    /* --height: calc(var(--width) * 0.75); */
    height: 60%;
  }

  li:nth-of-type(2) {
    /* --height: var(--width); */
    height: 85%;
  }

  li:nth-of-type(3) {
    /* --height: calc(var(--width) * 1.25); */
    height: 100%;
  }
}
[data-first-step],
[data-second-step],
[data-third-step] {
  transition: opacity 0.5s ease-in-out;
}
#intro-section {
  position: relative;
  height: calc(100vw * 0.246 + 228px);

  article {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 0.2fr;

    h2 {
      margin: 0;
      padding: 0;
      font-size: clamp(3rem, 8vw, 6rem);
      /* width: 50%; */
      grid-area: 1 / 1 / 3 / 2;
    }

    > p {
      grid-area: 1 / 2 / 2 / 3;
      width: 100%;
      margin-top: 1.6rem;
    }

    button {
      grid-area: 2 / 2 / 3 / 3;
    }
  }
}
#discipline-section {
  scroll-margin-top: 50px;

  position: relative;

  /* height: calc(100vw * 0.102 + 304px); */
  height: calc(100vw * 0.246 + 128px);

  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;

  > p {
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
  }

  > button {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 10%;
  }
}
#featured-work-section {
  scroll-margin-top: 50px;

  position: relative;
  /* height: calc(100vw * 0.246 + 228px); */

  h2 {
    padding: 0;
    margin: 0;
    font-size: 3rem;
    width: 20%;
  }

  > div {
    position: absolute;
    top: 0;
    right: 0;
  }

  > ul {
    margin-top: 2em;
    /* position: absolute;  */
    bottom: 0;
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 1rem;

    li {
      a {
        border-bottom: 1px solid var(--link-border-color);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 1em;
        > div {
          width: 40%;

          h3 {
            font-size: 2.4em;
            margin-bottom: 0.3em;
          }

          > p {
            font-size: 1em;
          }
        }

        img {
          width: 23%;
          /* height: 100%; */
          object-fit: cover;
        }

        p {
          font-size: 0.9em;
        }
      }
    }
  }
}
#expertises-section {
  scroll-margin-top: 50px;
  height: auto;
  position: relative;

  display: flex;
  flex-direction: row;
  justify-content: space-between;

  > div {
    width: 50%;
    /* display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 0.2fr; */

    h2 {
      font-size: 6rem;
    }

    p {
      margin-top: 1rem;
      margin-bottom: 1rem;
    }
  }

  > ul {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
    width: 40%;
  }
}
#current-work-section {
  scroll-margin-top: 50px;
  /* height: calc(100vw * 0.257 + 242px); */
  position: relative;

  h2 {
    font-size: 4em;
  }

  .carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    padding: 60px 0;
  }

  .carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    height: 400px;
    position: relative;
    width: 100%;
  }

  [data-slide] {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Project link styling */
  [data-slide] .project-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
  }

  [data-slide] img {
    width: 500px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
  }

  [data-slide] .project-title {
    margin-top: 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
  }

  /* Active slide styling */
  [data-slide].active {
    z-index: 3 !important;
    opacity: 1 !important;
  }

  /* Hover effects for ACTIVE slides only */
  [data-slide].active .project-link:hover {
    transform: translateY(-5px);
  }

  [data-slide].active .project-link:hover img {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    transform: scale(1.02);
    filter: brightness(1.1);
  }

  [data-slide].active .project-link:hover .project-title {
    color: #0066cc;
    transform: translateY(-2px);
  }

  /* Add a subtle glow effect on hover for active items */
  [data-slide].active .project-link:hover::after {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(
      45deg,
      rgba(0, 102, 204, 0.1),
      rgba(0, 102, 204, 0.05)
    );
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: glowIn 0.3s ease forwards;
  }

  @keyframes glowIn {
    to {
      opacity: 1;
    }
  }

  /* Non-active slides styling */
  [data-slide]:not(.active) {
    opacity: 0.6;
    z-index: 1;
  }

  [data-slide]:not(.active) img {
    filter: grayscale(30%) brightness(0.8);
  }

  [data-slide]:not(.active) .project-title {
    opacity: 0.7;
  }

  /* Disable pointer events on non-active slides to prevent accidental clicks */
  [data-slide]:not(.active) .project-link {
    pointer-events: none;
  }

  /* Rest of your carousel controls CSS remains the same */
  .carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
  }

  .prev-slide,
  .next-slide {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    font-size: 24px;
    cursor: pointer;
    padding: 12px 16px;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .prev-slide:hover,
  .next-slide:hover {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
  }

  .carousel-dots {
    display: flex;
    justify-content: center;
    margin: 0 20px;
  }

  .dot {
    height: 12px;
    width: 12px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .dot:hover {
    background-color: #888;
    transform: scale(1.1);
  }

  .dot.active {
    background-color: #0066cc;
    transform: scale(1.2);
  }
}
#recommendations-section {
  height: calc(100vw * 0.102 + 304px);

  h2 {
    font-size: 2em;
  }
}
.project-title {
  text-align: center;
  margin-top: 15px;
}
#featured-projects-list img {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin: 10px 0;
}
#category-filter:not([value=""]) {
  background-color: #e8f4f8;
  border-color: #0066cc;
}
#work{
    position: relative;
  
    h2 {
      text-align: center;
      font-size: 3em;
      margin: 0.8em 0;
    }

    .controls {
      display: flex;
      justify-content: space-between;
      margin-bottom: 30px;
      gap: 20px;
      flex-wrap: wrap;
    
    
      .filters, .sort-options {
        display: flex;
        gap: 15px;
        align-items: center;
    
        select {
          padding: 8px;
          border: 1px solid #ccc;
          border-radius: 4px;
          background-color: white;
          cursor: pointer;
        }
    
        button {
          padding: 8px 16px;
          background-color: #333;
          color: white;
          border: none;
          border-radius: 4px;
          cursor: pointer;
        }
    
        button:hover {
          background-color: #555;
        }
      }
    
    
    }

  
    #projects-list{
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-evenly;
      column-gap: 2em;
      row-gap: 5em;
  
      margin-bottom: 4rem;

      
  
      
    }

    .no-results {
      text-align: center;
      padding: 40px;
      grid-column: 1 / -1;
    }
}
#project {
    display: flex;
    flex-direction: column;
    gap: 2em;
  
    #project-intro {
      margin-top: 2em;
      position: relative;
  
      div {
        grid-area: 1 / 1 / 2 / 2;
        display: flex;
        flex-direction: column;

  
        h2 {
          font-size: 3em;
        }
  
        p {
          order: -1;
          margin-bottom: 20px;
  
          a{
            color: #0066cc;
            text-decoration: none;
            cursor: pointer;
          }
          a:hover{
            text-decoration: underline;
          }
  
          span{
            color: #666;
          }
  
        }
      }
  
  
  
      img:nth-of-type(1) {
        grid-area: 2 / 1 / 3/ 2;
      }
  
      img:nth-of-type(2) {
        grid-area: 1 / 2 / 3 / 3;
      }
  
      >a {
        grid-area: 1 / 2 / 3 / 3;
        position: absolute;
        top: 5%;
        right: 5%;
        text-decoration: underline;
      }
    }
    #project-info {
      display: flex;
      justify-content: space-between;
      
      >img {
        width: 50%;
        aspect-ratio: 1;
        object-fit: cover;
  
        border-radius: 25px;
      }
      div{
        display: flex;
        flex-direction: column;
        width: 40%;

        p{
          width: 100%;
          margin-bottom: 2rem;
        }
        ul {
          display: flex;
          flex-direction: row;
          flex-wrap: wrap;
          /* justify-content: space-between; */
          gap: 2em;
    
          li {
            width: fit-content;
            height: 1em;
            color: white;
            background-color: rgb(95, 181, 224);
            border-radius: 15px;
    
            padding: 1em;
            /* img {
              width: 10%;
            } */
          }
        }

        blockquote h2 {
        padding: 2rem;
        font-size: 2vw;
        background-color: lightblue;
        border-radius: 25px;
        margin-top: 2rem;

        }

        a{
          font-size: 1.1em;
          margin-top: 2.2rem;
        }

        a:hover{
          color: darkblue;
          font-weight: 300;
        }

      }
  
  
     
    }
  
    /* #project-quote {
      display: grid;
      place-content: center;
      height: auto;
      padding: 2rem 0;
      margin-left: -2em;
      margin-right: -2em;
      width: calc(100% + (2 * 2em));
  
      background-color: lightblue;
  

    } */
  
    #project-progress {
      display: flex;
      flex-direction: column;
      gap: 3em;

      margin-bottom: 2rem;

      h2 {
        font-size: 3em;
        margin-bottom: 2rem;

      }
    
  
      article {
        display: grid;
        grid-template-columns: 3fr 1fr;
        grid-template-rows: 1fr 3fr;
        column-gap: 2rem;
  
        border-radius: 25px;
        background-color: #f9f9f9;
        overflow: hidden;
  
        position: relative;
        padding: 1rem;

        h3 {
          grid-area: 1 / 1 / 2 / 2;
          font-size: 2em;
        }
  
        >p {
          grid-area: 2 / 1 / 3 / 2;
          margin: 1rem 0;
          max-width: 100%;
        }

        ul{
          grid-area: 1 / 2 / 3 / 3;

          display: flex;
          flex-direction: row;
          gap: 1rem;
          margin-top: 1rem;
          height: 200px;
          justify-content: center;
          align-items: center;

          li{
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            /* max-height: 90%; */
            /* aspect-ratio: 9 / 16; */

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

      }
      article:nth-of-type(2n) {
        grid-template-columns: 1fr 3fr;

      h3 {
        grid-area: 1 / 2 / 2 / 3;
      }

      >p {
        grid-area: 2 / 2/ 3 / 3;
      }

      ul{
        grid-area: 1 / 1 / 3/ 2;
      }
    }
  

  
  }

  #project-gallery {
    margin-bottom: 2rem;

    h2 {
      font-size: 3em;
      margin-bottom: .5rem;
    }

    div {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      grid-template-rows: repeat (5, 1fr);
      gap: .5rem;
    }

    img {
      aspect-ratio: 1;
      object-fit: contain;
      width: 100%;
      height: 100%;
    }

  }
}
.duration {
    font-style: italic;
    color: #666;
  }
.content-media img,
  .content-media video {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
.content-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
  }
.content-link:hover {
    background-color: #0056b3;
  }
/* Contact page styles */
.page {
    display: flex;
    min-height: 90vh;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;

    & > * {
        flex: 1;
    }

    & > *:first-child {
        padding: 40px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;

        & h2 {
            margin-bottom: 20px;
            font-size: 3rem;
            color: #333;
        }

        & > p {
            font-size: 1.2rem;
            margin: 1rem 0;
        }

        & > a {
            border: 2px solid black;
            border-radius: 25px;
            padding: 1em;
            width: fit-content;
            text-decoration: none;
            color: black;
            transition: all 0.3s ease;

            &:hover {
                background-color: black;
                color: white;
            }
        }
    }

    & > *:last-child {
        overflow: hidden;
        position: relative;
        /* background-color: #333; */
        height: 60vh;
        padding: 0;

        & [data-carousel] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            list-style: none;
            margin: 0;
            padding: 0;

            & [data-slide] {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                opacity: 0;
                transition: opacity 1s ease-in-out;

                &.active {
                    opacity: 1;
                    z-index: 1;
                }

                & img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                    border-radius: 25px;
                }
            }
        }
    }

    @media (max-width: 768px) {
        flex-direction: column;
        
        & > * {
            padding: 20px;
            min-height: auto;
        }
        
        & > *:first-child {
            min-height: 60vh;

            & h2 {
                font-size: 2rem;
            }
        }
        
        & > *:last-child {
            height: 40vh;
            min-height: 40vh;
        }
    }

    @media (max-width: 480px) {
        & > * {
            padding: 15px;
        }
        
        & > *:first-child h2 {
            font-size: 1.5rem;
        }
        
        & > *:last-child {
            height: 300px;
            min-height: 300px;
        }
    }
}
/* component styling */
/* @import '../server/components/card/card.css'; */
.project-card {
    width: 35%;
    display: flex;
    flex-direction: column;
    position: relative;

    min-height: calc(100vw * 0.102 + 304px);

    box-shadow: 2px 8px 5px 2px rgba(179,166,166,0.1);
    -webkit-box-shadow: 5px 8px 5px 6px rgba(179,166,166,0.27);
    -moz-box-shadow: 5px 8px 5px 6px rgba(179,166,166,0.27);

    a {
      display: flex;
      flex-direction: column;

      img {
        width: 100%;
        height: 100%;
        order: -1;
        aspect-ratio: 4 / 5;
        object-fit: cover;
      }

      h3 {
        font-size: 1em;
        padding: .2em .5em;
        margin-top: 0.2em;
        text-decoration: none;
        transform: text-decoration 2s ease;
        font-weight: 500;
      }

      div {
        display: flex;
        justify-content: space-between;
        margin-top: 1em;
        padding: .2em .5em;

        font-size: .9em;

      }

      /* the hidden */
      > p {
        opacity: 0;
        position: absolute;
        font-size: 4em;
        left: 0;
        top: 0;
        transition: opacity 2s ease;
        text-align: center;
        height: 87%;
        width: 100%;
        padding: .2em .5em;
        font-size: 2em;


        background-color: rgb(120, 130, 139);
      }
    }

    > a:has(:hover) p:nth-of-type(1) {
      opacity: 0.6;
    }

    > a:has(:hover) h3 {
      text-decoration: underline;
    }
  }
@media (min-width: 1240px) {
  .project-card{
    width: 25%;
  }
  
}
.contact-link {
    width: 40%;
    padding: 0.5em 1em;
    border: 2px solid var(--link-border-color);
    border-radius: 25px;
    background: none;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.3s ease;
  }
.contact-link:hover{
    background-color: black;
    color: white
  }
#disciplines-list {

    width: 50%;
    height: 30%;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    list-style: none;

    li a{
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 2px solid var(--link-border-color);
    }
  }
#discipline-highlighter {
    width: 40%;
    height: 90%;
    border-radius: 12px; /* Add rounded corners to the container */
    overflow: hidden; /* Ensure content stays within rounded bounds */
}
#discipline-image-link {
    width: 100%;
    height: 100%;
    display: block; /* Ensure the link takes full dimensions */
}
#discipline-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintains aspect ratio while filling the container */
    border-radius: 12px; /* Add rounded corners to the image */
}
/* For the fallback image when no project is available */
#discipline-highlighter img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.text-container {
    position: relative;
    width: 200px;
    height: .9em;
    perspective: 1000px;
    transform-style: preserve-3d;
}
.word {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    /* font-size: 1.5rem; */
    font-weight: bold;
    backface-visibility: hidden;
    transform-origin: center center -40px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
}
/* First container - Frontend/Game */
.text-container:nth-child(1) .word:nth-child(1) {
    animation: first-word 16s infinite;
}
.text-container:nth-child(1) .word:nth-child(2) {
    animation: second-word 16s infinite;
}
/* Second container - Designer/Programmer */
.text-container:nth-child(2) .word:nth-child(1) {
    animation: third-word 16s infinite;
}
.text-container:nth-child(2) .word:nth-child(2) {
    animation: fourth-word 16s infinite;
}
@keyframes first-word {
    /* Frontend Designer */
    0%, 20% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Frontend Programmer */
    21%, 45% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Game Programmer */
    46%, 49% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    50%, 70% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    
    /* Game Designer */
    71%, 95% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    
    /* Return to Frontend Designer */
    96%, 99% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
@keyframes second-word {
    /* Frontend Designer */
    0%, 20% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    
    /* Frontend Programmer */
    21%, 45% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    
    /* Game Programmer */
    46%, 49% {
        transform: rotateX(0deg);
        opacity: 0;
    }
    50%, 70% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Game Designer */
    71%, 95% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Return to Frontend Designer */
    96%, 99% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(90deg);
        opacity: 0;
    }
}
@keyframes third-word {
    /* Frontend Designer */
    0%, 20% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Frontend Programmer */
    21%, 24% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    25%, 45% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    
    /* Game Programmer */
    46%, 70% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    
    /* Game Designer */
    71%, 74% {
        transform: rotateX(0deg);
        opacity: 0;
    }
    75%, 95% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Return to Frontend Designer */
    96%, 99% {
        transform: rotateX(-90deg);
        opacity: 0;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}
@keyframes fourth-word {
    /* Frontend Designer */
    0%, 20% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    
    /* Frontend Programmer */
    21%, 24% {
        transform: rotateX(0deg);
        opacity: 0;
    }
    25%, 45% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Game Programmer */
    46%, 70% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    
    /* Game Designer */
    71%, 95% {
        transform: rotateX(90deg);
        opacity: 0;
    }
    
    /* Return to Frontend Designer */
    96%, 100% {
        transform: rotateX(90deg);
        opacity: 0;
    }
}
.construction-page{
    height: 100dvh;
    width: 100dvw;
    position: absolute;
    left: 0;
    top: 0;

    margin: auto;

    background-color: rgb(190, 188, 188);

    h2{
        font-size: 2rem;
        color: white;
    }

    p{
        font-size: 1rem;
    }

    z-index: -1;
    display: none;
}
@media (max-width: 768px) {
    body {
        overflow: hidden; /* Prevents scrolling */
        position: fixed; /* Locks the page in place */
        width: 100%; /* Ensures the body covers the full width */
        height: 100%; /* Ensures the body covers the full height */
    }
    
    .construction-page {
        display: block !important;
        z-index: 9999;
        position: fixed; /* Makes sure the construction page stays in view */
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow-y: auto; /* Allows scrolling within the construction page if needed */
    }
}
:root{
  --link-border-color: black;
}
.content-block {
  margin: 0;
  /* width: 35%; */
  /* margin-bottom: 2rem; */
}
.heading-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 0.2fr;

  h2 {
    grid-area: 1 / 1 / 3 / 2;
    font-size: 3rem;
  }

  p {
    grid-area: 1 / 2 / 2 / 3;
    margin-bottom: 1rem;
  }

  button {
    grid-area: 2 / 2 / 3 / 3;
  }
}
/* #region popover class */
/**
 * image-popover.css
 * Styles for the image popover functionality
 */
.image-popover-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.image-popover-container {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  animation: popoverFadeIn 0.3s ease forwards;
}
.image-popover-container img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.image-popover-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
}
.image-popover-close:hover {
  background-color: #f0f0f0;
}
.image-popover-close::before,
.image-popover-close::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 2px;
  background-color: #333;
}
.image-popover-close::before {
  transform: rotate(45deg);
}
.image-popover-close::after {
  transform: rotate(-45deg);
}
@keyframes popoverFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
/* #endregion */