@font-face {
  font-family: Montserrat;
  src: url(/assets/fonts/Montserrat-VariableFont_wght.ttf);
}

@font-face {
  font-family: Montserrat-Italic;
  src: url(/assets/fonts/Montserrat-Italic-VariableFont_wght.ttf);
}

@font-face {
  font-family: myCustom;
  src: url(/assets/fonts/RobotoCondensed-VariableFont_wght.ttf);
}

@font-face {
  font-family: Roboto-Condensed-Italic;
  src: url(/assets/fonts/RobotoCondensed-Italic-VariableFont_wght.ttf);
}

* {
  box-sizing: border-box;
}

.translation {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.column {
  float: left;
  width: 50%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}


table {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

td {
  /*  height: 50px; */
  width: 200px;
  vertical-align: top;
}


/* Links section */

a {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

a:link {
  text-decoration: none;
  color: #0e3979;
}

a:visited {
  text-decoration: none;
  color: #0e3979;
}

a:hover {
  text-decoration: underline;
  color: #0e3979;
}

a:active {
  text-decoration: underline;
  color: #0e3979;
}

.dark-mode a {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.dark-mode a:link {
  text-decoration: none;
  color: #c1f436;
}

.dark-mode a:visited {
  text-decoration: none;
  color: #c1f436;
}

.dark-mode a:hover {
  text-decoration: underline;
  color: #c1f436;
}

.dark-mode a:active {
  text-decoration: underline;
  color: #c1f436;
}




p {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 500;
}

h1 {
  font-family: myCustom, sans-serif;
  font-size: 1.2em;
  font-weight: 900;
  color: #0e3979;
}

h2 {
  font-family: myCustom, sans-serif;
  font-size: 1.1em;
  font-weight: 900;
  color: #0e3979;
}

h3 {
  font-family: myCustom, sans-serif;
  font-size: 1em;
  font-weight: 900;
  color: #0e3979;
}

.russian {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #0e3979;
}

.dark-mode .russian {
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #c1f436;
}

.dark-mode h1 {
  font-family: myCustom, sans-serif;
  font-size: 1.2em;
  font-weight: 900;
  color: #c1f436;
}

.dark-mode h2 {
  font-family: myCustom, sans-serif;
  font-size: 1.1em;
  font-weight: 900;
  color: #c1f436;
}

.dark-mode h3 {
  font-family: myCustom, sans-serif;
  font-size: 1em;
  font-weight: 900;
  color: #c1f436;
}

ul {
  font-family: myCustom, sans-serif;
  font-size: 1.2em;
  font-weight: 700;
}

button {
  font-family: myCustom, sans-serif;
  font-size: 1em;
  font-weight: 700;
}

body {
  background-color: rgb(238, 238, 238);
}

.dark-mode {
  background-color: rgb(32, 32, 32);
  color: rgb(241, 241, 241);
}


/* Experimental zome*/

.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidebar a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 1em;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.openbtn {
  font-size: 1em;
  cursor: pointer;
  background-color: #111;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #444;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 15px;}
  .sidebar a {font-size: 18px;}
}

/*
@media (prefers-color-scheme: dark) {
  body {
    background-color: rgb(32, 32, 32);
    color: rgb(241, 241, 241);
  }
}
*/

/* Checkboxes */

.container {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}