/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

@font-face {
    font-family: 'Shell';
    src: url('../fonts/Shell-Normal.woff2') format('woff2'),
        url('../fonts/Shell-Normal.woff') format('woff'),
        url('../fonts/Shell-Normal.svg#Shell-Normal') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Yoshi';
    src: url('../fonts/TheYoshi.woff2') format('woff2'),
        url('../fonts/TheYoshi.woff') format('woff'),
        url('../fonts/TheYoshi.svg#TheYoshi') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewYork';
    src: url('../fonts/NewYork.woff2') format('woff2'),
        url('../fonts/NewYork.woff') format('woff'),
        url('../fonts/NewYork.svg#NewYork') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.new-york{
  font-family: 'NewYork';
}


.yoshi{
  font-family: 'The Yoshi';
}

.shell{
  font-family: 'Shell';

}


html {
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
  font-size: 1em;
  line-height: 1.4;
  font-family: 'The Yoshi';

}

body{
  max-width: 100%;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: url("../img/fondo.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  font-family: 'NewYork';
  color: #000;
}

.liana{
  font-family: 'Liana', cursive;
}

.blue{
  color: #2b4e79;
}

.purple{
  color: #3c338a;
}

.white{
  color: #fff;
}

.beige{
  color: #dab79f;
}

.brown{
  color: #4e2d1b;
}


.orange{
  color: #9f4619;
}

a{
  padding: 0.3rem;
  text-decoration: none;
  color: #fff ;
  margin: 0 auto;
  text-align: center;

  margin: 0 auto;

}

a.image{
  width: 100%!important;
}

/* Estilos para el fondo del popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

/* Contenedor del popup */
.popup-content {
    background: white;
    margin: 0 1em;
    padding: 1em;
    border-radius: 0.5em;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Botón para cerrar */
.popup-content button {
    margin-top: 0.5em;
    padding: 0.5em 1em;
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.popup-content button:hover {
    background: #7b7a7b;
}

/* Mostrar el popup */
.popup-overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Botón flotante */
.floating-button{
    position: fixed;
    top: 50%;
    right: 0.25em;
    transform: translateY(-50%);
    width: 3.75em;
    height: 3.75em;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 999;
}



.floating-button img {
    width: 100%;
    height: auto;
}

.oversize{
  font-size: 5rem;
  /*line-height: 4.5rem;*/
}

.bigsize{
  font-size: 2.2rem;
}

.bigsizeish{
  font-size: 3rem;
}

.title.bigger{
  font-size: 2rem;
}

.logo-container{
  height: 100vh;
  display: flex;
  align-items: center;
}

.center-content{
  align-content: center;
}


#fecha .oversize{
      font-size: 5.5rem;
    line-height: 4.5rem;
}



.bold{
  font-weight: 800;
}


#fecha .borde-derecho p.bigsize{
  align-self: end;
  line-height: 0rem;
  margin-right: -2rem;
}

#fecha .borde-derecho p.oversize{
  padding-right: 1rem;
  padding-top: 0;
  margin-top: -1rem;
  line-height: 0rem;
}

.borde-derecho{
  border-right:  solid 2px;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-top: 1rem;
}

.two-lines{
  padding-top: 0.8rem;
}

.two-lines p{
  margin: 0;
  line-height: 0.7rem;
}

.bigsize.bigger{
  font-size: 6rem;
  line-height: 6rem;}

.align-date .bigsize.bigger{
  line-height: unset;
  font-size: 2.5rem;
      
}

.align-date{
  font-size: 1.5rem;
}

#te-esperamos .bigsize.bigger{
  font-size: 4rem;
}

.title{
  font-size: 1.2rem;
}

.titleish{
  font-size: 1.3rem;
}
.w-110{
  width: 110% !important;
}
.w-90{
  width: 90% !important;
}


.icon-church{
  background: url("../img/church.png") no-repeat;
  background-size: contain;
  background-position: center;
  width: 5em;
  display: block;
  height: 5em;
  align-self: unset;
  margin: 0 auto;
}

