@font-face {
    font-family: 'Tan Mon Cheri';
    src: url('assets/tan-mon-cheri.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    src: url('assets/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Amoresa';
    src: url('assets/Andrey-Sharonov-Amoresa-Regular.otf') format('opentype')
}

:root {
    --background-color: #949e88;
    --text-color: #474c2f;
    --primary-color: #474c2f;
    --accent-color: #e1e6e3;
    --tertiary-color: #bec6a0;
    --font-1: "Amoresa";
    --font-2: "Inter";
}

p, div {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-2);
}

a {
    color: var(--text-color);
    text-decoration: underline;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

#home-header {
    text-decoration: none;
}

#home-header > h1:hover {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.5s ease-in-out;
}

strong {
    font-weight: 700;
}

body {
    background-color: var(--background-color);
}

.lead, button {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-2);
    font-style: normal;
}

label {
    color: var(--primary-color);
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-2);
    font-style: normal;
}

#home-txt-bg {
    margin-top: 20px;
}

.border-corner-l {
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    margin-left: 30px;
}

.border-corner-l > img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    padding: 0;
    margin: 0;
}

.border-corner-r {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    margin-right: 30px;
}

@media only screen and (max-width: 800px) {
    .border-corner-l, .border-corner-r {
        margin-left: 1px;
        margin-right: 1px;
        margin-top: 0px;
    }
}

@media only screen and (max-width: 650px) {
    .border-corner-l, .border-corner-r {
        margin-left: -15px;
        margin-right: -15px;
        margin-top: 85px;
        transform: scale(0.7);
    }
}

@media only screen and (max-width: 650px) {
    .cursive-h1 {
        width: 250px;
        margin-left: auto;
        margin-right: auto;
    }
}

.selected {
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
}

.selected:hover {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    transition: color 0.5s ease-in-out;
    transition: font-weight 0.2s ease-in-out;
}

.nav-item {
    margin: 3px 3px;
    flex-wrap: nowrap;
}

.nav-bg {
    background-color: var(--background-color);
    box-shadow: 0px 5px 4px #444444;
}

.nav-txt {
    color: var(--accent-color);
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-2);
}

.nav-txt:hover {
    color: var(--primary-color);
    font-weight: 380;
    transition: color 0.5s ease-in-out;
    transition: font-weight 0.2s ease-in-out;
}

.shine {
    border: none;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.shine:before {
    content: ' ';
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255,255,255,0) 30%,
        rgba(255,255,255,0.8),
        rgba(255,255,255,0) 70%
    );
    top: 0;
    left: -100px;
    animation: shine 10s infinite linear;
}

@keyframes shine {
    0% {left: -100px}
    5% {left: 100%}
    100% {left: 100%}
}

.btn {
    background-color: var(--primary-color);
    color: var(--accent-color);
    font-weight: 300;
}

.btn:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: var(--primary-color) 1px solid;
}

.bg {
    width: 100%;
    position: absolute;
    background-color: #bdc6ae;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.radio-group {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
}

.hero-card {
    background-image: url('assets/banner.png');
    width: 100%;
    height: 500px;
    border-radius: 0 0 10px 10px;
    padding-top: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    animation: fadeIn 2s ease-in-out;
    overflow: hidden;
}

.hero-scroll {
    background: url('assets/banner3.png') repeat-x;
    height: 500px;
    width: 5076px;
    animation: scroll 60s linear infinite;
    position: relative;
    top: -30px;
}

@keyframes scroll {
    0% {
        transform: translate3d(0,0,0);
    }
    100% {
        transform: translate3d(-2400px,0,0);
    }
}

.text-bg {
    background-color: rgba(255, 255, 255, 0.4);
    width: 70%;
    border-radius: 10px;
    margin-top: 230px;
    min-height: 60px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
}

.rsvp-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    align-items: center;
}

input[type="radio"] {
    margin-left: 20px;
    margin-right: 10px;
    transform: scale(1.4);
}

.form-control {
    width: 65%;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 15px;
    color: var(--text-color);
    background-color: var(--accent-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 1px 2px #444444;;
}

label {
    text-align: center;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 5px var(--primary-color);
    border-color: var(--primary-color);
}

.content {
    width: 70%;
    margin: 10px;
    padding: 10px;
    padding-top: 40px;
    margin-bottom: 25px;
    background-color: var(--tertiary-color);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
    align-self: center;
    animation: fadeIn 1.2s ease-in-out;
}

@media only screen and (max-width: 850px) {
    .content {
        width: 90%
    }
}

.cursive-h1 {
    font-family: var(--font-1);
    font-size: 2.5rem;
    margin-top: 25px;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
}

.cursive-h1-small {
    font-family: var(--font-1);
    font-size: 1.3rem;
    margin-top: 8px;
    color: var(--accent-color);
    text-align: center;
    font-weight: 400;
}

.cursive-h2 {
    font-family: var(--font-1);
    font-size: 1.4rem;
    margin-top: 10px;
    color: var(--primary-color);
    text-align: center;
}

.flex-ctr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-wrap: none;
    text-align: end;
}

.timeline-flx {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.timeline-flx-ctr {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timeline-flx-ctr > * {
    text-align: center;
}

.timeline-marker {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.timeline-marker > p {
    width: 80px;
}

.timeline-date {
    font-family: "Bodoni Moda SC", serif;
    font-weight: 400;
    font-size: larger;
    padding-top: 19px;
}

.timeline-flx > div {
    text-wrap: wrap;
    width: 200px;
    text-align:center;
}

@media only screen and (max-width: 500px) {
    .timeline-flx {
        flex-wrap: wrap;
    }
    .pad-mob {
        margin-bottom: 50px;
    }
    .timeline-marker {
        flex-direction: column-reverse;
    }
}

.timeline-flx > div > p {
    padding-right: 8px;
}

.map {
    padding: 30px;
}

.margins {
    margin: 20px;
}

hr.solid {
  border-top: 6px dotted #000000;
  width: 100%;
  height:5px
}

.accordion-button:focus {
    outline: none;
    box-shadow: none;
}

.accordion-button.collapsed {
  background: var(--primary-color);
  color: var(--accent-color);
}

.accordion-button:not(.collapsed) {
  background: hsl(73, 25%, 67%);
  color: var(--primary-color);
}

.accordion-button:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
}

#expand-button {
    margin-bottom: 20px;
    align-self: flex-end;
}

@keyframes fadeIn {
    from {
        transform: translateY(40px);
        scale: 0.85;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#flag-vn {
    background-image: url('http://flagmatch.com/assets/flags/emojis/twitter/vn-3de8c35f976f351ad6baf8f956e830275aae32dd1dab548a3e525c6947672855.png');
    display: inline-block;
    position:relative;
    left: -1px;
    top: 7px;
    width: 30px;
    height : 30px;
    background-size: cover;
}
#flag-th {
    background-image: url('https://flagmatch.com/assets/flags/emojis/twitter/th-01fd19ad7f8922a73b793ae1a4ea837dff4a73eb03ae0341e0f29c1d0057d388.png');
    display: inline-block;
    position:relative;
    left: -1px;
    top: 7px;
    width: 30px;
    height : 30px;
    background-size: cover;
}

#loader {
    position: fixed;
    left: 49%;
    top: 50%;
    transform: scale(8);
    opacity: 0.8;
    z-index: 99999;
}

#back-btn {
    margin-top: 30px;
}

.form-bg {
    border-radius: 10px;
    padding: 10px;
    background-color: var(--accent-color);
    box-shadow: 0 1px 2px #444444;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.timeline-flx-ctr-accom {
    width: 78%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

