@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto+Slab:wght@100..900&display=swap");

@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
:root {
  --nav-bgcolor: #0d261a;
  --nav-color: white;
  --list-bgcolor: #0d261a;
  --list-bordercolor: black;
  --list-item-bgcolor: #0d261a;
  --list-item-a-color: white;
  --list-item-a-bgcolor: #0d261a;
  --list-item-a-hov-color: white;
  --list-item-a-hov-bgcolor: black;
  /*Button*/
  --bars-color: white;
  --cancel-color: white;
  --cancel-bgcolor: black;
}
.roboto-slab {
  font-family: "Roboto Slab", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
ul {
  list-style-type: none;
}
a {
  text-decoration: none;
  color: black;
}
p {
  font-size: 14px;
}
.thick {
  width: 100%;
  height: 1px;
  background: #3bab75;
  margin: 2em auto;
}

/*===Navigation===*/
header {
  position: fixed;
  width: 100%;
  z-index: 1;
}
nav {
  color: var(--nav-color); /*Adjust color*/
  background-color: var(--nav-bgcolor); /*Adjust color*/
  padding: 0.5em 1.5em;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  min-height: 3em;
  width: 100%;
  top: 0;
}
/* The progress bar (scroll indicator) */
.progress-bar {
  height: 0.3em;
  background: #b38600;
  width: 0%;
}
/*Logo*/
.logo {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  align-items: center;
  padding: 0.5em;
  color: white;
}
.logo img {
  width: 2em;
  height: 2em;
}

/*Total List*/
.move {
  height: 100%;
  width: 0;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.5); /*Adjust color*/
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
}
.move a {
  transition: 0.3s;
}
.list-container {
  width: 70%;
  height: 100%;
  position: absolute;
  left: 0;
  background-color: var(--list-bgcolor); /*Adjust color*/
  border-right: 2px solid var(--list-bordercolor); /*Adjust color*/
}
.list-item {
  list-style-type: none;
  padding: 1em;
  background-color: var(--list-item-bgcolor); /*Adjust this*/
}
.list-item > li {
  width: 100%;
}
.list-item > li a {
  display: block;
  padding: 0.5em 1em;
  text-decoration: none;
  color: var(--list-item-a-color);
  background-color: var(--list-item-a-bgcolor); /*Adjust this*/
  border-bottom: 1px solid var(--list-bordercolor); /*Adjust this*/
}
.list-item > li .active,
.list-item > li a:hover {
  color: var(--list-item-a-hov-color); /*Adjust this*/
  background-color: var(--list-item-a-hov-bgcolor); /*Adjust this*/
}

