* {
    font-size: 0.7em;
}

body {
    margin: 0;
    background: fixed center url("img/bg.png");
    background-size: cover;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    min-width: 270px;
}

.plant {
    position: fixed;
    z-index: -1; 
}

.plant1 {
    display: none;
    width: 450px;
    left: -50px;
    bottom: -50px;
    transform: rotateZ(10deg);
}

.plant2 {
    transform: rotate(30deg);
    width: 300px;
    left: -30px;
}

.plant3 {
    right: 0px;
    bottom: -150px;
    width: 300px;
    transform: rotateZ(-100deg);
}

header {
    display: flex;
    min-height: 100vh;
}

header > div {
    height: min-content;
    margin: auto;
}

header h3 {
    font-size: 1.875rem;
    font-weight: 400;
}

h1 {
    font-family: "Parisienne", cursive;
    color: #0E2D02;
    font-size: 4.5rem;
    font-weight: 400;
    white-space: pre-line;
}

.date {
    display: flex;
    justify-content: center;
    column-gap: 3rem;
}

.date h3 {
    margin: 3rem 0;
    width: 6ch;
}

.date h3.date-num {
    margin: 0;
    width: auto;
    font-size: 6rem;
    color: #0E2D02;
}

.date .line {
    border-left: 1px solid #0E2D02;
}

main {
    margin: 0 auto;
    max-width: 800px;
    padding: 0 2rem;
}

main h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #0E2D02;
    margin-bottom: 100px;
}

.page {
    min-height: 100vh;
}

.grid {
    display: grid;
    margin: 0px auto 150px;
    grid-template-columns: 1fr 4fr;
    gap: 3rem;
    width: fit-content;
}

.grid .time {
    text-align: end;
    color: rgba(14, 45, 2, 0.7);
    font-weight: 600;
    font-size: 2.5rem;
    margin-top: -5px;
}

.grid .content {
    text-align: start;
    font-size: 2.25rem;
    font-weight: 600;
    color: #0E2D02;
}

.grid .content .desc {
    font-size: 1.5rem;
    font-weight: 400;
    color: black;
}

.faq {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 150px;
}

.faq h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    color: #0E2D02;
}

.faq span {
    margin: 0 auto;
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: black;
}

form {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem 2rem;
}

form div, form label {
    text-align: start;
}

form label {
    text-align: start;
    font-size: 1.25rem;
    user-select: none;
}

form input {
    font-family: inherit;
    font-size: 1rem;
    background: none;
    border: none;
    color: #0E2D02;
    border-bottom: 1px solid;
}

form input::placeholder, form textarea::placeholder {
    color: rgba(14, 45, 2, 0.49);
}

form input::-webkit-outer-spin-button, form input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

form input[type=number] {
    -moz-appearance: textfield;
    max-width: 7ch;
    font-size: 1.5rem;
    margin-right: .5rem;
}

form input[type=number]::placeholder {
    font-size: 1rem;
}

form input[type=checkbox] {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;
}

form .attendance label {
    margin-left: .3rem;
    margin-right: 1rem;
}

form .checkbox {
    display: inline-block;
    position: relative;
    padding-left: 1.75rem;
}

form .checkbox .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 1.25rem;
    width: 1.25rem;
    border: 1px solid #0E2D02;
}

form .checkbox .checkmark:after {
    content: "✓";
    font-size: 1rem;
    line-height: 0.95rem;
    text-align: center;
    color: white;
    position: absolute;
    height: 1rem;
    width: 1rem;
    margin: .125rem;
}

input:checked ~ .checkmark:after {
    background-color: #0E2D02;
}

form .questions {
    grid-column: 1 / 3;
}

form textarea {
    font-size: 1rem;
    display: block;
    width: calc(100% - 1rem);
    color: #0E2D02;
    background: none;
    border: 1px solid #0E2D02;
    font-family: inherit;
    resize: vertical;
    margin-top: 1rem;
    padding: .5rem;
}

form .submit {
    width: 100%;
    text-align: center;
    grid-column: 1 / 3;
}

form button {
    cursor: pointer;
    background-color: #0E2D02;
    color: white;
    border: none;
    padding: 1rem 8rem;
    font-family: inherit;
    max-width: min-content;
    margin: 0 auto;
    font-size: 1.25rem;
}

.nGY2 * {
    font-size: 1.25em !important;
}

.us {
    flex-direction: column;
    margin: 150px 0;
    display: flex;
    align-items: middle;
    justify-content: space-between;
    gap: 1rem;
 }
 
 .us div {
    flex: 1;
    margin: 0px auto;
    max-width: 200px;
    padding: 1.5rem;
    padding-bottom: 0;
    background-color: white;
    border: 1px solid #F3F1E7;
 }
 
 .us img {
    width: 100%;
    border: 1px solid rgba(212, 212, 212, 1);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.05);
 }
 
 .us span {
    font-family: "Nanum Pen Script", cursive;
    font-size: 2rem;
    display: block;
    padding: .5rem 0;
 }

@media (min-width: 1000px) {
    .plant1 {
        display: block;
    }

    .plant2 {
        transform: rotate(0deg);
        width: 500px;
    }

    .plant3 {
        bottom: -350px;
        width: 650px;
    }

    h1 {
        white-space: inherit;
    }

    .grid {
        grid-template-columns: 15ch 50ch;
    }
}

@media (min-width: 540px) {
    * {
        font-size: 1em;
    }

    .nGY2 * {
        font-size: 1em !important;
    }

    #photos, .us {
        flex-direction: row;
    }
}