h1 {
    margin-top: -20px;
    margin-bottom: 30px;
}

input[type="submit"] {
    font-family: "Bona Nova", serif;
    font-weight: 400;
    font-size: 20px;
    color: #FFCE48;
    background-color: #AB141C;
    padding: 10px 20px;
    min-width: 140px;
    border: none;
    cursor: pointer;
    margin: auto;
}

input[type="submit"]:hover {
    background-color: #193060;
}

.banner {
    background-image: url(../image/homebackground.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1/1;
    min-height: 1040px;
    width: 90%;
    max-width: 1380px;
    margin: auto;
    margin-top: -200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homebannertitle {
    font-size: 48px;
    margin-bottom: 30px;
    margin-top: 0;
}

.bannertext {
    margin: auto;
}

.newentries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    margin-bottom: 100px;
    margin-left: 30px;
    margin-right: 30px;
    position: relative;
    z-index: 1;
}

.newentries h3 {
    margin-top: 10px;
}

.foodstotrybanner {
    width: 100%;
    height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.foodstotrybannerimage {
    width: 100%;
    margin-left: -10%;
}

.circle {
    background-color: #FBE8BD;
    border-radius: 100%;
    height: 150%;
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: -300px;
    z-index: 1;
}

.foodstotrytext {
    text-align: left;
    margin-left: 40%;
    margin-right: 8%;
}

.recipesbanner {
    width: 100%;
    height: 830px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.recipesplate {
    background-image: url(../image/plate.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1/1;
    min-height: 654px;
    height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.recipestext {
    width: 50%;
}

.legendsbanner {
    width: 100%;
    max-height: 650px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #FBE8BD;
}

.sunwukong {
    width: 60%;
}

.legendstext {
    text-align: left;
    margin: auto 40px;
}

.festivalsbanner {
    width: 100%;
    height: 830px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.festivalsbannerimage {
    background-image: url(../image/festivalsbanner.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 832px;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.festivalscircle {
    background-image: url(../image/festivalscircle.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    aspect-ratio: 1/1;
    min-height: 620px;
    height: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.festivalstext {
    margin: auto;
    width: 50%;
}

.contact {
    margin: 116px auto;
    text-align: left;
    width: 70%;
    position: relative;
    z-index: 1;
}

p a {
    font-family: "Roboto Flex", sans-serif;
}

.contacttitle {
    border-bottom: white 1px solid;
    padding-bottom: 10px;
}

.contactbox {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

input {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #1C0A0A;
    background-color: white;
    padding: 22px 35px;
}

input::placeholder {
    font-size: 16px;
    color: #1C0A0A;
    opacity: 1;
}

.short {
    display: flex;
    gap: 20px;
    width: 100%;
}

.short input {
    width: 100%;
    box-sizing: border-box;
}

textarea {
    font-family: "Roboto Flex", sans-serif;
    font-weight: 200;
    font-size: 20px;
    color: #1C0A0A;
    background-color: white;
    padding: 22px 35px;
    height: 240px;
}

textarea::placeholder {
    font-size: 16px;
    color: #1C0A0A;
    opacity: 1;
}

.newentriescloud {
    position: absolute;
    transform: scaleX(-1);
    right: 80%;
    top: -80%;
    z-index: -1;
}

.newentriescloud:nth-child(2) {
    position: absolute;
    transform: scaleX(-1);
    right: -10%;
    top: -65%;
    z-index: -1;
}

.newentriescloud:nth-child(3) {
    position: absolute;
    transform: scaleX(1);
    right: 60%;
    top: 75%;
    z-index: -1;
}

.recipescloud {
    position: absolute;
    right: -550px;
    top: 20px;
    z-index: -1;
}

.recipescloud:nth-child(2) {
    position: absolute;
    transform: scaleX(-1);
    left: -200px;
    top: 150px;
    z-index: -1;
}

.recipescloud:nth-child(3) {
    position: absolute;
    transform: scaleX(-1);
    right: -150px;
    top: 400px;
    z-index: -1;
}

.recipescloud:nth-child(4) {
    position: absolute;
    left: -480px;
    top: 550px;
    z-index: -1;
}

.contactcloud {
    position: absolute;
    right: -40%;
    top: -140px;
    z-index: -1;
}

.contactcloud:nth-child(2) {
    position: absolute;
    right: 80%;
    top: 40%;
    z-index: -1;
}

.contactcloud:nth-child(3) {
    position: absolute;
    transform: scaleX(-1);
    right: -40%;
    top: 80%;
    z-index: -1;
}

/* Tablet and mobile styles */
@media screen and (max-width: 1320px) {
    .banner {
        width: 95%;
        margin-top: -180px;
    }

    .homebannertitle {
        font-size: 44px;
    }

    .banner h3 {
        font-size: 22px;
    }

    .banner button {
        min-width: 112px;
        font-size: 16px;
    }
}

@media screen and (max-width: 1145px) {
    .banner {
        width: 100%;
        margin-top: -180px;
    }

    .homebannertitle {
        font-size: 40px;
    }

    .banner h3 {
        font-size: 20px;
    }

    .newentriescloud {
        position: absolute;
        transform: scaleX(-1);
        right: 80%;
        top: 0;
        z-index: -1;
    }

    .newentriescloud:nth-child(2) {
        position: absolute;
        transform: scaleX(-1);
        right: -10%;
        top: -20%;
        z-index: -1;
    }

    .newentriescloud:nth-child(3) {
        position: absolute;
        transform: scaleX(1);
        right: 50%;
        top: 80%;
        z-index: -1;
    }
}

@media screen and (max-width: 1080px) {
    .banner {
        margin-top: -110px;
    }

    .homebannertitle {
        font-size: 40px;
    }

    .newentries {
        gap: 30px;
        margin-top: 30px;
        margin-bottom: 60px;
    }

    .newentriesimage img {
        width: 250px;
    }

    .foodstotrybanner {
        width: 100%;
        height: 650px;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .foodstotrybannerimage {
        width: auto;
        height: 100%;
        margin-left: -20%;
    }

    .circle {
        background-color: #FBE8BD;
        border-radius: 100%;
        height: 150%;
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: -500px;
        z-index: 1;
    }

    .foodstotrytext {
        margin-left: 55%;
        margin-right: 8%;
    }

    .recipesbanner {
        height: 830px;
    }

    .recipesplate {
        height: 80%;
    }

    .festivalsbanner {
        height: 650px;
    }

    .festivalscircle {
        min-height: 620px;
        height: 40%;
    }

    .contact {
        margin: 60px auto;
    }

    input {
        font-size: 16px;
        padding: 15px 25px;
    }

    input[type="submit"] {
        min-width: 112px;
        font-size: 16px;
    }

    textarea {
        font-size: 16px;
        padding: 15px 25px;
        height: 240px;
    }

    .newentriescloud {
        position: absolute;
        transform: scaleX(-1);
        right: 500px;
        top: -220px;
        z-index: -1;
    }

    .newentriescloud:nth-child(2) {
        position: absolute;
        transform: scaleX(-1);
        right: -250px;
        top: -210px;
        z-index: -1;
    }

    .newentriescloud:nth-child(3) {
        position: absolute;
        transform: scaleX(1);
        right: 400px;
        top: 75%;
        z-index: -1;
    }

    .recipescloud {
        right: -500px;
        top: 20px;
    }

    .recipescloud:nth-child(4) {
        left: -450px;
        top: 600px;
    }

    .contactcloud {
        position: absolute;
        right: -410px;
        top: -110px;
        z-index: -1;
    }

    .contactcloud:nth-child(2) {
        position: absolute;
        left: -60%;
        top: 40%;
        z-index: -1;
    }

    .contactcloud:nth-child(3) {
        position: absolute;
        transform: scaleX(-1);
        right: -40%;
        top: 78%;
        z-index: -1;
    }
}

/* Mobile styles */
@media screen and (max-width: 600px) {
    .foodstotrybanner {
        width: 100%;
        height: 820px;
        overflow: hidden;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .foodstotrybannerimage {
        margin-bottom: -20%;
        margin-top: 0;
        margin-left: 0;
        margin-right: 0;
        height: 55%;
        width: auto;
    }

    .circle {
        background-color: #FBE8BD;
        border-radius: 100%;
        width: 150%;
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: -40%;
        z-index: 1;
        margin-left: 0;
    }

    .foodstotrytext {
        text-align: left;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: -25%;
    }

    .recipesbanner {
        height: auto;
        padding: 80px 0;
    }

    .recipesplate {
        height: 654;
    }

    .legendsbanner {
        width: 100%;
        max-height: 760px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #FBE8BD;
    }

    .sunwukong {
        height: 350px;
        object-fit: cover;
        width: 100%;
    }

    .legendstext {
        text-align: left;
        margin: 10px 40px 40px 40px;
    }

    .festivalsbanner {
        width: 100%;
        height: 960px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .festivalsbannerimage {
        background-image: url(../image/festivalsbanner.jpg);
        background-position: top left;
        background-repeat: no-repeat;
        background-size: cover;
        height: 500px;
        width: 100%;
        justify-content: space-between;
        margin-top: -550px;
    }

    .festivalscircle {
        min-height: 620px;
        height: 40%;
        margin-top: 550px;
    }

    .festivalstext {
        margin: auto;
        width: 50%;
    }

    .short {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    input {
        padding: 10px 20px;
    }

    textarea {
        padding: 10px 20px;
        height: 240px;
    }

    input::placeholder {
        font-size: 12px;
    }

    textarea::placeholder {
        font-size: 12px;
    }

    .newentriescloud {
        position: absolute;
        transform: scaleX(-1);
        right: 70%;
        top: 220px;
        z-index: -1;
    }

    .newentriescloud:nth-child(2) {
        position: absolute;
        transform: scaleX(-1);
        right: -230px;
        top: -110px;
        z-index: -1;
    }

    .newentriescloud:nth-child(3) {
        position: absolute;
        transform: scaleX(1);
        right: 100px;
        top: 93%;
        z-index: -1;
    }

    .recipescloud {
        right: -100px;
        top: 10px;
    }

    .recipescloud:nth-child(2) {
        display: none;
    }

    .recipescloud:nth-child(3) {
        display: none;
    }

    .recipescloud:nth-child(4) {
        left: -150px;
        top: 670px;
    }

    .contactcloud {
        position: absolute;
        right: -330px;
        top: -90px;
        z-index: -1;
    }

    .contactcloud:nth-child(2) {
        position: absolute;
        left: -65%;
        top: 42%;
        z-index: -1;
    }

    .contactcloud:nth-child(3) {
        position: absolute;
        transform: scaleX(-1);
        right: -70%;
        top: 90%;
        z-index: -1;
    }
}

/* Small Mobile styles */
@media screen and (max-width: 365px) {
    h1 {
        margin-top: -20px;
        margin-bottom: 30px;
    }

    .foodstotrybanner {
        width: 100%;
        height: 820px;
        overflow: hidden;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }

    .foodstotrybannerimage {
        margin-bottom: -20%;
        margin-top: -50px;
        margin-left: 0;
        margin-right: 0;
        height: 55%;
        width: auto;
    }

    .circle {
        background-color: #FBE8BD;
        border-radius: 100%;
        width: 180%;
        aspect-ratio: 1/1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: -40%;
        z-index: 1;
        margin-left: 0;
    }

    .foodstotrytext {
        text-align: left;
        margin-left: 25%;
        margin-right: 25%;
        margin-top: -25%;
    }

    .recipestext {
        width: 40%;
        margin-top: -10px;
    }

    .festivalsbanner {
        width: 100%;
        height: 960px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .festivalsbannerimage {
        background-image: url(../image/festivalsbanner.jpg);
        background-position: top left;
        background-repeat: no-repeat;
        background-size: cover;
        height: 500px;
        width: 100%;
        justify-content: space-between;
        margin-top: -550px;
    }

    .festivalscircle {
        min-height: 620px;
        height: 40%;
        margin-top: 550px;
    }

    .festivalstext {
        margin: auto;
        width: 40%;
    }
}