@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700&subset=latin-ext');
@import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css);

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Verdana, Geneva, sans-serif;
  text-align: justify;
}

a {
	color: white;
	transition: opacity 0.2s ease-in-out;
	text-decoration: none;
	cursor: pointer;
}

a:hover {
	opacity: 0.7;
}

h3 {
  letter-spacing: 3;
  font-size: 80%;
}

.fullpage-loader {
	position: fixed;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: white;
	transition: opacity 0.2s ease-out;
	opacity: 1;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

.fullpage-loader img {
	width: 50px;
	height: auto;
	margin-bottom: 10px;
}

.fullpage-loader .spinner {
  width: 40px;
  height: 40px;
  background-color: rgb(0,160,223);
  
  border-radius: 100%;  
  -webkit-animation: sk-scaleout 1.0s infinite ease-in-out;
  animation: sk-scaleout 1.0s infinite ease-in-out;
}

@keyframes sk-scaleout {
  0% { 
    transform: scale(0);
  } 100% {
    transform: scale(1.0);
    opacity: 0;
  }
}

.intro {
  display: flex;
  min-height: 80vh;
  background-image: url('images/atmospher.jpg');
  background-size: cover;
  background-position: center;
  align-items: center;
  justify-content: center;
  color: white;
}

.intro .intro-content {
  display: flex;
  max-width: 70%;
  flex-direction: row;
  overflow: hidden;
}

.intro .intro-content > * {
  margin: 30px;
  flex: 1;
}

.intro .intro-content .img-container img {
  display: block;
  width: 100%;
  height: auto;
}

.intro .intro-content .text-container {
  margin-bottom: 20px;
}

.intro .intro-content .text-container p {
  margin: 20px 0;
  color: black;
  line-height: 1.8;
}

.intro .intro-content .text-container .author {
  margin: 30px 0;
  color: rgb(0,160,223);
  letter-spacing: 1;
  font-size: 0.6em;
  font-weight: bold;
}

.intro .intro-content .text-container h2 {
  color: black;
}

.contact {
  display: flex;
  background-color: rgb(0,160,223);
  align-items: center;
  justify-content: center;
  color: white;
  padding: 10px;
}

.contact .contact-container {
  display: flex;
  width: 70%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.contact .contact-container .icons {
  display: flex;
  flex-direction: row;
  font-size: 30px;
}

.contact .contact-container .icons .fa {
  margin: 10px;
}

.contact .contact-container .icons .fa:hover {
  color: rgba(0,0,0, 0.8);
  transition: color 0.2s ease-out;  
}

.contact .contact-container .shop .btn {
  letter-spacing: 5;
  padding: 10px 20px;
  display: block;
  font-weight: bold;
}

.contact .contact-container .shop .btn:hover {
  color: rgba(0,0,0, 0.8);
  transition: color 0.2s ease-out;
}

.shop-big {
  display: block;
}

.shop-small {
  display: none;
}

.gallery {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  background-color: rgba(0, 0, 0, 0.90);
}

.gallery .gallery-entry {
  flex-grow: 1;
  flex-shrink: 1; 
  height: 150px;
  background-position: top center;
  background-size: cover;
  cursor: pointer;
}

.gallery .gallery-entry .gallery-entry-contents {
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 20px;  
}

.gallery .gallery-entry:hover .gallery-entry-contents {
  opacity: 1;
}

.gallery-detail {
  display: flex;
  flex-wrap: nowrap;
  background-color: rgba(0, 0, 0, 0.6);
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}

}

@keyframes slide-up {
	0% {
		position: relative;
		top: 10px;
	}
	100% {
		position: relative;
		top: 0;
	}	
}

.gallery-detail .gallery-entry-content {
  display: flex;
  flex: 1;
  flex-direction: row-reverse;
}


.gallery-detail .gallery-entry-content .img-container {
  flex: 2;
  animation: fade-in 0.5s ease-in-out;
  background-color: #fff;
}

.gallery-detail .gallery-entry-content .img-container img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-detail .gallery-entry-content .text-container {
  flex: 1;
  padding: 50px;
  animation: fade-in 0.5s ease-in-out, slide-up 0.5s ease-out;
  background-color: fff;
  -webkit-box-shadow: 10px 13px 32px -17px rgba(64,64,64,1);
  -moz-box-shadow: 10px 13px 32px -17px rgba(64,64,64,1);
  box-shadow: 10px 13px 32px -17px rgba(64,64,64,1);
  background-color: black;
}

.gallery-detail .gallery-entry-content .text-container p {
  margin: 20px 0;
  line-height: 1.8;
  font-size: 13;
  color: #fff;
}

.gallery-detail .gallery-entry-content .text-container h2 {
  letter-spacing: 5;
  text-align: left;
  color: #fff;
}

.gallery-detail .gallery-entry-content .text-container h3 {
  font-weight: bold;
  color: rgb(0,160,223);
  font-size: 1.2em;
  letter-spacing: 3;
  text-align: left;
}

.gallery-detail .gallery-entry-content:not(.active) {
  display: none;
}

@media (max-width: 800px) {
  .intro .intro-content {
    flex-direction: column;
    max-width: 85%;
  }

  .intro .intro-content .img-container img {
  width: 100%;
  margin-top: 20px;
  }
  
  .cv-big {
  display: none;
  }

  .cv-small {
    display: block;
  }

  .gallery {
    flex-wrap: wrap;
  }
  .gallery .gallery-entry {
    width: 50%;
  }
  
  .gallery-detail .gallery-entry-content {
    display: flex;
    flex-direction: column;
  }

  .gallery-detail .gallery-entry-content .text-container h2 {
  letter-spacing: 5;
  }
}
