  @font-face {
      font-family: 'Rubik';
      src: url('../fonts/rubik/Rubik-Bold.ttf') format('truetype');
      font-weight: bold;
      font-style: normal;
  }

  @font-face {
      font-family: 'Rubik';
      src: url('../fonts/rubik/Rubik-Italic.ttf') format('truetype');
      font-weight: normal;
      font-style: italic;
  }

  @font-face {
      font-family: 'Rubik';
      src: url('../fonts/rubik/Rubik-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
  }

  *,
  *::before,
  *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
  }


  body {
      font-family: 'Rubik', sans-serif;
  }

  /* Make the body take the full height */
  body,
  html {
      margin: 0;
      padding: 0;
      height: 100%;
  }

  .video-background {
      position: relative;
      width: 100%;
      height: 100vh;
      /* full viewport height */
      overflow: hidden;
  }

  .video-background video {
      position: absolute;
      top: 50%;
      left: 50%;
      width: auto;
      height: 100%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: -1;
      /* behind content */
  }

  .video-background .container {
      position: relative;
      z-index: 1;
      /* content above video */
      width: 100%;
      height: 100%;
  }

  /* Container to center content */
  .container {
      display: flex;
      justify-content: center;
      /* horizontal centering */
      align-items: center;
      /* vertical centering */
      height: 100%;
      /* full height of viewport */
      padding: 20px;
      /* optional padding for small screens */
      box-sizing: border-box;
      /* ensures padding doesn't break layout */
  }

  /* Inner content */
  .content {
      max-width: 500px;
      /* responsive max width */
      width: 100%;
      /* take full width on small screens */
      background-color: #f0f0f0;
      padding: 30px;
      text-align: center;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {
      .content {
          padding: 20px;
      }
  }

  .buttons-container {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .buttons-container button {
      padding: 10px 20px;
      font-size: 1.2rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      color: white;
      transition: background-color 0.3s ease;
  }

  .buttons-container button.green-btn {
      background-color: #28a745;
  }

  .buttons-container button.red-btn {
      background-color: #FF4136;
  }

  .buttons-container button.vacation-type-btn {
      border: 1px solid #007BFF;
      background-color: transparent;
      color: black;
      padding: 10px 20px;
      font-size: 1.2rem;
      border-radius: 5px;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .buttons-container button.vacation-type-btn:active,
  .buttons-container button.vacation-type-btn.clicked,
  .buttons-container button.vacation-type-btn.selected {
      background-color: #004080;
      transform: translateY(2px);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      color: white;

  }

  /* Overlay background */
  .overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      display: none;
      /* hidden by default */
      justify-content: center;
      align-items: center;
      z-index: 1000;
  }

  /* Popup container */
  .popup {
      background: white;
      border-radius: 12px;
      padding: 30px;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      position: relative;
      text-align: center;
      transition: all 0.3s ease;
  }

  /* Close button */
  .close-popup-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      background: none;
      border: none;
      font-size: 20px;
      cursor: pointer;
      font-weight: bold;
  }

  .popup-confirm-btn {
      padding: 10px 20px;
      font-size: 1.2rem;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      color: white;
      background-color: #28a745;
      transition: background-color 0.3s ease;
  }

  /* Responsive: fullscreen on mobile */
  @media (max-width: 600px) {
      .popup {
          width: 100%;
          height: 100%;
          border-radius: 0;
          padding: 20px;
          display: flex;
          flex-direction: column;
          justify-content: center;
      }

      .close-popup-btn {
          top: 20px;
          right: 20px;
      }
  }

  #popup-content {
      border: 3px solid red;
      padding: 2rem;
  }

  .disabled-btn {
      background-color: #ccc;
      color: #666;
      border: 1px solid #999;
      cursor: not-allowed;
      opacity: 0.6;
      pointer-events: none;
  }

  #confirm-vacation-type-btn {
      background-color: #28a745;
  }

  video#end-video {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: block;
      margin: 0 auto;
  }

  .end-video-container.hidden {
      display: none;
  }

  .end-video-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      max-width: 100%;
      overflow: hidden;
      /* Prevents overflow */
      padding: 0 20px;
      /* Optional: Adds some space around the video if needed */
  }

  #end-video {
      width: 100%;
      height: 100%;
      max-width: 100%;
      max-height: 100%;
      display: block;
      margin: 0 auto;
      object-fit: contain;
      /* Ensures video fits without overflowing */
  }