@media (min-width: 501px) {
  #nav {
    display: none;
  }
}

@media (max-width: 500px) {
  .nav {
    display: none;
  }
  #nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 0;
    z-index: 10;
    position: relative;
    padding: 0;
    width: 100%;
    height: fit-content;
    position: absolute;
    top: 0;
  }
  #nav .chev {
    padding: 15px 20px;
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    width: 100%;
    background: rgb(53, 1, 68);
    position: relative;

  }

  #nav .ul {
    background: rgb(53, 1, 68);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 10;
    bottom: 0;
    visibility: hidden;
  }
  .display {
    visibility: visible;
  }
  #nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    font-size: 20px;
    gap: 20px;
    align-items: center;
    color: #fff;
  }

  #nav ul li a,
  .drop-down {
    color: #fff;
    margin: 0 25px;
    cursor: pointer;
    transition: 0.2s ease-in-out;
    -webkit-transition: 0.2s ease-in-out;
    -moz-transition: 0.2s ease-in-out;
    -ms-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
  }
  #nav ul li a:hover,
  .drop-down:hover {
    color: cyan;
  }
  #nav .active {
    color: cyan;
  }

  .header {
    background-position: center;
  }
  .landing {
    padding: 50px 30px;
  }

  .landing h2 {
    font-size: 35px;
    font-weight: 500;
  }

  .landing p {
    font-size: 14px;
    font-weight: 100;
  }

  .all-container {
    padding: 50px;
  }

  .section {
    padding: 40px 0;
  }
  .play-cont {
    gap: 40px;
  }

  .play-cont .gam {
    width: 100%;
    padding: 30px;
    height: 300px;
  }

  .gam {
    align-items: center !important;
    text-align: center !important;
  }
  .abt-img {
    display: none;
  }
  .abt-text {
    width: 100%;
    padding-right: 0;
  }

  .abt-text h2 {
    font-size: 35px;
  }
  .abt-text .mark {
    gap: 20px;
  }
  .mark .txt {
    display: inline-grid;
    gap: 14px;
  }

  .counter {
    padding: 10px 0;
  }
  .count-cont {
    padding: 20px 30px;
  }
  .count {
    gap: 10px;
    text-align: center;
    font-size: 13px;
  }
  .count i {
    font-size: 1rem;
  }
  .count span {
    gap: 5px;
    font-size: 20px;
  }
  .count span p {
    margin: 0;
  }
  .count span i {
    font-size: 0.5rem;
  }

  .top .our,
  .top .more {
    width: 100%;
  }
  .top .our h2 {
    font-size: 35px;
  }
  .top .more {
    text-align: left;
    gap: 10px;
  }
  .more p {
    font-size: 14px;
  }

  .game {
    width: 100%;
    gap: 30px;
  }

  .game .desc {
    padding: 10px 20px;
    font-weight: 200;
    background: linear-gradient(to bottom, rgb(73, 1, 94), rgba(73, 1, 94, 0));
  }
  .game .desc h4 {
    margin: 0;
  }
  .desc a {
    color: #fff;
  }

  .contact-us {
    min-height: 120vh;
  }
  .contact-img,
  .contact-text {
    width: 100%;
    height: 60vh;
  }

  .contact-img::before {
    width: 150px;
    height: 100px;
    top: 0;
    right: 0;
    margin: 30px;
  }
  .contact-img::after {
    width: 180px;
    height: 120px;
    bottom: 0;
    left: 0;
    margin: 30px;
  }

  .contact-text {
    padding: 20px 0;
  }
  .contact-text h2 {
    font-size: 35px;
  }
  
  .contact-text p {
    font-size: 14px;
  }
  .contact-text a {
    color: #fff;
  }


  .testimonials {
    height: max-content;
    padding: 40px 0;
  }
  .testi {
    background: linear-gradient(to bottom, rgb(73, 1, 94), rgba(73, 1, 94, 0.2));
    height: 100%;
    width: 100%;
    padding: 40px 20px;
    padding-right: 0;
    /* position: relative; */
  }
  .testi .i {
    position: absolute;
    top: 0;
    margin: 10px;
    padding: 3%;
    border-radius: 50%;
    font-size: 2rem;
    color: cyan;
    background: rgb(53, 21, 196);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
  }
  
  .testi h2 {
    font-size: 35px;
  }
  
  .testi p {
    font-size: 14px;
  }
  
  .testimonial {
    position: relative;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    right: 0;
  }
  .testimonial .test-cont {
    grid-template-columns: auto;
  }
  .test-cont .test {
    max-width: 270px;
    max-height: 250px;
    background: #fff;
    color: #333;
    padding: 30px 20px;
  }
  .test p {
    font-size: 14px;
  }

  .div-top {
    padding: 10px;
  }

  .div-top h2 {
    font-size: 30px;
  }
  .div-top p {
    font-size: 14px;
  }

  .slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    gap: 15px;
    width: 100%;
  }
  .slide .sld {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 10px;
  }
  .bonus-slide .view-more a {
    color: #fff;
    font-size: 14px;
  }

  .play .pl {
    z-index: 5;
    padding: 30px;
    text-align: center;
  }
  .pl h2 {
    font-size: 30px;
  }


  .new {
    width: 100%;
    height: 500px;
  }

  .footer form {
    width: 80%;
  }
  .footer .foot2 {
    padding: 0 40px;
  }

  .foot2 .foo {
    display: grid;
    grid-template-columns: auto;
    justify-content: space-between;
    width: 100%;
  }

  .foot2 .foo .foot {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .foot2 .foo .foot:nth-of-type(3) h3 {
    text-align: left !important;
    align-items: flex-start !important;
  }

  .locat {
    width: 100%;
    padding: 10px 15px;
    gap: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 300;
  }
  .locat .loc {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .reserve {
    width: 100%;
    font-size: 14px;
    text-align: center;
  }
}