@import url('https://fonts.googleapis.com/css?family=Fanwood+Text:400,400i&display=swap');

@keyframes fadein {
  0% {opacity: 0;}
  100% {opacity: 1;}
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  50% {
    transform: translate(0);
  }
  100% {
    opacity: 1;
  }
}

/* General */
body {
	font-family: Lato;
	font-size: 16px;
  font-weight: 600;
	line-height: 1;
  text-transform: uppercase;
  letter-spacing:1.2px ;
	background-color: #ffffff;
	color: #222222;
  overflow-x: hidden;
}

a, a:hover {
  color: #222;
  text-decoration: none;
}

/* Header Section */
header {
  display: flex;
  top: 0;
  left: 0;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding-top: 40px;
  padding-left: 180px;
  padding-right: 180px;
  z-index: 10;
  transition: all 0.5s ease;
}

.hidden {
  transform: translateY(-100%);
}

header nav a {
  color: #29367e;
}

header img {
  width: 72px;
}

/* Menu Section */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 550px;
  height: 100vh;
  background-color: #f0f0f0;
  padding-right: 50px;
  padding-left: 50px;
  padding-top: 150px;
  z-index: 5;
  
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.open {
  transform: translateX(0);
}

.menu p {
  text-transform: none;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 400;
  color: #29367e;
  letter-spacing: 0.3px;
  margin-bottom: 30px;
}

.intro p:last-child {
  margin-bottom: 80px;
}

.discription p:nth-child(2){
  margin-bottom: 80px;
}

.social {
  font-size: 14px;
  text-align: center;
}

.social a {
  padding: 24px;
  margin-right: 30px;
  margin-left: 30px;
  color: #29367e;
}

nav a:hover {
  color: #29367e;
}
/* Quote Section */
.quote {
  padding-top: 150px;
  width: 56%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-transform: none;
  font-family: Fanwood Text;
  font-style: italic;
  line-height: 1.22;
  letter-spacing: 0.4px;
  color:#29367e;
  font-weight: 400;
  margin-bottom: 120px;
}

.quote h2 {
  font-size: 30px;
}

.appear {
  opacity: 0;
  animation-name: slideIn;
  animation-duration: 2s;
  animation-delay: 1s;
  animation-fill-mode: forwards;
}


/* Image Section */
/* Orphan-stars */
.albums {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}

.orphan-stars {
  position: relative;
  text-align: center;
}

