.wrapper {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 70rem;
  text-align: center;
  border: 6rem solid transparent;
  border-image-source: url("../img/frame_v5.png");
  border-image-repeat: stretch;
  border-image-slice: 8% 12%;
}
.wrapper__box {
  padding: 3rem;
  border-radius: 1rem;
  background-image: url("../img/background_v2.png");
  background-size: cover;
  background-position: cente;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
}

.details {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  padding: 2rem 1rem;
  background-color: rgb(252, 252, 252);
  position: relative;
}
.details__seal {
  display: block;
  width: 9rem;
  height: auto;
  margin: -3rem auto 0;
}
.details__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 6rem;
  letter-spacing: 5.5px;
  font-weight: normal;
  line-height: 1.1;
  font-family: "Mea Culpa", cursive;
}
.details__date {
  font-size: 1.4rem;
  font-weight: 200;
  letter-spacing: 4px;
  margin-bottom: 2rem;
}
.details__heading {
  font-size: 3.5rem;
  font-weight: 300;
  font-family: "Parisienne", cursive;
  color: #3a3737;
}
.details__text {
  font-size: 1.8rem;
  font-weight: normal;
  line-height: 1.7;
  max-width: 40rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}
.details__form {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 0.5rem;
  max-width: 45rem;
  width: 100%;
}
.details__form-label {
  text-align: left;
  text-transform: uppercase;
  font-size: 1.2rem;
  letter-spacing: 1.3px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.4745098039);
}
.details__form-input {
  width: 100%;
  padding: 1.5rem;
  border-radius: 2rem;
  border: 1.5px solid rgb(218, 218, 218);
  font-size: 1.5rem;
  transition: border-color 0.5s, box-shadow 0.5s;
}
.details__form-input:focus {
  outline: none;
  border-color: #a5a8a5;
  box-shadow: 0 0 0 3px rgba(124, 133, 127, 0.15);
}
.details__form-btn {
  width: 100%;
  padding: 1.5rem;
  border-radius: 3rem;
  margin-top: 2rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: 1.9rem;
  font-family: "Cormorant Garamond", serif;
  background-color: rgb(235, 233, 235);
  border: 1.5px solid rgba(145, 148, 126, 0.5607843137);
  color: rgba(0, 0, 0, 0.4745098039);
  cursor: pointer;
  transition: background-color 0.5s, color 0.5s;
}
.details__form-btn:hover, .details__form-btn:focus, .details__form-btn:active {
  background-color: rgba(158, 158, 158, 0.431372549);
  color: white;
}

