@font-face {
  font-family: "Lato";
  src: url('font/Lato-Regular.ttf') format('truetype');
}

@font-face {
  font-family: "LatoBlack";
  src: url('font/Lato-Black.ttf') format('truetype');
}

body {
  font-family: 'Lato';
  color: #1a1a1a;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

@media only screen and (max-width: 420px) {
  body {
    font-size: 14px;
  }
}

@media only screen and (max-width: 350px) {
  body {
    font-size: 12px;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'LatoBlack';
  font-weight: 900;
}

p {
  padding: 10px 0px;
  text-align: justify;
}

ul {
  padding-left: 20px;
}

li {
  text-align: justify;
}

a {
  color: #267f95;
}

a:hover {
  font-weight: 900;
}

em {
  padding-right: 2px;
  font-weight: 900;
}

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #000;
  color: #fff;
  padding: 10px;
}


div#splash {
  position: relative;
  margin: 0 auto;
  padding: 0px;
  overflow: hidden;
}

div#splash video {
  min-width: 100%;
  height: 100%;
  display: block;
  margin-left: 50vw;
  transform: translate(-50%);
}

div#splash img {
  position: absolute;
  top: 50px;
  left: 5%;
  max-width: 20%;
}

div#splash div#language-toolbar {
  position: absolute;
  top: 50px;
  right: 5%;
  font-size: 1.5rem;
  background-color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  >span {
    float: right;
    >a {
      text-decoration: none;
    }
  }
  >span#flags {
 /*   visibility: hidden;  */
  }
}

div#splash div#title {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, 0);
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 1.0);
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
}



div#main {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

div#footer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  
  div {
    width: 20%;
    max-width: 500px;
    min-width: 350px;
    padding: 1.5rem;
  }
  
  img.logo {
    padding: 1.5rem;
    padding-top: 6rem;
  }
}

p.nojust {
  text-align: left;
}

div.content {
  width: 90%;
  max-width: 600px;
  box-sizing: border-box;
  padding: 1.5rem;
}

img.photo {
  max-width: 100%;
}