@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");
@font-face {
  font-family: Poppins;
  src: url(assets/fonts/Poppins-Regular.ttf);
  font-weight: normal;
}

@font-face {
  font-family: Poppins;
  src: url(assets/fonts/Poppins-SemiBold.ttf);
  font-weight: 600;
}

@font-face {
  font-family: Poppins;
  src: url(assets/fonts/Poppins-Bold.ttf);
  font-weight: 700;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding: 8rem;
}

body {
  font-family: "Poppins", sans-serif;
  scrollbar-gutter: none;
}

body::-webkit-scrollbar {
  background-color: #fff;
  width: 16px;
}

body::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0);
}

body::-webkit-scrollbar-thumb {
  background-color: #babac0;
  border-radius: 16px;
  border: 4px solid #fff;
}

body::-webkit-scrollbar-button {
  display: none;
}

section#home {
  margin-top: 15rem;
}

@media screen and (max-width: 570px) {
  section#home {
    margin-top: 25rem;
  }
}

section#contact {
  margin-top: 11.1rem;
}

.backgroundContainer {
  position: relative;
  min-height: 75vh;
  background-image: linear-gradient(
    0deg,
    hsl(64deg 66% 91%) 0%,
    hsl(64deg 66% 92%) 40%,
    hsl(64deg 66% 93%) 56%,
    hsl(63deg 66% 94%) 65%,
    hsl(63deg 66% 95%) 71%,
    hsl(63deg 66% 96%) 77%,
    hsl(63deg 66% 97%) 82%,
    hsl(63deg 66% 98%) 87%,
    hsl(62deg 66% 99%) 93%,
    hsl(0deg 0% 100%) 100%
  );
}

.navbar {
  margin: 0;
  width: 100%;
  position: fixed !important;
  top: 0;
  z-index: 100 !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  background-color: rgba(255, 255, 255, 0.7) !important;
}
.navbar-collapse {
  position: sticky;
  z-index: 100;
  top: 0;
}

.navbar-brand img {
  margin-left: 1rem;
}

@media screen and (max-width: 416px) {
  .backgroundContainer {
    min-height: 85vh;
  }
}

@media screen and (max-width: 570px) {
  nav {
    margin: 0 20px;
  }

  button.toggler {
    scale: 90%;
  }

  .navbar-brand img {
    scale: 90%;
  }

  .backgroundContainer {
    margin-top: -20vh !important;
  }
}

button.toggler {
  border: none;
}

.navbar-toggler {
  transition: all 0.15s ease-in-out;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.1rem;
}

.navbar-toggler:hover {
  background-color: lightgrey;
}

.collapsedItems {
  text-wrap: nowrap;
  text-align: left;
  font-size: 1.6ch;
  font-weight: 500;
  gap: 20px;
}

@media screen and (max-width: 1000px) {
  .collapsedItems {
    padding-top: 2rem;
    padding-left: 2rem;
    padding-bottom: 1rem;
  }
}

.donate {
  display: none;
}

.donateButton {
  scale: 75%;
  width: 220px;
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 24px;
  color: white;
  font-family: "Poppins", sans-serif;
  background-color: #02af56;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.donateButton:hover {
  background-color: white;
  padding: 12px;
  border: solid 3px #02af56;
  color: #02af56;
}

@media screen and (max-width: 1245px) {
  .donateButton {
    display: none;
  }

  .donate {
    display: inline-flex;
  }
}

.welcomeText {
  text-align: center;
}

.welcomeText h1 {
  text-align: right;
  margin: 0px 5em;
  line-height: 1.6em;
  font-size: 4.5ch;
  font-weight: 600;
}

.welcomeText h2 #fancy {
  color: #02af56;
  font-weight: 700;
}

.welcomeText h2 {
  text-align: right;
  margin: 4rem 15rem;
}

.landing img {
  position: absolute;
  bottom: 0;
  width: 55%;
  margin-left: -70px;
  pointer-events: none;
}

@media screen and (max-width: 1400px) {
  .landing img {
    display: none;
  }
}

@media screen and (max-height: 750px) {
  .landing img {
    width: 750px;
  }
}

.programButton {
  width: 270px;
  float: right;
  overflow: hidden;
  margin: 2rem 14rem 0 0;
  padding: 7px 15px;
  border: none;
  border-radius: 10px;
  font-size: 24px;
  color: white;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  background-color: #ff9822;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.programButton:hover {
  background-color: rgba(0, 0, 0, 0);
  padding: 4px 12px;
  border: solid 3px #ff9822;
  color: #ff9822;
}

