
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/montserrat.ttf');
}
@font-face {
    font-family: 'Pinyon Script';
    src: url('/assets/fonts/pinyon.ttf');
}

/* common elements */

html { scroll-behavior: smooth; }

body {
    background-color: #FFFDF2;
}

button,
.button {
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 500; /* medium */
    padding: 7px 5px;
    border-radius: 100px;
    text-align: center;
}

.button.primary {
    background-color: #203C0B;
    color: #FFFDF2;
}

.button.secondary {
    background-color: #FFFDF2;
    color: #203C0B;
    border: #203C0B 2px solid;
}

#main {
    min-width: 300px;
    overflow-x: hidden;
}

/* first screen */

#first-screen {
    height: 100vh;
    min-height: 700px;
    max-height: 1000px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media only screen and (min-width: 700px) {
    #first-screen {
        min-height: 900px;
        max-height: 1300px; 
    }
}

@media only screen and (min-width: 1000px) {
    #first-screen {
        max-height: 80vw;
        min-height: 45vw;
    }
}

/* nav */

#nav {
    padding: 10px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

#logo {
    width: 25vw;
    max-width: 100px;
    margin: 10px 0;
}

#hamburger-menu {
    display: none;
    width: 12vw;
    max-width: 43px;
}

#wide-menu {
    display: block;
}

#wide-menu .wide-menu-item {
    display: none;
    padding: 18px;
}

#lang-switcher {
    border: 1px solid #203C0B;
    padding: 10px;
    margin: 8px;
}

@media only screen and (min-width: 700px) {
    #wide-menu .wide-menu-item {
        display: inline-block;
        padding: 18px;
    }
}

@media only screen and (min-width: 1000px) {
    #hamburger-menu {
        display: none;
    }
    #wide-menu {
        display: block;
    }
}

/* cta and hero img */

#first-screen-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

#cta {
    padding-top: 20px;
    font-size: 12px;
}

#cta-savethedate {
    display: block;
    margin: 0 auto;
    width: 65vw;
    height: 20vh;
    max-height: 162.75px;
    max-width: 260px;
    min-width: 190px;
}

#cta-buttons {
    max-width: 250px;
    margin: 43px auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#cta-buttons > .button {
    width: 108px;
    margin: 0 10px;
}

#hero-image {
    background-image: url("/assets/images/minh cuong_1.webp");
    /* background-image: url("https://pbs.twimg.com/media/GAmjFGeWcAAhRaP?format=jpg&name=4096x4096"); */
    /* background-position: 0% 60%; */
    background-position: center;
    background-size: cover;
    width: 100%;
    max-width: 390px;
    min-height: 195px;
    margin: 0 auto;
    flex-grow: 1;
    border-top-left-radius: 1000px;
    border-top-right-radius: 1000px;
}

#cta-desktop{
    display: none;
}

@media only screen and (min-width: 700px) {
    #hero-image {
        max-width: 650px;
    }
}

@media only screen and (min-width: 1000px) {
    #first-screen-container {
        flex-direction: row;
        justify-content: space-evenly;
        align-items: flex-start;
    }

    #cta {
        padding: 0;
        margin-top: 25vh; 
    }

    #cta-savethedate {
        width: 25vw;
        max-width: unset;
        height: unset;
        max-height: unset;
    }

    #cta-buttons {
        width: 100%;
        max-width: unset;
        margin: 43px 0;
        display: block;
        text-align: center;
    }

    #cta-buttons > button {
        display: inline-block;
        font-size: 14px;
        width: 10vw;
        margin:0 10px;
    }

    #hero-image {
        margin: 0;
        width: 50vw;
        height: 100%;
        max-width: unset;
        min-height: unset;
        flex-grow: 0;
    }
}

/* second screen - story screen */

#story-screen {
    background-color: #203C0B;
    padding-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#story-pic-desktop {
    display: none;
}

#story-content h2 {
    text-align: center;
}

#story-content p {
    padding: 10px 30px 30px;
}

#story-pic-container {
    position: relative;
    width: 500px;
    height: 800px;
}

#story-pic1-frame {
    width: 267px;
    height: 315px;
    background-color: #FFFDF2;
    position: absolute;
    top: 50px;
    left: 40px;
    rotate: 17.58deg;
}