.gallery {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgb(252, 252, 252);
}
.gallery__title {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-family: "Cormorant Garamond", cursive;
  color: #3a3737;
  text-align: center;
  text-transform: uppercase;
}
.gallery__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 4rem;
  letter-spacing: 5.5px;
  font-weight: normal;
  line-height: 1;
  font-family: "Mea Culpa", cursive;
  margin-bottom: 0.6rem;
}
.gallery__date {
  text-align: center;
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 2.5px;
  margin-bottom: 2rem;
}
.gallery__guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 2.1rem;
  border-radius: 2rem;
  border: 1.5px solid rgb(218, 218, 218);
  max-width: 40rem;
  gap: 1.5rem;
  margin: 0 auto 3rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.9rem;
}
.gallery__guest span {
  min-width: 0;
  text-align: center;
  overflow-wrap: anywhere;
  flex: 1;
}
.gallery__change-user {
  font-family: "Cormorant Garamond", serif;
  padding: 0.7rem 2.1rem;
  border: 1.5px solid rgb(199, 196, 196);
  border-radius: 2rem;
  font-size: 1.3rem;
  color: rgba(0, 0, 0, 0.4745098039);
  background-color: rgb(235, 233, 235);
  cursor: pointer;
  transition: border-color 0.5s;
}
.gallery__change-user:hover, .gallery__change-user:focus, .gallery__change-user:active {
  border-color: rgba(0, 0, 0, 0.3411764706);
}
.gallery__tabs {
  width: 100%;
  padding: 0.5rem;
  display: flex;
  margin: 0 auto;
  justify-content: center;
  max-width: 40rem;
  border: 1.5px solid rgb(218, 218, 218);
  border-radius: 2rem;
  color: rgba(0, 0, 0, 0.4745098039);
}
.gallery__tab {
  flex: 1;
  border: none;
  background: transparent;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  padding: 0.8rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: 2rem;
  border: 1.5px solid rgb(218, 218, 218);
  color: rgba(0, 0, 0, 0.4745098039);
  cursor: pointer;
  transition: background-color 0.5s, color 0.5s;
}
.gallery__tab--active {
  background-color: rgb(235, 233, 235);
  border: 1.5px solid rgb(199, 196, 196);
  color: rgb(71, 70, 70);
}
.gallery__upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 40rem;
  margin: 2rem auto 0;
}
.gallery__upload-title {
  text-transform: uppercase;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.4745098039);
}
.gallery__upload-text {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: rgba(0, 0, 0, 0.4745098039);
}
.gallery__upload-files {
  display: none;
}
.gallery__upload-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 100%;
}
.gallery__upload-preview img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 1rem;
}
.gallery__upload-preview video {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 1rem;
}
.gallery__upload-preview-item {
  position: relative;
}
.gallery__upload-preview-remove {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.671);
}
.gallery__upload-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-align: center;
}
.gallery__upload-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 2rem;
  border: 1.5px solid rgb(199, 196, 196);
  border-radius: 2rem;
  cursor: pointer;
  text-align: center;
}
.gallery__upload-dropzone-title {
  font-size: 2.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-family: "Cormorant Garamond", serif;
  color: rgba(0, 0, 0, 0.4745098039);
  font-weight: 800;
}
.gallery__upload-dropzone-info {
  font-size: 1.3rem;
  font-family: "Cormorant Garamond", serif;
  color: rgba(0, 0, 0, 0.4745098039);
  line-height: 1.3rem;
}
.gallery__upload-button {
  font-family: "Cormorant Garamond", serif;
  padding: 0.7rem 2.1rem;
  border-radius: 2rem;
  font-size: 1.6rem;
  border: 1.5px solid rgb(199, 196, 196);
  background-color: rgb(235, 233, 235);
  cursor: pointer;
  max-width: 20rem;
  width: 100%;
  transition: border-color 0.5s;
  color: rgba(0, 0, 0, 0.4745098039);
}
.gallery__upload-button:active, .gallery__upload-button:focus {
  border-color: #000000;
}
.gallery__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: 100%;
  margin-top: 2rem;
}
.gallery__photos-item {
  width: 100%;
  position: relative;
  cursor: pointer;
}
.gallery__photos img,
.gallery__photos video {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 1rem;
  display: block;
}
.gallery__photos-author {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  max-width: 90%;
  padding: 0.3rem 0.7rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.75);
}
.gallery__lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.85);
}
.gallery__lightbox-image {
  max-width: 95vw;
  max-height: 90vh;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 1rem;
}
.gallery__lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 4rem;
  height: 4rem;
  border: none;
  border-radius: 50%;
  font-size: 2.5rem;
  cursor: pointer;
  color: black;
  background-color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .wrapper {
    width: 100%;
    max-width: 550px;
    border-width: 5rem;
  }
  .wrapper__box {
    padding: 2.5rem;
  }
  .details {
    padding: 1.5rem;
  }
  .details__title {
    font-size: 5.5rem;
    letter-spacing: 3px;
    line-height: 1;
  }
  .details__heading {
    font-size: 3rem;
  }
  .details__text {
    font-size: 1.6rem;
    line-height: 1.5;
    max-width: 35rem;
    margin-bottom: 2rem;
  }
  .details__form {
    width: 100%;
    max-width: 40rem;
  }
  .details__form-label {
    font-size: 1.1rem;
  }
  .details__form-input {
    padding: 1.2rem;
    border-radius: 1.5rem;
  }
  .details__form-btn {
    padding: 1.2rem;
    margin-top: 1.5rem;
    font-size: 1.6rem;
  }
  .gallery {
    padding: 1.5rem;
  }
  .gallery__title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .gallery__name {
    font-size: 4.5rem;
    letter-spacing: 3px;
  }
  .gallery__date {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  .gallery__guest {
    max-width: 35rem;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .gallery__tabs {
    max-width: 35rem;
  }
  .gallery__upload {
    max-width: 35rem;
    margin-top: 1.5rem;
  }
  .gallery__upload-title {
    font-size: 2rem;
  }
  .gallery__upload-text {
    font-size: 1.6rem;
  }
  .gallery__upload-dropzone {
    padding: 1.8rem;
  }
  .gallery__upload-dropzone-title {
    font-size: 2.2rem;
  }
  .gallery__upload-dropzone-info {
    font-size: 1.4rem;
  }
  .gallery__upload-button {
    font-size: 1.8rem;
  }
}
@media (max-width: 625px) {
  .wrapper {
    width: 100%;
    max-width: 470px;
    min-width: 350px;
    border-width: 4rem;
  }
  .wrapper__box {
    padding: 2rem;
  }
  .details {
    padding: 1.3rem;
  }
  .details__title {
    font-size: 4rem;
    letter-spacing: 3px;
    line-height: 1;
  }
  .details__heading {
    font-size: 2.2rem;
  }
  .details__text {
    font-size: 1.4rem;
    line-height: 1.5;
    max-width: 30rem;
    margin-bottom: 1.7rem;
  }
  .details__form {
    width: 100%;
    max-width: 35rem;
  }
  .details__form-label {
    font-size: 1rem;
  }
  .details__form-input {
    padding: 1rem;
    border-radius: 1.5rem;
  }
  .details__form-btn {
    padding: 1rem;
    margin-top: 1.3rem;
    font-size: 1.4rem;
  }
  .gallery {
    padding: 1.5rem;
  }
  .gallery__title {
    font-size: 2.1rem;
    margin-bottom: 1rem;
  }
  .gallery__name {
    font-size: 4rem;
    letter-spacing: 3px;
  }
  .gallery__date {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
  .gallery__guest {
    max-width: 30rem;
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  .gallery__tabs {
    max-width: 30rem;
  }
  .gallery__upload {
    max-width: 30rem;
    margin-top: 1rem;
  }
  .gallery__upload-title {
    font-size: 1.8rem;
  }
  .gallery__upload-text {
    font-size: 1.6rem;
  }
  .gallery__upload-dropzone {
    padding: 3rem;
  }
  .gallery__upload-dropzone-title {
    font-size: 2rem;
  }
  .gallery__upload-dropzone-info {
    font-size: 1.3rem;
  }
  .gallery__upload-button {
    font-size: 1.7rem;
  }
}
@media (max-width: 525px) {
  .wrapper {
    width: 100%;
    max-width: 400px;
    border-width: 3.5rem;
  }
  .wrapper__box {
    padding: 1.5rem;
  }
  .details {
    padding: 1rem;
  }
  .details__title {
    font-size: 4.4rem;
    letter-spacing: 3px;
    line-height: 1;
    margin-bottom: 0.5rem;
  }
  .details__heading {
    font-size: 3rem;
  }
  .details__date {
    font-size: 1.3rem;
  }
  .details__text {
    font-size: 1.5rem;
    line-height: 1.5;
    max-width: 25rem;
    margin-bottom: 1.7rem;
  }
  .details__form {
    width: 100%;
    max-width: 30rem;
  }
  .details__form-label {
    font-size: 1.1rem;
  }
  .details__form-input {
    padding: 0.7rem;
    border-radius: 1.5rem;
  }
  .details__form-btn {
    padding: 0.7rem;
    margin-top: 1.1rem;
    font-size: 1.7rem;
  }
  .gallery {
    padding: 1.5rem;
  }
  .gallery__title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  .gallery__name {
    font-size: 3.9rem;
    letter-spacing: 3px;
  }
  .gallery__date {
    font-size: 1.3rem;
    margin-bottom: 1.3rem;
  }
  .gallery__guest {
    max-width: 25rem;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  .gallery__tabs {
    max-width: 25rem;
    padding: 0.6rem;
  }
  .gallery__upload {
    max-width: 25rem;
    margin-top: 1rem;
  }
  .gallery__upload-title {
    font-size: 1.8rem;
  }
  .gallery__upload-text {
    font-size: 1.6rem;
  }
  .gallery__upload-dropzone {
    padding: 3.5rem;
  }
  .gallery__upload-dropzone-title {
    font-size: 2rem;
  }
  .gallery__upload-dropzone-info {
    font-size: 1.3rem;
  }
  .gallery__upload-button {
    font-size: 1.7rem;
  }
  .gallery__photos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 29rem;
    margin: 2rem auto 0;
  }
  .gallery__photos-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
  }
  .gallery__photos img,
  .gallery__photos video {
    width: 100%;
    aspect-ratio: 1/1;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 1rem;
    display: block;
  }
  .gallery__photos-author {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
    line-height: 1.1;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}/*# sourceMappingURL=style.css.map */