img {
    width: 100%;
    height: auto;
    margin-top:10px;
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    column-gap: 10px;
    margin-bottom: 20px;
}
  
.column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

@font-face {
    font-family: 'Falling Script';
    src: url('fonts/FallingScript.woff') format('woff');
}

@font-face {
    font-family: 'ABC Favorit';
    src: url('fonts/ABCFavoritVariable.woff') format('woff');
}

.fade-container {
    position: relative;
}

.fade-in {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

body {
    background: #ffffff;
    padding: 60px 10px 10px 10px;
    height:max-content;
    transition: background 2s ease; /* Add transition for smooth gradient changes */
}

section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 20px;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0.5) 90%, transparent 100%);
    padding: 10px 30px;
}

.arrow {
    background: none;
    border: none;
    font-size: 24px;
    color: #825B5A;
    cursor: pointer;
    padding: 10px;
}

.left-text,
.right-text {
    flex: 1;
}

.left-text {
    text-align: left;
}

.right-text {
    text-align: right;
}

h1 {
    color: #825B5A;
    font-size: 20px;
    font-family: ABC Favorit;
    font-weight: 400;
    line-height: 20px;
    word-wrap: break-word;
}

h2 {
    line-height: 130px;
    text-align: center;
    font-family: ABC Favorit;
    color: #825B5A;
    font-size: 130px;
    font-weight: 400;
    word-wrap: break-word;
    margin: 0;
    position: relative;
}

h3 {
    color: #825B5A;
    font-size: 12px;
    font-family: ABC Favorit;
    margin: 40 0 40 0 px;
    font-weight: 400;
    line-height: 14px;
    word-wrap: break-word;
    text-align: center;
    align-items: center;
}

a {
    color:#825B5A;
    text-decoration: none;
}

p {
    font-family: Falling Script;
    line-height: 100px;
    text-align: center;
    color: #825B5A;
    font-size: 100px;
    font-weight: 400;
    margin: 0;
}

.underline-link {
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-align: center;
}

.underline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: #825B5A;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.underline-link:hover::after {
    transform: scaleX(1);
}

.page-title {
    padding: 100px 0;
}

.hover-image {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background: transparent;
}

.hover-image.show {
    opacity: 1;
}

.hover-image img {
    max-height: 500px;
    height: auto;
    display: block;
    background: transparent;
}

/* Media query for screens smaller than 1400px */
@media only screen and (max-width: 1400px) {
    h2 {
        font-size: 100px;
        line-height: 100px;
    }
    p {
        font-size: 80px;
        line-height: 80px;
    }
    section {
        gap: 20px;
    }
}

/* Media query for screens smaller than 768px (typical smartphones) */
@media only screen and (max-width: 768px) {
body {
    background: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    height: 800px; /* Add height to enable scrolling */
}

section {
    padding-top: 20px;
    margin-top: 4px; /* Further reduce margin for smaller screens */
}

h2 {
    font-size: 36px; /* Adjust font size for smaller screens */
    line-height: 36px;
    margin: 0;
}

p {
    font-size: 36px; /* Decrease font size for smaller screens */
    margin: 0px;
    line-height: 36px;
    padding: 20px;
}
}

/* Media query for screens smaller than 480px (mobile devices) */
@media (max-width: 480px) {
    section {
        gap: 10px;
        height: 100vh;
        padding: 0;
        justify-content: center;
        align-items: center;
    }

    h2 {
        font-size: 44px;
        line-height: 50px;
        margin: 0;
    }

    p {
        font-size: 40px;
        line-height: 40px;
        margin: 0;
        padding: 5px;
    }

    .row {
        margin-bottom: 10px;
    }

    h1 {
        font-size: 16px;
        line-height: 24px;
        margin: 0;
    }

    body {
        padding: 60px 10px 20px 10px;
    }
}