html {
  overflow-x: hidden;
}
/* Registration FirstPage */

#content {
  padding: 0 !important;
}
.mainA.author {
  padding-left: 23vw;
  margin-bottom: 0;
  margin-top: -35px;
}

.mobile-keno-img {
  display: none;
}

html[lang="ar"] .mainA.author {
  padding-left: 0;
  padding-right: 23vw;
}
@media (max-width: 1950px) {
  .mainA.author {
    padding-left: 20vw;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 20vw;
  }
}
@media (max-width: 1800px) {
  .mainA.author {
    padding-left: 18vw;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 18vw;
  }
}
@media (max-width: 1650px) {
  .mainA.author {
    padding-left: 14vw;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 14vw;
  }
}
@media (max-width: 1500px) {
  .mainA.author {
    padding-left: 11vw;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 11vw;
  }
}
@media (max-width: 1400px) {
  .mainA.author {
    padding-left: 8vw;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 8vw;
  }
}
@media (max-width: 1250px) {
  .mainA.author {
    padding-left: 40px;
    margin-top: -100px;
  }
  html[lang="ar"] .mainA.author {
    padding-right: 40px;
  }
}
.mainA a:hover {
  background-color: transparent !important;
  box-shadow: none !important;
}

.mainA {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
  margin: 20px auto -80px;
  color: white !important;
}

.mainA p {
  margin: 0 !important;
}

.accordion-app {
  max-width: 1200px;
  width: 100%;
  margin: 30px auto 0;
  padding: 0 10px;
}

/* First Section */
.keno-first-page {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  background-image: url("../../images/keno/hero-keno.png");
  background-position: center right;
  background-size: 50%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: white;
  z-index: 2;
}

.keno-first-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #00000059;
  z-index: 1;
}
.keno-allContent-page {
  min-height: 100vh;
  width: 100%;
  background-color: rgb(0, 37, 92);
  background-position: center;
  background-size: cover;
  background-repeat: repeat-y;
  background-attachment: fixed;
  position: relative;
}
.keno-allContent {
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  color: white;
  position: relative;
}
.keno-first-page * {
  position: relative;
  z-index: 2;
}
.keno-content-first-page {
  width: 500px;
  position: relative;
  top: 50px;
}
html[lang="ar"] .keno-content-first-page {
  width: 600px;
  order: 1;
}
.keno-content-first-page h1 {
  font-size: 3rem;
  text-align: left;
}
html[lang="ar"] .keno-content-first-page h1 {
  text-align: right;
}
.keno-content-first-page p {
  font-size: 1.5rem;
  margin: 10px 0;
  text-align: left;
}
html[lang="ar"] .keno-content-first-page p {
  text-align: right;
}
.allContent {
  display: flex;
  flex-direction: column;
  gap: 100px;
  font-size: 1.1rem;
  width: 100%;
}

.allContent a {
  color: white;
}

.allContent a:hover:not(.custom-button) {
  text-decoration: underline;
}

.allContent h1,
.allContent h2,
.allContent h3 {
  color: white;
  font-size: 1.8rem;
}
.allContent img {
  margin-bottom: 0.75em;
  width: 100%;
}

.allContent ul,
.allContent p,
.allContent ol {
  margin-bottom: 0;
}

.allContent ol,
.allContent ul {
  margin-left: 18px;
}

html[lang="ar"] .allContent ol,
html[lang="ar"] .allContent ul {
  margin-right: 18px;
  margin-left: 0;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] a,
html[lang="ar"] p,
html[lang="ar"] li {
  direction: rtl;
  transition: all 0.5s ease;
}
@media (max-width: 1130px) {
  .keno-first-page {
    background-size: 38%;
  }
}
@media (max-width: 1000px) {
  .allContent {
    font-size: 0.9rem;
  }
  .mobile-keno-img {
    display: block;
    padding-bottom: 50px;
  }
  .keno-first-page {
    background-image: none;
  }
  .allContent h1,
  .allContent h2,
  .allContent h3 {
    font-size: 1.5rem;
  }
  .allContent a {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
}
@media (max-width: 480px) {
  html[lang="fr-FR"] .allContent a {
    font-size: 0.8rem;
  }
}

.allContent .link {
  font-size: 1.5rem;
  color: white;
  border-radius: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  background-color: transparent !important;
}

.allContent .link:hover {
  text-decoration: underline;
  color: white !important;
}
@media (max-width: 1000px) {
  .keno-content-first-page h1 {
    font-size: 2rem;
  }
  .keno-content-first-page {
    margin-left: 20px;
    margin-right: 20px;
    top: 30px;
    width: 100%;
  }
  .keno-content-first-page p {
    font-size: 1.4rem;
  }
  .keno-content-first-page a {
    font-size: 1.2rem;
    padding: 10px 20px;
  }
}
@media (max-width: 450px) {
  .keno-content-first-page p {
    font-size: 1.1rem;
  }
  html[lang="fr-FR"] .keno-content-first-page p {
    font-size: 1rem;
  }
  html[lang="fr-FR"] .keno-content-first-page a {
    font-size: 1.1rem;
  }
}
/* First Section */
.third__section {
  text-align: center;
}
.third__section h2 {
  text-align: left;
}
html[lang="ar"] .third__section h2 {
  text-align: right;
}
.third__section p {
  text-align: left;
}
html[lang="ar"] .third__section p {
  text-align: right;
}

.fifth__section {
  text-align: center;
}
.fifth__section h2 {
  text-align: left;
}
html[lang="ar"] .fifth__section h2 {
  text-align: right;
}
.fifth__section p {
  text-align: left;
}
html[lang="ar"] .fifth__section p {
  text-align: right;
}
.fifth__section ol,
.fifth__section ul {
  text-align: left;
}
html[lang="ar"] .fifth__section ol,
html[lang="ar"] .fifth__section ul {
  text-align: right;
}

.author-link {
  color: black !important;
}

@media (max-width: 768px) {
  .keno-first-page {
    padding-top: 68px;
  }

  .keno-first-page::before {
    top: -68px;
    height: calc(100% + 68px);
  }
}

@media (max-width: 480px) {
  .keno-first-page {
    padding-top: 52px;
  }

  .keno-first-page::before {
    top: -52px;
    height: calc(100% + 52px);
  }
}

.allContent-download-title {
  max-width: 1240px;
  width: 100%;
  margin: 0px auto 11px;
  padding: 0 10px;
}

.keno-text-content {
  max-width: 1260px;
  width: 100%;
  margin: auto;
  padding: 0 10px;
}

html[lang="ar"] .keno-text-content,
html[lang="ar"] .allContent-download-title {
  text-align: right;
}

.popup-container {
  max-width: 1200px;
  width: 100%;
  padding: 0 10px;
  margin: 0px auto 114px;
}
