﻿@font-face {
    font-family: "Lora";
    src: url(/assets/font/lora-regular.ttf);
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Lora";
    src: url(/assets/font/lora-semibold.ttf);
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "High Spirited";
    src: url(/assets/font/high-spirited.otf);
}

@font-face {
    font-family: "Ergisa";
    src: url(/assets/font/ergisa-regular.otf);
    font-weight: 400;
    font-style: normal;
}

#RSVPForm {

}

#RSVPForm .submit-btn{
    --bs-btn-color: #fff;
    --bs-btn-bg: #d45432;
    --bs-btn-border-color: #d45432;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #bb472b;
    --bs-btn-hover-border-color: #bb472b;
    --bs-btn-focus-shadow-rgb: 212, 84, 50;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #a93e26;
    --bs-btn-active-border-color: #a93e26;
}
#RSVPForm .form-check {
    min-height: 1.5rem;
    padding-left: 1.5em;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
}

#RSVPForm .form-check:has(input[type="radio"]:checked) {
    background: #ffece7;
}

#RSVPForm .form-check .form-check-input {
    margin-left: 0;
    width: 1.2rem;
    height: 1.2rem;
    --bs-border-width: 2px;
    --bs-border-color: #d45432;
    margin-top: 0;
    cursor: pointer;
}

#RSVPForm .form-check .form-check-label {
    cursor: pointer;
}

#RSVPForm .form-check .form-check-input:checked {
    background-color: #d45432;
    border-color: #d45432;
}

#RSVPForm .form-check .form-check-input:checked + .form-check-label {
    color: #d45432;
}

body {
    background: #333;
    font-family: "Lora";
}
.page-wrapper{
    padding:0;
    max-width:600px;
    background-color:#fafafa;
}

.page-wrapper .page-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.page-wrapper .page-inner{
    padding:16px;
}
.form-label-wrapper {
    margin-bottom: 10px;
}

.form-label-wrapper .form-label{
    margin-bottom:0;
    font-weight:500;
}

.form-label-wrapper .text{
    font-size: 14px;
    color: #acacac;
}

.form-control::placeholder{
    color: gray;
}

.main-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 630;
    background-color:#fafafa;
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
}

.greeting {
    margin-top: 8px;
    color: #c28a00;
}

.main-img:after{
    height:80%;
    width: 100%;
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgba(253, 251, 251, 0), rgba(1, 1, 1, 0.5));
    background-color: initial;
    background-size: initial;
    background-origin: initial;
    background-position: initial;
    background-repeat: initial;
    background-attachment: initial;
    -webkit-background-clip: initial;
}

.main-img .name {
    position: absolute;
    bottom: 0;
    z-index: 2;
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 12px;
    font-family: "High Spirited";
    font-size: 30px;
}

.main-img img{
    max-width:100%;
}

@media screen and (max-width:480px){
    .page-wrapper .page-header{
        padding: 12px 8px;
    }
}