/* Declare Variable */
:root {
  --pink: #EFA3D4;
  --bg: #09A0CE;
  --shadow: 0 2px 2px rgb(0 0 0 / 0.5);
  --primary-font: "Work Sans", sans-serif;
  --secondary-font: "Sacramento", cursive;
  --tercero-font: "Parisienne", cursive;
}

/* Reset */
* {
  scroll-behavior: smooth;
}

body {
  font-size: 1.2rem;
  font-family: var(--primary-font);
  /* min-height: 4000px; */
}


/* Hero */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url("../img/fondo.jpg");
  background-size: cover;
  background-position: center;
}

.hero {
  position: relative;
  min-height: 100vh;
  /* background-color: var(--bg); */
}

.hero h1,
.hero h4,
.hero p {
  text-shadow: var(--shadow);
}

.hero h1 {
  font-family: var(--secondary-font);
  font-size: 6rem;
}
/* Título */
.hero h4 {
  font-size: 1.6rem;
}
/* Nombre */
.hero p {
  font-size: 1.6rem;
}

.hero a {
  color: var(--pink);
  background-color: white;
  box-shadow: var(--shadow);
}

.hero a:hover {
  background-color: var(--pink);
  color: white;
}

/* Navbar */
.mynavbar {
  background-color: rgba(255, 255, 255, 0.5) !important;
  backdrop-filter: blur(4px);
}

.mynavbar .offcanvas {
  height: 100vh;
}
/*  */
.mynavbar .navbar-brand,
.mynavbar .offcanvas-title {
  font-family: var(--secondary-font);
  font-size: 3.2rem;
  font-weight: bold;
}

.mynavbar .nav-link {
  text-transform: uppercase;
}

/* Home */
.home {
  background-image: url("../img/floral2.png");
  /* filter: grayscale(); */
  background-size: cover;
  min-height: 100vh;
  margin-top: -6rem;
  padding-top: 15rem;
  padding-bottom: 5rem;
}

.home h2,
.info h2,
.story h2,
.gallery h2,
.rspv h2,
.gifts h2 {
  color: var(--pink);
  font-family: var(--secondary-font);
  font-weight: bold;
  font-size: 5rem;
}

.home h3 {
  color: #444;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.home p {
  font-size: 1.1rem;
  color: #666;
}

.home .couple {
  margin-top: 100px;
}

.home .couple h3 {
  font-family: var(--secondary-font);
  font-size: 5.4rem;
  color: var(--pink);
}

.home .couple img {
  width: 100%;
  filter: saturate();
}

.home .heart {
  width: 50px;
  height: 50px;
  background-color: white;
  display: flex;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(65px);
  z-index: 10;
}

.home .heart i {
  margin: auto;
  color: var(--pink);
}

