@font-face {
    font-family: 'Roselia';
    src: url('../fonts/Roselia-Regular.eot');
    src: url('../fonts/Roselia-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Roselia-Regular.woff2') format('woff2'),
         url('../fonts/Roselia-Regular.woff') format('woff'),
         url('../fonts/Roselia-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: "mr-eaves-xl-modern", sans-serif;
}

body {
    background: linear-gradient(to bottom, #fffdf4 0%, #e5d0bb 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.container {
    text-align: center;
    padding-top: 5px;
}

.top-image {
    width: 50vw;
    height: 50vw;
    max-width: 300px;
    max-height: 300px;
    border-radius: 50%;
    border: 6px solid black;
    object-fit: cover;
    margin: 0 auto;
}

@media (min-width: 600px) {
    .top-image {
        max-width: 400px;
        max-height: 400px;
    }
}

.bottom-spacing {
    height: 50px;
    width: 100%;
}

.link-button1:hover, .link-button2:hover, .link-button3:hover, .link-button4:hover {
    transform: translateY(-2px);
    box-shadow: 5px 6px 0px 0px rgba(0, 0, 0, 1);
}

.link-button1:active, .link-button2:active, .link-button3:active, .link-button4:active {
    transform: translateY(0);
    box-shadow: 5px 2px 0px 0px rgba(0, 0, 0, 1);
}

h1 {
    font-family: 'Roselia', sans-serif;
    text-align: center;
    font-weight: 400;
    margin: 40px 0 0 0;
    font-size: 100px;
    color: #333;
    display: block;
    line-height: .7;
    letter-spacing: normal;
}

.letter {
    display: inline-block;
    margin-right: 0;
}

.letter.h { margin-right: -24px; }
.letter.a { margin-right: -24px; }
.letter.n { margin-right: -26px; }
.letter.s { margin-right: -27px; }
.letter.e { margin-right: -25px; }
.letter.l { margin-right: 0; }
.letter.p { margin-right: -31px; }
.letter.e2 { margin-right: -25px; }
.letter.r { margin-right: -29px; }
.letter.e3 { margin-right: -31px; }
.letter.z { margin-right: -23; }

.subtext {
    font-family: "mr-eaves-xl-modern", sans-serif;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #333;
    margin-top: 8px;
    margin-bottom: 17px;
}

.bio-section {
    font-family: "mr-eaves-xl-modern", sans-serif;
    width: 80%;
    max-width: 500px;
    margin: 10px auto;
    text-align: left;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #333;
}

.bio-section h2 {
    font-family: "mr-eaves-xl-modern", sans-serif;
    font-weight: 800;
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.bio-section p {
    line-height: 1.5;
    margin: 0 auto;
    text-align: left;
}

/* Language Buttons */
.lang-toggle-container {
    display: flex;
    justify-content: center;
    margin: 10px auto;
    width: fit-content;
}

.checkmark {
    color: black;
    font-weight: bold;
    margin-right: 5px;
    display: inline-block;
}

.lang-button,
.lang-button-select {
    background-color: #daa53b;
    color: black;
    border: 4px solid black;
    border-radius: 5px;
    font-size: 20px;
    font-family: "mr-eaves-xl-modern", sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    text-align: center;
    box-shadow: 8px 4px 0px 0px rgba(0,0,0,1);
    margin: 0 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 240px;
    max-width: 100%;
}

/* Selected lang button background */
.lang-button-select {
    background-color: #cb8700;
}

.lang-button:hover, .lang-button-select:hover {
    transform: translateY(-2px);
    box-shadow: 5px 6px 0px 0px rgba(0,0,0,1);
}

.lang-button:active, .lang-button-select:active {
    transform: translateY(0);
    box-shadow: 5px 2px 0px 0px rgba(0,0,0,1);
}

@media (max-width: 600px) {
    .lang-button, .lang-button-select {
        width: 190px;
    }
}

@media (max-width: 400px) {
    .lang-button, .lang-button-select {
        width: 148px;
    }
}

/* Link buttons (original styling retained) */
.link-button1, .link-button2, .link-button3, .link-button4 {
    display: block;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: #dbaa4b; /* Adjust as needed */
    color: white;
    border: 4px solid black;
    border-radius: 5px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 8px 4px 0px 0px rgba(0, 0, 0, 1);
    font-family: "mr-eaves-xl-modern", sans-serif;
    font-weight: 700;
    color: #333;
}

/* Adjust each link-button background as before */
.link-button2 {
    background-color: #dfba7b;
}
.link-button3 {
    background-color: #e3c9a8;
}
.link-button4 {
    background-color: #e5d0bb;
}