
/*
The Cork landing page
Author: Craig Scott 
www.shewasonly.co.uk
*/


html, body {
	margin:0px;
	padding:0px;
	width:100%;
	height: 100%;
	font-size: 16px;
	line-height: 23px;
	background-color: #000;
	color:#fff;
	font-family: "Georgia", serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/*  Add font Face. */

@font-face {
  font-family: 'SangBleu';
  src: url('webfonts/SangBleuSerif-LightItalic-WebS.eot'); /* IE9 Compat Modes */
  src: url('webfonts/SangBleuSerif-LightItalic-WebS.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('webfonts/SangBleuSerif-LightItalic-WebS.woff2') format('woff2'), /* Super Modern Browsers */
       url('webfonts/SangBleuSerif-LightItalic-WebS.woff') format('woff'), /* Pretty Modern Browsers */
       url('webfonts/SangBleuSerif-LightItalic-WebS.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('webfonts/SangBleuSerif-LightItalic-WebS.svg') format('svg'); /* Legacy iOS */
       font-weight: normal;
       font-style: normal;
}

@font-face {
	font-family: 'SackersGothicStd-Heavy';
	src: url('webfonts/3603FD_0_0.eot');
	src: url('webfonts/3603FD_0_0.eot?#iefix') format('embedded-opentype'),url('webfonts/3603FD_0_0.woff2') format('woff2'),url('webfonts/3603FD_0_0.woff') format('woff'),url('webfonts/3603FD_0_0.ttf') format('truetype');

	
	}



ul, li {
	list-style-type: none;
	text-indent: 0px;
	margin:0px;
	padding:0px;
}

a {
	color:inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height:auto;
}

.description {
	width:30%;
	position: absolute;
	right: 0px;
	top:0px;
	height:100%;
}

.description h1 {
	color: #000;
	text-align: right;
	margin-top: 25px;
	margin-right: 25px;
	
}


section {
	width:100%;
	height: 100%;
	 display: flex;
	 align-items: center;
	 justify-content: center;
	 position: relative;
}

#top {
	overflow: hidden;
}

#middle {
	background-color: black;
}

#bottom {
	background-color: #121212;
}

header {
	width:100%;
	height:70px;
	position: fixed;
	top:0px;
	left:0px;
	z-index: 9999;
	transform: translateY(-70px);
	transition: transform 0.4s ease-in-out;
	background-color: #fff;
}

header.sticky {
	transform: translateY(0px);
}


nav {
	width:30%;
	position: absolute;
	left:0px;
	top:0px;
	height: 70px;
	display: flex;
	 align-items: center;
}

nav li {
	display: inline-block;
	padding-left:25px;
	color:#000;
	font-family: 'SackersGothicStd-Heavy';
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.043em;
	font-size:13px
}

.logo {
	width:260px;
	display: block;
	margin: 0 auto;
	margin-bottom: 10px;
}

header .logo {
	width: 210px;
	display: block;
	margin: 0 auto;
	margin-top: 21px;
}

.top-menu {
	position: absolute;
	top:40px;
	left:0px;
	height:70px;
		text-align: center;
	 z-index: 2;
	 width:100%;
}

.top-menu li {
	display: inline-block;
	padding:0px 20px;
	font-family: 'SackersGothicStd-Heavy';
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.043em;
	font-size:13px;
}

.about-text {
	width:36%;
	text-align: center;
	margin:0 auto;
	max-width: 580px;
}

#issue-one, #issue-zero, #issue-two {
	transition: opacity 0.5s ease-in-out;
	opacity: 0;
	
}

#issue-one.issue-show {
	opacity: 1.0;
	transition-delay: 0.5s;
}

#issue-zero.issue-show {
	opacity: 1.0;
	transition-delay: 0.5s;
}

#issue-two.issue-show {
	opacity: 1.0;
	transition-delay: 0.5s;
}





.issue-show {
	opacity: 1.0;
	
	
}

.issue-hide {
	opacity: 0;
}




/* slideshow stuff */

.slideshow {
	width:100%;
	height:100vh;
	position: absolute;
	top:0px;
	left:0px;
	background-color: #000;
	z-index: 0;
	will-change: transform; 
	
}

.slide {
	width:100%;
	height: 100vh;
	background-size: cover;
	background-position: center center;

}

.slick-arrow {
	position: absolute;
	display: none;
}


.next-prev-arrows {
	position: absolute;
	bottom:28px;
	right:30px;
	
	z-index: 999;
}



.one {
	background-image: url("../img/the-cork-1.jpg");
}