/*Button*/
nav .button {
  font-size: 20px;
  cursor: pointer;
}
nav .bars {
  color: var(--bars-color);
}
.cross {
  padding: 1em 1em 0 1em;
  display: flex;
  justify-content: flex-end;
}
nav .cancel {
  color: var(--cancel-color);
  background-color: var(--cancel-bgcolor);
  padding: 0.5em 0.8em;
}
/*==Banner==*/
.banner {
  background-image: url("https://almashjid-photo.web.app/img/banner1.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-color-banner {
  background-image: linear-gradient(to right, black, rgba(0, 0, 0, 0.3), black);
  height: 100%;
}
.banner-content {
  padding: 10em 1em;
  color: white;
  text-align: center;
}
.banner-heading {
  font-size: 3em;
  text-shadow: 2px 2px 5px #332600;
}

.banner-content .explore {
  display: block;
  background: #e6b800;
  border: 2px solid #e6b800;
  margin: 10em auto 0.5em auto;
  width: 10em;
  padding: 1em;
  border-radius: 40px;
  font-weight: 600;
  transition: background 0.5s;
}
.banner-content .explore:hover {
  background: #ffd24d;
}
/*=====*/
.relative {
  position: relative;
}
.banner ul {
  bottom: -4em;
  display: flex;
  flex-direction: column;
  width: 80%;
  left: 10%;
  right: 10%;
}
/*==Reveal==*/
.reveal {
  opacity: 0;
  position: relative;
}
.reveal.active {
  opacity: 1;
}
/*Reveal from bottom*/
.reveal-bottom {
  transform: translateY(150px);
  transition: transform 1s ease;
}
.reveal-bottom.active {
  transform: translateY(0px);
}
/*Reveal from left*/
.reveal-left {
  transform: translateX(-150px);
  transition: transform 1s ease;
}
.reveal-left.active {
  transform: translateX(0px);
}
/*Reveal from right*/
.reveal-right {
  transform: translateX(150px);
  transition: transform 1s ease;
}
.reveal-right.active {
  transform: translateX(0px);
}
/*Reveal from zero*/
.reveal-zero {
  transform: scale(0);
  transition: transform 1.5s ease;
}
.reveal-zero.active {
  transform: scale(1);
}
/*==Reveal End==*/

.banner ul li {
  padding: 0.5em;
}
.banner ul li > div {
  text-align: center;
  background: white;
  box-shadow: 0 0 3px #b38600;
  min-width: 11em;
  padding: 1em;
  border-radius: 10px;
}
.banner ul li > div h1 {
  color: #b38600;
}
.banner ul li > div p {
  font-size: 1.2em;
  padding: 0.5em;
}
.main-content {
  padding: 10em 1em;
}
/*==Bottom==*/
.bottom {
  background-image: url("https://almashjid-photo.web.app/img/bottom-img.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.bg-color-bottom {
  background-color: rgba(13, 38, 26, 0.8);
}
.foot {
  max-width: 90%;
  margin: auto;
  padding: 3em 0 1em 0;
  color: white;
}
.foot2 h2 {
  padding-bottom: 1em;
}
.foot3 a {
  color: white;
}
.foot3 a:hover {
  color: #e6b800;
}
.row > div {
  float: left;
  padding: 1em;
}
.foot1 img {
  width: 1em;
  height: 1em;
}
.foot1 ul {
  display: flex;
  flex-direction: row;
  gap: 0.5em;
  padding-top: 1em;
}
.foot1 ul li a {
  display: block;
  font-size: 1em;
  color: white;
  width: 2.5em;
  aspect-ratio: 1/1;
  border: 2px solid #e6b800;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}
.foot1 ul li a:hover {
  color: black;
  background: #e6b800;
}
.row:after {
  content: "";
  display: table;
  clear: both;
}
.contact-info {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.contact-info div {
  padding: 0.5em;
}
.contact-info .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #e6b800;
  border-radius: 50%;
  font-size: 1.1em;
  padding: 1em;
  color: black;
}
.contact-info a,
.quick-link a {
  color: white;
}
.contact-info a:hover,
.quick-link a:hover {
  color: #e6b800;
}
.quick-link i {
  color: #e6b800;
}
.quick-link ul {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1em;
}

/* For mobile phones: */
[class*="col-"] {
  width: 100%;
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  /* For tablets: */
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}

  .banner ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* For desktop: */
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}

  /*===Navigation Bar ===*/
  nav {
    justify-content: space-around;
    gap: 0.5em;
    padding: 0.5em 0 0 1.5em;
    min-height: 3em; /*link height must have to be same as this height*/
  }
  .move {
    background-color: rgba(0, 0, 0, 0);
    position: static;
    width: 100% !important;
  }
  .move,
  .move a {
    transition: 0s;
  }
  .list-container {
    width: auto;
    position: static;
    border-right: none; /*Adjust this*/
  }
  .list-item {
    padding: 0;
    float: right;
  }
  .list-item > li {
    width: auto;
    display: inline;
  }
  .list-item > li a {
    border-bottom: none; /*Adjust this*/
    line-height: 3em; /*This must have to be same as nav height*/
    padding: 0.5em 2em;
    display: inline-block;
  }
  .cross,
  .button {
    display: none;
  }

  /*Banner*/
  .banner-content {
    padding-top: 12em;
  }
  .banner-heading {
    font-size: 4em;
  }
}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .col-z-1 {width: 8.33%;}
  .col-z-2 {width: 16.66%;}
  .col-z-3 {width: 25%;}
  .col-z-4 {width: 33.33%;}
  .col-z-5 {width: 41.66%;}
  .col-z-6 {width: 50%;}
  .col-z-7 {width: 58.33%;}
  .col-z-8 {width: 66.66%;}
  .col-z-9 {width: 75%;}
  .col-z-10 {width: 83.33%;}
  .col-z-11 {width: 91.66%;}
  .col-z-12 {width: 100%;}

  /*===Navigation Bar ===*/
  nav {
    justify-content: space-between;
    padding-top: 0;
  }
  /*Banner*/
  .banner-content {
    padding-top: 10em;
  }
  .banner-heading {
    font-size: 5em;
  }
  p {
    font-size: 16px;
  }
}