#story-pic1 {
    width: 236px;
    height: 254px;
    position: absolute;
    top: 16px;
    left: 16px;
    background-image: url("/assets/images/minh cuong_16.webp");
    background-position: 80% 60%;
    background-size: 200%;
}

#story-pic2-frame {
    width: 267px;
    height: 315px;
    background-color: #385B1E;
    position: absolute;
    top: 220px;
    right: 20px;
    rotate: -6.41deg;
}

#story-pic2 {
    width: 236px;
    height: 254px;
    position: absolute;
    top: 16px;
    left: 16px;
    background-image: url("/assets/images/illust.webp");
    background-position: 50% 0%;
    background-size: 105%;
}

#story-pic3-frame {
    width: 267px;
    height: 315px;
    background-color: #17240E;
    position: absolute;
    top: 430px;
    left: 60px;
    rotate: 9.55deg;
}

#story-pic3 {
    width: 236px;
    height: 254px;
    position: absolute;
    top: 16px;
    left: 16px;
    background-image: url("/assets/images/minh cuong_15.webp");
    background-position: 60% 45%;
    background-size: 110%;
}

@media only screen and (min-width: 700px) {
    #story-pic-container {
        width: 888px;
        height: 440px;
    }

    #story-pic1-frame {
        top: 40px;
        left: 40px;
    }

    #story-pic2-frame {
        top: 40px;
        left: 330px;
    }

    #story-pic3-frame {
        top: 40px;
        left: 590px;
    }
}

@media only screen and (min-width: 1000px) {
    #story-pic-container {display: none;}
    #story-pic-container div {display: none;}

    #story-screen {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        min-height: 100vh;
    }

    #story-pic-desktop {
        display: block;
        background-image: url("/assets/images/minh cuong_16.webp");
        background-size: 130%;
        background-position: 80% 70%;
        background-repeat: no-repeat;
        width: 50vw;
        align-self: stretch;
    }

    #story-content {
        width: 49vw;
        padding: 0 10vw;
    }

    #story-content h2 {
        text-align: left;
        padding: 0;
    }

    #story-content p {
        padding: 0;
        margin-top: 20px;
    }
}

/* third screen - when where screen */

#when-where-screen {
    padding-top: 62px;
    display: flex;
    flex-direction: column;
}

#when-where-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#when-where-text > .break {
    display: none;
}

#when-text {
    padding-top: 30px;
}

#when-text .date {
    padding-top: 20px;
    margin-bottom: -7px;
}

#location-pin {
    margin: 17px auto;
}

#where-text .place-name {
    margin: 13px auto;
}

#when-where-map-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 75%;
    margin: 50px 0;
}

#when-where-map {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 700px) {
    #when-where-screen {
        padding-top: 75px;
    }

    #when-where-text {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    #when-where-text > .break {
        display:block;
        flex-basis: 100%;
    }

    #when-text {
        padding: 0 20px 0 0;
        width: 35vw;
        text-align: right;
        border-right: solid #203C0B 1px;
    }

    #where-text {
        padding: 0 0 0 20px;
        width: 35vw;
        text-align: left;
    }

    #when-text .date {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #location-pin { margin: 0;}
    #where-text .place-name { margin: 10px 0; }

    #when-where-map-container {
        margin: 40px auto;
        width: 80vw;
        padding-top: 45vw;
    }
}

@media only screen and (min-width: 1000px) {
    #when-where-screen {
        padding-top: 105px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    #when-where-text {
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        margin: 0 50px 0 0;
    }

    #when-where-text > .break {
        display: none;
    }

    #when-text {
        padding: 0 0 27px 0;
        width: 22vw;
        text-align: right;
        border-bottom: solid #203C0B 1.5px;
        border-right: none;
    }

    #where-text {
        padding: 27px 0 0 0;
        width: 35vw;
        text-align: right;
    }

    #when-text .date {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #location-pin { margin: 0 0 0 auto;}
    #where-text .place-name { margin: 10px 0; }

    #when-where-map-container {
        margin: 0 0 0 50px;
        width: 50vw;
        padding-top: 30vw;
    }
}

/* fourth screen - timeline screen */

#timeline-screen {
    padding-top: 65px;
}

#timeline-pic-container {
    display: none;
}

#timeline-pic-container img {
    display: none;
}

#timeline-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}

