html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #F5E9CE;
}

main {
    margin: 0;
    padding: 0;
    width: 100%;
}

#s-greeting {
    margin: 0;
    padding: 125px 125px 0 125px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: calc(100vh - 125px);
}

#s-greeting-content {
    margin: 0;
    padding: 0;
    width: 100%;
    height: max-content;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 90px;
}

#s-greeting-content>div>h1 {
    color: #450E14;
    font-family: Montserrat, sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin: 0 0 25px 0;
}

#s-greeting-content>div>p {
    color: #450E14;
    font-family: Geologica, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 450;
    line-height: 150%; /* 30px */
    max-width: 590px;
}


#s-greeting-content>img {
    aspect-ratio: 347/462;
    width: auto;
    height: auto;
    max-height: calc( 100vh - 250px );
    border-radius: 100px 5px;
}

.s-greeting-scroll {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.s-greeting-scroll>a {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: #450E14;
    font-family: Geologica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    height: 24px;
    cursor: pointer;
}



@media (max-width: 500px) {

    #s-greeting {
        padding: 100px 25px 0 25px;
        /*min-height: calc(100vh - 100px);*/
        /*max-height: max-content;*/
        height: max-content;
    }

    #s-greeting-content {
        justify-content: flex-start;
        flex-direction: column;
        margin: 0;
        padding: 0;
        gap: 0;
        height: max-content;
        align-items: start;
    }

    #s-greeting-content>img {
        width: 100%;
        /*height: -webkit-fill-available;*/
        height: calc(55%);
        aspect-ratio: unset;
        object-fit: cover;
        margin-bottom: 20px;
    }

    #s-greeting-content>div>h1 {
        font-size: 36px;
        margin: 0 0 10px 0;
    }

    #s-greeting-content>div>p {
        font-size: 18px;
        margin: 0;
    }

    #s-greeting-content>div {
        gap: 10px;
    }
}