@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gaegu&display=swap');


@font-face {
    font-family: 'OwlsNInk';
    src: url('../fonts/OwlsNInk.ttf') format('truetype');
}

body {
    background-color: #4B4237;
    color: #DDBEA9;
    font-family: 'Indie Flower', cursive;
    text-align: center;
    margin: 0;
    padding: 20px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    box-sizing: border-box; 
}

.content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
}

h1 {
    font-size: 5rem;
    margin: 20px 0 40px 0;
    position: relative;
    z-index: 1;
    color: #FFE8D6;
}

.main-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    max-width: 1400px;
    margin-top: 20px;
}

.back-button-container {
    background-color: transparent;
    border: none;
    padding: 0;
    width: 180px;
    flex-shrink: 0;
    align-self: flex-start;
    position: sticky;
    top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    z-index: 10;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #CB997E;
    color: #4B4237;
    text-decoration: none;
    border-radius: 15px;
    font-family: 'Gaegu', cursive;
    font-size: 1.6rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.back-button:hover {
    background-color: #DDBEA9;
    transform: scale(1.05);
}


@media (max-width: 1050px) {
    .main-layout {
        flex-direction: column;
        align-items: center;
    }
    .side-menu {
        width: 90%;
        max-width: 600px;
        margin-bottom: 30px;
        position: static;
    }
}

@media (max-width: 480px) {
     h1 { font-size: 3.5rem; }
}