@font-face {
  font-family: "QuickExpress";
  src: url("https://familyteam.neocities.org/fonts/QuickExpress.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Handgotn";
  src: url("https://familyteam.neocities.org/fonts/HANDGOTN.TTF") format("truetype");
}

body {
  background: url('https://familyteam.neocities.org/images/streamBG3.webp') center / cover no-repeat fixed;
  overscroll-behavior: none;
  margin: 0;
  font-family: "QuickExpress", Arial, Helvetica, sans-serif;
}

h1,
h2 {
  font-family: "QuickExpress", Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: center;
  color: rgb(255, 255, 255);
  margin: 20px 0;
  font-size: 2rem;
}

.content p {
  text-align: center;
  font-family: "Handgotn", Arial, Helvetica, sans-serif;
  margin: auto;
  width: 50%;
  color: white;
  font-size: 1.4rem;
}

.center {
  display: block;
  margin: auto;
}

.seperator {
  height: 1px;
  background-color: black;
  width: 50%;
  margin: 20px auto;
}

table {
  color: white;
  text-shadow: 1px 1px 2px rgb(41, 41, 41);
  border: 2px solid white;
}

table th {
  text-align: left;
  font-style: normal;
  color: rgb(255, 255, 255);
  font-size: 2rem;
  padding: 10px 0;
  font-family: "QuickExpress", Arial, Helvetica, sans-serif;
}

table th:nth-child(2) {
  width: 20%;
  text-align: center;
}

table td {
  font-size: 1.1rem;
  font-family: "Handgotn", Arial, Helvetica, sans-serif;
}

table td:nth-child(2) {
  width: 30%;
  text-align: center;
  border-left: 2px dotted white;
}

.schedule-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 70%;
  margin: 30px auto;
}

.schedule {
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 6px rgb(40, 40, 40);
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  transition: background-color 0.1s ease-in-out;
}

.schedule:hover {
  background-color: rgba(80, 80, 80, 1);
}

footer {
  border-radius: 10px;
  border: 2px solid white;
  background-color: rgba(0, 0, 0, 0.9);
  margin: 0 auto;
  width: 70%;
  box-sizing: border-box;
  padding: 20px;
}

footer a {
  display: flex;
  font-style: italic;
  font-family: "Handgotn", Arial, Helvetica, sans-serif;
  color: aliceblue;
  font-size: 2rem;
  width: fit-content;
  margin: 0 auto;
}

footer a:hover {
  color: rgb(255, 52, 52);
}

@media screen and (max-width: 960px) {

  body {
    overscroll-behavior: auto;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .logo {
    width: 40%;
  }

  .nav-right {
    width: 100%;
    font-size: 1.4rem;
    padding: 15px 10px;
  }

  .nav-right a {
    margin: 0 5px;
    display: inline-block;
  }

  h1,
  h2 {
    font-size: 2rem;
    margin: 15px 10px;
    -webkit-text-stroke: 0.8px #0107dd;
  }

  .schedule-container {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0;
    width: 100%;
  }

  .content p {
    width: 95%;
    font-size: 1.4rem;
    padding: 0 15px;
    -webkit-text-stroke: 0.1px #0107dd;
  }

  footer {
    width: 100%;
    margin: 1px auto;
  }

  footer a {
    font-size: 1.3rem;
    padding: 0 15px;
  }

  table {
    width: 100%;
    margin: 20px auto;
    font-size: 0.9rem;
  }

  table th {
    font-size: 1.3rem;
  }

  table th:nth-child(2) {
    width: 30%;
  }

  table td {
    font-size: 1rem;
    padding: 8px 4px;
  }

  table td:nth-child(2) {
    width: 30%;
    border-left: 1px dotted white;
  }

  .schedule {
    width: 100%;
    margin: 1px auto;
  }

  footer a {
    font-size: 1rem;
    text-align: center;
  }

}