@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);
}

.title-table {
  display: block;
}

@media screen and (max-width: 450px) {
  .title-table {
    display: block;
    padding-left: 10px;
  }
}

.long-list {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 450px) {
  .long-list {
    display: flex;
    justify-content: left;
  }
}


* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  --text-color: #FFFFFF;
  --bkg-color: #01579B;
}

body.dark-theme {
  --text-color: #F1F1F1;
  --bkg-color: #202020;
  /* Color green: #c1f436 */
}

body {
  background: var(--bkg-color);
  min-height: 100%;
  margin-top: 10%;
}

@media screen and (max-width: 450px) {
  body {
    background: var(--bkg-color);
    min-height: 100%;
    margin-top: 20%;
  }
}


p, h1, h2, h3, .russian {
  color: var(--text-color);
}



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;
}

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

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

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




/* Links section */

a, a:link, a:visited, a:hover, a:active {
  color: var(--text-color);
}

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

a:link {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  font-size: 20px;
}

a:active {
  text-decoration: underline;
}


/* Tables and lists section */



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;
}








.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 {
  color: var(--text-color);
  font-family: myCustom, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  vertical-align: top;
}

.words-list {
  padding-left: 10px;
}

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

th {
  padding-right: 15px;
}





/* 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, .btn-toggle {
  font-size: 1em;
  cursor: pointer;
  background-color: #222222;
  color: white;
  padding: 10px 15px;
  border: none;
}

.writer {
  width: 30%;
  background-color: #222222;
  color: white;
  font-family: myCustom;
  font-size: 1em;
  font-weight: 700;
  appearance: none;
	border: none;
	outline: none;
  padding: 10px 15px;
}

.word-counter {
  left: 0;
  bottom: 0;
  width: 100%;
  color: white;
  text-align: center;
  padding-bottom: 5px;
}

.word-counter p {
  font-size: 1em;
  font-weight: 700;
}


.openbtn:hover, .btn-toggle:hover {
  background-color: #353535;
}

#main {
  transition: margin-left .5s;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  top: 0;
  left: 0;
  position: fixed;
  z-index: 100;
}

/* 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);
  }
}
*/



/* Text animation e*/


.ml16 {
  color: var(--text-color);
  padding: 0 0;
  font-weight: 800;
  font-size: 1em;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  overflow: hidden;
  text-align: center;
  margin: 0px 10.72px 10.72px 10.72px;
  position: relative;
  z-index: 0;
}

.ml16 .letter {
  display: inline-block;
  line-height: 1em;
  text-align: center;
}

.course-title {
  text-align: center;
  font-size: 40px;
  margin: 26.8px 26.8px 0px 26.8px;
}

.topics-menu {
  text-align: center;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: var(--bkg-color);
  color: var(--text-color);
  text-align: center;
  font-size: 5px;
}