* {
    box-sizing: border-box; 
}


@font-face {
  font-family: 'Routed Gothic';
  src: url('fonts/RoutedGothic.eot');
  src: url('fonts/RoutedGothic.eot?#iefix') format('embedded-opentype'),
      url('fonts/RoutedGothic.woff2') format('woff2'),
      url('fonts/RoutedGothic.woff') format('woff'),
      url('fonts/RoutedGothic.svg#RoutedGothic') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


html, .root {
  font-size: 20px;
  line-height: 26px;
}
body, .article {
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.3rem;
}
h1, .h1 {
  font-size: 2.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 1.3rem;
}
h2, .h2 {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h3, .h3 {
  font-size: 1.6rem;
  line-height: 2.6rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h4, .h4 {
  font-size: 1rem;
  line-height: 1.3rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
h5, .h5 {
  font-size: 1rem;
  line-height: 1.3rem;
  margin-top: 1.3rem;
  margin-bottom: 0rem;
}
p, ul, ol, pre, table, blockquote {
  margin-top: 0rem;
  margin-bottom: 1.3rem;
}
ul ul, ol ol, ul ol, ol ul {
  margin-top: 0rem;
  margin-bottom: 0rem;
}

/* Let's make sure all's aligned */
hr, .hr {
  border: 1px solid;
  margin: -1px 0;
}
a, b, i, strong, em, small, code {
  line-height: 0;
}
sub, sup {
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

body {
    font-family: 'Routed Gothic', monospace;
    /*font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;*/
    max-width: 1240px;
    /*background-color: #f0a10c;*/
    background-color: #2a2438;
    color:rgb(240, 255, 255);
    margin: 0 auto;
    display: flex;
}
  
  img {
    margin-top: 0.80769231em;
    margin-bottom: 0.80769231em;
  }

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

.brief {
  margin: 0 auto;
  margin-top: 10vh;
  padding: 2rem 2rem;
  background-color: whitesmoke;
  color: black;
  font-family: 'Noto Sans';
}

.brief h1 {
  font-size: 2.15rem;
}

.content {
    margin: 0 auto;
    margin-top: 10vh;
    max-width: 1000px;
    min-width: 400px;
    animation: fadeIn 3s;
    padding: 1rem 1rem;
}

/* -- languages menu for startpage -- */

.languages ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  
  
}

.languages li {
  float: left;
  background-color:#ff857c;
  border-radius: 12px;
  
  
}

.languages li a{
  display: block;
  text-align: center;
  padding: 16px 16px;
  color: black;
  text-decoration: none;
}

.languages li a:hover{
  text-decoration: underline;
  background-color: rgba(240, 255, 255, 0.808);
  color: black;
  border-radius: 12px;
}

.languages li a.active-item{text-decoration: underline;} 

/* -- end languages menu section -- */
button {

margin: auto;
display: grid;
border-radius: 5px;
background-color: #ff847c;

}

#refresh img {
  max-width: 100px;
  padding: 2px;
  
}

/* -- footer menu -- */

footer {margin-top: 2rem;
  background-color:rgba(240, 255, 255, 0.321);
  border-radius: 12px;

}

footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

footer li {
  float: left;
  margin-top: 16px;
}

footer li a{
  display: block;
  text-align: center;
  padding: 16px 16px;
  color: black;
  text-decoration: none;
}

#logo {
  float: right;
  max-width: 250px;
  height: auto;
  padding-right: 16px;
}

/* -- footer end --*/

.sound {
  margin: 0.5rem 0rem;
}

#de, #ar, #dgs {
  margin-top: 4rem;
}

.dgs-vid {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gallery {
  display: inline-grid;
  max-width: 90%;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  overflow: hidden;
}

.gallery img {
  justify-content: space-between;
  max-width: 100%;
  height: auto;
  display: inline-block;
}


.sidebysidelayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.sidebysidelayout img {
  margin: 0;
  overflow: hidden;
  max-width: 100%;
}

.stable:after {
  /*content: "\00BB";*/
  content: "\224E";
  margin-right: 2px;
}

a {
  color:#ff847c;
  text-decoration-line: underline;
  font-weight: 900;
}

a:hover {
  background-color:azure;
  border-radius: 9px;
}

a:visited {
  color:#ab5852;
  text-decoration-line: underline;
  font-weight: 600;
}

.changing:after {
  content: "\221E";
  margin-right: 2px;
}

.other:after {
  content: "\00F7";
  margin-right: 2px;
}

.weave:after {
  content: "\229B";
  margin-right: 2px;
}

.access:after {
  content: "\2252";
  margin-right: 2px;
}

.med:after {
  content: "\22B6";
  margin-right: 2px;
}

.comm:after {
  content: "\2312";
  margin-right: 2px;
}

.grief:after {
  content: "\2216";
  margin-right: 2px;
}