:root {
    /* Light colors */
    --background-color: #FFFFFF;
    --text-color: #000000;
    --border-color: rgba(0, 0, 0, 0.2);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Background */
    background-color: var(--background-color);

    /* Size */
    min-height: 100dvh;

    /* Font */
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;

    color: var(--text-color);

    /* Order */
    display: flex;
    flex-direction: column;

    transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode {
    /* Dark colors */
    --background-color: #121212;
    --text-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.2);
}

.text-alt {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.t-semi-bold {
    font-weight: 600;
}

.t-size-2 {
    font-size: 2.1rem;
}

.t-size-1 {
    font-size: 1.1rem;
}

.frame {
    margin: 20px 30px;

    /* Sizing */
    flex-grow: 1;

    /* Order */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top, .mid, .bot, .foot {
    width: 100%;
}

.top {
    flex: 1.5;

    display: flex;
    flex-direction: row;
    justify-content: space-between;

    border-bottom: 1px solid var(--border-color);

    transition: border-color 0.4s ease;
}

.mid {
    flex: 7;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.bot {
    flex: 1;
}

.foot {
    flex: 0.5;

    text-align: center;
}

.block-01 {
    width: 50%;
    padding: 50px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.texts {
    width: 65%;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-02 {
    width: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.img-size {
    width: 70%;
    height: auto;

    aspect-ratio: 1/1;

    object-fit: contain;

    max-width: 500px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.name {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

#btn-lang {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#btn-lang:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

#btn-theme {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#btn-theme:hover {
    background-color: var(--text-color);
    color: var(--background-color);
}

@media (max-width: 768px) {
    .top {
        padding-bottom: 10px;
    }

    .mid {
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    .bot {
        padding: 10px 0px;
    }

    .block-01, .block-02 {
        width: 100%;
    }

    .block-01 {
        padding: 0px;
    }

    .texts {
        width: 90%;
        text-align: center;
        align-items: center;
    }

    .img-size {
        width: 50%;
    }

    .frame {
        margin: 20px;
    }
}