@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import "tailwindcss";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Montserrat", sans-serif;
}

html {
  font-size: 62.5%;
}

body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  background-color: #111;
  color: #fff;
}

.menu button {
  font-size: 2rem;
  color: #fff;
  background-color: transparent;
  cursor: pointer;
  transition: 0.5s ease;
}

.menu button:hover {
  transform: scale(1.1);
  color: red;
}

header {
  margin-top: 0px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 75px;
  padding: 1rem 9%;
  background-color: rgba(0, 0, 0, 0.8);
  filter: drop-shadow(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 3rem;
  color: brown;
  font-weight: 800;
  cursor: pointer;
  transition: 0.5s ease;
}

.logo:hover {
  transform: scale(1.1);
  color: red;
}

p {
  font-size: 1.5rem;
}

span {
  font-weight: 700;
  color: red;
}

section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  padding: 5rem 9% 5rem;
}

.test1 h1 {
  font-size: 4rem;
  font-weight: 600;
}

.test1 h3 {
  font-size: 3.5rem;
  font-weight: 550;
}

.test1 {
  gap: 8rem;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.test2 {
  height: 50vh;
}

.i2text {
  background-color: rgb(0, 0, 0);
  color: white;
  padding: 1rem;
  border-radius: 5px;
}

.NCL {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
  padding: 2rem;
}

table {
  border-collapse: separate;
  border: 1px solid red;
  border-radius: 20px;
  width: 70%;
  height: auto;
  margin: 2rem auto;
  background-color: rgb(30, 30, 30);
  color: white;
  overflow: hidden;
}

td,
th {
  border-left: solid rgb(108, 0, 0) 1px;
  border-top: solid rgb(108, 0, 0) 1px;
  text-align: center;
  padding: 1rem;
}

th {
  background-color: rgb(50, 50, 50);
  font-weight: bold;
}

td:first-child,
th:first-child {
  border-left: none;
}

.pri-bg {
  background-color: rgba(0, 0, 0, 0.7);
}

.icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid white;
  font-size: 2rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: white;
}

.icons a:hover {
  color: rgb(0, 0, 0);
  background-color: white;
  transform: scale(1.3) translateY(-0.5);
  box-shadow: 0 0 25px red;
}

.ncl-section {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  border-bottom: rgba(200, 0, 0, 0.7) 1px solid;
}

.ncl-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("ThyBackrooms.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.ncl-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Black tint with 70% opacity */
  z-index: -1;
}

.ncl-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.ncl-content h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ncl-content p {
  font-size: 2rem;
  margin-bottom: 2rem;
}

/* Rest of your existing styles */
.table-section {
  padding: 8rem 0;
  background-color: #111;
  align-content: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

header {
  z-index: 100;
}

.score-table {
  margin-top: 3rem;
  width: 100%;
  overflow-x: auto;
}

.table-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.section-title span {
  color: red;
}

.section-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  background: red;
  margin: 1rem auto;
  border-radius: 2px;
}

.table-section {
  padding: 8rem 0;
  background-color: #000000;
}

.highlight {
  color: #4caf50;
  font-weight: 600;
}

.highlight-perfect {
  color: #4caf50;
  font-weight: 700;
  background-color: rgba(76, 175, 80, 0.1);
}

.highlight-low {
  color: #f44336;
  font-weight: 600;
}

.summary-card {
  background-color: #1a1a1a;
  border-left: 4px solid red;
  padding: 2rem;
  margin-top: 3rem;
  border-radius: 0 8px 8px 0;
  max-width: 900px;
}

.summary-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: red;
}

.summary-card p {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  table {
    font-size: 1.2rem;
  }

  th,
  td {
    padding: 0.8rem 0.5rem;
  }

  .section-title {
    font-size: 2.8rem;
  }
}

.footer-content {
  background-color: #000000;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  height: auto;
}

.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid red;
  font-size: 2rem;
  border-radius: 50%;
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.3s ease;
  color: red;
}

.info-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* text-align: center; */
  padding: 2rem;
  background-color: #000000;
  height: 7rem;
}

.info-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  /* text-align: center; */
  border: red 2px solid;
  padding: 2rem;
  border-radius: 4rem;
  height: 65vh;
  width: 85vw;
  box-shadow: red 0 0 25px;
  margin: 50px auto;
}

.ncl-info {
  max-width: 900px;
  padding: 2rem;
  margin: 6rem auto;
}

.info-button {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: black;
  border-radius: 4rem;
  font-size: 1.6rem;
  color: red;
  letter-spacing: 0.3rem;
  font-weight: 600;
  border: 2px solid red;
  transition: 0.3s ease;
  cursor: pointer;
  margin-top: 2rem;
}

.info-button:hover {
  transform: scale(1.03);
  background-color: red;
  color: #111;
  box-shadow: 0 0 25px red;
}

.btn-info {
  width: 100%;
  align-content: center;
  justify-content: center;
  display: flex;
  margin-top: 2rem;
}

.card-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: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.card-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.info-card {
  width: 80%;
  height: 80%;
  background-color: #000;
  border: 2px solid #f00;
  border-radius: 10px;
  color: white;
  padding: 20px;
  position: relative;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background-color: #f00;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: all 0.2s ease;
}

.close-button:hover {
  transform: rotate(90deg) scale(1.1);
  background-color: #d00;
}

.main-nav a {
  font-size: 1.8rem;
  color: #fff;
  margin-left: 4rem;
  font-weight: 500;
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: red;
  border-bottom: 3px solid red;
}

@media (max-width: 995px) {
  .main-nav {
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 40%;
    border-left: 3px solid red;
    border-bottom: 3px solid red;
    border-bottom-left-radius: 2rem;
    padding: 1rem;
    background-color: #1b1b1b;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.1);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav a {
    display: block;
    font-size: 2rem;
    margin: 3rem 0;
  }

  .main-nav a:hover,
  .main-nav a.active {
    padding: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0.5rem solid red;
  }

  .menu-button {
    display: block;
    font-size: 2rem;
    color: #fff;
    background-color: transparent;
    cursor: pointer;
    transition: 0.5s ease;
  }

  .menu-button:hover {
    transform: scale(1.1);
    color: red;
  }
}

.menu-toggle {
  border: red 2px solid;
  border-radius: 2000px;
  background-color: black;
  color: white;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  z-index: 0;
  margin-right: 1rem;
}

@media (min-width: 995px) {
  .menu-toggle {
    display: none;
    z-index: 100;
  }
}

.nav-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: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.nav-content {
  display: flex;
  flex-direction: column;
}

.nav-btn {
  display: inline-block;
  padding: 1rem 2.8rem;
  background-color: black;
  border-radius: 4rem;
  font-size: 1.6rem;
  color: red;
  letter-spacing: 0.3rem;
  font-weight: 600;
  border: 2px solid red;
  transition: 0.3s ease;
  cursor: pointer;
  margin: 1rem;
}

.nav-btn:hover {
  transform: scale(1.03);
  background-color: red;
  color: #111;
  box-shadow: 0 0 25px red;
}
