body, h1, h2, h3, p {
	margin: 0;
	padding: 0;
  }
  
  body {
	font-family: "Arial", sans-serif;
	background-color: #f8f8f8;
	color: #333;
  }
  
  a {
	text-decoration: none;
	color: #007bff;
  }


a {
	text-decoration: none;
	color: #007bff;
}

   @import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");
      *,
      *::before,
      *::after {
          box-sizing: border-box;
          line-height: 1.5em;
      }

      html {
          font-size: 16px;
          scroll-behavior: smooth;
          -webkit-text-size-adjust: 100%;
      }

      body {
          margin: 0;
          font-family: "Open Sans", sans-serif;
          background-color: #f7f7f7;
      }

      header {
          background-color: #ffffff;
          box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
              0 4px 6px -4px rgba(0, 0, 0, 0.1);
          padding: 10px 20px;
      }
      header .wrapper {
          max-width: 1000px;
          margin: 0 auto;
          display: flex;
          flex-wrap: wrap;
          align-items: center;
          justify-content: space-between;
      }
      header .logo {
          width: 13rem;
          display: flex;
      }
      header .logo img {
          width: 50px;
          display: block;
      }

      .navbar {
          position: fixed;
          top: 0;
          left: 100%;
          margin: 0;
          width: 100%;
          height: 100%;
          background-color: white;
          padding: 20px;
          transition: left 0.3s;
          z-index: 9999;
      }

      .navbar.show {
          left: 0 !important;
      }

      .hide-scroll {
          overflow: hidden;
      }

      .navbar ul {
          all: unset;
          list-style-type: none;
          display: flex;
          flex-direction: column;
          align-items: center;
          gap: 25px;
      }
      .navbar ul a {
          all: unset;
          color: #444444;
          text-transform: uppercase;
          cursor: pointer;
          font-weight: bold;
          font-size: 28px;
      }
      .navbar ul a:hover {
          color: #111111;
          text-decoration: underline overline;
          text-decoration-thickness: 3px;
      }

      .close-nav {
          text-align: right;
          margin-bottom: 20px;
      }
      .close-nav button {
          all: unset;
          background: #f7f7f7;
          font-size: 42px;
          cursor: pointer;
          border: 1px solid rgba(0, 0, 0, 0.2);
          padding: 15px;
          border-radius: 3px;
          color: #444444;
      }
      .close-nav button:hover {
          color: #222222;
          background: white;
      }

      .menu-bar button {
          border: 1px solid rgba(0, 0, 0, 0.1);
          background: #f7f7f7;
          height: 50px;
          width: 50px;
          padding: 5px 10px;
          cursor: pointer;
          border-radius: 3px;
      }
      .menu-bar i {
          display: block;
          border-top: 3px solid #444444;
          border-bottom: 3px solid #444444;
      }
      .menu-bar i::after {
          display: block;
          content: "";
          border-top: 3px solid #444444;
          margin: 6px 0;
      }
      .menu-bar button:hover {
          background: white;
      }
      .menu-bar button:hover i {
          border-color: #222222;
      }

      @media (min-width: 550px) {
          .navbar {
              all: unset;
              display: block;
          }
          .navbar ul {
              flex-direction: row;
              gap: 20px;
          }
          .navbar ul a {
              font-size: inherit;
          }
          .close-nav,
          .menu-bar {
              display: none;
          }
      }
/* About Us Page styles */
.tw-about-us {
	padding: 2rem;
	background-color: #f9f9f9;
	color: #333;
}

.tw-about-us h1 {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.tw-about-us h2 {
	font-size: 1.5rem;
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.tw-about-us p {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}


.container {
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    max-width: 400px;
    margin: 50px auto;
}

h1 {
    margin-top: 0;
    color: #333;
}

.board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 5px;
    margin: 20px 0;
}

.cell {
    width: 100px;
    height: 100px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.cell:hover {
    background-color: #ccc;
}

.result {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.reset {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.reset:hover {
    background-color: #555;
}

/* Winning Popup Styles */
.win-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.win-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    max-width: 300px;
}

.win-card h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.win-message {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.play-again {
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
}

.play-again:hover {
    background-color: #555;
}


 /* Footer styles */
  .tw-footer {
	padding: 2rem;
	background-color: #333;
	color: #fff;
  }
  
  /* Footer info styles */
  .tw-footer .tw-footer-info p {
	margin-bottom: 1rem;
    margin-left: px;
  }
  
  /* Footer links styles */
  .tw-footer .tw-footer-links ul {
	list-style: none;
	display: flex;
	justify-content: center;
	padding-right: 23px;
  }
  
  .tw-footer .tw-footer-links ul li {
	margin: 0 1rem;
  }
  
  .tw-footer .tw-footer-links ul li a {
	color: #fff;
  }

/* Responsive Design */
@media (max-width: 500px) {
    .container {
        max-width: 90%;
    }
    
    .board {
        grid-template-columns: repeat(3, 1fr);
    }

    .cell {
        width: 80px;
        height: 80px;
        font-size: 20px;
    }
}






/* General styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    min-height: 550px;
    max-width: 800px;
    padding: 20px;
}

h1 {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

form {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

input {
    padding: 10px;
    font-size: 16px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 400px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 4px;
}

.video-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    transition: box-shadow 0.3s;
    text-align: center;
}

.video-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-card img {
    width: 100%;
    border-radius: 4px;
}

button.watch-button {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Error Message Styling */
.error-message {
    color: red;
    text-align: center;
    margin-bottom: 20px;
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    h1 {
        font-size: 20px;
    }

    form {
        flex-direction: column;
        align-items: center;
    }

    input {
        width: 100%;
        max-width: none;
        margin-bottom: 10px;
    }

    button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .video-card {
        padding: 15px;
    }

    .video-card img {
        height: 180px;
        object-fit: cover;
    }

    button.watch-button {
        width: 100%;
    }
}









.info-text {
    font-size: 1rem;
    margin-top: 10px;
    color: #666;
    transition: opacity 0.3s ease;
}

.info-text.hidden {
    display: none;
}
/* CSS for the loader animation */






/* Centering the loader */
#loading {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  /*z-index: 9999;  Ensure the loader appears on top of other content */
}

/* CSS for the loader animation */
.loader {
  width: 40px;
  height: 40px;
  position: relative;
  --c: no-repeat linear-gradient(#0073e6 0 0);
  background:
    var(--c) center/100% 10px,
    var(--c) center/10px 100%;
}

.loader:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    var(--c) 0 0,
    var(--c) 100% 0,
    var(--c) 0 100%,
    var(--c) 100% 100%;
  background-size: 15.5px 15.5px;
  animation: l16 1.5s infinite cubic-bezier(0.3, 1, 0, 1);
}

@keyframes l16 {
  33% {
    inset: -10px;
    transform: rotate(0deg);
  }
  66% {
    inset: -10px;
    transform: rotate(90deg);
  }
  100% {
    inset: 0;
    transform: rotate(90deg);
  }
}
