
* {
    -webkit-font-smoothing: antialiased;
    outline: none;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Orator Std';
    src: url('OratorStd.woff2') format('woff2'),
        url('OratorStd.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

html, body {
    width:100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: 'Orator Std', sans-serif;
    color: #555;
    background: #fff;
    font-size: 22px;
    position: fixed;
    text-transform: lowercase;
    -webkit-overflow-scrolling: touch;
}

html {
    overflow: hidden;
}

body {
    overflow: auto;
}

#loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1111;
    background: url("../img/loading.gif") #fff;
    background-size: 32px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

a {
    text-decoration: none;
    color: #555;
}

#wrap {
    display: -webkit-flex;
    display: -ms-flexbox;    
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    height: auto;
    margin: 0;
    height: 100%;
    text-align: center;
}

.container {
  max-width: 60%;
    margin: 0px;
    padding: 0px;
}

.container a {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
    transition: 0.4s;
}

.container a:after {
    content: "";
    display: inline-block;
    min-width: 30px;
    background: pink;
    line-height: 22px;
    margin-left: 10px;
    padding: 0px;
    vertical-align: middle;
    border-bottom: 1px solid #555;    
    transition: 0.4s;
}

.container a:hover {
    color: #000;
}

.container a:hover:after {
    opacity: 0.1;
}

.container a.last:after {
    display: none;
}

.hide {
    opacity: 0.1;
}

.menu {
    position: absolute;
    bottom: 30px;
    left: 0px;
    width: 100%;
    font-size: 18px;    
    transition: 0.4s;
}

.menu, .menu a {
    transition: 0.3s;
}

.menu a:hover {
    color: #000;
}

.menu span {
    display: block;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    height: auto;
    margin: 0px auto;
    width: 100%;
    text-align: center;    
}

.mobile {
    display: none;
}

.lightbox {
	display: none;
	position: fixed;
	z-index: 999;
	width: 100%;
	height: 100%;
	text-align: center;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
    transition: 0.3s;
    z-index: 1;
    overflow-y: auto;
    cursor: url('../img/close.png'), auto;
}

.lightbox img {
	max-width: 90%;
	max-height: 80%;
    display: block;
    margin: 0px auto;
    z-index: 1;
    top: 50%;
    position: relative;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.lightbox img.scroll {
    top: 100px;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    width: 90%;
    height: auto;
    max-height: 20000px;
    padding-bottom: 100px;
}

.lightbox span {
    position: fixed;
    top: 3.5%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    letter-spacing: 0px;
    font-size: 15px;
    line-height: 15px;
    vertical-align: middle;
    z-index: 2;
    padding: 10px 20px 8px 20px;
    background: rgba(0,0,0,0.3);
    transition: 0.3s;
    cursor: pointer;
}

.lightbox span:hover {
    background: rgba(0,0,0,1);
}

.lightbox:target {
	outline: none;
	display: block;
}

.lightbox span.with {
    background: transparent;
    color: #fff;
    opacity: 0.5;
    top: calc(3.5% + 35px);
    cursor: default;
}

.mobile {
    display: none;
}

.pic-content {
    display: none;
}

.container a.pic-toggle span.site {
    display: none;
}


/****  MEDIA QUERIES ****/ 


@media (max-width: 800px) {
    
    .mobile {
        display: block;
    }
    
    .desktop {
        display: none;
    }
    
    html, body {
        overflow: scroll;
        font-size: 18px;
    }
	
    #loading {display: none;}
    
    .menu {
        display: none;
    }
    
    #wrap {
        padding: 50px 0px;
    }

    #wrap, .container {
        align-items: baseline;
        overflow: scroll;
        display: block;
        flex: unset;
    }
    
    .container {
        max-width: 100%;
    }
    
    .container a {
        transition: 0.4s;
        display: block;
        margin: 5px auto;
        flex: unset;
        position: relative;
        font-size: 0.75em;
    }
    
    .container a.lightbox {
        display: none;
    }
    
    .container a.title {
        line-height: 17px;
    }
    
    .container a span {
        display: block;
    }

    .container a.pic-toggle span.site {
        display: none;
        font-size: 13px;
        color: #cdcdcd;
        margin: 5px auto;
        transition: 0.3s;
    }

    .container a.pic-toggle.active span.site {
        display: table;
    }    
    
    .container a.title span.big {
        font-size: 25px;
        margin: 0px auto 5px auto;
    }
    
    .container a.title span.small {
        font-size: 15px;
    }    
    
    .container a.email {
        font-size: 15px;
        margin: -7px auto 50px auto;
    } 

    .container a:after {
        display: none;
    }
    
    .container img {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    
    .lightbox, .lightbox:target, .lightbox img, .lightbox span {
        display: none;
        opacity: 0;
    }
   
  .pic-toggle {cursor: pointer;}
  .pic-content {display: none;}
  .pic-content.default {display: block;}    
    
}


/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 768px)
  and (orientation: landscape) {

}