@media screen and (max-width: 1000px) {
  .welcomeText {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .welcomeText h1 {
    margin: -2em 1em 0 1em;
    text-align: center;
    font-size: 4ch;
    word-wrap: wrap;
  }

  .welcomeText h2 {
    text-align: center;
    margin: 2em 1em 1em 2em;
    font-size: 2ch;
  }

  .welcomeText a {
    display: flex;
    text-decoration: none;
  }

  .welcomeText a button {
    width: 90%;
    margin: auto;
    margin-top: 2rem;
    padding: 7px 15px;
  }

  .salahTable {
    width: 300px !important;
  }

  .timingContainer .salahContainer h2 {
    font-size: 1.7ch;
  }
}

footer {
  position: static;
  bottom: 0;
  background-color: #1d4b54;
  padding: 1rem;
}

footer p {
  color: white;
  margin: 0;
  flex-direction: column;
}

footer p a {
  font-weight: 600;
  color: white;
  text-decoration: none;
}

footer p a i {
  font-size: 1.3ch;
}

footer p a:hover {
  color: rgb(233, 233, 233);
  text-decoration: underline;
}

footer #icons a {
  padding: 0 8px;
  color: white;
  font-size: 3ch;
}

@media screen and (max-width: 975px) {
  footer {
    display: flex;
    padding: 1rem 1rem;
    flex-direction: column;
    gap: 20px;
    justify-content: center !important;
  }

  footer #icons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 90%;
    gap: 10%;
  }

  footer p {
    width: 100%;
    flex-direction: row;
    letter-spacing: 0.3px;
    font-size: 1.4ch;
    flex-wrap: nowrap;
    text-wrap: nowrap;
    gap: 1rem;
  }
}

.row {
  margin: 0;
}

.timingContainer {
  width: 100%;
  padding: 2rem 16rem;
  background-image: url("assets/img/background600opacity.png");
  background-repeat: repeat;
}

@media screen and (max-width: 1550px) {
  .timingContainer {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2rem;
  }

  .tableContent img {
    display: none;
  }
}

.timingContainer .tableContent img {
  border-radius: 10px;
  transition: all 0.2s;
}

.timingContainer .tableContent img:hover {
  scale: 101%;
}

.salahContainer {
  padding: 0;
}

.salahContainer h2 {
  text-align: center;
  padding-bottom: 1rem;
}

.salahTable {
  border-collapse: collapse;
  font-size: 0.9em;
  font-family: "Poppins", sans-serif;
  width: 600px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.salahTable tbody tr {
  background-color: white;
}

.salahTable th#roundHead:first-child {
  border-radius: 10px 0 0 0;
}

.salahTable th#roundHead:last-child {
  border-radius: 0 10px 0 0;
}

.salahTable thead tr {
  background-color: #1d4b54;
  color: #fff;
  text-align: left;
}

.salahTable th,
.salahTable td {
  padding: 12px 15px;
}
.salahTable tbody tr {
  border-bottom: 1px solid #dddddd;
  text-wrap: nowrap;
  transition: all 0.1s;
}

.salahTable tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.salahTable tr td i {
  font-size: 2ch;
}

.salahTable tbody tr:hover {
  filter: brightness(90%);
}

.cardContainer {
  margin: 0 5rem 1rem 5rem;
}

@media screen and (max-width: 770px) {
  .cardContainer {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.sunriseText {
  transform: translate(50%);
}

.card {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease-in-out;
}

.imgContainer {
  max-height: 250px;
  overflow: hidden;
  object-fit: cover;
}

.card:hover {
  scale: 102%;
  cursor: pointer;
}

#programs {
  text-align: center;
}

#programs h1 {
  text-align: center;
  margin-top: 16px;
}

#programs a {
  color: black;
  text-decoration: underline;
  transition: all 0.1s;
}

#programs a#cardText {
  text-decoration: none;
}

#programs a:hover {
  color: rgba(0, 0, 0, 0.726);
}

.aboutBackgroundContainer {
  min-height: 100vh;
  background-image: linear-gradient(
    10deg,
    hsl(64deg 66% 91%) 0%,
    hsl(64deg 66% 92%) 25%,
    hsl(64deg 66% 93%) 45%,
    hsl(63deg 66% 94%) 40%,
    hsl(63deg 66% 95%) 55%,
    hsl(63deg 66% 96%) 50%,
    hsl(63deg 66% 97%) 82%,
    hsl(63deg 66% 98%) 87%,
    hsl(62deg 66% 99%) 93%,
    hsl(0deg 0% 100%) 100%
  );
}

.youtubeVideo {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  width: 100%;
  scale: 110%;
}

.about {
  background-image: url(assets/img/background600opacity.png);
}

.about img {
  width: 100%;
  border-radius: 10px;
  transition: all 0.2s;
}

.about img:hover {
  scale: 101%;
}

.about strong {
  font-weight: bold;
}

section#about {
  padding-top: 6rem;
}

.submitButton {
  width: 100%;
  border: none;
  padding: 12px 7px;
  margin-bottom: 2.22rem;
  border-radius: 10px;
  font-size: 20px;
  height: 50px;
  color: white;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  background-color: #02af56;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.submitButton:hover {
  background-color: white;
  padding: 9px 4px;
  border: solid 3px #02af56;
  color: #02af56;
}
