@import url("https://fonts.cdnfonts.com/css/better-saturday");
@import url("https://fonts.googleapis.com/css2?family=Poppins");

body {
  font-family: "Georgia", serif;
  margin: 0;
  padding: 0;
  /* background-color: #f8f8f8; */
  background-color: #f0eceb;

  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  font-family: "Poppins", serif;
}

.date {
  font-family: "Poppins", serif;
}

.name {
  font-family: "Better Saturday", cursive;
  color: #4a5c46;
  margin: 0;
  font-weight: 500;
}

.container {
  width: 70%;
  height: 80vh;
  background-color: #f0eceb;
  padding: 30px;
  text-align: center;
  position: relative;
}

.invitation h1 {
  font-size: 3rem;
  color: #4a5c46;
  margin: 0;
}

.name .heart {
  color: #b66579;
}

.invitation p {
  font-size: 1.3rem;
  color: #333;
  margin: 10px 0;
}

.invitation .date {
  font-size: 2rem;
  color: #4a4a4a;
  margin: 20px 0;
}

.invitation .venue {
  font-size: 1.2rem;
  color: #444;
}

.invitation .venue .btn {
  padding: 10px 20px;
  border: none;
  border: 5px double #b66579;
  border-radius: 30px;
  margin-top: 20px;
  text-decoration: none;
}

.invitation .venue .btn:hover {
  background-color: #b66579;
  color: #fff;
  transition: all 0.5s ease-out;
}

.invitation .outer-border {
  border: 5px solid #fff;
  padding: 10px;
  margin: 10px 0;
}

.invitation .card {
  height: 60vh;
  background-color: #fff;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 10px;
}
.flowers {
  position: absolute;
  width: 100px;
}

.top-left {
  width: 385px;
  height: 530px;
  transform: translate(0px, -6px) rotate(0deg);
  opacity: 0.35;
  top: -20px;
  left: -20px;
}

.bottom-right {
  width: 385px;
  height: 530px;
  opacity: 0.35;
  bottom: -20px;
  right: -20px;
}

.top-right {
  opacity: 0.35;
  top: -20px;
  right: -20px;
}

.bottom-left {
  opacity: 0.35;
  bottom: -20px;
  left: -20px;
}

img {
  max-width: 100%;
  height: auto;
}

a:visited {
  color: #b66579;
}

@media screen and (max-width: 768px) {
  .container {
    height: 100vh;
    width: 100%;
  }

  .name {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    line-height: 4rem;
    margin-top: 10px;
  }
  .invitation .card {
    height: 100vh;
    width: 100%;
    margin: auto;
    padding: 0;
  }

  .invitation .outer-border {
    padding: auto;
    margin: auto;
  }

  .bottom-right,
  .top-left {
    width: 200px;
    height: 300px;
  }
}

/* for smaller screen */
@media screen and (max-width: 480px) {
  .container {
    padding: 10px;
  }
  .name {
    line-height: 3rem;
  }

  .invitation h1 {
    font-size: 2rem;
  }

  .invitation p {
    font-size: 1rem;
  }

  .invitation .date {
    font-size: 1.3rem;
  }

  .invitation .venue {
    font-size: 1rem;
  }

  .invitation .venue .btn {
    padding: 5px 10px;
  }

  .top-left,
  .bottom-right {
    width: 150px;
    height: 200px;
  }
}

/* for 540 x 720 */
@media screen and (max-width: 540px) {
  .container {
    padding: 10px;
  }

  .name {
    line-height: 3rem;
  }

  .invitation h1 {
    font-size: 2rem;
  }

  .invitation p {
    font-size: 1rem;
  }

  .invitation .date {
    font-size: 1.3rem;
  }

  .invitation .venue {
    font-size: 1rem;
  }

  .invitation .venue .btn {
    padding: 5px 10px;
  }

  .top-left,
  .bottom-right {
    width: 150px;
    height: 200px;
  }
}


/* for 1280 x 720 */
@media screen and (max-width: 1280px) {
  .container {
    padding: 10px;
  }

  .name {
    line-height: 3rem;
  }

  .invitation h1 {
    font-size: 2rem;
  }

  .invitation p {
    font-size: 1rem;
  }

  .invitation .date {
    font-size: 1.3rem;
  }

  .invitation .venue {
    font-size: 1rem;
  }

  .invitation .venue .btn {
    padding: 5px 10px;
  }

  .top-left,
  .bottom-right {
    width: 150px;
    height: 200px;
  }
}