/*html {
    margin: 0;
    padding: 0;
    display: flex;
}*/

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Marck Script', cursive;
}

menu {
    display: flex;
    margin: 0;
    padding: 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    box-sizing: border-box;
}

menu ul {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    list-style-type: none;
    height: 50px;
    background-color: whitesmoke;
    opacity: 60%;
    transition-duration: 0.5s;
}

menu ul:hover {
    opacity: 100%;
}

menu ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 22%;
    background-color: whitesmoke;
    font-size: 30px;
    transition-duration: 0.5s;
    opacity: 60%;
}

menu ul li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 30px;
    text-decoration: none;
    text-align: center;
    transition-duration: 0.5s;
}

menu ul li a:hover {
    color: white;
    font-size: 30px;
    text-decoration: none;
    text-shadow: 0 2px 4px black;
    opacity: 100%;

}

menu ul li:hover {
    background-color: lightseagreen;
    color: white;
    cursor: pointer;
    text-shadow: 0 2px 4px black;
    opacity: 100%;
}

.photo {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white url(../assets/couple-4615557_1920.jpg) no-repeat center;
    /*background: white url(../assets/couple-4615557_1920.jpg) no-repeat fixed center;*/
    box-sizing: border-box;
    /* ------------------------------------- parallax effect ---------------------------------------*/
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.photo h1 {
    color: white;
    font-size: 80px;
    margin: 0;
    text-shadow: 0 2px 4px black;
    letter-spacing: 4px;
}

.photo p.normal {
    color: white;
    font-size: 60px;
    margin: 0;
    font-weight: normal;
    text-shadow: 0 2px 4px black;
}

.photo p {
    color: white;
    font-size: 70px;
    margin: 0;
    text-shadow: 0 2px 4px black;
}

.about {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 182, 193, 0.44);
}

.about h1 {
    font-size: 40px;
    color: white;
    text-shadow: 0 2px 4px grey;
    letter-spacing: 4px;
}

.about img {
    width: 80%;
    height: auto;
}

.textAbout {
    width: 80%;
}
.textAbout p {
    font-size: 24px;
    text-align: justify;
    margin: 30px 0;
    text-shadow: 0 2px 4px grey;
    color: black;
}

.btn {
    width: 240px;
    height: 60px;
    text-align: center;
    background-color: black;
    color: white;
    border: black;
    border-radius: 4px;
    font-family: 'Marck Script', cursive;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 20px;
    transition-duration: 0.5s;
}

.btn:hover {
    box-shadow: 0 4px 6px grey;
    background-color: white;
    color: black;
}

.btn a {
    text-decoration: none;
    color: unset;
}

.youAreInvited {
    width: 100%;
    height: 100vh;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white url(../assets/wedding-bouquet-3395313_1920.jpg) no-repeat center;
    box-sizing: border-box;
}

.youAreInvited h1 {
    color: white;
    font-size: 60px;
    font-weight: normal;
    margin: 0;
    text-shadow: 0 2px 4px black;
    text-align: center;
}

.youAreInvited p {
    color: white;
    font-size: 40px;
    font-weight: normal;
    margin: 0;
    text-shadow: 0 2px 4px black;
}

.wedding {
    padding: 20px 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /*background-color: rgba(255, 182, 193, 0.44);*/
    background-color: #F2E1E1;
    box-sizing: border-box;
}

.wedding h1 {
    font-size: 40px;
    color: white;
    text-shadow: 0 2px 4px grey;
    letter-spacing: 4px;
}

.wedding img {
    width: 80%;
    height: auto;
}

