@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400&display=swap');

@keyframes growDown {
  0% {
    transform: scaleY(0);
  }
  80% {
    transform: scaleY(1.1);
  }
  100% {
    transform: scaleY(1);
  }
}

:root {
  --redbg: #ba0000;
  --lighttext: white;
  --lightbg: #e3e3e3;
  --darktext: #4e4e4e;
  --btn: #e50000;
  --hovertext: rgb(139, 139, 139);
  --darkbg: #4e4e4e;
}

.goju {
  text-align: center;
  padding-top: 2em;
}

.grading-form {
  width: 400px;
  height: 300px;
  max-width: 100%;
  background: url('/assets/sgka-grading-form.JPG');
  background-size: cover;
  background-repeat: no-repeat;
  margin: 3em 0;
  transition: transform 500ms;
}

.grading-form:hover {
  background: linear-gradient(
      237deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    url('/assets/sgka-grading-form.JPG');
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.05);
}

.intro p {
  font-size: 20px;
  line-height: 1.5;
}

.intro h2 {
  font-size: 30px;
}

#classes-btn:hover,
#classes-btn:focus {
  background-color: var(--redbg);
  color: white;
}

.container {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}

.goju h2 {
  padding: 1em 0;
}

.red-bg {
  background-color: var(--redbg);
  color: white;
}

.benefits {
  text-align: center;
  padding-top: 3em;
}

.benefits h2 {
  padding: 0.1em;
}

.osake {
  font-family: osake;
  font-size: 80px;
  text-shadow: 2px 2px black;
}

.columns h3 {
  font-size: 30px;
  padding: 0.5em;
}

.columns p {
  font-size: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  text-align: center;
}

.grey-btn {
  background-color: #505050;
  color: white;
  padding: 1em 3em;
  border-radius: 10px;
  margin: 3em;
  border: none;
  font-size: 1.2em;
  font-weight: 600;
}

.grey-btn:hover,
.grey-btn:focus {
  background-color: white;
  color: black;
  cursor: pointer;
}

.rules ul {
  margin-left: 1.5em;
}
.red-btn {
  background-color: var(--redbg);
  color: white;
  padding: 1em 3em;
  border-radius: 10px;
  margin: 3em;
  border: none;
  font-size: 1.2em;
  font-weight: 600;
}

.red-btn:hover,
.red-btn:focus {
  background-color: white;
  color: var(--redbg);
  cursor: pointer;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}

.about img {
  margin-top: -10em;
  margin-bottom: -1.2em;
  max-width: 100%;
}

.about .osake {
  color: var(--redbg);
  font-size: 48px;
  padding-top: 1em;
}

.about h3 {
  padding-bottom: 2em;
}

#contact-btn:hover {
  background-color: var(--redbg);
  color: white;
}

.grey-bg {
  background-color: #505050;
  color: white;
}

.classes h2 {
  padding: 1em;
}

.classes p {
  margin: 0 2em;
}

.classes img {
  padding-top: 5em;
  width: 95%;
}

.blog-container {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.values-bg {
  text-align: center;
  color: #505050;
  background: url('/assets/values-bg.png') no-repeat center center / cover;
}

.values-bg h2 {
  font-size: 56px;
  padding: 1em 0;
}

.values-bg h3 {
  font-size: 48px;
}

.values-bg p {
  padding: 0 2em;
}

.values .container {
  padding-bottom: 5em;
}

.reviews .container {
  text-align: center;
  color: white;
  max-width: 1200px;
  padding-bottom: 3em;
}
.reviews h2 {
  font-size: 56px;
}

.items {
  background-color: white;
  color: #505050;
  border-radius: 4px;
}

.history1 .items {
  background-color: #505050;
  color: white;
  border-radius: 10px;
}

.for_slick_slider {
  display: flex;
  /*box-shadow: inset black 0px 0px 20px 0px;
    background-color: white;
    border-radius: 20px; */
}

blockquote {
  margin: 1.5em 10px;
  padding: 0.5em 10px;
  quotes: '\201C''\201D''\2018''\2019';
  font-style: italic;
}
blockquote::before {
  color: var(--redbg);
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote::after {
  color: var(--redbg);
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.8em;
  content: close-quote;
}
blockquote p {
  display: inline;
}

.for_slick_slider .items {
  margin: 80px 60px;
}

.for_slick_slider .items p {
  padding: 1em;
}

.reviews .fixed-height .items {
  height: 320px;
}

.reviews h2 {
  padding: 0.5em 0;
}

.member-welcome {
  text-align: right;
  padding-top: 10em;
}

#message {
  height: 8em;
}

.contact-btn {
  justify-content: center;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  height: 2em;
}

.contact-btn button {
  float: none;
  width: 75%;
}

.split2 {
  display: flex;
}

.split2 .sign-up-form {
  width: 20em;
  margin-left: -10em;
  margin-top: 3em;
  margin-bottom: 3em;
}

.split2 .red-bg {
  width: 75%;
  border-radius: 20px;
  margin-left: 5em;
}

#red-bg {
  background-color: rgba(255, 0, 0, 0.7);
}

