@import "_custom.css";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Noto+Serif:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&family=Playfair+Display:wght@400..900&display=swap');

:root{
  --c-primary: #E7D8CB;
  --c-secondary: #D7B7A2;
  --c-tertiary: #333333;
  --c-quaternary:#FFFFFF;
  /* fuentes */
  --f-heading: 'Noto Serif', serif;
  --f-primary: 'Montserrat', sans-serif;
  --f-secondary:  "Playfair Display", serif;
  --f-tertiary: ;
  /* filter */
  --f-icons: brightness(0) invert(82%) sepia(26%) saturate(293%) hue-rotate(339deg) brightness(89%) contrast(87%);
  /* general */
  --c-black: #000;
  --c-danger: #d6293e;
}


/* VARIACIONES  */

/* colores de fondo */
.bg-primary{
  background-color: var(--c-primary)!important;
}
.bg-secondary{
  background-color: var(--c-secondary)!important;
}
.bg-tertiary{
  background-color: var(--c-tertiary);
}
.bg-quaternary{
  background-color: var(--c-quaternary);
}

/* fuentes */
.f-heading {
  font-family: var(--f-heading);
}
.f-primary {
  font-family: var(--f-primary)!important;
}
.f-secondary{
  font-family: var(--f-secondary)!important;
}

body{
  font-family: var(--f-primary);
  color: #212121;
  overflow-x: hidden !important;
  touch-action: pan-y;
}
.f-primary{
  font-family: var(--primary-font);
}
.f-secondary{
  font-family: var(--secondary-font);
}
.f-terciary{
  font-family: var(--terciary-font);
}
.cut-1 {
  background: url('/img/templates/chic/cut-1.svg') no-repeat center bottom;
  background-size: 100%;
  height: 186px;
}
.cut-2 {
  background: url('/img/templates/chic/cut-2.svg') no-repeat center bottom;
  background-size: 100%;
  height: 171px;
}
.cut-3 {
  background: url('/img/templates/chic/cut-3.svg') no-repeat center bottom;
  background-size: 100%;
  height: 171px;
}

.bg-dark{
  background-color: var(--black);
}

.btn-brown:hover{
  background-color: #000!important;
  color: white!important;
  transition: 0.3s;
}
.btn-brown2:hover{
  background-color: white!important;
  color: #000!important;
  transition: 0.3s;
}
.border-bown{
  border: 4px solid var(--black);
}
.accordion-button:not(.collapsed) {
  background: white;
}
.accordion-flush .accordion-item .accordion-button, .accordion-flush .accordion-item .accordion-button.collapsed {
  box-shadow: none !important;
}
.tns-controls {
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
}
.tns-controls [data-controls="prev"], .tns-controls [data-controls="next"] {
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  border: 0;
  height: 24px;
  padding: 0;
  position: absolute;
  width: 24px;
}
.tns-controls [data-controls="prev"] {
  background-image: url('/img/icons/ico-arrow-prev.svg');
  left: 0;
}
.tns-controls [data-controls="next"] {
  background-image: url('/img/icons/ico-arrow-next.svg');
  right: 0;
}
.nav-pills .nav-link.active {
  background: #fff;
  color: #333333;
}
.nav-pills .nav-link {
  color: #333;
}
[class*="leaves-"]{
  width: 350px;
  max-width: 100%;
}
.leaves-1 {
  top: -34px;
  /* left: -160px; */
  right: -6vw;
}
.leaves-2 {
  top: 30vh;
  left: -10vw;
}
.leaves-3 {
  bottom: -250px;
  right: -9vw;
}
.leaves-4 {
  bottom: -360px;
}
.leaves-5 {
  top: -400px;
  left: -12vw;
}
.leaves-6 {
  top: 440px;
  right: -10vw;
  filter: brightness(0) invert(84%) sepia(15%) saturate(510%) hue-rotate(338deg) brightness(90%) contrast(86%);
}
.leaves-7 {
  top: -530px;
  left: -17vw;
}
#events .tns-controls, #photos .tns-controls{
  filter: invert();
}
#events .tns-controls [data-controls="prev"], #photos .tns-controls [data-controls="prev"]{
  left: -30px;
}
#events .tns-controls [data-controls="next"], #photos .tns-controls [data-controls="next"]{
  right: -30px;
}

.slider-events, .my-slider, .my-slider-2, .my-slider-3, .my-slider-4, .slider_ig{
  /* margin: 100px auto 0 auto; */
  margin: 0 auto;
}