#timeline-events {
    display: flex;
    flex-direction: column;
}

.timeline-event {
    margin-top: 25px;
    text-align: center;
}

.timeline-event > img {
    margin: 0 auto;
}

.timeline-event > h3 {
    margin: 12px 0;
}

@media only screen and (min-width: 700px) {
    #timeline-screen { padding-top: 82px; }
    #timeline-events {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    .timeline-event { 
        margin: 45px 61px 0 61px; 
    }
    .timeline-event > img {
        height: 60px;
    }
}

@media only screen and (min-width: 1000px) {
    #timeline-screen { 
        padding-top: 100px; 
        display: flex;
        align-items: center;
        justify-content: space-evenly;
    }
    #timeline-events {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .timeline-event { 
        margin: 48px 0 0 0; 
    }
    .timeline-event > img {
        height: 65px;
    }

    #timeline-pic-container {
        display: block;
        width: 60vw;
        max-width: 1200px;
    }
    #timeline-pic-container img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

}

/* fifth screen - dresscode screen */

#dresscode-screen {
    padding-top: 84px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#dresscode-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#dresscode-content > p {
    margin: 22px auto 29px;
    width: 60vw;
    min-width: 280px;
    text-align: center;
}

#dresscode-content .emphasize {
    text-decoration: underline;
    font-weight: bold;
}

#dresscode-content > img {
    width: 155px;
}

@media only screen and (min-width: 700px) {
    #dresscode-screen { padding-top: 91px; }
    #dresscode-content > img { width: 240px; }
}

@media only screen and (min-width: 1000px) {
    #dresscode-screen { 
        padding: 100px 10vw 0; 
        align-items: flex-start;
    }
    #dresscode-content {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
    #dresscode-content > p {
        margin: 0 45px 0 0;
        width: unset;
        text-align: left;
    }
}

/* sixth screen - RSVP screen */

#rsvp-screen {
    padding-top: 80px;
    padding-bottom: 40px;
    max-width: 550px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#rsvp-screen .break {
    display: none;
}

#rsvp-screen h2 {
    text-align: center;
    margin-bottom: 20px;
}

#rsvp-form {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

#rsvp-form .rsvp-form-section {
    margin-bottom: 26px;
}

#rsvp-form .label {
    /* margin-bottom: 12px; */
}

#rsvp-form input[type="text"],
#rsvp-form input[type="email"],
#rsvp-form textarea {
    display: block;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px #203C0B solid;
    border-radius: 40px;
    background-color: white;
    width: 100%;

    font-size: 15px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 400; /* Regular */
}
#rsvp-form input[type="text"]:focus,
#rsvp-form input[type="email"]:focus,
#rsvp-form textarea:focus {
    background-color: white;
}
#rsvp-form textarea {
    border-radius: 15px;
}

#rsvp-form .radio-choice {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 40vw;
    max-width: 240px;

    font-size: 15px;
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 400; /* Light */

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#rsvp-form .radio-choice input {
    position: absolute;
    opacity: 0;
}
#rsvp-form .radio-choice .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: white;
    border-radius: 50%;
    border: #203C0B solid 1px;
}
#rsvp-form .radio-choice:hover input ~ .checkmark {
    background-color: #eee;
}
#rsvp-form .radio-choice input:checked ~ .checkmark {
    background-color: #6B7D6B;
    border-color: #6B7D6B;
}
#rsvp-form .radio-choice .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
#rsvp-form .radio-choice input:checked ~ .checkmark:after {
    display: block;
}
#rsvp-form .radio-choice .checkmark:after {
 	top: 6px;
	left: 6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: white;
}

#accomodation-container {
    margin: 10px;
    border: 2px #203C0B solid;
    padding: 15px;
    border-radius: 25px;
}

#accomodation-container p {
    margin-bottom: 8px;
}

#accomodation-container img {
    margin-bottom: 14px;
}

.accomodation-preview {
    display: block;
    margin-bottom: 20px;
}

.hotel-link {
    color: blue;
    text-decoration: underline;
}

button#submit {
    margin: 30px auto 30px;
    padding: 8px 50px;
    background-color: #203C0B;
    color: #FFFDF2;

    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500; /* Medium */
}

