@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;

  padding: 0;

  font-family: "Poppins", sans-serif;

  box-sizing: border-box;
}

body {
  display: flex;

  justify-content: center;

  align-items: center;

  background: #fff8dc;

  min-height: 100vh;
}

.container {
  width: 1100px;

  display: flex;

  justify-content: center;

  align-items: center;
  margin-top: 10rem;
  flex-wrap: wrap;
}
@media only screen and (max-width: 600px) {
  .container {
    margin-top: 0;
  }
}

.container .card {
  position: relative;

  width: 300px;

  height: 400px;

  background: #9a7b4f;

  display: flex;

  justify-content: center;

  align-items: center;

  margin: 30px;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);

  overflow: hidden;

  border-radius: 2%;
}

/*.container:hover .card{

    opacity: 0.2;

}*/

.container .card:hover {
  opacity: 1;
}

.container .card::before {
  content: "";

  position: absolute;

  top: 2px;

  left: 2px;

  bottom: 2px;

  width: 50%;

  background: rgba(0, 0, 0, 0.1);

  pointer-events: none;
}

.container .card .content {
  padding: 30px;

  text-align: center;
}

.container .card .content h2 {
  position: absolute;

  right: 30px;

  font-size: 4em;

  font-weight: 800;

  color: #ffdead;

  z-index: 1;

  opacity: 0.1;

  transition: 0.5s;
}

.container .card .content p {
  position: relative;

  font-size: 1.1em;

  color: #fff8dc;

  z-index: 2;

  opacity: 0.85;

  font-weight: 300;

  letter-spacing: 1px;

  transition: 0.5s;
}

.container .card:hover .content h2 {
  opacity: 0.5;

  transform: translateY(-70px);
}

.footer {
  font-size: 0.8rem;
  margin: 0rem 0rem 2rem;
}
@media only screen and (max-width: 600px) {
  .footer {
    width: 300px;
  }
}
.adat {
  margin-left: 2rem;
}
a {
  color: rgb(114, 68, 38);
  text-decoration: none;
  transition: 1s;
}
a:hover {
  text-decoration: underline;
}
.container .card .content h3 {
  position: relative;

  font-size: 1.5em;

  color: #fff8dc;

  z-index: 2;

  opacity: 0.85;

  letter-spacing: 1px;

  transition: 0.5s;
}

.container .card:hover .content h3,
.container .card:hover .content p,
.container .card:hover .content a {
  opacity: 5;
}

.container .card .content a {
  display: inline-block;

  margin-top: 15px;

  padding: 8px 15px;

  background: rgb(114, 68, 38);

  color: #fff8dc;

  text-decoration: none;

  text-transform: uppercase;

  font-weight: 700;

  border-radius: 5%;
}

.container .card span {
  transition: 0.5;

  opacity: 0;
}

.container .card:hover span {
  opacity: 1;
}

.container .card span:nth-child(1) {
  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 3px;

  background: linear-gradient(to right, transparent, #ffebcd);

  animation: animate1 2s linear infinite;
}

@keyframes animate1 {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.container .card span:nth-child(2) {
  position: absolute;

  top: 0;

  right: 0;

  width: 3px;

  height: 100%;

  background: linear-gradient(to bottom, transparent, #ffebcd);

  animation: animate2 2s linear infinite;

  animation-delay: 1s;
}

@keyframes animate2 {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

.container .card span:nth-child(3) {
  position: absolute;

  bottom: 0;

  left: 0;

  width: 100%;

  height: 3px;

  background: linear-gradient(to left, transparent, #ffebcd);

  animation: animate3 2s linear infinite;
}

@keyframes animate3 {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.container .card span:nth-child(4) {
  position: absolute;

  top: 0;

  left: 0;

  width: 3px;

  height: 100%;

  background: linear-gradient(to top, transparent, #ffebcd);

  animation: animate4 2s linear infinite;

  animation-delay: 1s;
}

@keyframes animate4 {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(-100%);
  }
}
