/*reset sheet*/
a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

.clear {
  clear: both;
}

@font-face {
  font-family: "Acre";
  src: url(../fonts/Acre-Medium.otf);
}

@font-face {
  font-family: "Lora";
  src: url(../fonts/Lora-Regular.ttf);
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  font-size: 10pt;
}

#overlay {
  z-index: 1;
  background: #0000;
  position: fixed;
  width: 100%;
  height: 100vh;
  transition: .3s ease-in-out all;
}

header {
  margin: 5px;
  border-radius: 5px;
  background: #fff0;
  position: fixed;
  top: 0;
  z-index: 1;
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  transition: .2s ease-in-out all;
}

nav  {
  position: relative;
}

#menu-button-container {
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: none;
}

#menu-button {
  position: relative;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 16px;
  height: 8px;
  left: 18px;
}

#button-top, #button-bottom {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #666;
  content: "";
}

#button-top {
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transition: .1s ease-in-out background;
}

#button-bottom {
  bottom: 0;
  -ms-transform: translateY(50%);
  transform: translateY(50%);
  transition: .1s ease-in-out background;
}

#menu-button-container:hover #button-top, #menu-button-container:hover #button-bottom {
  background: black;
}

#menu {
  margin: 20px 0;
  position: relative;
  top: 0;
  overflow: hidden;
}

#menu ul {
  overflow: hidden;
  white-space: nowrap;
}

#menu li {
  padding: 0 30px;
}

#menu a {
  display: block;
}

a {
  text-decoration: none;
}

nav a {
  display: inline-block;
  font-family: 'Acre', sans-serif;
  text-transform: uppercase;
  line-height: 50px;
  color: #888;
  font-size: 1em;
  letter-spacing: .4em;
  transition: .1s ease-in-out all;
  position: relative;
}

nav a:hover {
  color: #000;
}

main {
  width: 100%;
  margin: 0 auto; 
  padding-top: 200px;
}

#introduction {
  max-width: 800px;
  margin: 0 auto;
}

p {
  padding: 0 30px;
  font-family: 'Lora', sans-serif;
  line-height: 1.5em;
  letter-spacing: .1em;
  text-align: justify;
}

p:not(:last-child) {
  margin-bottom: 1em;
}

.testtest {
  max-width: 1300px;
  margin: 200px auto;
}

.testtest h1 {
  text-align: center;
  
  line-height: 100px;
  letter-spacing: .2em;
  font-family: 'Acre', sans-serif;
  text-transform: uppercase;
  font-size: 2em;
}

.cards-cont {
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0 auto;
  position: relative;
}

.card-cont {
  width: 33.3333%;
  display: block;
  float: left;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: flex;
}

img, video {
  margin: 15px;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  border-radius: 3px;
  -webkit-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  box-shadow: 0px 2px 5px 0px rgba(0,0,0,0.1);
  transition: .1s ease-in-out all;
  width: 100%;
  height: auto;
  overflow: hidden;
}



footer {
  color: #aaa;
  background: #000;
  padding: 50px;
  font-family: 'Acre', sans-serif;
}


/*3 columns*/
@media screen and (max-width: 1650px) {
  .card-cont {
    width: 33.333%;
  }
}

/*2 columns*/
@media screen and (max-width: 1350px) {
  .card-cont {
    width: 50%;
  }
}

/*1 column*/
@media screen and (max-width: 700px) {
  .cards-cont {
    padding: 0;
  }
  
  .card-cont {
      width: 100%;
  }
  
  img, video {
    margin: 15px 0;
    border-radius: 0;
    box-shadow: none;
  }
}




/*hamburger-menu*/
@media only screen and (max-width: 1899px) {
  header {
    width: 50px;
background: #fffb;
  }
  
  #menu {
    margin: 0;
    overflow: hidden;
    height: 0;
    transition: .3s ease-in-out height;
  }
  
  #menu:not(.expanded) {
    transition: .2s ease-in-out height;
  }
    
  #menu-button-container {
    display: block;
  }
  
  #menu li {
    padding: 0 18px;
  }
    
  #menu a {
    width: 100%;
  }
    
  #menu {
    width: 100%;
    display: block;
  }
    
  #menu a {
    text-align: left;
    padding-left: 0;
    line-height: 50px;
  }
    
  #menu a div {
    top: 40px;
    left: 0;
  }
}