
.metamorphous-regular {
  font-family: "Metamorphous", serif;
  font-weight: 400;
  font-style: normal;
}

:root {
    background-image: url("/images/ricepaper2.webp");
    background-repeat: repeat;
    overflow: scroll;
}

html:focus-within {
    scroll-behavior: smooth;
}

#background-img {
    width:100%;
    position: relative;
    overflow-x: clip;
}
.border-img-topleft {
    position: absolute;
    left: 0;
    top: 0;
    width: 400px;
    transform: rotate(120deg);
}
.border-img-topright {
    position: absolute;
    right: 0;
    top: 0;
    width: 400px;
    transform: rotate(210deg);
}

.border-img-topleft, .border-img-topright {
    @media (width <= 1630px) {
        width: 300px;
    }
    @media (width <= 1230px) {
        width: 200px;
    }
    @media (width <= 1024px) {
        width: 200px;
        top: 5rem;
    }
}

#header {
    padding-bottom: 0;
}
#footer {
    padding-top: 0;
}

#navbar {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    margin-top: 1em;
    margin-bottom: 1em;
    max-height: 100px;
    z-index: 999;
}

#navbar ul {
    display: flex;
    gap: 2em;
}


.home-btn {
    border: 2px dotted #646b79;
    border-radius: 100%;
}

.nav-divider {
    border-top: 2px dotted #646b79;
    width: 40%;
    margin: auto;
    margin-top: 2.5rem;
}

.home-btn:hover {
    border: 2px dotted #33790f;
    .nav-img {
    filter: invert(38%) sepia(12%) saturate(5808%) hue-rotate(65deg) brightness(59%) contrast(88%);
    }
}


.hero-container {
    margin-top: 2rem;
    margin-bottom: 0rem;
    display: flex;
    /* flex-wrap: wrap; */
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 80%;
}
.hero-top {
    text-align: center;
    font-size: 500%;
}
.secondary-hero-top {
    text-align: center;
    font-size: 350%;
}
.hero-middle {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    margin-top: 0.5em;
}


.hero-middle h3 {
    margin-top: 0.5em;
    color: #33790f;
    font-size: 200%;
}
.divider {
    padding-left: 4em;
    padding-right: 4em;
    color: #373c44;
    font-size: 65%;
}

.hero-bottom {
    display: flex;
    justify-content: space-around;
    gap: 4em;
    align-items: center;
}

.secondary-hero {
    margin-top: 2rem;
}

.secondary-hero-bottom img {
    display: block;
    width: 400px;
    height: auto;
    margin: auto;
}

.hero-button {
    background-repeat: no-repeat;
    background-position: center;
    background-color: #00000000;
    background-size: cover;
    border: none;
    color: #373c44;
    font-size: 150%;
}
.hero-button:hover {
    filter: invert(38%) sepia(12%) saturate(5808%) hue-rotate(65deg) brightness(89%) contrast(88%);
}
.btn-left {
    background-image: url('/images/joinus-btn.png');
    width: 305px;
    height: 120px;
}

.btn-right {
    background-image: url('/images/details-btn.png');
    width: 305px;
    height: 120px;
}
.hero-button-txt-left {
    position: absolute;
    top: 50%;
    left: 58%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    right: 20px;
}
.hero-button-txt-right {
    position: absolute;
    top: 50%;
    left: 45%;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    right: 20px;
}

.secondary-main {
    width: 50%;
}

.faq-container {
    width: 70%;
    margin: auto;
}
.faq-container summary {
    border-bottom: 1px solid black;
    width: 80%;
    margin: auto;
    padding: 1rem;
}
.faq-container p {
    width: 80%;
    margin: auto;
    padding: 1rem;
    
}

#contact-form .mailing-address {
    resize: none;
}

#form-btn {
    display: block;
    width: 50%;
    margin: auto;
    background-color: #579b35;
}

.us-pics {
    display: block;
    width: 30%;
    margin: 3rem auto;
    border-radius: 0.25rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 12px 28px 0px, rgba(0, 0, 0, 0.1) 0px 2px 4px 0px, rgba(255, 255, 255, 0.05) 0px 0px 0px 1px inset;
}

#uspic3, #uspic4, #uspic5 {
    width: 20%;
}

.garland {
    display: block;
    margin: auto;
    width: 40%;
}

.thirdary-main {
    margin-top: 5rem;
    text-align: center;
}

#thx-img {
    padding-bottom: 2rem;
}



@media (max-width: 1025px) {
    #header {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    #navbar {
        max-height: 400px;
    }
    #navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    #navbar ul li {

    }
    #navbar ul :nth-child(3) {
        /* margin: auto; */
        flex-basis: 100%;
        order: -1;
        display: flex;
        justify-content: center;
    }
    .home-btn {
        width: 20%;
    }

    .hero-container {
        width: 100%;
        flex-direction: column;
        padding: 0.25rem;
    }
    .faq-container {
        width: 100%;
    }
    .faq-tainer {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
    .hero-middle h1 {
        font-size: 350%;
        text-align: center;
    }

    .hero-bottom {
        flex-direction: column;
    }
    .hero-bottom img {
        order: -1;
        width: 100%;
        display: block;
        margin: auto;
        margin-top: 0.5rem;
    }
    .secondary-main {
        width: 90%;
    }
    .us-pics {
        width: 50%;
    }
    #uspic3, #uspic4, #uspic5 {
        width: 50%;
    }
    .garland {
        margin-top: 2rem;
        width: 100%;
    }
}

@media (max-width: 767px) {
    #header {
        padding-top: 0.25rem;
    }
    #navbar {
        min-height: 0;
        margin-top: 0.25rem;
    }
    #navbar ul {
        gap: 0.5rem;
    }
    .home-btn {
        width: 40%;
    }
    .nav-divider {
        margin-top: 1rem;
        width: 90%;
    }
    #background-img {
        display: none;
        overflow-x: clip;
    }
    .hero-top {
        font-size: 350%;
    }
    .secondary-hero-top {
        font-size: 250%;
    }
    .secondary-main {
        width: 100%;
    }
    .faq-container {
        width: 100%;
    }
    .date {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .hero-middle h3 {
        font-size: 180%;
        text-align: center;
    }
    .celebrating-hero {
        font-size: 120%;
    }

    .hero-bottom {
        flex-direction: column;
    }
    .hero-bottom img {
        order: -1;
        width: 80%;
        display: block;
        margin: auto;
        margin-top: 0.5rem;
    }
    .us-pics {
        width: 70%;
    }
    #uspic3, #uspic4, #uspic5 {
        width: 70%;
    }
    .faq-tainer {
        margin-top: 2rem;
    }
    .garland {
        margin-top: 2rem;
        width: 100%;
    }
    #form-btn {
        margin-bottom: 0;
        width: 75%;
    }
}
