@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  /* font-family: "Roboto", sans-serif; */
  /* font-weight: 900; */
  font-style: normal;
}
body {
  overflow-x: hidden;
  background-color: #010101;
}
.space {
  width: 100%;
  height: 400px;
  background-image: url(images/space-bg-4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  font-family: "Roboto", sans-serif;

  /* font-family: "Playwrite NG Modern", cursive; */
  font-optical-sizing: auto;
  font-style: normal;
}
.space .space-text {
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.space .space-headings {
  color: white;
  font-size: 50px;
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 20px;
  background-color: #25252594;
}
.space .space-headings {
  animation: prime 0.3s alternate infinite;
}
@keyframes prime {
  0% {
    margin-left: -20px;
  }
  100% {
    margin-right: -40px;
  }
}
/* images css start here */
.pic-container {
  height: 400px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 50px auto;
}
.pic-container:before {
  content: "";
  /* background-image: url(images/space-bg-4.jpg); */
  position: absolute;
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.25);
  z-index: -1;
}
section {
  width: 800px;
  height: 400px;
  display: flex;
  justify-content: center;
  gap: 15px;
}
.card {
  width: 20%;
  cursor: pointer;
  overflow: hidden;
  transition: 0.7s ease;
}
.card:hover {
  width: 40%;
}
.card .image {
  width: 100%;
  height: 100%;

  object-fit: cover;
  border-radius: 15px;
}
.card:hover .image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.card .background {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(0.25);
  pointer-events: none;
  opacity: 0;
}
.card:hover .background {
  opacity: 1;
}
.card .layer {
  width: 100%;
  height: 50%;
  position: relative;
  margin-top: -200px;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}
.card .layer .info {
  color: white;
  width: 260px;
  position: absolute;
  bottom: 10px;
  padding: 20px;
  opacity: 0;
}
.card .layer .info h1 {
  color: #fff;
  font-weight: 700;
  font-size: 1.8em;
}
.card .layer .info a {
  text-decoration: none;
  /* border: 1px solid #d3906a; */
}
.card:hover .layer .info {
  opacity: 1;
}
.info p {
  font-weight: 100;
  color: rgba(255, 255, 255.75);
  margin-top: 5px;
}
.info .pp {
  color: #d3906a;
  padding: 10px;
  border: 1px solid #d3906a;
}
.info .pp:hover {
  color: #fff;
  padding: 10px;
  border: 1px solid #d3906a;

  background-color: #d3906a;
}
.info a {
  color: #fff;
}
.copy a {
  color: #fff;
  text-decoration: none;
}
/*  */

.moon-card {
  height: 400px;
  width: 100%;
}
.moon-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px 40px;
}
.card-1 {
  position: relative;
  width: 350px;
  height: 180px;
  background-color: #333;

  transition: 0.5s;
}
.card-1:hover {
  height: 400px;
}
.card-1 .lines {
  position: absolute;
  inset: 0;
  background-color: #0000;
  overflow: hidden;
}
.card-1 .lines::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 120px;
  background: linear-gradient(
    transparent,
    #d3906a,
    #58453e,
    #d3906a,
    transparent
  );
  animation: animate 4s linear infinite;
  animation-play-state: paused;
}
.card-1:hover .lines::before {
  animation-play-state: running;
}
.card-1 .lines::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #010101;
  /* z-index: -10; */
}
.card-1 .imgBx {
  position: absolute;
  top: -30%;

  left: 50%;
  width: 100px;
  height: 100px;
  transform: translate(-50%);
  transition: 0.5s;
  z-index: 10;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-1:hover .imgBx {
  top: 20px;
  width: 150px;
  height: 150px;
}
.card-1 .imgBx::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 150px;
  transform: translate(-50%, -50%);
  background: linear-gradient(
    transparent,
    #ff3c7b,
    #45f3ff,
    #ff3c7b,
    transparent
  );
  animation: animate2 5s linear infinite;
  animation-play-state: paused;
}
.card-1 .imgBx::before {
  animation-play-state: running;
}
.card-1 .imgBx::after {
  content: "";
  position: absolute;
  inset: 3px;
  background-color: #010101;
}
.card-1 .imgBx img {
  position: absolute;
  z-index: 1;

  filter: brightness(0.3);
  width: 100px;
  transition: 0.5s;
}
.card-1:hover .imgBx img {
  filter: brightness(1);
}

.card-1 .content {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;

  z-index: 10;
  justify-content: center;
  align-items: end;
  color: #fff;
  top: 0%;
}
.card-1 .content .details {
  padding: 30px 20px;
  text-align: center;
  width: 100%;
  transition: 0.5s;
  display: flex;
  gap: 5px;
  flex-direction: column;
  transform: translateY(145px);
  color: #fff;
}
.card-1:hover .content .details {
  transform: translateY(0px);
}
.card-1 .content .details h2 {
  font-size: 1.5em;
  font-weight: 500;
  color: #d3906a;

  line-height: 1.2em;
}
.card-1 .content .details p {
  color: #fff;
  opacity: 0;
  font-weight: 500;
}
.card-1:hover .content .details p {
  color: #fff;
  opacity: 1;
}
.card-1 .content .details .link {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid #d3906a;
  padding: 10px;

  border-radius: 10px;
}
.card-1 .content .details .link:hover {
  background-color: #d3906a;
  color: #010101;
}
@keyframes animate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@keyframes animate2 {
  0% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}
/*  */
/* footer css here */
.footer {
  width: 100%;
  height: 250px;
  background-image: url(images/space-bg-4.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* font-family: "Playwrite NG Modern", cursive; */
  /* display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px; */
  font-weight: 500;
  font-family: "Roboto", sans-serif;

  font-optical-sizing: auto;
  font-style: normal;
}
.footer .space-text-footer {
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 13px;
}
.footer .footer-contact {
  color: white;
  /* font-size: 30px; */
}
.footer .space-text-footer p a {
  text-decoration: none;
  color: white;
  font-weight: 300;
  border: 1px solid #fff;
  padding: 10px;
  border-radius: 20px;
  background-color: #25252594;
  animation: animate4 0.3s alternate infinite;

  /* font-size: 30px; */
}

.footer .space-text-footer .social-links {
  color: #fff;
  font-size: 40px;
  display: flex;

  gap: 20px;
}
.footer .space-text-footer .social-links .icon:hover {
  color: #d3906a;
  font-size: 40px;
  animation: animate3 0.8s alternate infinite;
}

.copy {
  text-align: center;
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  /* margin-bottom: 0; */
}

@keyframes animate3 {
  0% {
    transform: rotate(0deg);
  }

  0% {
    transform: rotate(30deg);
  }
}

@media (min-width: 768px) and (max-width: 979px) {
  .moon-container {
    width: 100%;
    height: 400px;
    margin: 20px;
    /* padding: 0 20px 20px 20px; */
  }
  .space-footer {
    width: 100%;
    height: 200px;
  }
}
.social-links a {
  color: #fff;
}
