/* open-sans-300 - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.eot');
  /* IE9 Compat Modes */
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.woff') format('woff'), /* Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-300.svg#OpenSans') format('svg');
  /* Legacy iOS */
}
/* open-sans-regular - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.eot');
  /* IE9 Compat Modes */
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.woff') format('woff'), /* Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-regular.svg#OpenSans') format('svg');
  /* Legacy iOS */
}
/* open-sans-500 - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.eot');
  /* IE9 Compat Modes */
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.woff') format('woff'), /* Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-500.svg#OpenSans') format('svg');
  /* Legacy iOS */
}
/* open-sans-600 - cyrillic_cyrillic-ext_latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.eot');
  /* IE9 Compat Modes */
  src: url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.woff') format('woff'), /* Modern Browsers */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('fonts/open-sans-v34-cyrillic_cyrillic-ext_latin-600.svg#OpenSans') format('svg');
  /* Legacy iOS */
}
body,
html {
  padding: 0;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}
* {
  box-sizing: border-box;
}
.hidden {
  display: none !important;
}
.toggle-button {
  text-align: center;
  padding: 0.5em;
  border-radius: 6px;
  background-color: #000;
  color: #fff;
  cursor: pointer;
  user-select: none;
  font-weight: bold;
}
.toggle-button input {
  display: none;
}
.toggle-button input:checked ~ .off-span,
.toggle-button input:not(:checked) ~ .on-span {
  display: inline-block;
}
.toggle-button input:checked ~ .on-span,
.toggle-button input:not(:checked) ~ .off-span {
  display: none;
}
.toggle-button:hover {
  background-color: #666;
  color: #fff;
}
.lang-switch {
  position: fixed;
  top: 0.5em;
  right: 0.5em;
  width: 5em;
}
.lang-switch .off-span::before,
.lang-switch .on-span::before {
  content: '';
  height: 1em;
  position: relative;
  top: 2px;
  left: -3px;
  display: inline-block;
  aspect-ratio: 3 / 2;
  border: 0.3px solid white;
}
.lang-switch .off-span::before {
  background: linear-gradient(180deg, #000 33.33333%, #d00 33.33333%, #d00 66.66667%, #ffce00 66.66667%);
}
.lang-switch .on-span::before {
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgNjAgMzAiIGhlaWdodD0iNjAwIj4NCjxkZWZzPg0KPGNsaXBQYXRoIGlkPSJ0Ij4NCjxwYXRoIGQ9Im0zMCwxNWgzMHYxNXp2MTVoLTMwemgtMzB2LTE1enYtMTVoMzB6Ii8+DQo8L2NsaXBQYXRoPg0KPC9kZWZzPg0KPHBhdGggZmlsbD0iIzAwMjQ3ZCIgZD0ibTAsMHYzMGg2MHYtMzB6Ii8+DQo8cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iNiIgZD0ibTAsMGw2MCwzMG0wLTMwbC02MCwzMCIvPg0KPHBhdGggc3Ryb2tlPSIjY2YxNDJiIiBzdHJva2Utd2lkdGg9IjQiIGQ9Im0wLDBsNjAsMzBtMC0zMGwtNjAsMzAiIGNsaXAtcGF0aD0idXJsKCN0KSIvPg0KPHBhdGggc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEwIiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjxwYXRoIHN0cm9rZT0iI2NmMTQyYiIgc3Ryb2tlLXdpZHRoPSI2IiBkPSJtMzAsMHYzMG0tMzAtMTVoNjAiLz4NCjwvc3ZnPg0K');
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 500px;
}
@media (max-width: 950px) {
  header {
    height: unset;
    padding: 5em 0;
    flex-direction: column;
  }
}
header .image {
  height: 80%;
  width: 80%;
  display: flex;
  align-items: center;
}
@media (max-width: 950px) {
  header .image {
    margin-left: 10%;
    margin-bottom: 2em;
  }
}
header .image .image-inner {
  max-width: 500px;
  height: 100%;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 50%;
}
header .image .image-inner img {
  width: 100%;
  object-fit: fill;
  object-position: center bottom;
}
header .info-container {
  margin-left: 0em;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 950px) {
  header .info-container {
    text-align: center;
  }
}
@media (max-width: 650px) {
  header .info-container {
    padding: 0 1em;
  }
}
header .info-container .info .name {
  font-size: 3em;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0;
}
@media (max-width: 650px) {
  header .info-container .info .name {
    line-height: 0.9;
  }
}
header .info-container .info .role {
  margin-top: 0;
  padding-top: 0;
  font-size: 1.5em;
  font-weight: 100;
}
header .info-container .info .contact {
  margin: 0;
  padding: 0;
  list-style: none;
}
header .info-container .info .contact li {
  margin-top: 1.5em;
}
header .info-container .info .contact li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #444;
}
header .info-container .info .contact li a:hover {
  color: #01a801;
  text-decoration: underline;
}
header .info-container .info .contact li a .icon {
  margin-right: 0.7em;
}
header .info-container .info p.cv {
  margin-top: 2em;
  color: #444;
}
header .info-container .info p.cv a {
  text-decoration: none;
  color: #444;
}
header .info-container .info p.cv a:hover {
  color: #01a801;
  text-decoration: underline;
}
main .sort-container {
  text-align: right;
  margin-right: 1em;
}
main .sort-container .toggle-sorting .off-span,
main .sort-container .toggle-sorting .on-span {
  width: 110px;
}
main .grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-left: 1em;
}
main .grid .cell {
  width: calc(25% - 1em);
  aspect-ratio: 3/2;
}
@media (max-width: 650px) {
  main .grid .cell {
    aspect-ratio: unset;
  }
}
@media screen and (max-width: 1800px) {
  main .grid .cell {
    width: calc(33.33333% - 1em);
  }
}
@media screen and (max-width: 1400px) {
  main .grid .cell {
    width: calc(50% - 1em);
  }
}
@media screen and (max-width: 950px) {
  main .grid .cell {
    width: calc(100% - 1em);
  }
}
main .grid .cell .cell-inner {
  width: 100%;
  height: 100%;
  border-radius: 1em;
  padding: 1em;
  color: #fff;
}
main .grid .cell .cell-inner.bg-img {
  background-position: center;
  background-size: cover;
}
main .grid .cell .cell-inner.bg2 {
  background-image: linear-gradient(68.4deg, #63fbd7 -0.4%, #05defa 100.2%);
}
main .grid .cell .cell-inner.bg1 {
  background-image: radial-gradient(circle at 110.5% -0.8%, #ceb0d5 0%, #8478b5 90%);
}
main .grid .cell .cell-inner.bg3 {
  background-image: linear-gradient(89.5deg, #f67280 0.2%, #f8b195 90.6%);
}
main .grid .cell .cell-inner.bg4 {
  background-image: radial-gradient(circle at 0.6% 2.9%, #dd0b00 0%, #faff29 100.7%);
}
main .grid .cell .cell-inner.bg5 {
  background-image: radial-gradient(992px at 7.8% 77.5%, #f6ff60 0%, #28d9fc 90%);
}
main .grid .cell .cell-inner.bg6 {
  background-image: linear-gradient(89.4deg, #c20027 0.8%, #0a2368 99.4%);
}
main .grid .cell .cell-inner .title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 1.4em;
  font-weight: 900;
}
main .grid .cell .cell-inner .title a {
  text-decoration: none;
  color: inherit;
}
main .grid .cell .cell-inner .title a::after {
  content: url('img/icons/link.svg');
  position: relative;
  top: 0.1em;
  left: 0.4em;
}
main .grid .cell .cell-inner .title a:hover {
  text-decoration: underline;
}
main .grid .cell .cell-inner .title .date {
  color: #ddd;
}
main .grid .cell .cell-inner .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
main .grid .cell .cell-inner .tags span {
  color: #000;
  font-weight: bold;
  background-color: #fff;
  border-radius: 4px;
  padding: 0.2em 0.5em;
}
main .grid .cell .cell-inner .description a {
  color: white;
  text-decoration: underline;
  font-style: italic;
}
main .grid .cell .cell-inner .description a:hover {
  color: #ddd;
  text-decoration: none;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
}
footer a {
  font-size: 12px;
  margin: 0 1em;
  color: #999;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}
