* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary-color: #4891ff;
  --light-color: #f4f4f6;
  --dark-color: #111;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  outline-color: transparent;
  color: #00008B;  /* was #333 */
}

a:link {
  color: #00008B;
}

a:visited {
  color: #00008B;
}

a:visited:hover {
  text-decoration: none;
  background: #b7ccff;
}

a:focus {
  text-decoration: none;
  background: #b7ccff;
}

a:hover {
  text-decoration: none;
  background: #b7ccff;
}

a:active {
  background: #b7ccff;
  color: #4891ff;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* Navbar */
.navbar {
  background: #fff;
  padding: 20px;
}

.navbar .container {
  /* background-color: red; */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .main-menu ul {
  display: flex;
}

.navbar ul li a {
  padding: 10px 20px;
  display: block;
  font-weight: 600;
  transition: 0.5s;
}

.navbar ul li a:hover {
  color: var(--primary-color);
}

.navbar ul li a i {
  margin-right: 10px;
}

.navbar ul li:last-child a {
  margin-left: 10px;
}

/* Hero */
.hero {
  /* background-color: green; */
  background-position: right top;
  margin-bottom: 50px;
}

.hero .container {
  background: url("../images/chess_go_pic.jpg") no-repeat;
  /* background-color: blue; */
  background-size: contain;
  background-position: right top;
  min-height: 300px;
}

.hero .hero-content {
  /* background-color: yellow; */
  width: 70%;
}

.hero .hero-text {
  width: 70%;
  margin-bottom: 20px;
}

.hero .hero-text-red {
  color: red;
  width: 70%;
  margin-bottom: 20px;
}

/* Video */
.video {
  padding: 10px 0 40px;
}

.video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.video-preview {
  margin-bottom: 20px;
}

/* Testimonials */

.testimonials {
  padding: 40px 0;
}

.testimonials .testimonials-heading {
  width: 700px;
  margin-bottom: 400px;
}

.testimonials-grid {
  display: grid;
  /* grid-template-columns: 100px 100px 200px;  */
  /* grid-template-columns: 1fr 1fr 1fr; */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonials .card p:nth-child(2) {
  margin-top: 30px;
  font-weight: bold;
}

/* chessandgo */
.chessandgo-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  margin-top: 2%;
}

.chessandgo .chessandgo-card-subheading {
  margin-bottom: 1%;
}

.chessandgo .chessandgo-card-price {
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #ccc;
}

.chessandgo ul {
  margin: 30px 0;
}

.chessandgo ul li {
  margin-bottom: 10px;
}

.chessandgo ul li i {
  margin-right: 10px;
}

.chessandgo .chessandgo-footer {
  margin: 15px 0;
}

/* FAQ */
.faq {
  padding: 40px 0;
}

.faq .faq-group {
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.faq .faq-group .faq-group-header {
  padding: 20px 0;
  margin-bottom: 15px;
  position: relative;
}

.faq .faq-group .faq-group-header h4 {
  font-weight: 600;
  width: 95%;
}

.faq .faq-group .faq-group-header i {
  position: absolute;
  right: 0;
  top: 35px;
  font-size: 1.3rem;
  cursor: pointer;
}

.faq .faq-group .faq-group-body {
  display: none;
}

.faq .faq-group .faq-group-body.open {
  display: block;
}

.faq ul.faq-menu {
  max-width: 400px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ddd;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
}

/* Utility Classes */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Card */

.card {
  background: #fff;
  color: #000;
  border-radius: 10px;
  padding: 20px;
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 13px 20px;
  background: var(--light-color);
  color: #333;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: 0.5s;
}

.btn:hover {
  opacity: 0.8;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-dark {
  background: var(--dark-color);
  color: #fff;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Text Classes */

.text-xxl {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 600;
  margin: 40px 0 20px;
}

.text-xl {
  font-size: 2.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 40px 0 20px;
}

.text-lg {
  font-size: 1.8rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 30px 0 20px;
}

.text-md {
  font-size: 1.2rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 20px 0 10px;
}

.text-sm {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: normal;
  margin: 10px 0 5px;
}

.text-center {
  text-align: center;
}

/* Background */

.bg-primary {
  background: var(--primary-color);
  color: #fff;
}

.bg-light {
  background: var(--light-color);
  color: #333;
}

.bg-dark {
  background: var(--dark-color);
  color: #fff;
}

.bg-black {
  background: #000;
  color: #fff;
}

/* Hamburger Button */
.hamburger-button {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger-button .hamburger-line {
  width: 30px;
  height: 3px;
  background: #333;
  margin: 6px 0;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 250px;
  height: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
}

.mobile-menu ul li {
  margin: 10px 0;
}

.mobile-menu ul li a {
  font-size: 20px;
  transition: 0.3s;
}

/* Media Queries */

/*
@media only screen and (max-width: 1200px) {
  .text-xxl {
    font-size: 2.5rem;
  }

  .hero .container {
    background: url("../images/chessgo.png") no-repeat;
    background-size: 350px 400px;
    background-position: bottom;
    background-color: blue; 
    height: 770px;
  }
}
*/

/* could be 1500 */
/*
@media only screen and (max-width: 960px) {
  .text-xxl {
    font-size: 2.5rem;
  }

  .hero .container {
    background: url("../images/chessgo.png") no-repeat;
    background-size: 350px 400px;
    background-position: bottom;
    background-color: blue; 
    height: 770px;
  }
}
*/

/* was 670px */
@media only screen and (max-width: 1200px) {
  .navbar .main-menu {
    display: none;
  }

  .navbar .hamburger-button {
    display: block;
  }

  .hero .container {
    background: url("../images/chess_go_pic.jpg") no-repeat; 
    background-size: 350px 400px; 
    background-position: bottom;

    /* background-color: yellow; */
    height: 900px;
  }

  .hero .hero-content,
  .hero .hero-text,
  .hero .hero-text-red {
    width: 100%;  
    text-align: center;
  }

  .hero .hero-buttons .btn {
    margin-bottom: 10px;
    display: block;
    width: 100%;
  }

  .testimonials .testimonials-heading {
    max-width: 100%;
    text-align: center;
  }

  .testimonials .testimonials-grid,
  .chessandgo .chessandgo-grid {
    grid-template-columns: 1fr;
  }

  /* Text */
  .text-xl {
    font-size: 2.9rem;
  }

  .text-lg {
    font-size: 1.5rem;
  }

  .text-md {
    font-size: 1.5rem;
  }

  .text-sm {
    font-size: 0.8rem;
  }

}

@media only screen and (max-width: 500px) {
  .text-xxl {
    font-size: 2rem;
  }

  .hero .container {
    background: url("../images/chess_go_pic.jpg") no-repeat;
    background-size: 350px 400px;
    background-position: bottom;
    /* background-color: green; */
    height: 770px;
  }
}
