@import url("https://fonts.googleapis.com/css2?family=Molle:ital@1&display=swap");
/* font-family: "Molle", cursive; */
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans: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&display=swap");
/* font-family: "Fira Sans", sans-serif; */

* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
}
body {
  width: 100%;
  height: 100vh;
  background-color: rgb(17, 1, 6);
  position: relative;
}
nav {
  background: rgba(255, 255, 255, 0.073);
  height: 50%;
  width: 10%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  position: fixed;
  z-index: 10;
  top: 25%;
  right: 0;
}
nav li {
  list-style: none;
  font-size: x-large;
  font-family: "Molle", cursive;
}
nav li a {
  text-decoration: none;
  color: rgb(222, 214, 214);
}
.hero {
  background: rgb(17, 1, 6);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.hero img {
  width: 20%;
  height: 30%;
  object-fit: contain;
  margin-bottom: 3rem;
  animation: move 2s ease-in-out infinite alternate;
}
@keyframes move {
  to {
    transform: translatex(20px);
  }
}
.hero h2,
.specialties h2,
.about h2,
.whyus h2,
.visitus h2 {
  font-size: xx-large;
  font-family: "Molle", cursive;
  color: aliceblue;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: glow 1s infinite alternate;
}
@keyframes glow {
  to {
    text-shadow:
      0 0 20px #fff,
      0 0 30px rgb(77, 15, 2);
  }
}
.hero p {
  font-size: 1.2rem;
  font-family: "Fira Sans", sans-serif;
  color: #4ccfc7;
  padding: 3px;
}
button {
  border: none;
  border-left: 3px solid rgb(170, 65, 65);
  border-right: 3px solid rgb(170, 65, 65);
  outline: none;
  background: transparent;
  padding: 0 0.5rem;
  font-size: x-large;
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
  cursor: pointer;
  margin-top: 2rem;
}
button a {
  text-decoration: none;
  color: antiquewhite;
}
.specialties {
  width: 100%;
  height: 80%;
  padding: 2rem;
  text-align: start;
  background: rgb(0, 0, 0);
}
.specialties h2,
.about h2,
.whyus h2,
.visitus h2 {
  border: none;
  border-left: 4px solid rgb(203, 155, 170);
}
.boxes {
  background: rgb(81, 13, 66);
  height: 80%;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 2rem;
  border-radius: 20px;
}

.box {
  aspect-ratio: 1;
  flex: 1;
  text-align: end;
  font-family: "Molle", cursive;
  color: #4ccfc7;
  font-size: 1rem;
  border-radius: inherit;
}
.box img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  border-radius: inherit;
  animation: imgmove 1s infinite alternate;
}
@keyframes imgmove {
  to {
    transform: rotate(2deg);
  }
}
.box:hover h3 {
  color: yellowgreen;
}
.about {
  width: 100%;
  height: 50%;
  padding: 2rem;
  background: rgb(17, 1, 6);
}
.about p {
  font-family: "Molle", cursive;
  font-size: large;
  font-weight: 400;
  color: wheat;
}
.about p span {
  background: #f8fbf4;
  padding: 5px;
  color: #4ccfc7;
  text-shadow: blueviolet 2px 1px;
  box-shadow: rgb(58, 58, 10) 5px 5px;
  display: inline-block;
  animation: spanmove 1s infinite alternate;
}
@keyframes spanmove {
  to {
    transform: rotate(-2deg);
  }
}
.about-para {
  margin-top: 2rem;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-evenly;
}
.about-para img {
  width: 10%;
}
.about .about-para p {
  background: #ffffff13;
  width: 60%;
  height: 50%;
  padding: 2rem;
  color: white;
}
.whyus {
  background: #000;
  padding: 2rem;
}
.whyus ul {
  width: 50%;
  margin-left: 45%;
}
.whyus ul li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: "Fira Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  padding: 5px;
}
.visitus {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 2rem;
  background: rgb(17, 1, 6);
}
.location,
.time {
  width: 45%;
  height: 45%;
}
.location {
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.location p {
  width: 50%;
  padding: 1rem;
  background: whitesmoke;
  display: flex;
  align-items: center;
  transform: rotate(-10deg);
  gap: 1rem;
  font-family: "Molle", cursive;
  font-size: x-large;
  box-shadow: plum 2px 3px 4px;
  border: 3px solid black;
  margin-left: 90px;
}

.time {
  align-self: flex-end;
  background: rgb(255, 255, 255);
  height: 35%;
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-radius: 60em;
  border: 10px silver solid;
  transition: all 0.4s ease;
  margin-right: 70px;
}
.time:hover {
  border: 5px rgba(232, 172, 226, 0.986) solid;
  transform: scale(1.05);
}
.time h3 {
  font-family: "Molle", cursive;
  font-size: xx-large;
}
.time p {
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
}
.time em {
  color: #4ccfc7;
  text-shadow: blueviolet 2px 2px 2px;
}
footer {
  background-color: #000;
  height: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  border-top: 2px solid rgb(226, 178, 241);
  border-radius: 60px 60px 0px 0px;
}
footer h2 {
  font-family: "Molle", cursive;
  color: #d2a8f5;
  font-size: medium;
}
footer p {
  font-family: "Fira Sans", sans-serif;
  color: #fff;
  font-weight: 700;
}
.to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 90;
  background-color: transparent;
  cursor: pointer;
  padding: 15px;
  transition: all ease 0.5s;
}
.to-top img:hover {
  transform: scale(1.2);
}

@media (max-width: 900px) {
  nav {
    width: 15%;
    height: 45%;
    top: 27%;
  }
  nav li {
    font-size: large;
  }
  .hero h2 {
    font-size: x-large;
  }
  .hero img {
    width: 30%;
    height: 25%;
  }
  .specialties {
    height: auto;
  }
  .boxes {
    height: auto;
    padding: 1.5rem;
  }
  .box {
    flex: 1 1 45%;
  }
  .about {
    height: auto;
  }
  .about-para {
    align-items: center;
    gap: 2rem;
  }
  .about-para img {
    width: 20%;
  }
  .about .about-para p {
    width: 70%;
    height: auto;
  }
  .whyus ul {
    width: 70%;
    margin-left: auto;
  }
  .location p {
    width: 80%;
    font-size: medium;
  }
  .time {
    width: 45%;
    margin-right: 20px;
  }
  .time p {
    font-size: small;
  }
}
@media (max-width: 571px) {
  nav {
    width: 20%;
  }
  nav li {
    font-size: medium;
  }
  .hero {
    text-align: center;
  }
  .hero p {
    font-size: 18px;
  }
  .whyus ul {
    margin: 0;
    width: 100%;
  }
  .whyus ul li {
    font-size: 1.2rem;
  }
  .visitus .location p {
    width: 100%;
    font-size: small;
  }
  .visitus .time {
    width: 60%;
  }
  .visitus .time p {
    font-size: 10px;
  }
  .to-top img {
    width: 40px;
  }
  @media (max-width: 375px) {
    nav {
      width: 20%;
    }
    nav li {
      font-size: small;
    }
    .about-para {
      text-align: center;
    }
    .visitus .location p img {
      width: 30%;
    }
    .visitus .location p {
      font-size: small;
      width: 100%;
    }
    .visitus .time {
      width: 80%;
      height: 30%;
      text-align: center;
    }
    .visitus .time h3 {
      font-size: medium;
    }
  }
}
