/** @format */
@media (min-width: 1400px) {
    .main-section .inner-box .content {
        padding: 8rem 8rem;
    }
    .info-section p {
        line-height: 7.5rem;
    }
    .info-section .container {
        max-width: 1320px;
    }
    .rsvp-section{
        overflow: hidden;
    }
    .rsvp-section .left-element {
        height: 125%;
        top: -12.5%;
    }
    .rsvp-section .right-element {
        height: 125%;
        top: -12.5%;
    }
}

@media (max-width: 1199.98px) {
    .main-section .elem2 {
        top: 28%;
        z-index: -2;
    }
    /*.rsvp-section .left-element {*/
    /*left: -3rem;*/
    /*}*/
    /*.rsvp-section .right-element {*/
    /*right: -3rem;*/
    /*}*/
}

@media (max-width: 991.98px) {
    .main-section {
        height: auto;
    }
    .sec-padding {
        padding: 7rem 0;
    }
    .main-section .inner-box {
        padding: 6rem 6rem;
        margin: 0 5rem;
    }
    .main-section .elem2 {
        top: 35%;
        width: 52%;
    }
    .main-section .inner-box .name1 {
        margin-left: 0;
    }
    .main-section .inner-box .name {
        letter-spacing: 0.1em;
    }
    .main-section .inner-box .content {
        padding: 5rem 5rem;
    }
    .info-section p {
        font-size: 2.5rem;
        line-height: 5.2rem;
    }
    .info-section {
        min-height: auto;
        padding-top: 0;
    }
    .info-section .elem4 {
        width: 50%;
    }
    .sec-title {
        font-size: 4rem;
    }
    .sub-title {
        font-size: 2.5rem;
    }
    .wedding-detail .title {
        font-size: 3.1rem;
        line-height: 4.2rem;
    }
    .wedding-detail .map iframe {
        width: 320px;
    }
    .wedding-detail p {
        font-size: 2.7rem;
        line-height: 4.2rem;
    }
    .wedding-detail .inner-box {
        margin-top: 4rem;
    }
    .wedding-detail,
    .rsvp-section {
        min-height: auto;
    }
    .rsvp-section .inner-box {
        width: 100%;
    }
    .rsvp-section .left-element {
        left: 0;
        max-width: 100%;
    }
    .rsvp-section .right-element {
        right: 0;
        opacity: 0.8;
        max-width: 100%;
    }
    .next-line {
        display: block;
    }
}

@media (max-width: 767.98px) {
    .main-section .inner-box .name {
        font-size: 5rem;
        line-height: 5rem;
    }
    .main-section .inner-box .highlight {
        font-size: 5rem;
        line-height: 6.5rem;
        letter-spacing: 0.1em;
    }
    .main-section .date-box .flex-head .text {
        font-size: 2.5rem;
    }
    .main-section .date-box .flex-head .date {
        font-size: 5rem;
        margin: 0 1rem;
    }
    .main-section .date-box .flex-head {
        margin-left: 0;
    }
    .main-section .inner-box {
        padding: 4rem 4rem;
    }
    .main-section .elem1 {
        width: 42%;
    }
    .info-section .content {
        width: 100%;
    }
    .info-section p {
        font-size: 22px;
        line-height: 4.8rem;
    }
    .info-section p .parents-name {
        font-size: 22px;
        font-weight: 500;
    }
    .info-section p .name {
        font-size: 40px;
        letter-spacing: 1px;
    }
    .info-section .elem4 {
        width: 64%;
        opacity: 0.4;
    }
    .wedding-detail .title {
        font-size: 3rem;
        line-height: 3.8rem;
    }
    .wedding-detail p {
        margin-top: 10px;
        font-size: 2.5rem;
        line-height: 3.2rem;
        margin-bottom: 20px;
    }
    .thankyou-page .bg_image {
        bottom: 0;
    }
    .thankyou-page .title {
        letter-spacing: 0.2em;
        font-size: 8rem;.thankyou-page
    }
    .nav_link{
        font-size: 20px;
        letter-spacing: 1px;
    }
    .thankyou-page {
        height: calc(100vh - 55px);
        align-items: center;

    }
    .thankyou-page p{
        margin-top: 2rem;
    }

}

