/* ############ FONTS ############ */

@font-face {
  font-family: 'trebuc';
  src: url('../fonts/trebuc.eot');
  src: url('../fonts/trebuc.eot') format('embedded-opentype'),
       url('../fonts/trebuc.woff2') format('woff2'),
       url('../fonts/trebuc.woff') format('woff'),
       url('../fonts/trebuc.ttf') format('truetype'),
       url('../fonts/trebuc.svg#trebuc') format('svg');
}

@font-face {
  font-family: 'trebucbd';
  src: url('../fonts/trebucbd.eot');
  src: url('../fonts/trebucbd.eot') format('embedded-opentype'),
       url('../fonts/trebucbd.woff2') format('woff2'),
       url('../fonts/trebucbd.woff') format('woff'),
       url('../fonts/trebucbd.ttf') format('truetype'),
       url('../fonts/trebucbd.svg#trebucbd') format('svg');
}



/* ############ GLOBAL ############ */

html, body {
	font-family: 'Segoe UI';
	height: 100%;
	font: normal 10px/1.4 arial,sans-serif;
	color: #99a4ab;
	cursor: default;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    font: normal 10px/1.2 arial,sans-serif;
    font-family: 'trebuc';
    color:#ffffff;
    cursor: default;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin:0px;
    padding:0px;
    background-color:#ffffff;
	width:100%;
	height:100%;
	margin:0px;
	padding:0px;
}

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

a:hover{
	opacity:0.6;
}

b, strong {
	font-weight: normal;
}

p {
    display: block;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
    -webkit-margin-before: 0.0em;
    -webkit-margin-after: 0.0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
}
h3, h4, h5, h6 {
	font-weight: normal;
	text-transform: none;
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
p{

}

ol, ul, li {
	list-style: none;
}

ul, menu, dir, li {
    display: block;
    list-style-type: disc;
    -webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}

.clearfix:after{
	display:table;
	clear:both;
	content:"";	
}


/* INDEX */
body{
    height: 100vh;
    width: 100%;
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
body .surround.overlay{
    width: 100%;
    height: 100%;
    background-color: rgba(66,59,57,0.64);
    display: table;
}
body .surround.overlay .inner{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
body .surround.overlay .inner h1 img{
    width: 14rem;
    margin-top: 3.8rem;
    margin-bottom: 3.8rem;
}
body .surround.overlay .inner h2{
    font-size: 2.7rem;
    font-family: 'trebuc';
}
body .surround.overlay .inner h2 a{
    font-size: 2.7rem;
    font-family: 'trebuc';
    color: #ffffff;
}
body .surround.overlay .inner h2 a:hover{
    text-decoration: underline;
    opacity: 1;
}
a.email{
    font-size: 2.1rem;
    font-family: 'trebuc';
    position: absolute;
    right: 5rem;
    bottom: 4rem;
    color: #ffffff;
    text-decoration: underline;
    -webkit-transition: 0.1s linear;
    transition: 0.1s linear;
}
a.email:hover{
    /*text-decoration: underline;*/
    opacity: 1;
    transform: scale(1.02);
    -webkit-transition: 0.1s linear;
    transition: 0.1s linear;
}





/* MEDIA QUERIES */

@media only screen and (max-width: 1199px){
    
}


@media only screen and (max-width: 991px){
    
}


@media only screen and (max-width: 767px){

    html, body {
        font: normal 8px/1.2 arial,sans-serif;
    }
    a.email {
        right: 50%;
        width: 20rem;
        margin-right: -10rem;
        text-align: center;
    }

}


@media only screen and (orientation:landscape) and (max-width: 767px){

    body .surround.overlay .inner h1 img {
        width: 14rem;
        margin-top: -1rem;
        margin-bottom: 3rem;
    }
    a.email {
        font-size: 1.9rem;
        right: 4vw;
        bottom: 3vw;
        text-decoration: underline;
        width: auto;
        margin-right: 0;
    }

}