html {
    font-family: sans-serif;
}

body {
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 0 24px;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header__languages {
    position: relative;
}

.lang-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 10px;
    border: none;
    background: #fff;
    color: #111827;
    cursor: pointer;
}

.lang-select:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.lang-select__flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-select__chevron {
    color: #6b7280;
}

.lang-select__current {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-select__current img {
    width: 24px;
    height: 24px;
}

.lang-select__label {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    color: #000000;
}

.lang-select__icon {
    width: 24px;
    height: 24px;
}

.lang-options {
    position: absolute;
    top: calc(100% + 8px);
    left: -50px;
    padding: 8px;
    margin: 0;
    list-style: none;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    cursor: pointer;
}

.lang-option img {
    width: 24px;
    height: 24px;
}

.lang-option:hover {
    background: #f3f4f6;
    border-radius: 10px;
}

.lang-option__text {
    color: rgba(47, 52, 65, 0.88);
}

.lang-option[aria-selected="true"] .lang-option__text {
    color: #5345d2;
}

.main__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 600px;
    padding: 32px;
    border-radius: 16px;
    margin: 0 auto;
    box-shadow: 0px 10px 30px rgba(61,45,100,.04),0px 5px 20px rgba(61,45,100,.018),0px 3px 10px rgba(61,45,100,.02);
    box-sizing: border-box;
}

.main__title {
    font-size: 24px;
    font-weight: 700;
    color: #2f3441;
    text-align: center;
}

.main__subtitle {
    font-size: 16px;
    font-weight: 300;
    color: #2f3441;
    text-align: center;
    margin-bottom: 24px;
}

.main__button {
    margin-top: 8px;
}

.main__button a {
    color: rgb(113, 100, 229);
    text-decoration: none;
}

.main__button a:hover {
    color: rgb(255, 190, 0);
}