:root {
    --background-color: rgb(22, 22, 22);
}
h1 {
    text-align: center;
    font-family: 'glimmerOfLight', cursive;
    margin-top: 0.2em;
    font-size: 3em;
}
h2 {
    text-align: center;
    font-family: 'meow', cursive;
    margin-top: 0.2em;
    width: 110%;
    margin-left: -1em;
    font-size: 4em;
    transform: rotateZ(-3deg);
    z-index: 2;
    background-color: #757575;

    background-color: #3498db;
    color: white;
    padding: 20px;
    position: relative;
    /* clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 95% 100%, 85% 90%, 75% 100%, 65% 90%, 55% 100%, 45% 90%, 35% 100%, 25% 90%, 15% 100%, 5% 90%, 0% 100%); */
}
h3 {
    text-align: center;
    font-family: 'Cinzel Decorative', cursive;
    margin-top: 0.2em;
    font-size: 1.3em;
}
body {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
}
#bs-stuff {
    overflow: hidden;
    background-color: white;
    color: black;
    display: grid;
}
#canvas-container {
    width: 100%;
    grid-area: 1 / 1 / 2 / 2;
}
#bs-body {
    grid-area: 1 / 1 / 2 / 2;
}
#bs-scratch-card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#bs-scratch-card {
    display: grid;
    width: 30em;
    height: 30em;
}
#bs-scratch-card canvas {
    grid-area: 1 / 1 / 2 / 2;
}
/* #bs-scratch-card img {
    grid-area: 1 / 1 / 2 / 2;
    width: 30em;
    height: 30em;
} */
#bs-scratch-card .sc__inner {
    grid-area: 1 / 1 / 2 / 2;
    font-size: 2em;
    font-family: poppins;
}
#bs-scratch-card-msg {
    font-family: poppins;
}

#bs-programs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
    font-size: 2.3em;
    text-align: center;
    font-family: poppins;
}
/* 3498db */
#bs-header {
    background-color: #1f1f1f;
    color: rgb(255, 255, 255);
    padding: 20px;
    position: relative;
}
#bs-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(135deg, transparent 25%, #ffffff 25%, #ffffff 50%, transparent 50%, transparent 75%, #ffffff 75%);
    background-size: 20px 20px;
}
#bs-important-links {
    text-align: center;
    font-size: 1.5em;
    justify-content: space-around;
    margin: 1em auto;
    background-color: rgb(253,189,240);
    padding: 1em;
    transform: rotateZ(2deg);  
    font-style: italic;  
    font-family: poppins;

    width: 110%;
    margin-left: -1.5em;
}

#bs-songs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2em 3em;
    font-size: 2em;
}
#bs-songs-container .english {
    font-family: poppins;
}
.bs-song-container {
    margin: auto auto 2em auto;
}
.bs-song-title {
    font-weight: bold;
    text-align: center;
}
.section-btn {
    font-size: 2em;
    background-color: #000000;
    margin-top: -0.7em;
    border: #ffffff 2px solid;
    border-radius: 10px;
    padding: 0.5em;
    font-style: italic;
    opacity: 0.8;
    width: max-content;
}



#memory-lane-video {
    border: 2px solid rgb(134, 134, 134);
    margin: 2em;
}
#memory-lane-video:hover {
    border: 2px solid rgb(185, 185, 185);
    box-shadow: 0px 0px 27px 10px #ffffff62;
}
#wedding-video {
    border: 2px solid rgb(134, 134, 134);
    margin: 2em;
}
#wedding-video:hover {
    border: 2px solid rgb(185, 185, 185);
    box-shadow: 0px 0px 27px 10px #ffffff62;
}
.video-js .vjs-big-play-button {
    display: none;
}

#details-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: black;
    z-index: 2;
    margin-top: 2em;
}
#details {
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#details__photo {
    width: 450px;
    height: 670px;
    top: -2em;
    display: block;
    z-index: -1;
}
.bubbles {
    position: absolute;
    z-index: -2;
}
#bubbles2 {
    z-index: 0;
}