@media (max-width: 575.98px) {
    header{
        /*display: none;*/
    }
    .navbar .nav_link {
        font-size: 15px;
        letter-spacing: 0px;
        padding: 8px 0;
    }
    .main-section .inner-box {
        margin: 0 1rem;
    }
    .sec-padding {
        padding: 5rem 0;
    }
    .main-section .inner-box::before,
    .main-section .inner-box::after {
        border-width: 3px;
        z-index: 1;
    }
    .main-section .inner-box .name {
        font-size: 4rem;
        line-height: 4rem;
    }
    .main-section .inner-box .highlight {
        font-size: 4rem;
        line-height: 5.5rem;
    }
    .main-section .inner-box .content {
        padding: 5rem 3rem;
        text-align: center;
    }
    .main-section .date-box .flex-head .text {
        font-size: 19px;
        line-height: 4rem;
    }
    .main-section .date-box .flex-head .date {
        font-size: 4.5rem;
        padding-top: 10px;
    }
    .main-section .date-box .day {
        font-size: 18px;
    }
    .main-section .ele3 {
        height: 35%;
    }
    .main-section .date-box {
        margin-top: 2rem;
    }
    .main-section .inner-box {
        padding: 3rem 3rem;
    }
    .main-section .date-box .flex-head .text::before,
    .main-section .date-box .flex-head .text::after {
        height: 2px;
    }
    .main-section .elem2 {
        top: 46%;
        width: 60%;
        z-index: 0;
    }
    .main-section .inner-box::before {
        height: calc(100% - 18.5rem);
        width: calc(100% - 9rem);
    }
    .main-section .inner-box::after {
        width: calc(100% - 9rem);
        height: calc(100% - 14.5rem);
    }
    .info-section {
        padding-top: 0;
        overflow: hidden;
    }
    .info-section p {
        font-size: 20px;
        line-height: 3.8rem;
    }
    .info-section p .name,
    .info-section p .highlight {
        font-size: 35px;
        line-height: 5rem;
    }
    .info-section p .parents-name {
        font-size: 18px;
        line-height: 3.5rem;
    }
    .sec-title {
        /*font-size: 3.5rem;*/
        letter-spacing: 0;
        font-size: 22px;
        word-spacing: initial;
    }
    .sub-title {
        font-size: 18px;
        line-height: 25px;
    }
    .wedding-detail .title {
        font-size: 35px;
        line-height: 35px;
    }
    .wedding-detail .purple {
        font-size: 2.8rem;
    }
    .wedding-detail p {
        font-size: 22px;
    }
    .rsvp-section {
        overflow: hidden;
    }
    .rsvp-section .left-element {
        /*-webkit-transform: rotate(90deg);*/
        /*transform: rotate(90deg);*/
        height: auto;
        /*width: 100%;*/
        /*top: -9%;*/

        width: 40%;
        top: -20%;
        left: 50%;
        transform: translateX(-50%) rotate(
                90deg);
    }
    .rsvp-section .right-element {
        /*-webkit-transform: rotate(90deg);*/
        /*transform: rotate(90deg);*/
        height: auto;
        /*width: 100%;*/
        /*top: 60%;*/

        width: 40%;
        top: 65%;
        left: 50%;
        transform: translateX(-50%) rotate(
                90deg);
    }
    .form-group {
        margin-bottom: 2rem;
    }
    .form-control {
        font-size: 16px;
        height: 45px;
    }
    .radio-container {
        font-size: 18px;
        margin: 7px 0;
        margin-left: -8px;
    }
    .accept-radio .radio-container {
        margin-left: 0;
    }
    .rsvp-section .form-label,
    .rsvp-section .flex .form-label {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .rsvp-section .flex {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .rsvp-section .highlight {
        font-size: 3rem;
        letter-spacing: 0px;
    }
    .btn-default {
        line-height: 45px;
        font-size: 18px;
        letter-spacing: 1px;
        min-width: 20rem;
    }
    .rsvp-section .sub-title {
        margin: 1rem 0 4rem;
    }
    .rsvp-section .flex .form-label,
    .rsvp-section .flex .form-control {
        width: 100%;
    }
    .rsvp-section .sec-title {
        font-size: 2.2rem;
    }
    .thankyou-page .title {
        font-size: 7rem;
        line-height: 8rem;
        margin-top: 0;
        letter-spacing: 4.5px;
    }
    .thankyou-page p {
        font-size: 28px;
        line-height: 32px;
    }
    .thankyou-page .bg_top_img {
        top: 0;
    }
    .thankyou-page .content {
        margin-top: 0;
    }
    .venue-detail {
        width: 320px;
        margin: auto;
    }
    .main-section{
        height: 100vh;
        align-items: center;
        display: flex;
        justify-content: center;
        margin-top: -1rem;
    }
    .main-section .elem1 {
        /*width: 42%;*/
        top: 11%;
    }


}

@media (max-width: 320px) {
    .wedding-detail .map iframe {
        width: 280px;
    }
    .main-section .inner-box .name {
        font-size: 35px;
    }
    .main-section .date-box .flex-head .text {
        font-size: 16px;
        line-height: 3.5rem;
    }
    .main-section .date-box .flex-head .date {
        font-size: 4rem;
        padding-top: 7px;
    }
    .info-section p .name,
    .info-section p .highlight {
        font-size: 32px;
        line-height: 4rem;
    }
    .rsvp-section .form-label,
    .rsvp-section .flex .form-label {
        font-size: 16px;
    }
    .sec-title {
        font-size: 3rem;
        letter-spacing: 0.4px;
    }
    .thankyou-page .title {
        font-size: 6rem;
    }
}

