@font-face {
    font-family: 'Archivo Black';
    src: url('/assets/fonts/ArchivoBlack-Regular.woff2') format('woff2'),
    url('/assets/fonts/ArchivoBlack-Regular.woff') format('woff'),
    url('/assets/fonts/ArchivoBlack-Regular.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/Archivo.woff2') format('woff2'),
    url('/assets/fonts/Archivo.woff') format('woff'),
    url('/assets/fonts/Archivo.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    padding: 20px;

    display: flex;
    flex-direction: column;
    position: relative;

    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
}

main {
    display: flex;
    flex-direction: column;

    flex: 1;
    position: relative;
}

.main-container {
    background-image: url("/assets/images/logo.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    position: relative;
}

header {
    background-color: #FF1616;
    color: white;
    max-width: 100%;
    padding: 10px 36px;
    font-size: 18px;
    text-transform: uppercase;
    position: relative;
}

.lang {
    color: white;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

h1  {
    text-align: center;
}

h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
}

a {
    color: #FF1616;
    padding: 10px 0;
    text-align: center;
    text-transform: uppercase;
}

nav a {
    display: block;
}

a.active {
    background-color: #FF1616;
    color: white;
}

ul {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    padding: 0;
    justify-content: space-between;
    margin: 0;
}

.container {
    position: absolute;
    background: white;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;

    text-align: center;
}

.container.active {
    opacity: 1;
    visibility: visible;
}

strong {
    font-family: 'Archivo Black', sans-serif;
}

p {
    font-family: 'Archivo', sans-serif;
}

table {
    margin: 0 auto;
    max-width: 350px;
    border-collapse: collapse;
}

table td, table th {
    border: 1px solid black;
    padding: 10px;
}
table tr:first-child td, table tr:first-child th {
    border-top: 0;
}
table tr td:first-child, table tr th:first-child {
    border-left: 0;
}
table tr:last-child td, table tr:last-child th {
    border-bottom: 0;
}
table tr td:last-child, table tr th:last-child  {
    border-right: 0;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 calc((100vw - 800px) / 2);
}

form {
    display: flex;
    flex-direction: column;
}

input, textarea {
    margin-bottom: 10px;
    padding: 4px 8px;
    font-family: 'Archivo', sans-serif;
}

button {
    width: 100%;
    padding: 8px;
    font-family: 'Archivo Black', sans-serif;
    text-transform: uppercase;
    background-color: #FF1616;
    color: white;
    border: 0;
    cursor: pointer;
}

.short-text {
    max-width: 350px;
}

.gallery-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    margin: 25px 0;
}

.mobile-title {
    display: none;
}

.desktop-title {
    display: block;
}

@media (max-width: 768px) {
    ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .mobile-title {
        display: block;
    }

    .desktop-title {
        display: none;
    }
}