.two {
	background-image: url("../img/the-cork-2.jpg");
}

.three {
	background-image: url("../img/the-cork-3.jpg");
}


.slideshow-text {
z-index: 9;
}


h1 {
	font-family: "SackersGothicStd-Heavy";
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.043em;
	font-size: 13px;
	line-height: 17px;
}

h2 {
	 font-family: 'SangBleu';
	 font-weight: normal;
	 font-size: 32px;
	 line-height: 40px;
}


#slideshow-logo {
	fill:white;
}

.line {
	width:1px;
	height:60vh;
	background-color: #fff;
	position: absolute;
	left: 50%;
	transform: translateY(20px);
	will-change: height;  
}

.line-middle {
	width:1px;
	height: 100%;
	background-color: #fff;
	position: absolute;
	left:50%;
}

.spacer {
	height:35vh;
	width:100%;
	position: relative;
}

#middle {
	display: block;
	height: auto;
}


.issues-box {
	width:70%;
	height: 80vh;
	position: relative;
}

.cover {
	width: 50%;
	float: left;
	text-align: right;
}

.details {
	width: 50%;
	float: right;
}

.button {
	min-width: 205px;
	height: 51px;
	font-size: 11px;
	line-height: 48px;
	padding: 0 20px;
	border-color: #FFFFFF;
	color: #FFFFFF !important;
	font-family: "SackersGothicStd-Heavy";
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.043em;
	font-size: 11px;
	position: relative;
	z-index: 9;
	padding: 0;
	background-color: transparent !important;
	position: relative;
	border: 1px solid #fff !important;
	border-color: rgba(255, 255, 255, 0.42) !important;
	text-transform: uppercase;
	transition: all .3s ease;
	transition-delay: .2s;
	letter-spacing: 0.043em;
	overflow: hidden;
	display: inline-block;
	text-align: center;
	cursor: pointer;
}

.button:before {
	content: '';
width: 170px;
background: #fff;
position: absolute;
bottom: 0;
left: 50%;
height: 5px;
margin-left: -85px;
transition: all .3s ease .25s;
}

.button:after {
	content: '';
position: absolute;
left: 0;
top: 100%;
width: 100%;
height: 100%;
background: #fff;
transition: all .2s ease .1s;
z-index: -1;
}

.button:hover {
	border-color: #FFFFFF !important;
	color: #000000 !important;
}

.button:hover:before {
	left: 0;
width: 100% !important;
margin-left: 0 !important;
transition: all .2s ease 0s;
}


.button:hover:after {
	top: 0;
transition: all .2s ease .2s;
}

.issue-toggle {
	border: 1px solid #fff;
	border-color: rgba(255, 255, 255, 0.42) !important;
	margin: 0 auto;
	text-align: center;
	width:625px;
	position:relative;
	}
	
.issue-toggle:before{
		content: '';
width: 170px;
background: #fff;
position: absolute;
bottom: 0;
right: 17px;
height: 5px;
margin-left: -85px;
transition: all .3s ease .25s;
}

.issue-toggle.show-zero:before {
	transform: translateX(-420px);

}

.issue-toggle.show-one:before {
	transform: translateX(-210px);

}

.issue-toggle.show-two:before {
	transform: translateX(0px);

}




.issue-toggle a {
	display: inline-block;
	width:205px;
	color:#fff;
	font-family: "SackersGothicStd-Heavy";
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 0.043em;
	font-size: 11px;
	text-align: center;
	line-height: 48px;
	height: 51px;
}

#one, #two {
	border-left:1px solid #fff;
	border-color: rgba(255, 255, 255, 0.42) !important;
}


.issue {
	position: absolute;
	width:100%;
	height:calc(100% - 52px);
	display: flex;
	align-items: center;
	 justify-content: center;
	
}

#issue-one {
	z-index: 9;
	background-color: #121212;
}


.cover img {
	width:75%;
}

.details {
	
}

.details-wrap {
	margin:40px;
}

.details p {
	width: 250px;
}


/* Timer arrows */

.timer {

  position: relative;
  display: inline-block;
}
.progress {
  -webkit-transform: rotate(-90deg);
          transform: rotate(-90deg);
          cursor: pointer;
}
.progress__value {
  stroke-dasharray: 126.856;
  stroke-dashoffset: 126.856;
  -webkit-animation: progress 4s infinite ;
          animation: progress 4s infinite ;
}

#draw {
	opacity: 0.8;
}


@keyframes progress {
    0%   {stroke-dashoffset: 126.856}
    90%  {stroke-dashoffset: 0;}
    100% {stroke-dashoffset: 126.856}
}