.wedding-block {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.when, .where {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wedding-block h3 {
    font-size: 30px;
    letter-spacing: 4px;
}

.wedding-block p {
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.hopeYouCan {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 182, 193, 0.44);
    /*padding: 30px 0 80px 0;*/
    box-sizing: border-box;
}

.hopeYouCan h1 {
    font-size: 40px;
    color: black;
    /*text-shadow: 0 2px 4px grey;*/
    letter-spacing: 4px;
    padding: 0 10px;
    text-align: center;
    box-sizing: border-box;
}

.hopeYouCan p {
    font-size: 30px;
    color: black;
    padding: 0 10px;
    /*text-shadow: 0 2px 4px grey;*/
    letter-spacing: 4px;
    text-align: center;
    box-sizing: border-box;
}

.answer {
    width: 240px;
    height: 60px;
    text-align: center;
    background-color: #F88078;
    color: white;
    border: black;
    border-radius: 4px;
    font-family: 'Marck Script', cursive;
    font-size: 28px;
    font-weight: normal;
    margin-bottom: 80px;
    transition-duration: 0.5s;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.answer:hover {
    box-shadow: 0 4px 6px grey;
    background-color: white;
    color: black;
}

.hopeYouCan .answer a {
    align-items: center;
    text-decoration: none;
    color: unset;
    box-sizing: border-box;
}



/* ------------------------- Modal popup window ------------------------------- */

.QuoteModal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    transition: opacity 300ms;
    visibility: hidden;
    opacity: 0;
    display: flex;
    height: auto;
    width: auto;
    margin: 0 auto;
    vertical-align: center;
}

.QuoteModal:target {
    visibility: visible;
    opacity: 1;
}

.popup_modal {
    position: relative;
    margin: 30px auto 50px auto;
    padding: 20px;
    background: white;
    box-sizing: border-box;
    box-shadow: 10px 10px 10px 10px #eee;
    width: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.button-1 {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between; !important;
    align-items: center;
    /*border: 1px solid red;*/
}

.button-1 input.btn-warning {
    /*min-width: 120px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: green;
}

.button-1 input.btn-warning2 {
    /*min-width: 120px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: #F44336;
}

.popup_modal .quoteclose {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 20px;
    color: black;
}

.text-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    padding: 0;
    /*text-transform: capitalize;*/
}

.popup_modal .text-p {
    /*margin: 0;*/
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.popup_modal .text-p2 {
    /*margin: 0;*/
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

input[placeholder], textarea {
    font-family: 'Marck Script', cursive;
    font-size: 20px;
    transition-duration: 0.5s;
    padding-left: 20px;
}

input:focus::placeholder, textarea:focus::placeholder {
    color: transparent;

}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.form-group input, textarea {
    width: 180%;
    line-height: 30px;
    margin-bottom: 20px;
    box-sizing: border-box;
}


/* ------------------------- @media ----------------------------- */
@media screen and (min-width: 650px) and (max-width: 1000px) {
    menu ul li a {
        font-size: 20px;
    }

    menu ul li a:hover {
        font-size: 20px;
    }

    .when, .where {
        width: 50%;
    }
}

@media screen and (min-width: 580px) and (max-width: 730px) {
    .wedding-block {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .when, .where {
        width: 90%;
    }
}

@media screen and (min-width: 300px) and (max-width: 579px) {

    .wedding-block {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
    }

    .when, .where {
        width: 90%;
    }
}

@media screen and (min-width: 530px) and (max-width: 649px) {
    menu ul li a {
        font-size: 16px;
    }

    menu ul li a:hover {
        font-size: 16px;
    }

    menu ul li a {
        font-size: 16px;
        width: 100%;
    }

    .form-group input, textarea {
        width: 180%;
    }

}


@media screen and (min-width: 240px) and (max-width: 529px) {

    html {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    menu {
        margin: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    menu ul {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
    }

    menu ul li {
        width: 25%;
    }

    menu ul li a {
        font-size: 12px;
        width: 100%;
    }

    menu ul li a:hover {
        font-size: 12px;
    }

    .photo h1 {
        font-size: 60px;
        text-align: center;
    }

    .photo p.normal, .photo p {
        font-size: 40px;
    }

    .about h1 {
        font-size: 40px;
        text-align: center;
    }

    .textAbout, .about img {
        width: 90%;
    }

    .btn, .answer {
        width: 180px;
        font-size: 20px;
    }

    .youAreInvited h1 {
        font-size: 40px;
    }

    .popup_modal {
        width: 90%;
    }

    .form-group input, textarea {
        width: 140%;
    }

    button.btn-warning, button.btn-warning2 {
        width: 45%;
    }

    .popup_modal .text-p {
        font-size: 16px;
    }

    input[placeholder], textarea {
        font-family: 'Marck Script', cursive;
        font-size: 16px;
        padding-left: 10px;
    }

    .popup_modal .quoteclose {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 20px;
        color: black;
    }
}