#details__cards {
    margin-top: -20em;
    display: flex;
    z-index: 1;
}
.details__card {
    width: 60%;
    background-color: rgb(66, 66, 66);
    text-align: center;
    padding: 2em;
    height: 10em;
    margin: 0.2em;
    border-radius: 20px;
    background: #393838;
    background-image: linear-gradient(to bottom right, rgba(231, 100, 100, 1), rgb(228, 74, 74));
}
.details__card-title {
    display: block;
    margin: 0.2em 0.5em 0.7em 0.5em;
    font-size: 2em;
    font-family: 'Cinzel Decorative', cursive;
    line-height: 0.5em;
}
.details__card-desc {
    display: block;
    margin: auto;
    font-family: bellerose;
    font-size: 1.1em;
}
.details__card-desc__time {
    display: block;
    font-family: bellerose;
    padding: 0.2em;
    font-size: 0.8em;
    
}
.details__card-desc__location {
    display: block;
    padding: 0.2em;
    margin-top: 0.4em;
    opacity: 0.8;
}
#details__card-wedding:hover  {
    transform:scale3d(1.02,1.02,1.02);
    transition: 0.25s;
    transform: perspective(500px) rotateY(20deg);

}
#details__card-reception:hover  {
    transform:scale3d(1.02,1.02,1.02);
    transition: 0.25s;
    transform: perspective(500px) rotateY(-20deg);
}
#details__card-reception  {
    margin-top: 2em;
    padding-bottom: 3em;
}
#details__card-wedding  {
    margin-top: 1em;
}

.input-form {
    border: 5px solid rgb(255, 217, 0);
    font-family: 'Poppins', sans-serif;
    color: white;
    padding: 1em;
    height: fit-content;
    margin: 1em;
}
.input-form:link {
    text-decoration: none;
}
.input-form:visited {
    text-decoration: none;
}

#rsvp-form {
    margin-top: 3em;
}
#message-form {
    margin-bottom: 3em;
}

#maps {
    margin: 2em;
}
#maps:hover {
    transform: scale(1.02, 1.02);
}
#maps__image {
    height: 5em;
}
#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2em;
}

/*DateTime - https://codepen.io/librajt/pen/DjknL */

.datetime {
    margin: 2em auto -2em auto;
    width: 90px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(
        rgba(255, 208, 0, 0.671) 0%,
        rgba(255, 208, 0, 0.671) 50%,
        rgba(0, 255, 34, 0) 50.3%
  );
}
.datetime:before {
    content: '';
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    height: 200%;
    width: 100%;
    border-left: 1px solid #757575;
    background-color: black;
    transform-origin: 0 0;
    transform: rotate(-20deg);
}
.datetime .day {
    font-size: 64px;    
}
.datetime .month {
    font-size: 14px;
    line-height: 2;
    position: absolute;
    top: 0;
    right: 0;
}




@media only screen and (max-width: 1000px) {
    h1 {
        font-size: 4em;
    }
    #details {
        width: 70%;
    }
    #details__cards {
        margin-top: -20em;
        display: flex;
        z-index: 1;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .details__card {
        width: 100%;
        font-size: 2em;
    }
    #details__card-desc-wedding {
        padding-top: 1em;
    }
    #details__card-reception  {
        height: fit-content;
        padding-bottom: 3em; 
    }
    #maps__image {
        height: 12em;
        margin: 3em;
    }
    #rsvp-form {
        border: 10px solid rgb(255, 217, 0);
        padding: 1em 2em;
        margin: 2em auto 1em auto;
        font-size: 2em;
    }
    #message-form {
        border: 10px solid rgb(255, 217, 0);
        padding: 1em 2em;
        margin: 1em auto 2em auto;
        font-size: 2em;
    }
    #details__photo {
       transform: scale(1.5);   
       margin-top: 12em;     
    }
    .bubbles {
        transform: scale(1.5);
        margin-top: 12em;
    }
    .datetime {
        transform: scale(1.7);
        margin-top: 5em;
    }
    #memory-lane-video {
        transform: scale(1.1);
    }
    #wedding-video {
        transform: scale(1.1);
    }
    #details-container {
        margin-top: 5em;
    }
    #details__card-wedding:hover  {
        transform:none;    
    }
    #details__card-reception:hover  {
        transform:none;
    }
}

.fadein {
    opacity:0;
}
    
#image-slider {
    width: 80vw;
    margin: 1em;
    margin-bottom: 4em;
    padding: 1em;
}

.carousel-image {
    width : auto;
	height: auto;
    max-height: 50vh;
    border-radius: 1%;
    box-shadow: 0 1px 1px 0 rgba(156, 156, 156, 0.205), 0 1px 2px rgba(116, 116, 116, 0.274);
}


.splide__slide .is-active .is-visible {
    box-shadow: #757575;
}

#cover-image {
    margin: -1em auto 5em auto;
    box-shadow: 25px 25px 50px 0 white inset, -25px -25px 50px 0 white inset; 
}
#cover-image::after {
    box-shadow: 0 0 8px 8px white inset;
}

#date {
    font-size: 0.4em;
    opacity: 0.7;
}