.form {
    position: relative;
    width: calc(84% - 7em);
    max-width: 40em;
    height: fit-content;
    padding: 2em;
    padding-left: 3.5em;
    padding-right: 3.5em;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    margin-top: 3em;
    border: 1px var(--hotpink) solid;
    border-radius: 6px;
}
.form .grid {
    position: relative;
    grid-gap: 0.4em;
    height: fit-content;
    width: 100% !important;
}
.form .grid input.text {
    position: relative;
    width: calc(100% - 1em);
    padding: 0.5em;
    font-size: 19px;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.4px;
    border: 1px var(--hotpink) solid;
    background: none;
    color: white;
    border-radius: 2px;
    font-family: unset;
    background-color: rgb(220, 220, 220);
    color: black;
}
.form textarea.text {
    position: relative;
    width: calc(100% - 1em);
    padding: 0.5em;
    font-size: 19px;
    font-weight: 400;
    text-align: left;
    letter-spacing: 0.4px;
    border: 1px var(--hotpink) solid;
    background: none;
    color: white;
    border-radius: 2px;
    margin-top: 0.4em;
    height: fit-content;
    resize: vertical;
    font-family: unset;
    min-height: 4em;
    background-color: rgb(220, 220, 220);
    color: black;
    height: 4em;
}
.submit {
    font-family: unset;
    font-size: 18px;
    padding: 0.6em;
    padding-left: 1.5em;
    padding-right: 1.5em;
    cursor: pointer;
    background: black;
    border-color: black;
}
.form .header {
    position: relative;
    margin-top: 0;
    margin-bottom: 1em;
    font-family: unset;
    letter-spacing: 1px;
    font-size: 26px;
    text-align: center !important;
    text-align-last: center !important;
    padding-top: 0;
}
.sect.events .form .body.wedding-referrence {
    margin: auto;
    text-align: center !important;
    text-align-last: center !important;
}
.href {
    cursor: pointer;
}
.submit {
    margin-top: 0 !important;
}
.form {
    grid-row-gap: 4em;
    border: 0;
}
select {
    position: relative;
    display: inline-block;
    width: 78vw;
    padding: 0.5em;
    padding-left: 1em;
    padding-right: 1em;
    font-size: 16px;
    border-radius: 3px;
    border: 1px rgb(175, 175, 175) solid;
    font-family: var(--font1);
    max-width: 16em;
    margin-left: 0;
    height: fit-content;
    color: rgb(105, 105, 105);
    max-width: 22.1em;
}
.header.header2 {
    font-size: 24px !important;
    font-family: unset !important;
}
.fixed.referrence.book .container .inputs {
    margin-left: auto !important;
}
.fixed.referrence.book .container {
    max-width: 64em;
    max-height: 74vh !important;
}
.fixed.referrence .container input.text {
    max-width: 20em !important;
}
.fixed.referrence .container textarea.text {
    max-width: 43em;
    height: 4em;
}
.container .sm .frame {
    width: calc(39vw - 29em) !important;
    max-width: 6.6em !important;
    margin-top: 0.73em !important;
    margin-left: 0.9em !important;
    width: calc(39vw - 29em) !important;
    max-width: 6.6em !important;
    margin-top: 0.73em !important;
    margin-left: 0.9em !important;
    position: absolute;
    cursor: pointer;
    width: calc(47vw - 29em) !important;
    height: 18em;
    max-width: 14em;
    background-image: url(/image-main-index/frames2.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin-top: 2em;
    padding: 1em;
    padding-bottom: 0 !important;
    padding-top: 0.4em;
    padding-right: 0.7em;
}
.fixed.referrence.book .container .body {
    font-family: var(--font1);
    width: 85%;
    text-align: left;
    left: 0;
    right: 0;
    position: relative;
    margin: auto;
    margin-top: 0.4em;
    line-height: 1.4em;
    word-break: break-word;
    font-size: 20px;
    font-weight: 500;
    color: rgb(135, 135, 135);
    text-align: center;
    text-align-last: center;
}
.container .sm .artist {
    position: absolute;
    cursor: pointer;
    width: calc(47vw - 29em);
    height: auto;
    max-width: 8em;
    margin-top: 2em;
    padding: 1em;
    padding-bottom: 0;
    height: 10em;
    object-fit: cover;
    object-position: top;
    left: 0;
    position: relative;
    margin: 0 auto;
}
.container .sm .header {
    font-size: 18px !important;
    width: 134.5% !important;
    text-align: center !important;
    text-align-last: center !important;
    padding: 0 !important;
    max-width: unset !important;
    font-family: var(--font1);
    font-weight: 600;
}
.fixed.referrence .header {
    margin-bottom: 0em;
}
.container .sm .division {
    cursor: pointer;
    width: calc(47vw - 29em);
    height: fit-content;
    max-width: 14em;
    width: fit-content;
    max-width: 8em !important;
}
.container .sm {
    grid-template-columns: repeat(6, auto);
    grid-column-gap: 1em;
    margin-bottom: 5em !important;
    margin-top: 3em;
}
.fixed.referrence .container textarea.text {
    margin-left: auto !important;
}
.grid.sm-container {
    grid-template-columns: auto auto;
}
.fixed.referrence.book .body.x {
    position: absolute;
    width: fit-content;
    height: fit-content;
    margin-right: 2em;
    cursor: pointer;
    user-select: none;
}
@media screen and (max-device-width: 1370px) {
    .container .sm .division {
        max-width: 3em !important;
        width: 32vw;
        display: grid;
    }
    .container .sm .frame {
        position: relative;
        width: 100% !important;
        max-width: 6.5em !important;
        grid-row: 1/1;
        grid-column: 1/1;
    }
    .container .sm .artist {
        position: relative;
        width: auto !important;
        max-width: 8em !important;
        grid-row: 1/1;
        grid-column: 1/1;
        left: 2px;
        height: 10em;
    }
    .container .sm .header {
        margin: auto;
        margin-top: 0.3em;
        letter-spacing: 0.4px;
        left: 0;
        right: 0;
        width: 100% !important;
    }
    .sect .grid.form {
        margin: auto;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }
    .fixed.referrence.book .container {
        max-width: 64em;
        max-height: 84% !important;
        width: calc(95% - 4em);
    }
    .fixed.referrence .container input.text {
        width: calc(100% - 2em);
        left: 0;
        right: 0;
        margin: auto;
    }
    .fixed.referrence .container select {
        left: 0;
        right: 0;
        margin: auto;
        padding-top: 0;
        padding-bottom: 0;
        height: 2.3em;
        width: 100.6%;
    }
    .fixed.referrence.book .container .inputs {
        width: fit-content;
        width: 100%;
    }
    .fixed.referrence .container textarea.text {
        width: calc(100% - 2em);
        left: 0;
        right: 0;
        margin: auto;
        margin-top: 0.4em !important;
        max-width: 20em;
    }
    .fixed.referrence .header {
        margin-top: 0;
    }
    .fixed.referrence.book .body.x {
        margin-right: 1em;
    }
    .grid.sm-container {
        width: 100%;
        grid-template-columns: auto;
        grid-gap: 0em;
    }
    .container .sm {
        grid-template-columns: repeat(2, auto);
        grid-column-gap: 1em;
        margin-bottom: 0em !important;
        margin-top: 3em;
        width: fit-content;
    }
    .container .sm.sm2 {
        margin-top: 2em;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
    }
    .fixed.referrence.book .container .body.add-on {
        margin-top: 0;
    }
    .container .sm .division {
        max-width: 9em !important;
        width: 35vw;
        display: grid;
        left: 0;
    }
    .container .sm .frame {
        position: relative;
        width: 100% !important;
        max-width: 6.5em !important;
        grid-row: 1/1;
        grid-column: 1/1;
        margin-left: auto !important;
        height: 84% !important;
    }
    .container .sm .artist {
        position: relative;
        width: auto !important;
        max-width: 8em !important;
        grid-row: 1/1;
        grid-column: 1/1;
        left: 2px;
        height: 9em;
        margin-bottom: 1em;
        min-width: 86%;
        margin-left: auto !important;
        background-color: black;
        padding: 0;
        margin-top: 1em;
        left: 0.4em !important;
    }
}
@media screen and (max-device-width: 1370px) and (min-device-width: 800px) {
    .fixed.referrence .container select {
        padding-right: 0;
        max-width: 22.1em;
    }
    .fixed.referrence .container .inputs {
        grid-template-columns: 50% 50%!important;
    }
    .fixed.referrence .container .inputs, .fixed.referrence .container textarea.text {
        max-width: 44em !important;
    }
    .fixed.referrence .container textarea.text {
        max-width: unset;
        max-width: 42em !important;
    }
}