@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');

html{
    margin:0;
    padding: 0;
    background-image: url('../img/bg.png') !important;
    background-size: cover !important;
    background-attachment: fixed;
}

body{
    margin: 0 auto;
    padding: 0 auto;
    background-color: transparent;
}

.card{
    width: 25%;
    height: 100%;
    background-color: transparent;
    position: absolute;
    left:50%;
    transform: translateX(-50%);
}

.header{
    width: 100%;
    height: 60%;
    background-size: cover;
    background-position: 0%;
}

#playbutton{
    width: 40px;
    position: absolute;
    top: 03%;
    right: 05%;
}

#logo{
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10%;
}

#phrase{
    width: 90%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30%;
    text-align: center;
}

#arrowdown{
    width: 07%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 30%;
}

.myicons{
    -webkit-filter: grayscale(1) brightness(10);
}

.information{
    text-align: center;
    padding-bottom: 40px;
    background-color: transparent;
}

.iconss{
    -webkit-filter: grayscale(1);
}

.subtitle{
    font-family: Dancing Script;
    font-size: 3vh;
    font-weight: bold;
    text-align: center;
    color: #9dd6eb;
}

.date{
    width: 60px;
    height: 60px;
    background-color: #9dd6eb;
    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: #9dd6eb;
    margin-top: 10px;
}

#church{
    width: 50px;
    margin-top: 25px;
    margin-bottom: -10px;
}

h1, h2, h3, h4, h5{
    font-family: montserrat;
    font-weight: bold;
    color: #9dd6eb;
}

.mybutton{
    text-decoration: none;
    background-color: #9dd6eb;
    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;
}

#dresscode{
    width: 60px;
    margin-top: 25px;
}

.photosquare{
    margin-top: 25px;
    height: 290px;
    background-color: #9dd6eb;
}

#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: 40%;
    height: 240px;
    object-fit: cover;
    margin: 05px;
}

.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;
    }

    #arrowdown{
        left: 50% !important;
        transform: translateX(-27%) !important;
        top: 58% !important;
    }
}

/* For Tablets */
@media screen and (min-width: 540px) and (max-width: 780px) {
    .card {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0;
    }

    #arrowdown{
        left: 50% !important;
        transform: translateX(-27%) !important;
        top: 58% !important;
    }
}
  

