@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* Базовые параметры */
#famil p {
    padding-bottom: 10px;
    height: 10px;
}

.language-switcher {
    position: relative;
    z-index: 4;
    top: 0px;
    left: 0px;
    width: 1000px;
    height: 100px;
    padding-left: 0vw;
    padding-top: 5vh;
}

.lang-btn {
    text-decoration: none;
    color: #453b24ff;
    margin-right: 20px;
}

/* Основной контейнер с адаптивным размером шрифта */
#contents {
    position: absolute;
    z-index: 2;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: top;
    justify-content: center;
    flex-direction: row;
    color: #333;
    /* Плавный переход от 9px (1024px) до 13px (2560px) */
    font-size: 12px;
}

.col {
    width: 100vw;
    height: 100%;
}

#left-col {
    padding: 10vh 5vw 0 5vw;
    display: flex;
    align-items: flex-start;
    justify-content: top;
    flex-direction: column;
}

/* Заголовок с адаптивным размером */
#famil {
    width: 70%;
    color: #453b24ff;
    /* Плавный переход от ~20px (1024px) до 48px (2560px) */
    font-size: clamp(20px, 1vw + 1vh, 48px);
    margin-bottom: 5vh;
    font-family: "Major Mono Display", monospace;
    font-weight: 400;
    font-style: normal;
    display: flex;
    align-items: center;
    align-content: space-around;
    justify-content: space-between;
    flex-direction: row;
}

#about {
    width: 100%;
    font-size: inherit;
    text-align: justify;
    line-height: 2;
}

/* Кнопка email с адаптивными размерами */
#email-button {
    margin-top: 50px;
    width: 100%;
    max-width: 100%;
    /* Плавный переход от 40px до 60px */
    height: clamp(50px, 2.5vw + 1vh, 70px);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #b6afa1b7;
    border-radius: 30px;
    text-decoration: none;
    color: #453b24ff;
    cursor: pointer;
    transition: all 0.5s linear;
    background-color: rgba(216, 190, 139, 0.12);
    font-size: inherit;
}

#email-button:hover {
    background-color: rgba(216, 190, 139, 0.29);
    border-color: #b6afa167;
}

#about p span {
    font-weight: bold;
    color: black;
}

#right-col {
    display: none;
}

.col1 {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .language-switcher {
        position: fixed !important;
        z-index: 999999 !important;
        top: 10px !important;
        left: 5vw !important;
    }
    
    .lang-btn {
        padding: 0 0 5px 0 !important;
        font-size: 18px !important;
    }
}