.white-transparent {
  background-color: transparent;
  opacity: 1;
  margin: 1em;
  border-radius: 20px;
  height: 60%;
}

.white-transparent p {
  margin-right: 15em;
  margin-left: 1em;
  opacity: 1;
  padding: 1em 0;
  line-height: 1.4em;
}

.white-transparent h3 {
  font-size: 50px;
}

.about-hero {
  background: url(/assets/about-hero2.jpg) no-repeat center center / cover;
  height: 40em;
}

.news-hero {
  background: linear-gradient(
      237deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url('/assets/news-hero.jpg') no-repeat center center / cover;
  height: 40em;
}

.flex-container {
  display: flex;
}
.blog-img {
  width: 35%;
  margin: 1em;
}

.blog {
  padding: 0 2em;
}

.news-hero {
  margin-bottom: 6em;
}

.blog-text {
  margin: 1em;
  width: 60%;
}

.classes-hero {
  background: url(/assets/classes-hero2.jpg) no-repeat center center / cover;
  height: 40em;
}

.about-me h1 {
  text-align: center;
  color: var(--redbg);
  font-size: 48px;
  padding: 1em;
}

.about-me form {
  text-align: center;
}

#about-join-btn:hover,
#about-join-btn:focus {
  background-color: var(--redbg);
  color: white;
}

.about-me h2,
.johnlambert h2,
.history1 h2 {
  color: var(--redbg);
  text-align: center;
  font-size: 38px;
  padding-top: 1em;
}

.history1 .items img {
  width: 150px;
  display: flex;
  margin-left: auto;
  margin-right: auto;
}

.about-me h3 {
  text-align: center;
  color: #505050;
  padding-bottom: 2em;
  padding-top: 0;
  font-size: 20px;
}
.johnlambert h3 {
  text-align: center;
  color: #505050;
  padding: 0;
  font-size: 20px;
}

.lamberth3 {
  padding-bottom: 2em;
}

.about-me img {
  width: 110%;
}

.about-me .columns {
  margin-left: auto;
  margin-right: auto;
  padding: 0 2em;
}

.column1 {
  width: 30%;
}
.column2 {
  width: 60%;
  padding: 0 5em;
}

.history1 {
  text-align: center;
}

.history1 img {
  padding: 2em;
}

.history1 .columns p {
  font-size: 16px;
  padding: 1em;
}

#history-intro {
  color: black;
  padding: 1em;
}

.history1 .for_slick_slider {
  background-color: var(--redbg);
  box-shadow: inset black 0px 0px 20px 0px;
  border-radius: 20px;
}

.store-front {
  padding-top: 13em;
}

.store-header {
  display: flex;
}

.karate-store-header-text {
  color: var(--redbg);
  font-size: 60px;
}

svg .icon-default {
  width: 3em;
}
.karate-store-widgets {
  margin-left: auto;
}

.store-header a {
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.store-header a:hover,
.store-header a:focus {
  transform: scale(1.05);
}

.class-info h2 {
  color: var(--redbg);
  font-size: 48px;
  padding: 1em 0;
  text-align: center;
}

.class-info img {
  width: 30%;
  height: 100%;
  padding: 2em;
}

.class-info p {
  padding: 0 2em;
}

.grey-btn-class {
  background-color: #505050;
  color: white;
  padding: 1em;
  border-radius: 10px;
  margin: 2em;
  width: 10em;
  border: none;
}

#add-student-btn,
#manage-btn {
  border-radius: 10px;
  background-color: #505050;
  color: white;
  margin: 0.5em 0;
}

.thank-you {
  padding-top: 15em;
  padding-bottom: 4em;
  text-align: center;
}

.emergency-contact-form .container {
  width: 500px;
}

.emergency-contact-form .container h2 {
  text-align: center;
}

.thanks {
  text-align: center;
  margin-bottom: 2em;
}

.top {
  display: flex;
}

#back-btn {
  margin: 0%;
}

.member-table table {
  border: 1px solid white;
  margin: 0 0 0 0;
  color: #fff;
  background-color: #505050;
  border-radius: 10px;
}
.member-table table td a {
  color: white;
}
.left-aligned {
  margin-left: 0;
}
.right-aligned {
  margin-right: 0;
  margin-left: 0;
}
.member-table table td {
  padding: 0.5em 1em;
}

