@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200&display=swap');
@import url('https://fonts.cdnfonts.com/css/rangile');

html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url('../img/bg.png') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover; /* Fondo cubriendo toda la pantalla */
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: transparent;
}

/* Para pantallas más grandes (desktops y tablets) */
@media (min-width: 769px) {
    html {
        background-attachment: fixed; /* Mantener el fondo fijo */
        background-size: cover;
    }
}

/* Para pantallas más pequeñas (móviles) */
@media (max-width: 768px) {
    html {
        background-attachment: scroll; /* Desactivar el fondo fijo en móviles */
        background-size: cover;
    }
    body {
        position: relative;
        z-index: 0;
    }
    /* Contenedor para simular un fondo fijo en móviles */
    .background-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('../img/bg.png');
        background-size: cover;
        background-position: center;
        z-index: -1; /* Poner el fondo detrás del contenido */
    }
}

.card{
    width: 25%;
    height: 100%;
    background-color: transparent;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
}

.header{
    width: 100%;
    height: 90%;
    background-image: url("../img/header.png");
    background-size: cover;
    background-position: center top; 
}

#phrase{
    font-family: 'Rangile', sans-serif;
    font-size: 17px;
}

#title{
    font-family: Dancing Script;
    color: white;
    font-size: 5vh;
    font-weight: bold;
    position: absolute;
    top: 15%;
    right: 07%;
}

#desc{
    font-family: Raleway;
    color: white;
    font-weight: bold;
    font-size: 3vh;
    position: absolute;
    top: 20%;
    right: 12%;
}

#playbutton{
    width: 40px;
    position: absolute;
    top: 03%;
    right: 05%;
}

#logo{
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50%;
}

#arrowdown{
    width: 07%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 40%;
    -webkit-filter: grayscale(1) brightness(0) !important;
}

.myicons{
    -webkit-filter: grayscale(1) brightness(0);
}

.information{
    text-align: center;
    padding-bottom: 40px;
    margin-top: -100px !important;
    background-color: transparent;
}

.iconss{
    -webkit-filter: grayscale(1);
}

.subtitle{
    font-family: montserrat;
    font-size: 2.8vh;
    margin-bottom: 5px;
    font-weight: 700;
    text-align: center;
    color: #c68f79;
}

.date{
    width: 60px;
    height: 60px;
    background-color: #c68f79;
    color: white;
    border-radius: 50%;
    font-family: montserrat;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.datespacer{
    margin-left: 10px;
    margin-right: 10px
}

#days, #hours, #minutes, #seconds{
    display: inline-block;
}

.mydate{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
}

.datetxt{
    font-family: montserrat; 
    font-size: 1.4vh; 
    color: #000;
    margin-top: 10px;
}

#church{
    width: 50px;
    margin-top: 25px;
    margin-bottom: -10px;
}

h1, h2, h3, h4, h5{
    font-family: montserrat;
    font-weight: bold;
    color: #c68f79;
}

.mybutton{
    text-decoration: none;
    background-color: #c68f79;
    width: 90%;
    height: 35px;
    color: white;
    font-size: 2vh;
    border: none;
    font-family: montserrat;
    margin-top: 25px;
    cursor: pointer;
    border-radius: 05px;
}

#cups{
    width: 50px;
    margin-top: 25px;
    filter: brightness(0) saturate(100%);
}

#dresscode{
    width: 60px;
    margin-top: 25px;
}

.photosquare{
    margin-top: 25px;
    height: 290px;
    background-color: #c68f79;
}

#camera{
    width: 70px;
    margin-top: 25px;
}

.mybutton2{
    text-decoration: none;
    background-color: transparent;
    border: none;
    width: 75%;
    height: 40px;
    color: white;
    font-size: 3vh;
    font-family: montserrat;
    margin-top: 25px;
    cursor: default;
}

.smallpic{
    width: 90%;
    height: auto;
    object-fit: cover;
    margin: 05px;
    opacity: 0;
}

.bigpic{
    width: 83%;
    height: 200px;
    object-fit: cover;
}

#gift{
    width: 60px;
    margin-top: 25px;
}

.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
}

.popup{
    width: 250px;
    height: 170px;
    border-radius: 05px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    text-align: center;
}

.fadeInTop{
    -webkit-animation: fadeInTop 1.2s both;
    -moz-animation: fadeInTop 1.2s both;
    -o-animation: fadeInTop 1.2s both;
    animation: fadeInTop 1.2s both;
  }
  
  @-webkit-keyframes fadeInTop{
    0%{
      opacity: 0;
      -webkit-transform: translateY(-50px);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }
  @-moz-keyframes fadeInTop{
    0%{
      opacity: 0;
      -webkit-transform: translateY(-50px);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }
  @-o-keyframes fadeInTop{
    0%{
      opacity: 0;
      -webkit-transform: translateY(-50px);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }
  @keyframes fadeInTop{
    0%{
      opacity: 0;
      -webkit-transform: translateY(-50px);
    }
    100%{
      opacity: 1;
      -webkit-transform: translateY(0);
    }
  }

  /* For Mobile */
@media screen and (max-width: 540px) {
    .card {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0;
    }

    .header
    {
        width: 100%;
        height: 90%;
    }

    #arrowdown{
        left: 50% !important;
        transform: translateX(-27%) !important;
        top: 80% !important;
    }
}

/* For Tablets */
@media screen and (min-width: 540px) and (max-width: 780px) {
    .card {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0;
    }

    .header{
        height: 90%;
    }

    #arrowdown{
        left: 50% !important;
        transform: translateX(-27%) !important;
        top: 80% !important;
    }
}
  