.hidden{
  display: none;
}

#godparents .ratio{
  height: 350px;
  width: 350px;
  margin: 0 auto;
}

section#godparents .tns-controls{
  filter: brightness(0);
}

#countdown2 p{
  width: 113px;
  height: 113px;
}

#countdown2 p{
  font-style: italic!important;
}

.form-check-input:checked{
  background-color: var(--c-primary-light);
  border-color: var(--c-primary-light);
}

.invert{
  transform: scaleX(-1);
}

#video .leaves-3, #video .leaves-4{
  width: 280px;
  bottom: 9rem;
}

#songs .decoration, #gifts .decoration, #transport .decoration{
  left: -12rem;
  top: 0px;
  width: 350px;
}

#hashtag .decoration{
  right: -12rem;
  width: 350px;
}

#godparents .decoration1{
  left: -12rem;
  top: 0px;
}

/* #ig_profile_single #tns5-mw{
  overflow: visible;
} */

.slider_ig .bg-dark{
  margin-top: 6rem;
} 

p#confirmAssistanceMessage{
  color: red;
}

.decoration{
  pointer-events: none;
}

#history{
  border-top: 18px solid var(--c-primary);
}
#photos img{
  width: 100%;
  height: 500px;
  object-fit: cover;
}

section#godparents {
  background-color: #E7D8CB;
}


#countdown2 > div::before{
  display: block;
  content: ":";
  height: 100%;
  color: #000;
  position: absolute;
  transform: translate(-50% -50%);
  top: 25px;
  right: -85px;
}

#godparents .leaves-5{
  top: 0px;
  width: 280px;
}

#godparents .leaves-4{
  width: 250px;
  bottom: 0px;
}

#countdown2 > :last-child::before{
  display: none;
}

#countdown2 > div{
  position: relative;
}

#filter .leaves-4{
  bottom: 0px;
}

#filter .columnVideo video{
  height: 600px;
  object-fit: cover;
}

#filter .columnVideo{
  width: fit-content;
  margin: 0 auto;
}

#confirmation .leaves-7{
  width: 150px !important;
  top: 11rem;
}

#portada .leaves-1, #portada .leaves-2{
  width: 200px;
}

/* portada */

.titlePortada{
  font-size: 80px;
  font-style: italic;
}

.subtitlePortada{
  font-size: 30px;
}

#portada .leaves-1{
    right: -3vw;
    top: -16px;
}

#portada .leaves-2{
    left: -6vw;
    top: inherit;
    bottom: 0;
}

/* general */

.title{
  font-size: 30px;
  font-style: italic;
  text-transform: inherit !important;
}

.text{
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

#history .text{
  max-width: 100%;
}

.titleItinerary{
  font-size: 25px;
}

.textItinerary{
  font-size: 18px;
}

#countdown .title{
  font-size: 50px;
}

#countdown .text{
  font-size: 20px;
}

#countdown span.text{
  font-style: normal!important;
}

#songs input{
  font-size: 16px;
}

.textPhrase{
  font-size: 20px;
}
.dressCodeText{
  font-size: 20px;
}

#recomendations .accordion-header .accordion-button{
  font-size: 18px;
}

#recomendations .subtitle{
  font-size: 20px;
}

#recomendations .text{
  font-size: 18px;
}

#transport .form-control, #transport .form-select{
  font-size: 16px;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

#confirmation .form-control{
  font-size: 16px;
}

#greeting p, #greeting span{
  font-size: 16px;
}

#greeting h5{
  font-size: 25px;
}

#ig_profile_single .bgFondoIg{
  margin-top: 100px;
}

.bgFondoIg{
  margin-top: 100px;
}

#ig_profile .slider_ig{
  display: flex;
  align-items: center;
  justify-content: center;
}

#gifts #infoDetails{
  width: fit-content;
  margin: 0 auto;
  margin-top: 20px;
  background-color: white;
}


#portada, #phrase{
  background-attachment: fixed;
}

.containerBg .bg-img{
  height: 100%;
  position: relative;
  background-size: cover;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: -1;
}

.containerBg.portada, .containerBg.portada .bg-img, .containerBg.portada .bg-black{
  height: 100vh;
}


.containerBg .bg-black{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#portada, #video, #hashtag{
  overflow: hidden;
}

#confirmation .textEdit, #greeting .textEdit{
  white-space: pre-line;
}