i {
  padding: 0.5em;
}

.bank-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.side1 {
  text-align: right;
  margin-right: 0.2em;
}

.side2 {
  text-align: left;
  margin-left: 0.2em;
}

.edit-student h3 {
  display: inline;
}

.edit-student a {
  font-size: 14px;
}

.gallery h2 {
  color: var(--redbg);
  font-size: 38px;
  text-align: center;
}

#vlightbox1 {
  text-align: center;
}

iframe {
  max-width: 100%;
}

.featherlight .featherlight-content {
  max-width: 100% !important;
}

.justified {
  justify-content: space-between;
}

.rules-dropdown {
  color: white;
  text-align: right;
  border: 3px solid white;
  background-color: #505050;
  border-radius: 7px;
  width: 50%;
  margin-left: auto;
}

.rules-dropdown:hover {
  cursor: pointer;
  color: #b4b4b4;
}

.rules-list {
  background-color: #505050;
  color: white;
  border: 3px solid white;
  border-radius: 10px;
  width: 75%;
  margin-left: auto;
  animation: growDown 500ms ease-in-out;
  transform-origin: top center;
}

.rules-list p,
.rules-list ul {
  padding: 1em 3em;
}

.one-web {
  text-align: center;
}

.timetable td,
.timetable th {
  margin: 0;
  padding: 0.5em;
  border: solid black 1px;
}

.timetable {
  border-collapse: collapse;
  margin-left: auto;
  margin-right: 0;
}

/****************MEDIA QUERIES****************/

@media only screen and (max-width: 1100px) {
  .about img {
    margin-top: -10em;
  }

  .split2,
  .split2 .sign-up-form,
  .split2 .red-bg {
    display: block;
    margin: auto;
  }

  .split2 .red-bg {
    width: 100%;
    padding-bottom: 5em;
    padding-top: 2em;
    background-color: rgba(255, 0, 0, 0.6);
  }

  .split2 .sign-up-form {
    margin-left: auto;
    margin-right: auto;
    margin-top: -5em;
  }
  .white-transparent p {
    margin: 0;
  }

  .johnlambert .split2 {
    display: grid;
    grid-template-rows: 1fr 1fr;
    text-align: center;
  }

  .johnlambert .split2 .column1 {
    grid-row: 2 / 3;
  }

  .johnlambert .split2 .column2 {
    grid-row: 1 / 2;
  }

  #lambertcol1 {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  #lambertcol2 {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .column2 {
    width: 100%;
    padding: 0 0em;
  }

  .class-info img {
    width: 80%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .justified {
    justify-content: center;
  }

  i {
    padding: 0.5em;
  }
}

@media only screen and (max-width: 900px) {
  .about img {
    margin: 0;
  }

  .classes .split,
  .values .split {
    grid-template-columns: 1fr;
  }

  .news-hero .text-container {
    text-align: left;
    left: 0;
    width: 90%;
  }

  .flex-container {
    flex-direction: column;
  }

  .blog-img {
    width: 90%;
    text-align: center;
  }

  .blog-text {
    width: 90%;
  }

  .news-hero h1 {
    font-size: 60px !important;
  }

  .classes img {
    width: 50%;
  }

  .about-me .columns {
    text-align: center;
    padding: 1em 0;
  }

  .history1 img {
    padding: 0;
    width: 90%;
  }

  .store-header {
    display: block;
    text-align: center;
  }

  i {
    padding: 0.5em;
  }
}

@media only screen and (max-width: 600px) {
  .split {
    grid-template-columns: 1fr;
  }

  .osake h2 {
    font-size: 50px;
  }

  .columns h3 {
    font-size: 20px;
  }

  .columns {
    padding: 1em 0;
  }

  .about .container {
    grid-template-columns: 1fr;
    grid-template-rows: 2fr;
  }

  .about .container img {
    padding-top: 0;
  }

  .col2 {
    grid-row-start: 1;
  }

  .classes p,
  .values p {
    padding: 0 1em;
    margin: 0;
  }
  .classes img {
    width: 75%;
    padding: 0;
  }

  .member-welcome {
    text-align: left;
  }

  .grey-btn {
    font-size: 1em;
  }

  .for_slick_slider .items {
    margin: 40px 15px;
  }

  .class-info h2 {
    font-size: 36px;
  }

  .reviews .fixed-height .items {
    height: auto;
  }

  .reviews h2 {
    font-size: 36px;
  }

  i {
    padding: 0.5em;
  }

  .rules-dropdown {
    width: 75%;
    padding: 0.25em 0;
  }

  .rules-list {
    width: 100%;
  }
}
