html {
    font-size: 62.5%;
}

body {
	background-color: #2c2c2c;
	background-image: url(../_img/large/bkg-04.jpg);
	background-size: cover;
	background-position: center center;
	font-size: 1.6rem;
	font-family: 'Muli', sans-serif;
	font-weight: 400;
	color: #fff;
}

section {
	position: relative;
	z-index: 2;
    height: 100vh;
}

.wrapper {
    z-index: -1;
    position: relative;
    padding: 1em;
    padding-bottom: 0;
    background-color: transparent;
    
    transition: background-color .5s;
    
    max-width: 450px;
    margin: 0 auto;
    top: 25vh;
    
     
}

.logo,
.links,
.social {
    width: 100%;
	max-width: 560px;
	fill: rgba(255,255,255,.8);
}


.links {
	padding: 0;
	margin: 1em 0 0 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;	
}
 
 .link {
    color: #fff;
	text-decoration: none;
	position: relative;

	border: 1px solid #fff;
	padding: .5em;
	
	display: flex;
	align-items: center;

	width: calc(50% - .5em);
	height: 5.4rem;
	margin-bottom: 1em;
	min-width: 150px;
}   

a,
a:visited {
    fill: rgba(255,255,255, .8);
}
a:hover {
    fill: #fff;
}

.full-width {
    width: 100%;
}

.link.wide {
    margin-top: 1em;
    width: 100%;    
}

.link::before {
	content:'';
	position: absolute;
	left: 0;
	top:0;
	bottom: 0;
	right: 100%;
	z-index: -1;
	
	background-color: rgba(0,0,0, .4);
	transition: right .3s, background-color 1s;
	
}

.link .icon {
    display: none;
}

/* to reverse hax for IE 10 / 11 */
@supports(display: grid) {
    
    .link .icon {
        display: block;
	    flex: 0 0 1.2em;
        margin: 0 1.2rem 0 .6rem;
    }
}

.link svg,
.link-icon svg {
	opacity: .85;
	transition: opacity .5s;
	width: 100%;
	max-width: 3.2rem;
	max-height: 3.2rem;
}

.link strong {
    font-weight: 600;
}

.link:hover::before {
	right: 0;
}


.social {
    padding: 0;
	margin: 0 0 1em 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
    flex-wrap: nowrap;
    margin-top: 2em;
}

.link-icon {
    position: relative;
    display: block;
    flex: 0 1 auto;
    color: white; 
}

.link-icon strong{
    width: 20%;
    padding: .5em;
    display: inline-block;
}



.link-icon svg {
    margin: 0;
    margin-top: 2em;
    position: relative;
    max-width: 4.4rem;
    max-height: 4.4rem;
    padding: 6px;
    display:none;
}

/*  to reverse hax for IE 10 / 11, 
    since they don't like svg sprites */
@supports (display: grid){
    .social {
        margin-top: 0
    }
    .link-icon strong{
        padding: 0;
        display: none;
    }
    .link-icon svg{
        margin-top:0;
        display: block;    
    }
}

.link-icon {
    background-color: transparent;
    transition: background-color .5s;
    transition-delay: .25s;
    border-radius: 6px;
    
}
.link-icon:hover {
    background-color: rgba(0,0,0,.3);
}

.link-icon::before, 
.link-icon::after {
    border: 0 solid transparent;
    border-radius: 6px;
    box-sizing: border-box;
    content: '';
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
}
.link-icon::before {
    top: 0;
    right: 0;
    border-bottom-width: 3px;
    border-right-width: 3px;
}
.link-icon::after {
    left: 0;
    bottom: 0;
    border-top-width: 3px;
    border-left-width: 3px;
}

.link-icon:hover::before, 
.link-icon:hover::after {
    border-color: transparent;
    transition: border-color 0s, height 0.0625s, width 0.0625s;
    transition-timing-function: linear;
    width: 100%;
    height: 100%;
}

.link-icon:hover::before {
    transition-delay: 0s, 0s, 0.0625s;
}

.link-icon:hover::after {
    transition-delay: 0.125s, 0.125s, 0.1875s;
}




@media (max-width: 600px) {
	.link {
		width: 100%;
	}
}

@media (max-width:480px) {
	section {
		grid-template-columns: 24px auto 24px;
	}
}

/* for modern browsers - not IE 10 or 11 */

@supports(display:grid) {

 /* original css grid version. removed because flex is a bit easier */
/*
    section {
    	display: grid;
    	grid-template-columns: 1fr 3fr 1fr;
    	grid-template-rows: repeat(3, 1fr);
    	grid-template-rows: 1fr auto 1fr;
    	justify-items: center;
    }
    
    
    .wrapper {
    	grid-column: 2 / 3;
    	grid-row: 2 / 3;
    	top: 0;
    	max-width: initial;
    }
*/


    section {
        display: flex;
    }
    .wrapper {
        margin: auto;
        top: 0;
        max-width: initial;
    }

}


.visually-hidden {
    visibility: hidden;
    height: 0;
    margin:0;
}

