@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-color: rgba(0, 9, 12, 1);
    --second-bg-color: #b00e0e;
    --text-color: #ededed;
    --main-color: #ff0000;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

.header.sticky {
    background: var(--bg-color);
}

.logo {
    position: relative;
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.navbar {
    position: relative;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    font-weight: 500;
    margin-left: 3.5rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    position: relative;
    font-size: 3.6rem;
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}
/* Highlight main heading "Book a Table" */
.heading {
  background-color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-size: 6rem;
  text-align: center;
  color: var(--text-color);
}

.heading .table {
  color: #ff0000; /* teal or any contrasting color */
}
.heading .touch {
  color: #ff0000; /* teal or any contrasting color */
}


/* Highlight subheading "Reserve Your Spot" */
.education-column .title {
  background-color: var(--bg-color);
  padding: 0.8rem 1.5rem;
  border-radius: 5rem;
  font-size: 3rem; /* Increase font size */
  color: var(--text-colors);
}

/* Reservation Section */
.education {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: auto;
  padding-bottom: 5rem;
}

.education .education-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
}

.education-row .education-column {
  flex: 1 1 40rem;
}

.education-column .title {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  margin: 0 0 1.5rem 2rem;
}

.education-column .education-box {
  position: relative;
  border-left: .2rem solid var(--main-color);
}

.education-box .education-content {
  position: relative;
  padding-left: 2rem;
}

.education-box .education-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1.1rem;
  width: 2rem;
  height: 2rem;
  background: var(--main-color);
  border-radius: 50%;
}

.education-content .content {
  position: relative;
  padding: 1.5rem;
  border: .2rem solid var(--main-color);
  border-radius: .6rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.education-content .content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--second-bg-color);
  z-index: -1;
  transition: .5s;
}

.education-content .content:hover::before {
  width: 100%;
}

.education-content .content .year {
  font-size: 1.5rem;
  color: var(--main-color);
  padding-bottom: .5rem;
}

.education-content .content .year i {
  padding-right: .5rem;
}

.education-content .content h3 {
  font-size: 2rem;
}

.education-content .content p {
  font-size: 1.6rem;
  padding-top: .5rem;
}
/* Responsive */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }

  .navbar {
    display: none;
  }

  #menu-icon {
    display: block;
  }

  .education-row {
    flex-direction: column;
  }
}
/* BREAKPOINTS */
@media (max-width: 1200px) {
  html {
      font-size: 55%;
  }
}

@media (max-width: 991px) {
  .header {
      padding: 2rem 4%;
  }

  section {
      padding: 10rem 4% 2rem;
  }

  .home {
      padding: 0 4%;
  }

  .footer {
      padding: 2rem 4%;
  }
}

@media (max-width: 850px) {
  .animate.home-img {
      width: 55%;
  }
}

@media (max-width: 768px) {
  .header {
      background: var(--bg-color);
  }

  #menu-icon {
      display: block;
  }

  .navbar {
      position: absolute;
      top: 100%;
      left: -100%;
      width: 100%;
      padding: 1rem 4%;
      background: var(--main-color);
      box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
      z-index: 1;
      transition: .25s ease;
      transition-delay: .25s;
  }

  .navbar.active {
      left: 0;
      transition-delay: 0s;
  }

  .navbar .active-nav {
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--bg-color);
      border-top: .1rem solid rgba(0, 0, 0, .2);
      z-index: -1;
      transition: .25s ease;
      transition-delay: 0s;
  }

  .navbar.active .active-nav {
      left: 0;
      transition-delay: .25s;
  }

  .navbar a {
      display: block;
      font-size: 2rem;
      margin: 3rem 0;
      transform: translateX(-20rem);
      transition: .25s ease;
      transition-delay: 0s;
  }

  .navbar.active a {
      transform: translateX(0);
      transition-delay: .25s;
  }

  .home-imgHover {
      pointer-events: none;
      background: var(--bg-color);
      opacity: .6;
  }
}

@media (max-width: 520px) {
  html {
      font-size: 50%;
  }

  .home-content h1 {
      display: flex;
      flex-direction: column;
  }

  .home-sci {
      width: 160px;
  }

  .home-sci a {
      width: 38px;
      height: 38px;
  }
}

@media (max-width: 462px) {
  .home-content h1 {
      font-size: 5.2rem;
  }

  .education {
      padding: 10rem 4% 5rem 5%;
  }

  .contact form .input-box .input-field {
      width: 100%;
  }

  .footer {
      flex-direction: column-reverse;
  }

  .footer p {
      margin-top: 2rem;
      text-align: center;
  }
}

@media (max-width: 371px) {
  .home {
      justify-content: center;
  }

  .home-content {
      display: flex;
      align-items: center;
      flex-direction: column;
      text-align: center;
  }

  .home-content h1 {
      font-size: 5rem;
  }
}


/* KEYFRAMES ANIMATION */
@keyframes homeBgText {

  0%,
  10%,
  100% {
      background-position: -33rem 0;
  }

  65%,
  85% {
      background-position: 0 0;
  }
}

@keyframes homeCursorText {

  0%,
  10%,
  100% {
      width: 0;
  }

  65%,
  78%,
  85% {
      width: 100%;
      opacity: 1;
  }

  75%,
  81% {
      opacity: 0;
  }
}

@keyframes aboutSpinner {
  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes showRight {
  100% {
      width: 0;
  }
}