@media only screen and (min-width: 700px) {
    #rsvp-screen {
        padding-top: 100px;
        width: 510px;
        margin: 0 auto;
    }
    #rsvp-form {
        padding: 0;
    }
    #rsvp-form input[type="text"],
    #rsvp-form input[type="email"] { 
        padding: 9px 20px;
    }
    #accomodation-container {
        margin: 0;
        padding: 20px;
    }
    button#submit {
        padding: 9px 60px;
        font-size: 20px;
    }
}

@media only screen and (min-width: 1000px) {
    #rsvp-screen {
        padding-top: 120px;
        flex-direction: row;
        flex-wrap: wrap;
        width: 80vw;
        max-width: unset;
        margin: 0 auto;
    }
    #rsvp-screen h2 {
        align-self: flex-start;
    }
    #rsvp-screen .break {
        display: block;
        flex-basis: 100%;
    }
    #rsvp-form {
        width: 32vw;
        
    }
    #rsvp-form .radio-choice {
        width: 14vw;
    }
    #accomodation-container {
        width: 40vw;
        margin-left: auto;
    }
    button#submit {
        padding: 10px 100px;
    }
}

/* footer */

#footer {
    background-color: #203C0B;
    color: #eeece1;
    padding: 28px 28px;
    text-align: center;
}

#footer .footer-text {
    margin-top: 28px;
}

@media only screen and (min-width: 700px) {
    #footer {
        text-align: left;
        padding: 28px 40px;
    }
    #footer-text-container {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }
    #footer-text-container .footer-text:nth-child(2) {
        text-align: right;
    }
}

@media only screen and (min-width: 1000px) {
    #footer {
        padding: 28px 100px;
    }
}


/* text utils */

.menu-link {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500; /* medium */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: #203C0B;
}

.mobile-heading {
    font-family: "Pinyon Script", cursive, serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 400;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.sub-head-mobile {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500; /* Medium */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.mobile-paragraph {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400; /* Regular */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.date {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 34px;
    font-style: normal;
    font-weight: 500; /* medium */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.time {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500; /* medium */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.place-name {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600; /* Semi Bold */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.place-addr1 {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500; /* Medium */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.event-time {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400; /* Regular */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.deadline {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400; /* Regular */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.deadline .emphasize {
    font-weight: 600;
}

.sublabel {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 400; /* Regular */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.footer-title {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 600; /* Semi Bold */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.footer-text {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400; /* Regular */
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

@media only screen and (min-width: 700px) {
    .menu-link { font-size: 16px; }
    .heading { font-size: 55px; }
    .sub-head-mobile { font-size: 18px; }
    .paragraph-tablet { font-size: 16px; }
    .date { font-size: 36px; }
    .time { font-size: 22px; }
    .place-name { font-size: 20px; }
    .place-addr1 { font-size: 16px; }
    .event-time { font-size: 17px; }
    .deadline { font-size: 15px; }
    .footer-title { font-size: 20px; }
    .footer-text { font-size: 13px; }
    #rsvp-form .radio-choice { font-size: 18px; }
    #rsvp-form input[type="text"],
    #rsvp-form input[type="email"] { font-size: 16px; }

}

@media only screen and (min-width: 1100px) {
    .menu-link { font-size: 18px; }
    .heading { font-size: 65px; }
    .sub-head-mobile { font-size: 20px; }
    .paragraph { font-size: 20px; }
    .date { font-size: 44px; }
    .time { font-size: 26px; }
    .place-name { font-size: 24px; }
    .place-addr1 { font-size: 20px; }
    .event-time { font-size: 20px; }
    .deadline { font-size: 16px; }
    .footer-title { font-size: 20px; }
    .footer-text { font-size: 13px; }
    #rsvp-form .radio-choice { font-size: 18px; }
    #rsvp-form input[type="text"],
    #rsvp-form input[type="email"] { font-size: 18px; }
}

.color-white {
    color: #FFFDF2;
}

.color-black {
    color: #203C0B;
}

.text-center {
    text-align: center;
}

/* utility classes */
.hide-mobile { display: none; }
.hide-tablet { display: none; }
.hide-desktop { display: block; }
.hidden { display: none; }

@media only screen and (min-width: 700px) {
    .hide-mobile { display: block; }
    .hide-tablet { display: none; }
}
@media only screen and (min-width: 1000px) {
    .hide-tablet { display: block; }
    .hide-desktop { display: none; }
}