@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

@font-face {
    font-family: "EngrvrsOldEng";
    font-weight: 500;
    src: url("fonts/engravers-old-english.otf");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
}

.container {
    width: 100%;
    margin: auto;
}

.wedding-frame {
    padding: 50px 80px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wedding-section-title {
    font-family: "EngrvrsOldEng", sans-serif;
    font-size: 80px;
    margin-bottom: 16px;
    line-height: 1;
}

.wedding-section-description {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
    font-size: 32px;
    margin-bottom: 64px;
    line-height: 1;
}

.form-group {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 8px;
    text-align: left;
    font-size: 24px;
}

.form-label {
    font-family: "EngrvrsOldEng", sans-serif;
    font-size: 24px;
    font-weight: 400;
    display: block;
    margin-bottom: 8px;
    width: 100%;
    text-align: center;
}

.form-control {
    outline: 0;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 400;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 12px 16px;
    width: 100%;
}

.select2 {
    font-family: "Roboto", sans-serif;
}

.take-me-table {
    font-family: "EngrvrsOldEng", sans-serif;
    outline: 0;
    background-color: #cacdc8;
    border: 1px solid #cacdc8;
    color: #000;
    font-size: 24px;
    padding: 8px 32px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s linear;
}

.take-me-table:hover {
    background-color: #fff;
}

.bottom-center-image {
    position: absolute;
    width: 100%;
    max-width: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}

.admin-wedding-frame {
    text-align: center;
    padding: 80px 16px;
}

table * {
    font-family: "Roboto", sans-serif;
}

.guest-list-edit-btn, .guest-list-delete-btn {
    border: 0;
    outline: 0;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    color: #fff;
    transition: all 0.2s linear;
}

.guest-list-edit-btn {
    background-color: #000000;
}

.guest-list-edit-btn:hover {
    background-color: #2f3031;
}

.guest-list-delete-btn {
    background-color: #d30c0c;
}

.guest-list-delete-btn:hover {
    background-color: #bd1e1e;
}

.img-frame-image {
    position: absolute;
    margin: auto;
    z-index: -1;
    object-fit: cover;
}

.frame_bg_top {
    top: 0;
    left: 0;
    height: 70px;
    width: 100%;
    background-image: url(../images/frame_bg_top.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: top center;
}

.frame_bg_bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-image: url(../images/frame_bg_bottom.png);
    background-repeat: repeat-x;
    background-size: contain;
    background-position: bottom center;
}

.frame_bg_left {
    top: 0;
    left: 0;
    width: 160px;
    height: 100%;
    background-image: url(../images/frame_bg_left.png);
    background-repeat: repeat-y;
    background-size: 160px;
    background-position: 0;
}

.frame_bg_right {
    top: 0;
    right: 0;
    width: 160px;
    height: 100%;
    background-image: url(../images/frame_bg_right.png);
    background-repeat: repeat-y;
    background-size: 160px;
    background-position: right;
}

.table-and-table-description {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.table-description h4 {
    font-family: "EngrvrsOldEng", sans-serif;
    font-size: 48px;
    margin-bottom: 8px;
}

.table-description p {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    margin-bottom: 16px;
}

.table-description a {
    text-decoration: none;
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    color: #000;
    padding: 0 8px 4px;
    border-bottom: 2px solid #000;
    transition: all 0.2s linear;
}

.table-description a:hover {
    padding: 0;
}

/*Select 2 Css*/
.select2-container--default .select2-selection--single {
    height: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 12px 16px;
    color: #000;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 0;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    position: absolute;
    height: 100%;
    right: 0;
}

.select2-container--open .select2-dropdown--below {
    font-family: "Roboto", sans-serif;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #000;
    color: #fff;
}
/*Select 2 Css end*/

.client-image {
    position: absolute;
    bottom: 0;
    z-index: 9;
}

.frame_left {
    left: 16px;
    width: 350px;
}

.frame_right {
    right: 16px;
    width: 200px;
}

@media only screen and (max-width: 499px) {
    .wedding-frame {
        padding: 70px 16px 150px;
    }

    .wedding-section-title, .table-description h4 {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .table-description p, .table-description a {
        font-size: 18px;
    }

    .wedding-section-description {
        font-size: 20px;
        margin-bottom: 40px;
    }

    .form-group, .form-label {
        font-size: 18px;
    }

    .take-me-table {
        font-size: 16px;
        padding: 4px 20px;
        border-radius: 4px;
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding: 6px 8px;
        font-size: 14px;
        line-height: 16px;
    }

    .select2-container--default .select2-selection--single {
        width: 80%;
        margin: 0 10%;
    }

    .table-and-table-description {
        flex-direction: column-reverse;
    }

    .frame_bg_left, .frame_bg_right {
        width: 40px;
        background-size: 60px;
    }

    .frame_left {
        width: 150px;
    }

    .frame_right {
        width: 80px;
    }
    .select2-container--default .select2-selection--single .select2-selection__clear {
        right: 10%;
    }
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 100%;
        right: 10%;
    }
}