@import url('https://fonts.googleapis.com/css2?family=Fira+Sans&display=swap');

html,
body {
  height: 100%;
  font-family: 'Fira Sans', sans-serif;
  font-size: 1em;
  overflow-y: hidden;
}

/* MENU */

.container {
  position: relative; 
  min-height: 100%; 
  overflow: hidden;
  padding: 1em;
}

#nav {
  display: none;
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  padding: 0em;
  box-sizing: border-box;
  color: white;
}

#nav.menu-open {
  display: block; 
  z-index: 1;
}

@media screen and (max-width: 1025px) {
  #nav.menu-open {
  background-color:white; 
}
}

#open,
#close {
  display: flex; 
  float: left;
  align-items: center;
  height: 2em;
  cursor: pointer;
  position: fixed;
  left: 1em;
  bottom: 2em;
  z-index: 10;
}

.menu-label {
  margin-left: 0.5em;
}

.menu-symbol {
  position: relative;
  width: 2em;
  margin-bottom: 0.2em;
}

.menu-line {
  position: absolute;
  width: 2em;
  height: 0.2em;
  background-color: black;
}

.menu-line-1 {
  transform: translateY(-0.5em);
}
.menu-line-2 {
  visibility: translateY(0);
}
.menu-line-3 {
  transform: translateY(0.5em);
}

.menu-open .menu-line {
  background-color: black;
}

.menu-open .menu-line-1 {
  transform: rotate(45deg);
}
.menu-open .menu-line-2 {
  visibility: hidden;
}
.menu-open .menu-line-3 {
  transform: rotate(-45deg);
}

#open.menu-open {
  visibility: hidden;

}

.menu {
  margin: 1em 0 0 0;
  padding: 0;
  padding-left: 0.5em;
  font-size: 200%;
  font-weight: 100;
  list-style: none;
  color: black;
  margin-top: 4em;
  float: right;
  position: fixed;
}

.no-js #open,
.no-js #close {
  display: none; 
}

.no-js #nav {
  display: block;
  z-index: 2; 
  position: static;
  height: auto;
  margin-bottom: 2em;
  padding: 0;
  color: red;
}

.no-js .menu {
  display: flex; 
  flex-wrap: wrap;
  margin-top: 0;
  font-size: 100%;
}

.no-js .menu li {
  margin-right: 1em;
  margin-bottom: 0.5em;
}

/* IMAGENES */

img {
  width: 100%;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* LOGO */

.logo {
  position: fixed;
  float: left;
  top: -0.7em;
  left: 1em;
  z-index: 20;
  max-width: 22vh;
}

/* MENU FONT */

.amenu {
  font-size: 5vh;
}

/* LANGUAGES */

.lang {
  font-size: 4vh;
}

/* BODY */

.body {
  max-width: 42em;
  margin: 0 auto;
  margin-top: 7em;
  margin-bottom: 7em;
  color: black; 
}

/* LINKS */

a {
  color: black;
  text-decoration: underline;
}

hr {
  border: 1px solid black;
  margin-bottom: 14px;
}

h1 {
  color: black;
  font-size: 6vh;
}

h2 {
  color: black;
  font-size: 5vh;
}

h3 {
  color: black;
  font-size: 4vh;
}

p {
  font-size: 2.8vh;
  line-height: 1.4em;
}

::-moz-selection { 
  color: white;
  background: black;
}

::selection {
  color: white;
  background: black;
}

/* MARQUEE */

.marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 10vh;
  overflow-x: hidden;
  font-size: 7vh;
  padding-top: 1rem;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 24s linear infinite;
  color: black;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}