.arrow-line {
	width:18px;
	height:1.5px;
	background-color: white;
	position: absolute;
}

#arrow-right {
	 fill: white;
width: 16px;
display: block;
position: absolute;
top: 12px;
left: 14px;
transform: rotate(-90deg) scale(0.85);
cursor: pointer;
}

#arrow-left {
	 fill: white;
width: 16px;
display: block;
position: absolute;
top: 12px;
left: 14px;
transform: rotate(90deg) scale(0.85);
cursor: pointer;
}

.lighter-stroke {
	stroke: rgba(255, 255, 255, 0.3);
}


/* Footer */

footer {
	width: 100%;
	height: 70px;
	position: absolute;
	bottom:0px;
	left:0px;
	display: flex;
	align-items: center;
	font-size: 14px;
}

footer li {
	display: inline-block;
	text-align: center;
	margin:0 10px;
}

footer ul {
	margin:0 auto;

}


/* Loading Transition */

#slideshow-logo, .subtitle {
	opacity: 0;
	transition: 0.5s opacity ease-in-out;
}

.top-menu, .next-prev-arrows {
	opacity: 0;
}

.line {
	height:0vh; /* remeber 60 */
}



body.hello #slideshow-logo {
	opacity: 1.0;
}

body.hello .subtitle {
	opacity: 1.0;
	transition-delay: 1s;
}

body.hello .top-menu, body.hello .next-prev-arrows {
	opacity: 1.0;
	transition: 1s opacity ease-in-out;
		transition-delay: 1.6s;

	
}

body.hello .line {
	height: 60vh;
	transition: 0.6s height cubic-bezier(.74,.06,.54,1);
	transition-delay: 2.2s;
}


















/* Mobile Styling */

@media only screen and (max-width: 600px) {
    .description {
        display: none;
    }
    
    .about-text {
	    width: 80%;
    }
    
    h2 {
	    font-size: 27px;
		line-height: 35px;
    }
    
    .logo {
	    width: 200px;
	    margin-bottom: 6px;
    }
    
    h1 {
	    font-size: 11px;
	    line-height: 16px;
    }
    
    .top-menu li {
	    font-size: 11px;
	    padding: 0px 10px;
    }
    
    .target li {
	  font-size: 11px;
	  position: absolute;
	  top: 21px;
	  left: 20px;
	  margin: 0px;
	  padding: 0px;
	  display: block;
	   
    }
    
    header.sticky {
	    height: 65px;
    }
    
    header .logo {
	    width:150px;
	    margin-top: 23px;
    }
    
    .target {
	    width: 100%;
    }
    
    .target ul {
	    width: 100%;
		height: 65px;
		position: absolute;
		left: 0px;
		top: 0px;
    }
    
    li.align-right {
	    text-align: right;
		right: 20px;
		left: auto;
    }
    
    .top-menu {
	    top:25px;
    }
    
    .next-prev-arrows {
	    bottom: 20px;
		right: 20px;
    }
    
    .issues-box {
	    width:90%;
    }
    
    .issue-toggle a {
	    width:30%;
    }
    
    .issue-toggle {
	    width: 100%;
    }
    
    .issue-toggle:before {
	    width: 38%;
    }
    
    .issue-toggle.show-zero:before {
	    transform: translateX(-134%);
    }
    
    .issue {
	    display: block;
    }
    
    .cover, .details {
	    width:100%;
	    text-align: center;
    }
    
    .cover img {
	    width: 50%;
	    text-align: center;
    }
    
    .details p {
	    width: 100%;
    }
    
    .details-wrap {
	    margin: 20px;
    }
    
    .cover {
	    margin-top: 40px;
    }
    #bottom h2 {
	    line-height: 15px;
    }
    
    #bottom {
	    height: 120%;
		align-items: baseline;
		padding-top:30px;
	    
    }
    
    
	/*  Fixes for mobile toggle 180815 */

    
    .issue-toggle {
	    border: 0px;
    }
    
    #one, #two {
	    border-left:0px;
    }
    
     .issue-toggle:before {
	    width: 25%;
    }
    
    
  
	.issue-toggle:before {
		right:21px;
	}
  

	.issue-toggle.show-two:before {
	transform: translateX(0px);

	}
	
	.issue-toggle.show-one:before {
	transform: translateX(-106px);

	}
	
		
	.issue-toggle.show-zero:before {
	transform: translateX(-210px)!important;

	}
	
	
    
    
    
    
}