.icon-wine{
  background: url("../img/wine.png") no-repeat;
  background-size: contain;
  background-position: center;
  width: 5em;
  display: block;
  height: 5em;
  align-self: unset;
  margin: 0 auto;
}

.icon-gift{
  background: url("../img/gift.png") no-repeat;
  background-size: contain;
  background-position: center;
  width: 5em;
  display: block;
  height: 5em;
  align-self: unset;
  margin: 0 auto;
}

.icon-dress{
  background: url("../img/dress-code.png") no-repeat;
  background-size: contain;
  background-position: center;
  width: 5em;
  display: block;
  height: 5em;
  margin: 0 auto;
}


/* Shutter In Horizontal */
.hvr-shutter-in-horizontal {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  background: #transparent;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  border: 1px solid;
  border-radius: 1.5em;
  padding: 0.5em 1.5em;
  color: #FFF;
}
.hvr-shutter-in-horizontal:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-radius: 5px;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  border: 1px solid;
  border-radius: 1em;
}


.hvr-shutter-in-horizontal:hover, .hvr-shutter-in-horizontal:focus, .hvr-shutter-in-horizontal:active {
  color: #000;
  background: #fff;
}
.hvr-shutter-in-horizontal:hover:before, .hvr-shutter-in-horizontal:focus:before, .hvr-shutter-in-horizontal:active:before {
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}


/* Shutter In Horizontal */
.hvr-shutter-in-horizontal-black {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  background: #000;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  border: 1px solid;
  border-radius: 1.5em;
  padding: 0.5em 1.5em;
  color: #000;
}
.hvr-shutter-in-horizontal-black:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 5px;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: 50%;
  transform-origin: 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  border: 1px solid;
  border-radius: 1em;
}


.hvr-shutter-in-horizontal-black:hover, .hvr-shutter-in-horizontal-black:focus, .hvr-shutter-in-horizontal-black:active {
  color: #fff;
}
.hvr-shutter-in-horizontal-black:hover:before, .hvr-shutter-in-horizontal-black:focus:before, .hvr-shutter-in-horizontal-black:active:before {
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}


#frase{
  background: url("../img/omg/fotos-03.png") no-repeat;
  background-size: cover;
  background-position: center;
}

.super-padding{
  padding: 5em 0;
}


.rotate-13d{
  transform: rotate(-13deg);
}

/* Fondo para móvil */
.fondo-movil {
  background-image: url('../img/org/verticales-02.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: white;
}

/* Fondo para escritorio */
.fondo-escritorio {
  background-image: url('../img/org/fotos-05.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: white;
}

/* Ajustes generales opcionales */
#itinerario-contenedor {
  z-index: 1;
  position: relative;
}

.icon {
  max-width: 80px;
  margin: 1rem 0;
}



@media (min-width: 992px) {
  img.img-fluid{
        margin: 0 auto;
    display: block;
  }

  #frase p{
    font-size: 1.3em;
  }

  .super-padding{
    padding: 20em 0;
  }



}

.lh-5{
  line-height: 5rem;
}

.lh-3{
  line-height: 3rem;
}

.lh-2{
  line-height: 2.5rem;
}

.w-80{
  width: 80%;
}

.mb-6r{
  margin-bottom: 6rem!important;
}
.mb-15{
  margin-bottom: 15em;
}

.maquillaje{
  margin: 0 auto;
}

.normal-size{
  font-size: 1rem;
}

#mesa-amazon .bigsize.bigger, #mesa-liverpool .bigsize.bigger{
  font-size: 3.5rem;
}

#mesa-liverpool .d-flex.w-80, #dress-code .d-flex.w-80{
  margin: 0 auto;
}

.descuento{
    border: 1px solid;
    padding: 1.5rem;
    margin: 1.5rem auto;
}

.mancha1{
  width: 15em;
  position: absolute;
  top: -3em;
  left: -4em;
}