/* Info */
.info {
  background-color: var(--bg);
  color: white;
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.info .alamat {
  font-size: 1.1rem;
}

.info .description {
  font-size: 1rem;
  font-weight: 300;
}

.info .card {
  background-color: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  border: 1px solid #999;
}

.info .card-header {
  border-bottom: 1px solid #999;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
}

.info .card-body {
  font-size: 1rem;
}

.info .card-footer {
  border-top: 1px solid #999;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Story */
.story,
.gallery,
.rspv,
.gifts {
  padding-top: 10rem;
  padding-bottom: 8rem;
}

.story span,
.gallery span,
.gifts span {
  display: block;
  text-transform: uppercase;
  color: #666;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.story p,
.gallery p,
.rspv p,
.gifts p {
  font-size: 1rem;
  font-weight: 300;
}

.timeline {
  list-style: none;
  padding: 1.4rem;
  margin-top: 1rem;
  position: relative;
}

.timeline::before {
  content: "";
  top: 0;
  bottom: 0;
  position: absolute;
  width: 1px;
  background-color: #ccc;
  left: 50%;
}

.timeline li {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline li::before,
.timeline li::after {
  content: "";
  display: table;
}

.timeline li::after {
  clear: both;
}

.timeline li .timeline-image {
  width: 160px;
  height: 160px;
  background-color: #ccc;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.timeline li .timeline-panel {
  width: 40%;
  float: left;
  border: 1px solid #ccc;
  padding: 2rem;
  position: relative;
  border-radius: 5px;
  background-color: white;
}

.timeline li .timeline-panel::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: #ccc;
  border-top: 15px solid transparent;
  border-left: 15px solid #ccc;
  border-right: 0 solid #ccc;
  border-bottom: 15px solid transparent;
  transform: rotate(45deg);
  z-index: -1;
  right: -15px;
  top: 80px;
}

.timeline li .timeline-panel::after {
  content: "";
  position: absolute;
  display: inline-block;
  border-top: 14px solid transparent;
  border-left: 14px solid #fff;
  border-right: 0 solid #fff;
  border-bottom: 14px solid transparent;
  right: -13px;
  top: 81px;
}

.timeline li.timeline-inverted .timeline-panel {
  float: right;
}

.timeline li.timeline-inverted .timeline-panel::before {
  border-left-width: 0;
  border-right-width: 15px;
  right: auto;
  left: -15px;
}

.timeline li.timeline-inverted .timeline-panel::after {
  border-left-width: 0;
  border-right-width: 14px;
  right: auto;
  left: -13px;
}

/* Gallery */

.gallery {
  background-color: #f5f5f5;
}

/* RSPV */
.rspv {
  background-color: var(--bg);
}

.rspv h2 {
  font-size: 4.5rem;
}

.rspv p {
  color: white;
}

.rspv form label {
  color: white;
}

.rspv button {
  background-color: var(--pink);
  color: white;
  border: 1px solid var(--pink);
}

.rspv button:hover {
  background-color: white;
  color: var(--pink);
  border: white;
}

/* Footer */
footer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  background-color: var(--pink);
  color: white;
}

/* Media Query */
/* Extra Large */
@media (max-width: 1200px) {
  .home .heart {
    transform: translateX(-50%) translateY(45px);
  }
}

/* Laptop */
@media (max-width: 992px) {
  html {
    font-size: 75%;
  }

  .home .heart {
    display: none;
  }

  .simply-countdown > .simply-section .simply-amount {
    padding: 70px;
  }

  .timeline::before {
    left: 60px;
  }

  .timeline li .timeline-image {
    left: 15px;
    margin-left: 45px;
    top: 16px;
  }

  .timeline li .timeline-panel {
    width: calc(100% - 200px);
    float: right;
  }

  .timeline li .timeline-panel::before {
    border-left-width: 0;
    border-right-width: 15px;
    right: auto;
    left: -15px;
  }

  .timeline li .timeline-panel::after {
    border-left-width: 0;
    border-right-width: 14px;
    right: auto;
    left: -13px;
  }
}

/* Tablet */
@media (max-width: 768px) {
  html {
    font-size: 65%;
  }

  .home .heart {
    display: none;
  }

  .simply-countdown > .simply-section .simply-amount {
    padding: 60px;
    margin: 5px;
  }

  .mynavbar .offcanvas-title {
    text-align: center;
  }

  .mynavbar .nav-link {
    font-size: 2rem;
    text-align: center;
  }

  .timeline li .timeline-image {
    width: 140px;
    height: 140px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  html {
    font-size: 60%;
  }

  .home .heart {
    display: none;
  }

  #count {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .simply-countdown > .simply-section {
    float: none;
  }

  .simply-countdown > .simply-section .simply-amount {
    padding: 45px;
    margin: 3px;
  }

  .timeline li .timeline-image {
    width: 80px;
    height: 80px;
  }

  .timeline li .timeline-panel {
    width: 65%;
    transform: translateX(-10px);
  }

  .timeline li .timeline-panel::before {
    top: 30px;
  }

  .timeline li .timeline-panel::after {
    top: 31px;
  }
}