@media screen and (max-width: 1200px){
  #countdown2 > div::before{
    right: -30px;
  }
}

@media screen and (min-width: 1000px){
	  
	  #gifts .tns-item a{
		display: block;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
		bottom: 15px;
	  }
}

@media screen and (max-width: 900px) {
  #photos img{
    /* max-height: 350px; */
    width: 100%;
  }
}

@media (max-width: 767px) {
  .leaves-1 {
    width: 150px;
  }
  .leaves-2 {
    bottom: 0px;
    top: inherit;
    width: 150px;
    left: -70px;
  }
  .leaves-3 {
    width: 150px;
    bottom: -230px;
    right: -12vw;
  }
  .leaves-4 {
    bottom: -100px;
    top: inherit;
    width: 200px;
  }
  .leaves-5 {
    top: -80px;
    width: 110px;
  }
  .leaves-6 {
    top: inherit;
    width: 160px;
    bottom: -530px;
    right: -20vw;
  }
  .leaves-7 {
    bottom: -150px;
    width: 130px;
    top: inherit;
  }
  .cut-1 {
    background-size: auto 100%;
  }
  .cut-2 {
    background-size: auto 100%;
  }
  .cut-3 {
    background-size: auto 100%;
  }

  #count-down .d-flex{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 20px;
  }

  #countdown2{
    display: grid!important;
    grid-template-columns: repeat(2, 1fr)!important;
    justify-items: center;
  }

  #photos .tns-ovh{
    margin-left: 30px;
    margin-right: 30px;
  }

  #events .tns-controls [data-controls="prev"], #photos .tns-controls [data-controls="prev"] {
    left: 0px;
  }

  #events .tns-controls [data-controls="next"], #photos .tns-controls [data-controls="next"]{
    right: 0px;
  }
  #events .d-flex.justify-content-between{
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  #events .d-flex.justify-content-between a{
    display: block;
    text-align: center;
  }

  #godparents .ratio{
    width: 100%;
    height: 100%;
  }

  #video .leaves-4{
    display: none;
  }

  #songs .decoration{
    left: -8rem;
    top: 0px;
    width: 200px;
  }

  #hashtag .decoration{
    right: -5rem;
    width: 200px;
  }

  #gifts .decoration, #transport .decoration{
    left: -8rem;
    top: 20rem;
    width: 200px;
  }

  #godparents .leaves-6{
    bottom: 0px;
  }

  #confirmation .leaves-7{
    bottom: 0px;
  }
  
}

@media screen and (max-width: 576px){
  #countdown2 > :nth-child(2)::before{
    display: none;
  }

  #godparents .leaves-4, #godparents .leaves-5{
    width: 150px;
  }
  #confirmation .leaves-7{
    top: inherit;
  }
  /* portada */
  .titlePortada{
    font-size: 60px;
  }
  .subtitlePortada{
    font-size: 20px;
  }
  .title{
    font-size: 25px;
  }
  .text{
    font-size: 16px;
  }
  .titleItinerary{
    font-size: 20px;
  }
  .textItinerary{
    font-size: 16px;
  }
  #countdown .title{
    font-size: 35px;
  }
  #countdown .text{
    font-size: 16px;
  }
  #songs input{
    font-size: 14px;
  }
  #video .leaves-3{
    width: 180px;
    bottom: 0px;
  }
  #songs .decoration{
    width: 180px;
  }
  .textPhrase{
    font-size: 16px;
  }
  .dressCodeText{
    font-size: 18px;
  }
  #recomendations .subtitle{
    font-size: 16px;
  }
  #recomendations .text{
    font-size: 14px;
  }
  #confirmation .form-control{
    font-size: 14px;
  }
  #greeting p, #greeting span{
    font-size: 14px;
  }
  #greeting h5{
    font-size: 20px;
  }
  #filter .columnVideo video{
    width: 100%;
    height: 500px;
  }
}

@media (max-width: 500px){
  #ig_profile .slider_ig{
    display: inherit;
  }
  #portada .leaves-1, #portada .leaves-2{
    width: 120px;
  }
  #portada .leaves-1{
  }
  #portada .leaves-2{
    left: -10vw;
  }
}

@media (max-width: 480px){
  #portada::after{
    content: "";
    display: block;
    background-image: url(/img/icons/angles-down-solid.svg);
    width: 60px;
    height: 60px;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    filter: var(--f-icons) drop-shadow(4px 4px 3px rgba(0, 0, 0, 0.5));
  }
}