@charset "UTF-8";
/* CSS Document */
@import url('https://fonts.googleapis.com/css?family=Lato');

@media screen and (max-width: 25em){
  html {
      font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) );
  }
}

body {
    background-color: #fff;
    margin: 0;
    font-family: 'Lato', Verdana, sans-serif;
}

header {
    position: fixed;
    width: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #DEDEDE;
    justify-content: center;
    height: 100px;
    top:0;
    z-index: 1000;
}
header img {
    height: 40px;
    position: fixed;
    left: 30px;
}
main {
    display: flex;
}
section {
    margin: 50px auto 80px;
    background-color: #fff;
}
h3 {
    font-weight: normal;
    font-size: 20pt;
    margin-left: -1em;
}
.languages {
    display: flex;
    flex-direction: column;
}
.languages a {
    width: 100%;
    height: auto;
    padding: 10px 0;
    align-items: flex-start;
    font-size: 20pt;
    color: #666;
    text-decoration: none;
}
.languages a:hover {
    opacity: .8;
}

.languages a span:nth-child(2) {
    margin-bottom: 0px;
    font-size: 24pt;
    color: #000;
}






@media screen and ( max-width: 768px ) {
    html { font-size: calc( 22px + (24 - 16) * (100vw - 400px) / (800 - 400) ); }
    header img {display: none;}
    section {margin-left: 0; margin-right: 0; margin-top: 160px;}
    .languages a, .languages a span:nth-child(2), h3 {font-size: inherit;}
    header {justify-content: flex-start; width: calc(100% - 50px); height: 120px;}
    body {padding: 0 25px}
    h3 {padding: 20px 0; margin-left: 0;}
}