.orphan-stars a {
  display: inline-block;
  position: relative;
  width: 44%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.orphan-stars img {
  width: 100%;
  display: inline-block;
}
.orphan-stars li {
  display: inline-block;
  position: absolute;
  left:0;
  margin-top: 22px;
  text-align: left;
}

/* Canning-town */
.canning-town {
  position: relative;
  margin-top: 220px;
}

.canning-town a {
  display: inline-block;
  position: relative;
  width: 56%;
  max-width: 896px;
  margin-left: 10%;
}

.canning-town li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* A-trip-in-asia Section */
.the-trip-to-asia {
  position: relative;
  margin-top: 220px;
}

.the-trip-to-asia a {
  display: inline-block;
  position: relative;
  width: 56%;
  max-width: 896px;
  margin-left: 34%;
}

.the-trip-to-asia li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* London Section */
.life-in-london {
  position: relative;
  margin-top: 220px;
}

.life-in-london a {
  display: inline-block;
  position: relative;
  width: 68%;
  margin-right: 32%;
  max-width: 1088px;
}

.life-in-london li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* In-Conversation Section */
.in-conversation {
  position: relative;
  margin-top: 220px;
}

.in-conversation a {
  display: inline-block;
  position: relative;
  width: 56%;
  max-width: 896px;
  margin-left: 44%;
}

.in-conversation li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* Pride-day Section */
.pride-day {
  position: relative;
  margin-top: 220px;
}

.pride-day a {
  display: inline-block;
  position: relative;
  width: 56%;
  max-width: 896px;
  margin-left: 10%;
}

.pride-day li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* Cuban-story Section */
.cuban-stories {
  position: relative;
  text-align: center;
  margin-top: 220px;
}

.cuban-stories a {
  display: inline-block;
  position: relative;
  width: 44%;
  max-width: 704px;
  margin-left: auto;
  margin-right: auto;
}

.cuban-stories img {
  width: 100%;
  display: inline-block;
}
.cuban-stories li {
  display: inline-block;
  position: absolute;
  left:0;
  margin-top: 22px;
  text-align: left;
}

/* Space Section */
.somewhere-empty {
  position: relative;
  margin-top: 220px;
}

.somewhere-empty a {
  display: inline-block;
  position: relative;
  width: 68%;
  max-width: 1088px;
  margin-left: 32%;
}

.somewhere-empty li {
  display: inline-block;
  position: absolute;
  left: 0;
  margin-top: 22px;
  text-align: left;
}

/* On-hover Effect */
.albums li:after {
    content: '';
    display: block;
    margin: 3px auto auto 0;
    height: 3px;
    width: 0px;
    background: transparent;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.albums a:hover :after {
    width: 100%;
    background-color:#29367e;
}

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.cover {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cover img {
  max-width: 100%;
  -moz-transition: all 0.5s;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.cover:hover img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Back Link */
.back {
  text-align: center;
  display: inline-block;
  margin-left: 50%;
  transform: translateX(-50%);
  margin-top: 80px;
}

.back li:after {
    content: '';
    display: block;
    margin: 3px auto auto 0;
    height: 3px;
    width: 0px;
    background: transparent;
    transition: width 0.5s ease, background-color 0.5s ease;
}

.back a:hover :after {
    width: 100%;
    background-color:#29367e;
}

/* Footer Section */
footer {
  font-weight: 400;
  font-size: 12px;
  margin-top: 160px;
  margin-bottom: 40px;
  text-align: center;
}

/* Content Pages */
.slideshow {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.holder {
  position: relative;
  top: 0;
  left: 0;
  width: 10000vw;
  height: 100vh;
  transition: left 200ms;
}

.holder div {
  position: relative;
  float: left;
  width: 100vw;
  height: 100vh;
}

.holder .rec-h img {
  position: relative;
  width: 52%;
  margin-left: 24%;
  margin-right: 24%;
  top: 50%;
  transform: translateY(-50%);
}

.holder .square img {
  position: relative;
  width: 36%;
  margin-left: 32%;
  margin-right: 32%;
  max-width: 1024px;
  top: 50%;
  transform: translateY(-50%);
}

.holder .rec-v img {
  position: relative;
  width: 28%;
  margin-left: 36%;
  margin-right: 36%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
}

.controller {
  position: absolute;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  font-weight: 700;
  font-size: 16px;
}

.controller a {
  color: #29367e;
  padding: 180px 180px;
}

.steps {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: Fanwood Text;
  font-size: 14px;
  color: #29367e;
}
 



/* Media request */
@media (max-width:1920px) {
  .albums {
    margin-left: 60px;
  	margin-right: 60px;
  }
  
  .holder .rec-h img {
    position: relative;
    width: 56%;
    margin-left: 22%;
    margin-right: 22%;
    top: 50%;
    transform: translateY(-50%);
  }

  .holder .square img {
    position: relative;
    width: 40%;
    margin-left: 30%;
    margin-right: 30%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
  }

  .holder .rec-v img {
    position: relative;
    width: 28%;
    margin-left: 36%;
    margin-right: 36%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width:1440px) {
  header {
    padding-left: 60px;
  	padding-right: 60px;
  }
  
  .controller a {
  	padding-left: 60px;
    padding-right: 60px;
}
}

@media (max-width:800px) {
  header img {
  width: 64px;
}
  
  header {
    padding-left: 32px;
    padding-right: 32px;
  }
  
  body {
    font-size: 14px;
  }
  
  .menu {
    padding-top: 140px;
  }
  
  .menu p {
    font-size: 18px;
  }
  
  .intro p:last-child {
  	margin-bottom: 60px;
}

	.discription p:nth-child(2){
  	margin-bottom: 60px;
}
  
  .quote {
    width: 70%;
    padding-top: 140px;
    margin-bottom: 80px;
  }
  
  .quote h2 {
    font-size: 26px;
  }

  
  .albums {
  margin-left: 32px;
  margin-right: 32px;
}
  
  .orphan-stars a {
    width: 52%;
  }
  
  .canning-town {
    margin-top: 170px;
  }
  
  .canning-town a {
    width: 64%;
    margin-left:8%;
  }
  
  .the-trip-to-asia {
    margin-top: 170px;
  }
  
  .the-trip-to-asia a {
    width: 64%;
    margin-left:28%;
  }
  
  .life-in-london {
    margin-top: 170px;
  }
  
  .life-in-london a {
    width: 74%;
  }
  
  .in-conversation {
    margin-top: 170px;
  }
  
  .in-conversation a {
    width: 64%;
    margin-left:36%;
  }
  
  .pride-day {
    margin-top: 170px;
  }
  
  .pride-day a {
    width: 64%;
    margin-left:8%;
  }
  
  .cuban-stories {
    margin-top: 170px;
  }
  .cuban-stories a {
    width: 52%;
  }
  
  .somewhere-empty {
    margin-top: 170px;
  }
  .somewhere-empty a {
    width: 74%;
    margin-left: 26%;
  }
  
  .albums li:after {
    content: '';
    display: block;
    margin: 3px auto auto 0;
    height: 3px;
    width: 100%;
    background: #29367e;
}
  
  .back li:after {
    content: '';
    display: block;
    margin: 3px auto auto 0;
    height: 3px;
    width: 100%;
    background: #29367e;
}
  
  .holder .rec-h img {
  	position: relative;
  	width: 80%;
  	margin-left: 10%;
  	margin-right: 10%;
	}
  
  .holder .square img {
  	position: relative;
  	width: 68%;
  	margin-left: 14%;
  	margin-right: 14%;
	}
  
  .holder .rec-v img {
  	position: relative;
  	width: 48%;
  	margin-left: 26%;
  	margin-right: 26%;
	}
  
  .controller {
  	position: absolute;
  	display: flex;
  	justify-content: space-between;
  	top: 88%;
  	transform: translateY(0);
  	left: 0;
  	width: 100%;
  	font-weight: 700;
  	font-size: 14px;
}

  .controller a {
  	padding: 32px;
}
  
  .steps {
    padding: 32px;
    top:88%;
  }
}

@media (max-width:580px) {
  .menu {
    width: 440px;
  }
  
  .menu p {
    font-size: 16px;
  }
  
  .social a {
    margin-right: 20px;
    margin-left: 20px;
    font-size: 12px;
    padding: 20px;
  }
}

@media (max-width:440px) {
  body{
    font-size: 12px;
    letter-spacing: 1px;
    overflow-x: hidden;
  }
  
  header img {
  width: 48px;
}
  .albums {
  margin-left: 32px;
  margin-right: 32px;
}
  .albums li {
    margin-top: 16px;
  }
  
  header {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 30px;
  }
  
  .menu {
  	width: 320px;
  	height: 100vh;
  	padding-right: 24px;
  	padding-left: 24px;
  	padding-top: 110px;
  	z-index: 5;
}
  
  .menu p {
  	margin-bottom: 24px;
}
  
  .intro p:last-child {
 	 margin-bottom: 50px;
}
  
  .discription p:nth-child(2){
  margin-bottom: 50px;
}

  .social {
    font-size: 14px;
    text-align: center;
  }

  .social a {
    margin-right: 4px;
    margin-left: 4px;
    font-size: 12px;
  }
  
  .quote {
    width: 86%;
    padding-top: 110px;
    margin-bottom: 56px;
  }
  
  .quote h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  
  .orphan-stars a {
    width: 80%;
  }
  
  .canning-town {
    margin-top: 108px;
  }
  
  .canning-town a {
    width: 80%;
    margin-left: 4%;
  }
  
   .the-trip-to-asia {
     margin-top: 108px;
  }
  
  .the-trip-to-asia a{
    width: 80%;
    margin-left: 16%;
  }
  
  .life-in-london {
    margin-top: 108px;
  }
  
  .life-in-london a {
    width: 90%;
  }
  
  .in-conversation {
    margin-top: 108px;
  }
  
  .in-conversation a {
    width: 80%;
    margin-left:20%;
  }
  
  .pride-day {
    margin-top: 108px;
  }
  
  .pride-day a {
    width: 80%;
    margin-left: 4%;
  }
  
  .cuban-stories {
    margin-top: 108px;
  }
  .cuban-stories a {
    width: 80%;
  }
  
  .somewhere-empty {
    margin-top: 108px;
  }
  
  .somewhere-empty a {
    width: 90%;
    margin-left: 10%;
  }
  
  
  footer {
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 12px;
  }
  
  
  .holder .rec-h img,
  .holder .square img{
  	position: relative;
  	width: 100%;
  	margin-left: 0%;
  	margin-right: 0%;
	}
  
  .holder .rec-v img{
  	position: relative;
  	width: 76%;
  	margin-left: 12%;
  	margin-right: 12%;
	}
  
  .controller a {
  	padding: 24px;
}
  
  .steps {
    padding: 24px;
    top:88%;
  }
}





