* {
  padding: 0;
  margin: 0;
  font-family: "Josefin Sans", sans-serif;
  box-sizing: border-box;
  scroll-behavior: smooth;
  color: #fff;
}
.home,
.about,
.games,
.videos,
.contact {
  min-height: 100vh;
  width: 100%;
  background-color: #2e6f6c;
}
.about,
.games,
.videos,
.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 0px;
}
.about,
.videos {
  background-color: #8c6335;
}
a {
  text-decoration: none;
}
nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px;
  background-color: #8c6335;
}
nav a {
  z-index: 2;
}
.logo {
  margin: 20px;
  color: #222;
  font-size: 32px;
  letter-spacing: 1px;
  cursor: pointer;
}
.ham-menu {
  height: 40px;
  width: 40px;
  position: absolute;
  top: 0px;
  right: 10px;
  margin: 20px;
  cursor: pointer;
  z-index: 2;
  visibility: hidden;
}
.ham-menu span {
  height: 4px;
  width: 100%;
  position: absolute;
  background-color: #222;
  border-radius: 25px;
  top: 50%;
  transition: 0.3s ease;
}
.ham-menu span:nth-child(1) {
  top: 25%;
}
.ham-menu span:nth-child(3) {
  top: 75%;
}
.ham-menu.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
}
.ham-menu.active span:nth-child(2) {
  opacity: 0;
}
.ham-menu.active span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
}
.off-screen-menu {
  background-color: #8c6335;
  height: 110vh;
  width: 110%;
  position: fixed;
  transform: translate(100%, -10%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 32px;
  transition: 0.3s ease;
  z-index: 1;
  visibility: hidden;
}
.off-screen-menu.active {
  transform: translate(-10%, -10%);
}
.off-screen-menu ul {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 20px;
}
.off-screen-menu ul li {
  display: flex;
  margin: 20px;
}
.navbar ul {
  position: absolute;
  top: 0;
  right: 0;
  margin: 16px;
}
.navbar ul li {
  display: inline-block;
  font-weight: bold;
  margin: 20px;
}
.navbar ul li a:hover {
  color: #222;
}
@media screen and (max-width: 919px) {
  .ham-menu,
  .off-screen-menu {
    visibility: visible;
  }
  .navbar {
    visibility: hidden;
  }
}
.intro {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
}
.intro h3 {
  margin: 50px;
  font-size: 25px;
}
.intro .intro-logo {
  color: #222;
  font-size: 64px;
  letter-spacing: 1px;
}
@media screen and (max-height: 600px) {
  .intro {
    margin-top: 50px;
  }
}
@media screen and (max-width: 400px) {
  .intro {
    left: 4%;
  }
  .intro h3 {
    font-size: 18px;
  }
  .intro .intro-logo {
    font-size: 48px;
  }
}
.button {
  background-color: #2e6f6c;
  border: 2px solid #fff;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.3s ease;
}
.button:hover {
  transform: scale(1.2);
  background-color: #fff;
  border: 2px solid #222;
  color: #222;
  cursor: pointer;
}
h2 {
  font-size: 75px;
  margin: 20px;
  text-align: center;
}
.about-content {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.about-content img {
  margin: 4%;
  width: 50%;
  max-width: 500px;
}
.about-text h3 {
  font-size: 48px;
  margin: 50px 4%;
}
.about-text span {
  color: #222;
}
.about-text p {
  margin: 4%;
  letter-spacing: 1px;
  font-size: 18px;
  line-height: 28px;
}
@media screen and (max-width: 1050px) {
  .about-content {
    flex-direction: column;
  }
  .about-content img {
    width: 90%;
  }
}
.box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 4% 0;
}
.card {
  width: 300px;
  height: 370px;
  margin: 10px;
  background: #222;
  border-radius: 20px;
  text-align: center;
}
.card img {
  width: 128px;
  height: 128px;
  margin: 10px;
  image-rendering: pixelated;
}
.card h5 {
  letter-spacing: 2px;
  font-size: 20px;
  margin: 20px;
}
.card p {
  letter-spacing: 1px;
  font-size: 18px;
  margin: 20px;
}
.youtube {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 4% 0;
}
.youtube iframe {
  margin: 20px;
}
@media screen and (max-width: 600px) {
  .youtube iframe {
    width: 90%;
  }
}
.label {
  margin: 10% 0 20px 0;
  letter-spacing: 1px;
  font-size: 24px;
}
.copyright {
  margin: 40px 0 4% 0;
  letter-spacing: 1px;
  font-size: 24px;
}
.social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.social a {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  border-radius: 50%;
  margin: 20px;
  color: white;
  font-size: 48px;
  transition: 0.3s ease;
}
.social a:hover {
  transform: scale(1.2);
}
.privacy,
.terms {
  padding: 20px;
  font-size: 16px;
}
.privacy strong,
.terms strong {
  font-size: 32px;
}
.privacy p,
.terms p {
  margin: 10px;
}
.privacy li,
.terms li {
  margin-left: 40px;
  text-decoration: underline;
}
