* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
body {
  background-color: #0d1b2a;
  font-family: "Poppins", sans-serif;
}
/* Homepage image Slider */
button {
  background-color: transparent;
  outline: none;
  border: 1px solid black;
  cursor: pointer;
  text-transform: capitalize;
  font-family: "Poppins", sans-serif;
}
.homepage {
  height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0d1b2a;
  position: fixed;
  top: 0;
  z-index: -1;
}
.title {
  position: fixed;
  background-color: transparent;
  top: 0;
  left: 0;
  right: 0;
  bottom: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0%;
  padding-left: 20%;
  color: white;
  z-index: 1;
}
.title h1 {
  font-size: 5rem;
}
.title h2 {
  margin-top: 2rem;
  font-size: 2rem;
}
.title.active {
  opacity: 0;
}
.hamburgerMenu {
  display: none;
  flex-direction: column;
  gap: 7px;
  position: absolute;
  top: 30px;
  right: 30px;
}
.hamburgerMenuLine {
  width: 30px;
  background-color: white;
  height: 5px;
  z-index: 100;
}
nav {
  position: fixed;
  top: 0px;
  right: 0;
  bottom: 0;
  left: 0;
  transform: translateX(100%);
  background-color: #0d1b2a;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0rem 1rem;
  z-index: 1000;
}
nav.active {
  transform: translateX(0);
}
nav ul li {
  margin-bottom: 2rem;
  font-size: 2rem;
}
nav a {
  text-decoration: none;
  color: #abcaed;
}
nav a:hover {
  color: white;
}
nav ul li .selectedNav {
  color: white;
}
.hamburgerMenu.active {
  position: fixed;
  top: 30px;
  right: 55px;
  z-index: 200000;
}
.homePageSlider {
  min-width: 100%;
  min-height: 85vh;
  position: relative;
  overflow: hidden;
}
.slides {
  width: 300%;
  height: 85vh;
  display: flex;
}
.slides img {
  height: 85vh;
  width: 100vw;
}
.slides input {
  display: none;
}
.slide {
  width: 100vw;
  transition: 2s;
}
.firstImg {
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(242, 100%, 33%, 0.7)
    ),
    url(images/dubai\ landscape\ 1.jpeg);
  background-size: cover;
  background-position: bottom;
}
.secondImg {
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(242, 100%, 33%, 0.7)
    ),
    url(images/dubai\ landscape\ 2.jpg);
  background-size: cover;
}
.thirdImg {
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(242, 100%, 33%, 0.7)
    ),
    url(images/dubai\ landscape\ 3.jpg);
  background-size: cover;
  background-position: center;
}
.navigationManual {
  position: absolute;
  width: 100vw;
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: -30px;
}
.manualBtn {
  border: 2px solid #0d1b2a;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}
.manualBtn:hover {
  background-color: #0d1b2a;
}
#radio1:checked ~ .first {
  margin-left: 0;
}
#radio2:checked ~ .first {
  margin-left: -100vw;
}
#radio3:checked ~ .first {
  margin-left: -200vw;
}

.navigationAuto {
  position: absolute;
  width: 100vw;
  margin-top: -30px;
  gap: 40px;
  display: flex;
  justify-content: center;
}
.navigationAuto label {
  border: 2px solid #0d1b2a;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.5s;
}
/* Nav Bar */
.navBar {
  position: relative;
  height: 10vh;
  margin-top: 85vh;
  background-color: #0d1b2a;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0rem 3rem;
  z-index: 10;
}
.navBar a {
  color: #abcaed;
  text-decoration: none;
  transition: 0.5s;
}
.navBar ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  font-size: 1.2rem;
}
.navBar .selectedNav {
  color: white;
}
.navBar ul li {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #1b263b;
  border: 1px solid transparent;
  transition: 0.5s;
}
.navBar ul li:hover {
  background-color: transparent;
  border: 1px solid #1b263b;
  color: white;
}
.navBar a:hover {
  color: white;
}

.rest {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  background-color: #e0e1dd;
}
.restIndex {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  min-height: 100vh;
  background-color: #e0e1dd;
}
.restIndex img.reveal1 {
  position: absolute;
  top: 50;
  right: 0;
  opacity: 0;
  height: 50vh;
  transform: translateX(100vw) rotateX(-180deg) rotateZ(-180deg);
  transition: all 1s ease-out;
}
.restIndex img.reveal1.active1 {
  opacity: 1;
  transform: translateX(10vw) rotateY(0.5turn);
}
.restIndex img.reveal {
  position: absolute;
  top: 50;
  left: 0;
  height: 50vh;
  transform: translateX(-100vw) rotateX(-180deg) rotateZ(-180deg);
  opacity: 0;
  transition: all 1s ease-out;
}
.restIndex img.reveal.active {
  transform: rotateZ(0);
  opacity: 1;
  transform: translate(-10vw) rotateX(0deg) rotateZ(0deg);
}

