/* =========================
   RESET + FONTS
   ========================= */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  @font-face {
    font-family: "vercetti";
    src: url("assets/fonts/Vercetti-Regular.woff2");
  }
  
  @font-face {
    font-family: "favorit mono";
    src: url("assets/fonts/ABCFavoritMonoEdu-Regular.woff2");
  }
  
  /* =========================
     BODY (common for both pages)
     ========================= */
  body {
    background-color: #000;
    color: #fff;
    font-family: "vercetti";
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 2rem 3rem;
  }
  
  /* =========================
     HEADER (common logo header)
     ========================= */
  .logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .big-text {
    font-size: clamp(8rem, 20vw, 25rem);
    font-weight: 700;
    color: #666;
    line-height: 1;
  }
  
  .badge {
    height: clamp(8rem, 24vw, 22rem);
    width: auto;
    mix-blend-mode: lighten;
  }
  
  /* =========================
     MAIN SECTION (for main page)
     ========================= */
  main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    margin-top: 2rem;
    font-family: "favorit mono";
    flex: 1;
  }
  
  /* Left section with text + line */
  main .left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
  }
  
  main .left p:first-child {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }
  
  main .left .line {
    flex-grow: 1;
    height: 1px;
    background-color: #555;
    margin: 0 1.2rem;
  }
  
  main .left p:last-child {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: right;
    position: relative;
    top: 50%;
    transform: translateY(20%);
  }
  
  main .left p:last-child a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
  }
  
  main .left p:last-child a:hover {
    color: #fff;
  }
  
  /* Buttons on main page */
  .buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin: 4rem 0;
  }
  
  .projects-link,
  .email-link {
    display: inline-block;
    border: 1px solid #fff;
    border-radius: 9999px;
    padding: 0.45rem 1.3rem;
    color: #fff;
    font-family: "favorit mono";
    font-size: 1rem;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .projects-link:hover,
  .email-link:hover {
    background: #fff;
    color: #000;
  }
  
  /* Footer */
  .footer-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "favorit mono";
    font-size: 0.85rem;
    color: #666;
    width: 100%;
    margin-top: auto;
    flex-wrap: wrap;
  }
  
  /* =========================
     WEBCORS.HTML - PROJECTS PAGE
     ========================= */
  
  /* Projects List */
  .projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    font-family: "favorit mono";
  }
  
  /* Each project */
  .project-item {
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
  }
  
  /* Toggle button for project */
  .project-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 0.5rem 0;
    background: none;
    border: none;
    color: #aaa;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    font-family: "favorit mono";
    border-top: #333 1px solid;
    padding-top: 1.2rem;
    
  }
  
  .project-toggle:hover,
  .project-item.active .project-toggle {
    color: #fff;
  }
  
  /* Circle style text (like email) */
  .circle-mailstyle {
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid #fff;
    border-radius: 9999px;
    color: #fff;
  }
  
  /* Project content hidden by default */
  .project-content {
    display: none;
    margin-top: 1.5rem;
    color: #ccc;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .project-item.active .project-content {
    display: flex;
  }
  
  /* Description and media containers */
  .project-description {
    flex: 1 1 45%;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 450px;
  }

  .project-description a {
    color:#555;
    
  }
  
  .project-image,
  .project-video {
    flex: 1 1 45%;
    text-align: center;
  }
  
  .project-image img {
    width: 300px;
    max-width: 100%;
    filter: grayscale(100%);
  }
  
  /* Custom video player */
  .project-video {
    position: relative;
  }
  
  .custom-video {
    width: 100%;
    max-width: 100%;
    background-color: #000;
    outline: none;
    border: none;
  }
  
  .custom-video::-webkit-media-controls {
    display: none !important;
  }
  
  .custom-video::-webkit-media-controls-enclosure {
    display: none !important;
  }
  
  .custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 64px;
    height: 64px;
    background: url('../layout/assets/play.svg') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
  }
  
  /* "More soon" text */
  .more-soon {
    color: #666;
    margin-top: 1rem;
  }
  
  /* =========================
     RESPONSIVE - SHARED RULES
     ========================= */
  
  @media (max-width: 1100px) {
    body {
      padding: 2rem 1.5rem;
    }
  
    .logo {
      justify-content: space-between;
      gap: 1rem;
    }
  
    .big-text {
      font-size: clamp(6rem, 18vw, 10rem);
    }
  
    .badge {
      height: clamp(6rem, 24vw, 10rem);
    }
  
    main {
      flex-direction: column;
      justify-content: flex-start;
      min-height: auto;
    }
  
    main .left {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      margin-bottom: 1.5rem;
      overflow: visible;
    }
  
    main .left p:first-child,
    main .left p:last-child {
      font-size: 1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  
    main .left .line {
      flex-grow: 1;
      height: 1px;
      background-color: #555;
      margin: 0 0.8rem;
    }
  
    .buttons {
      margin-top: 20rem;
      gap: 0.8rem;
    }
  
    .footer-text {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.4rem;
      text-align: left;
      font-size: 0.8rem;
    }
  
    /* Projects page - project content stacked vertically */
    .project-content {
      flex-direction: column;
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 400px) {
    body {
      padding: 1rem 0.8rem;
    }
  
    .big-text {
      font-size: clamp(3.5rem, 14vw, 5rem);
    }
  
    .badge {
      height: clamp(4.5rem, 12vw, 5rem);
    }
  
    main .left {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      overflow: visible;
    }
  
    main .left p:first-child,
    main .left p:last-child {
      font-size: 0.85rem;
      white-space: nowrap;
      overflow: visible;
      text-overflow: clip;
    }
  
    main .left .line {
      flex-grow: 1;
      height: 1px;
      background-color: #555;
      margin: 0 0.5rem;
    }
  
    .buttons {
      gap: 0.6rem;
      margin-top: 15rem;
      margin-bottom: 0;
    }
  
    .footer-text {
      font-size: 0.7rem;
      flex-direction: column;
      gap: 0.3rem;
    }
  }
  