@font-face {
    font-family: "WeddingFont";
    src: url("fonts/zai-triumph.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.side-decoration {
    position: fixed;
    top: 50lvh;

    height: 100lvh;
    width: 40vw;

    background-repeat: no-repeat;
    background-position: right;
    background-size: cover;

    z-index: 1;
    overflow: hidden;

    background-image: url("img/leaves-side.png");

    transition: all 0.8s ease-in-out;
}

.left {
    left: 0;
    transform: translateX(-20%) translateY(-50%);
}

.right {
    right: 0;
    transform: translateX(20%) translateY(-50%) scale(-1, -1);
}

.left.zoomed {
    transform: translateX(-23%) translateY(-50%) scale(1.05, 1.05);
    opacity: 0.7;
}

.right.zoomed {
    transform: translateX(23%) translateY(-50%) scale(-1.05, -1.05);
    opacity: 0.7;
}

/* Website content */
.content-container {
    position: relative;
    min-height: 100svh;
    width: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content {
    max-width: 800px;
    text-align: center;
    margin-inline: auto;
    width: 70vw;
}

.content.mainpage {
    width: 60vw;
}

body {
    display: flex;
    justify-content: center;

    background-color: rgb(248, 246, 244);
    background-image: url("img/background-7.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    overflow-y: scroll;

    width: 100%;
    font-family: "WeddingFont", Georgia, serif;
    font-size: 1.2rem;
}

a {
    text-decoration: underline;
    color:black;
}

a:hover {
    color: rgb(7, 82, 7);
}

.title {
    width: 100%;
    display: flex;
    justify-content: center;

    align-items: center;
    flex-wrap: wrap;
    column-gap: 0.25em;
    row-gap: 0.1em;

    text-align: center;

    color: black;

    font-size: 4.5rem;
    font-weight: normal;
    line-height: 1.1;
}

.word {
    white-space: nowrap;
}

.main-page-flex {
    height: 100svh;
    padding-top: 15svh;
    padding-bottom: 15svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.leaf-separator {
    height: 5rem;
}

.leaf-separator.reversed {
    transform: scaleX(-1);
}

.subtitle {
    font-size: 2rem;
}

.content-text-item {
    text-align: left;
    margin-bottom: 10px;
}

.custom-li {
    list-style-type: "- ";
}

.second-lvl {
    padding-left: 40px;
}

.simple-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 50px auto;
}

.form-left {
  display: grid;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.form-field label {
  text-align: left;
}

.form-field input,
.form-field textarea {
    font-family: "WeddingFont", "Georgia", "serif";
    font-size: 1rem;
    background: none;
    border: 2px dotted black;

    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.form-field textarea {
  height: 100%;
   resize: none;
}

.simple-form button {
    font-family: "WeddingFont", "Georgia", "serif";
    font-size: 1rem;
    background: none;
    grid-column: 1 / -1;
    justify-self: center;
    padding: 10px 30px;
    cursor: pointer;
}

@media (max-width: 600px) {
  .simple-form {
    grid-template-columns: 1fr;
    margin: 30px auto;
  }

  .form-field textarea {
    height: 120px;
  }
}


/* media queries */

body {
    @media (max-width: 650px) {
        font-size: 1.1rem;
    }
}

.title {
    @media (max-width: 650px) {
        flex-direction: column;
        font-size: 3rem;
    }
}

.subtitle {
    @media (max-width: 650px) {
        font-size: 1.7rem;
    }
}

.main-page-flex {
    @media (max-width: 650px) {
        padding-top: 10svh;
        padding-bottom: 10svh;
    }
}