/* RESET Browser defaults
----------------------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;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:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

/* Box sizing border-box by default */
html {
  box-sizing: border-box;
}


/* TAGS
----------------------------------------*/
html {
  font-size: 18px;
}
body {
  font-family: 'Share Tech', sans-serif;
  font-size: 1em;
}
h1 {
  font-size: 1.5em;
}
h2 {
  font-size: 1.2em;
}
a {
  text-decoration: none;
}


/* HELPER CLASSES
----------------------------------------*/
.MT-1 {
  margin-top: 1rem;
}
.MT-2 {
  margin-top: 2rem;
}
.AC {
  text-align: center;
}

.hide {
  display: none;
}


/* LAYOUT
----------------------------------------*/
/*CONTAINER*/
#corpus {
  width: 100%;
  max-width: 800px;
  margin: 2em auto 0;
}

/*CONTAINER ROW*/
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.row:not(.row-1) {
  margin-top: -48px;
}

/*ROW IMG*/
.row img {
  display: block;
  margin: 4px;
  cursor: pointer;

  max-width: 160px;
  height: auto;
	
	-webkit-clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
	
	transition: transform 0.06s ease-out;
}


/*STATUS*/
#status {
  position: absolute;
  top: 0;
  right: 0;

  width: 20%;
  max-width: 100px;
  padding: 1em .5em;
  background: #f5f5f5;

  font-size: 1em;
  text-align: center;
}


/*OVERLAY*/
.overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 1;
 
  display: none;

  align-items: center;
  justify-content: center;
  text-align: center;

  font-size: 5vw;

  color: white;
  background-color: rgba(0, 0, 0, .6);
}

.overlay.reveal {
  display: flex;
}

/*BUTTONS*/
#buttons {
  width: 100%;
  max-width: 500px;
  margin: 2em auto 0;
}

.btns-row {
  position: relative;
  min-height: 2em;
}

.button {
  position: absolute;
  top: 0;
  display: block;
  font-size: 1rem;
  color: #333;
  background: #eee;
  width: auto;
  min-width: 110px;;
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: all .3s ease;
}
.button.hide {
  display: none;
}

.button:hover {
  background: #aaa;
  color: black;
}

#prev-level,
#reset-all-levels {
  left: 0;
}
#next-level,
#reset-level {
  right: 0;
}

#reset-all-levels {
  color: #f5f5f5;
  background: #c41d1d;
}
#reset-all-levels:hover {
  background: #990000;
}


