		body{
		font-family: 'Exo 2', sans-serif;

		}
		.frames {
    width: 31%!important;
    float: left!important;
    margin: 1%!important;
	    background: #fff;
		min-height: 390px;
		transition: 1s;
}
.frames:hover {
    border-radius: 60px;
    transition: 1s;
    box-shadow: 2px 3px 11px #073f43;
}
.frames img {
    width: 100%!important;
}
div#frame->div {
    display: block!important;
}

			/* fullscreen */
			html {
				height:100%;
			}
			body {
				height:100%;
				margin: 0px;
				overflow:hidden; /* disable scrollbars */
				-webkit-tap-highlight-color: rgba(0, 0, 0, 0); /* remove highlight on tab for iOS/Android */
			}
			/* fix for scroll bars on webkit & >=Mac OS X Lion */ 
			::-webkit-scrollbar {
				background-color: rgba(0,0,0,0.5);
				width: 0.75em;
			}
			::-webkit-scrollbar-thumb {
    			background-color:  rgba(255,255,255,0.5);
			}
			
.overlay {
  height: 0%;
  width: 100%;
  position: fixed;
  z-index: 7;
  top: 0;
  left: 0;
 
  background-color: #065359ed;
  overflow-y: hidden;
  transition: 0.5s;
  
}

.overlay-content {
position: relative; 
    text-align: center;
	    height: 95%;
		overflow:auto;
}

.overlay a {
   text-decoration: none;
   display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  top: -26px;
  right: 45px;
  font-size: 60px;
      z-index: 8;
}
h1 {
    color: #fff;
}
@media screen and (max-height: 450px) {
  .overlay {overflow-y: auto;}
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}

.open{
font-size: 30px;
    cursor: pointer;
    position: absolute;
    z-index: 222;
    top: 20px;}
	
	.overlay-content li {
    color: #fff;
    font-family: calibri;
    list-style: none;
    text-align: center;
    font-size: 21px;
}
ul {
    padding: 0px;
}


label, a{
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  display: inline-block;
  color: inherit;
  transition: border 0.5s;
  border-bottom: 5px solid rgba(#8e44ad, 0.2);
  padding: 3px 2px;
  &:hover{
    border-bottom-color: #9b59b6;
  }
}

.layout{
  display: grid;
  width: 100%;
  overflow: hidden;
  grid-template-rows: 50px 1fr;
  grid-template-columns: 1fr 1fr 1fr;
}

input[type="radio"]{
  display: none;
}

label.nav{
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #145056;
  color: #fff;
    text-transform: uppercase;
  user-select: none;
  transition: background 0.5s, padding-left 1s;
  padding-left: 0;
  input[type="radio"]:checked + .page + &{
    background: #9b59b6;
    color: #ffffff;
    padding-left: 20px;
    span{
      padding-left: 20px  
    }
    svg{
      opacity: 1;
    }
  }
  span{
    padding-left: 0px;
    position: relative;
  }
  svg{
    left: 0;
    top: -3px;
    position: absolute;
    width: 15px;
    opacity: 0;
    transition: opacity 0.2s;
  }
}

.page{
  grid-column-start: 1;
  grid-row-start: 2;
  grid-column-end: span 4;
  padding: 0px 20px;
  display: flex;
}

.page-contents > *{
  /*opacity: 0;*/
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
  @for $c from 1 through 20{
    &:nth-child(#{$c}){
      transition-delay: 0.2s + ($c * 0.2s);
    }
  }
}

input[type="radio"] + .page{
  transition: transform 0.2s;
  transform: translateX(100%);
}

input[type="radio"]:checked + .page{
  transform: translateX(0%);
  .page-contents > *{
    opacity: 1;
    transform: translateY(0px);
  }
}

.page-contents{
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

@media(max-width:500px){.frames {
    width: 100%!important;
}}