@media (max-width: 1500px) {
  .restIndex img {
    display: none;
  }
}

.restIndex div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1000px;
  text-align: center;
}
.restIndex div h1 {
  letter-spacing: 0.5rem;
  font-size: 3.5rem;
}
.restIndex div p {
  line-height: 30px;
}
.restIndex div button {
  padding: 1rem 2rem;
  width: 200px;
  font-size: 1rem;
  text-transform: capitalize;
  transition: all 0.5s;
  font-size: 1.2rem;
}
.restIndex div button:hover {
  background-color: #0d1b2a;
  color: white;
}
.competitionCards {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 100vh;
  background-color: #1b263b;
  z-index: 10;
  gap: 10vh;
  overflow-y: hidden;
  padding: 0rem 2rem;
}
.competitionCards h1 {
  color: white;
  font-size: 4rem;
}
.cardContainer {
  width: 100%;
  gap: 2rem;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.card {
  height: 50vh;
  width: 400px;
  background-color: #e0e1dd;
  z-index: 500;
  transition: 1s all;
}
.card:hover {
  height: 60vh;
}
.cardContainer.reveal {
  position: relative;
  opacity: 0;
  transition: 1s all;
  transform: translateY(25vh);
}
.cardContainer.reveal.active {
  opacity: 1;
  transform: translateY(0px);
}
.themeIndex {
  height: 100vh;
  position: relative;
  background-color: #e0e1dd;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}
.themeIndex .reveal {
  opacity: 0;
  transition: all 2s ease-in;
}
.themeIndex .reveal.active {
  opacity: 1;
}
.themeIndex h1 {
  font-size: 3.5rem;
}
@media (max-width: 1000px) {
  .hamburgerMenu {
    display: flex;
    cursor: pointer;
  }
  .homepage {
    height: 91vh;
  }
  .homePageSlider {
    min-width: 100%;
    min-height: 91vh;
  }
  .slides {
    height: 91vh;
  }
  .slides img {
    height: 91vh;
  }
  .navBar {
    height: 4vh;
    margin-top: 91vh;
  }
  .navBar ul {
    display: none;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
  }
  .title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0%;
    padding-left: 0%;
    text-align: center;
    padding: 0rem 2rem;
  }
  .title h1 {
    font-size: 3.5rem;
  }
  .title h2 {
    font-size: 2rem;
  }
  .cardContainer {
    display: flex;
    flex-direction: column;
  }
  .card {
    width: 80vw;
  }
}
@media (max-width: 470px) {
  nav ul li {
    list-style: none;
    margin-bottom: 2rem;
    font-size: 1.5rem;
  }
  .title h1 {
    font-size: 2.5rem;
  }
  .title h2 {
    font-size: 1.5rem;
  }
  .competitionCards h1 {
    font-size: 3rem;
  }
}
/*About Page*/
.navBar.aboutPage {
  height: 10vh;
  margin-top: 65vh;
  background-color: #864100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0rem 3rem;
}
.navBar.aboutPage a {
  color: #4d2500;
  text-decoration: none;
  transition: 0.5s;
}
.navBar ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  font-size: 1.2rem;
}
.navBar.aboutPage .selectedNav {
  color: white;
}
.navBar.aboutPage ul li {
  padding: 0.5rem 1rem;
  text-transform: uppercase;
  cursor: pointer;
  background-color: #c25e00;
  border: 1px solid transparent;
  transition: 0.5s;
}
.navBar.aboutPage ul li:hover {
  background-color: transparent;
  border: 1px solid #c25e00;
  color: white;
}
.navBar a:hover {
  color: white;
}
.aboutPageImg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90vh;
  z-index: -1;
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(39, 100%, 23%, 0.829)
    ),
    url(images/dubai\ Mosque.jpg);
  background-size: cover;
  background-position: center;
}
/*Rules And Regulations  Page*/
.restRulesAndRegulation {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  background-color: #e0e1dd;
  padding: 2rem;
}
.restRulesAndRegulation ul {
  list-style-type: circle;
}
.RARPageIMG {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90vh;
  z-index: -1;
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(39, 100%, 23%, 0.829)
    ),
    url(images/dubai\ Mosque\ 1.jpg);
  background-size: cover;
  background-position: center;
}
/*Contact Page*/
.contactPageIMG {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 90vh;
  z-index: -1;
  background-image: linear-gradient(
      hsla(201, 100%, 50%, 0),
      hsla(39, 100%, 23%, 0.829)
    ),
    url(images/dubai\ Mosque\ 2.jpg);
  background-size: cover;
  background-position: center;
}
