@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body.tm-page {
    margin: 0;
    min-height: 100vh;
    background: #e0e0e0;
    color: #2b2b2b;
    font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* page width */
.tm-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px 16px 60px;
}

/* Logo top-left */
.tm-logo {
    padding: 10px 0 0 10px;
}

.tm-flag {
    filter: saturate(1.45) contrast(1.12);
}

.tm-flag {
    width: 110px;
    height: 74px;
    object-fit: cover;
}

.tm-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    display: block;
}

/* Grid in center */
.tm-grid {
    margin-top: 190px;
    display: flex;
    justify-content: center;
    gap: 110px;
    flex-wrap: wrap;
}

/* One language option */
.tm-item {
    width: 210px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Flag */
.tm-flag {
    width: 110px;
    height: 74px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    box-shadow: 0 2px 0 rgba(0, 0, 0, .10);
}

/* Text under flag */
.tm-text {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.25;
    color: rgba(0, 0, 0, .85);
}

.tm-text span {
    display: block;
}

/* Responsive */
@media (max-width: 900px) {
    .tm-grid {
        gap: 50px;
        margin-top: 110px;
    }
}