:root {
    --wedding-white: #EFEBE5;
    --silver-birch: #E1DED7;
    --silver-wool: #D4D1CA;
    --vermilion: rgba(245, 25, 0, 1);
    --font1: 'Assistant', sans-serif;
    --font2: 'Tangerine', 'Arial', cursive;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    height: -webkit-fill-available;
    font-family: var(--font1);
}

html,
body {
    min-height: 100%;
}

.main-page {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: var(--vermilion);
    background-image: url('../img/photo-1.jpg');
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-end;
    column-gap: 1rem;
}

.main-page img {
    width: var(--bs-btn-font-size);
    height: var(--bs-btn-font-size);
}

.font1 {
    font-family: var(--font1);
}

.font2 {
    font-family: var(--font2);
}

.bg {
    z-index: -1000;
    background-repeat: repeat-x;
    height: 13.75rem;
    margin-top: auto !important;
    margin-bottom: -13.75rem;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 1)), url("../img/dots.png");
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    font-family: var(--font2);
    text-align: center;
    margin-bottom: 1rem;
    min-height: 1rem;
}

h2,
.h2,
h4,
.h4 {
    font-weight: 800;
}

.hidden {
    display: none !important;
}

.text-red {
    color: var(--vermilion);
}

.brideGroomNames {
    padding: 4rem 0 0.5rem;
    font-weight: 700;
    font-size: 3.5rem;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.5rem !important;
}

.fs-9 {
    font-size: 0.25rem !important;
}

.brideGroomNames a {
    text-decoration: none;
    color: inherit;
    cursor: default;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

a.nav-link.active,
.qna-q {
    font-weight: 600;
    color: var(--vermilion) !important;
}

a.nav-link:not(.active) {
    background-image: linear-gradient(var(--vermilion), var(--vermilion)), linear-gradient(#fff, #fff);
    background-size: 0 1px, auto;
    background-repeat: no-repeat;
    background-position: center bottom;
    transition: all .2s ease-out;
}

a.nav-link:hover {
    background-size: 100% 1px, auto;
}

.navbar-toggler-mine {
    display: inline-block;
    position: fixed;
    z-index: 1054;
    top: 0.5rem;
    left: 0.5rem;
    font-size: 1rem;
    color: white;
    background: var(--vermilion);
    padding: 0.25rem 1rem;
    border: rgba(255, 255, 255, 0.8) 2px solid;
    border-radius: 0.5rem;
    line-height: unset;
}

:focus:not(:focus-visible) {
    outline: none;
}

.countdown,
.qna,
.card-text {
    font-size: 0.8rem;
}

.qna:first-of-type {
    padding-top: 3rem;
}

.qna {
    padding-bottom: 3rem;
    /* text-align: justify; */
    text-align: unset;
}

.fadeOut {
    position: relative;
    z-index: 999;
    animation-fill-mode: forwards;
    animation: fadeOut forwards 2000ms;
    -webkit-animation: fadeOut forwards 2000ms;
    -moz-animation: fadeOut forwards 2000ms;
    -o-animation: fadeOut forwards 2000ms;
    -ms-animation: fadeOut forwards 2000ms;
}

.fadeIn {
    position: absolute;
    z-index: 1000;
    left: 0;
    top: 0;
    animation-fill-mode: forwards;
    animation: fadeIn forwards 2000ms;
    -webkit-animation: fadeIn forwards 2000ms;
    -moz-animation: fadeIn forwards 2000ms;
    -o-animation: fadeIn forwards 2000ms;
    -ms-animation: fadeIn forwards 2000ms;
}

.fadeInOut {
    animation-fill-mode: forwards;
    animation: fadeInOut forwards 2000ms;
    -webkit-animation: fadeInOut forwards 2000ms;
    -moz-animation: fadeInOut forwards 2000ms;
    -o-animation: fadeInOut forwards 2000ms;
    -ms-animation: fadeInOut forwards 2000ms;
}

.card {
    border: 0;
}

.symbol {
    text-align: center;
}

.symbol-py-1 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.symbol-py-2 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.symbol-py-3 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.icon-lucky::before {
    content: "囍";
}

.google-maps {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
}

.google-maps iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.made-with-love {
    font-size: 0.5rem;
    display: block;
}

.bi-small {
    font-size: 0.30rem;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    transition: transform 0.2s;
    cursor: pointer;
}

.column img:hover {
    transform: scale(1.05);
}

/* The Modal (background) */
.lb-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1055;
    /* Sit on top */
    padding-top: 2.5vh;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

/* Modal Content (Image) */
.lb-modal-content {
    margin: auto;
    display: block;
    /* width: 95%; */
    max-width: 95vw;
    max-height: 95vh;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#lightboxCaption {
    margin: auto;
    display: block;
    width: 95%;
    max-width: 95vw;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.lb-modal-content,
#lightboxCaption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    0% {
        transform: scale(0)
    }

    100% {
        transform: scale(1)
    }
}

/* The Close Button */
.close,
.lb-previous,
.lb-next {
    position: absolute;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: black;
}

.close {
    top: 15px;
    right: 15px;
}

.lb-previous,
.lb-next {
    top: 50vh;
    -webkit-text-stroke-color: black;
    width: 40vw;
}

.lb-previous {
    left: 15px;
    text-align: left;
}

.lb-next {
    right: 15px;
    text-align: right;
}

.close:hover,
.lb-previous:hover,
.lb-next:hover,
.close:focus,
.lb-previous:focus,
.lb-next:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .lb-modal-content {
        padding-top: 8vh;
        width: 100%;
        max-width: 95vw;
    }
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .column {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .column {
        flex: 100%;
        max-width: 100%;
    }
}

@media (min-width:768px) {
    .main-page {
        background-size: cover;
    }

    .qna {
        text-align: center;
    }

    .card-text {
        font-size: 1rem;
    }

    .add-to-cal::after {
        content: "endar";
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-o-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-ms-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeInOut {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.spinner-custom::before {
    display: inline-grid;
    content: "\f674";
    animation: 2s linear infinite spinner-border;
    width: var(--bs-body-font-size);
    height: var(--bs-body-font-size);
    border: 0;
    align-content: center;
    justify-content: center;
}