.mancha2{
  position: absolute;
  right: -12em;
  width: 22em;
}

.mancha3{
  position: absolute;
  bottom: 0;
  left: -10em;
  width: 20em;
}

.mancha4{
  width: 18em;
  position: absolute;
  top: -7em;
  left: -9em;
  z-index: -1;
}


.mancha5{
  position: absolute;
  right: -12em;
  width: 22em;
}

.mancha6{
  position: absolute;
  bottom: -7em;
  left: -10em;
  width: 17em;
}

.f-08{
  font-size: 0.75rem;
}

#fecha p.d-flex{
  font-size: 1.5rem;
}

#fecha p.d-flex span{
  padding: 0 0.5rem;
}

#fecha p.d-flex span.borders-deco{
  /*margin: 0 0.5rem;*/
  border-left: solid 2px #000;
  border-right: solid 2px #000;
}

.col-11-force-center{
  margin: 0 auto;
  display: block;
  width: auto;
}


.ajuste{
  padding: 0 1em;
}

a.black.hvr-shutter-in-horizontal{
  background: #1d1d1b;
  transform: none;
  -webkit-transform: none;
  color: #fff;
  border: none;
}

.asistencia{
      padding: 1rem;
    border: 1px solid;
}

.bbva-center{
    width: 80%;
    max-width: 70px;
    margin: 0 auto;
    display: block;
}

#te-esperamos-border p{
  border-top: 1px solid;
  border-bottom: 1px solid;
  font-weight: 800;
}




#contador .col-11{
}

#demo{
    text-align: center;
    width: auto;
    margin: 0 auto;
    color: #fff;

}

#demo div{
  padding: 0 0.5em;
  font-size: 2rem;
  vertical-align: text-bottom;
}

#demo div span{
  font-size: 1rem;
  align-self: baseline;
  vertical-align: top;
  font-family: 'The Yoshi';
}

#logo-section{
  overflow-x: hidden;
}

#logo-contador{
  bottom: 3em;
}



.f-2r{
  font-size: 1.5rem;
}

.no-border{
  border: none!important;
}

/*#demo{
  border-bottom: 5px solid #000;
}*/

#save .date p{
  font-size: 1.5em;
}

#save .date p::before{
  content: "";
  display: block;
  height: 1px;
  width:1.5em;
  background: #000;
  margin: 0 auto;

}

#save .date p::after{
  content: "";
  display: block;
  height: 1px;
  width: 1.5em;
  background: #000;
  margin: 0 auto;

}

#save .date, #save .text{
  width: 50%
  ;
}

#save .text h2{
  line-height: 0.8rem;
  margin-top: 0.8rem;
}

p.border-deco::after{
  content: "";
  display: block;
  height: 5px;
  width: 33%;
  left: calc(var(--bs-gutter-x) * 0.5);
  background: #000;
  top: 2rem;
  position: absolute;
  z-index: -1;
}

p.border-deco::before{
  content: "";
  display: block;
  height: 5px;
  width: 33%;
  right: calc(var(--bs-gutter-x) * 0.5);
  background: #000;
  top: 2rem;
  position: absolute;
  z-index: -1;
}


.bg-white{
  background: white;
  padding: 0.5rem;
}

#ceremonia{
  background: #e5e1c6;
  background-size: cover;
}

#recepcion{
  background: #e5e1c6;
  background-size: cover;
}

#contador{
  bottom: 0;
}

.f-07{
  font-size: 0.7rem;
}
  font-size: 0.6rem;
}

.date .oversize{
  font-size: 4.5rem;
}

.num-top{
  font-size: 2.5rem;
  line-height: 1.7rem;
}

.num.bottom{
  margin-top: -0.4rem;
  display: block;
}

.num-right{
  font-size: 4rem;
  line-height: 3rem;
}

.num-right-time{
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-bottom: 0;
}

.num-border{
  border-right: 1px solid;
  padding-right: 1rem;
  margin-right: 1rem;

}

.center{
  margin: 0 auto;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

