
/*import downloaded font */
@font-face{ 
 font-family: Ailerons;
 src: url("../fonts/Ailerons-Typeface.otf");
}

/* navbar styling */

ul {
    
    list-style-type: none;
    background-color: none;
    align-content: center;
   
}

li a {
    display: block;
    text-decoration: none;
    color: white;
    text-align: center;
    padding: 4px 2px;
    font-size: 20px;
    font-family: "Gruppo"; 
    text-align: left;
    
}

li a:hover {
    text-decoration: none; 
    color: gray;
}

.active {
    background-color: lightslategrey; 
    width: auto; 
    height: 4px; 
    position: relative; 
    top:5px; 
    box-sizing: border-box; 
    overflow: visible;
    border-radius: 5px;

}

/*dropdown navbar Albums */

.dropdown{
    position: relative;  
}

.dropdown-content{
   display: none;
   position:absolute;
   align-content: center;
   box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);   
}
.dropdown:hover {
    background-color:rgb(50, 50, 50);
    width: auto; 
    height: 4px; 
    position: relative; 
    top:5px; 
    box-sizing: border-box; 
    overflow: visible;
    border-radius: 5px;
}

.dropdown:hover span{
    
   color: white;
    
}


.dropdown:hover .dropdown-content{
    display: block;
    background:rgb(50, 50, 50);
    left: 0;
    min-width: 120px;
    text-decoration: none;
       
}

/*.dropdown:hover{background-color:rgb(50, 50, 50); }*/

.dropdown-content a:hover{
    background-color: black;

}

/* various titles styles */

h1{
    
    text-align: center;
    font-family: Ailerons; 
    color: white;
    font-size: 70px;
    letter-spacing: 20px;
    margin-top: 110px;
     
}

h1 span{
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black; 
}


p{letter-spacing: 2px;}

h2{
    
    position: absolute;  
    left: 350px;
    font-size: 30px;
    font-family: "Gruppo"; 
    color: black;
    text-decoration: none;
}


h3{
    font-family: Ailerons;
    font-size: 60px;
    text-align:right; 
    line-height:1em;
}

.contact p{ 
    font-family: Dosis, bold;
    font-size:20px;
    text-align:right; 
}



#aboutName {
    width:340px;
    margin: 0 auto;  
}

.aboutMe{ 
    max-width:340px;
    margin: auto;
    font-family: "Dosis";
    font-size: 20px;
    padding-top: 18px;
  
} 

/*backgroung images for parallax effect, on different pages */

.bgimg1{ 
    background-image: url("../photos/img_0.jpg"); 
    min-height: 750px; 

}

.bgimg2{ 
    background-image: url("../photos/img_00.jpg"); 
    min-height: 670px; 
    max-height: 1000px;
}

.bgimg3{ 
    background-image: url("../photos/img_011.jpg"); 
    min-height: 670px; 
    max-height: 1000px;
}

.bgimg4{ 
    background-image: url("../photos/img_010.jpg"); 
    min-height: 670px; 
    max-height: 1000px;  
}

.bgPortfolio{
    background-image: url("../photos/img_2.jpg"); 
    min-height: 500px; 
    max-height: 1000px;
}

.bgCityscape{
    background-image: url("../photos/img_00.jpg"); 
    min-height: 500px; 
    max-height: 1000px;
    
}

.bgLandscape{
    background-image: url("../photos/img_011.jpg"); 
    min-height: 500px; 
    max-height: 1000px;
}

.bgPeople{
    background-image: url("../photos/img_010-2.jpg"); 
    min-height: 500px; 
     max-height: 1000px;
}

.bgAbout{ 
    background-image: url("../photos/img_001.jpg");
    min-height: 520px;
    max-height: 1000px;
}

.bgReport{
    background-color: black;
    min-height: 120px;
    
}


.bgimg1, .bgimg2, .bgimg3, .bgimg4, .bgPortfolio, .bgCityscape, .bgLandscape, .bgPeople,.bgAbout{ 
    /* Creates the parallax scrolling effect */
    position:relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    
}

.bgContent{
    background-color: white;
    min-height: 800px;
    position:relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bgContentPort{ 
    background-color: white;
    min-height: 1100px;}



/* modal styles */

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 15%;  
    
}
.thumbnail{
 margin: auto;   
}

.padding{
    
  display: inline-block;
  width: 400px; 
  height:200px;
  left: 55px;
       
}

/* The Modal lightbox (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: whitesmoke;
  margin: auto;
  padding: 0;
  max-width: 800px;
 
}


/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 50px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
}

/* Next & previous buttons on modal */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
    padding-top: 120px;
    padding-bottom: 120px;
    
  margin-top: -140px;
  color:lightgray;
  font-weight: bold;
  font-size: 45px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(255, 255, 255, 0.3);
    color: black;
}

/* Number text on modal (1/3 etc) */
.TextNum {
  color: lightgrey;
  font-size: 18px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  font-family: "Gruppo"; 
}

img.demo {
  opacity: 0.6;
}

img.hover-shadow {
  transition: 0.3s;
      
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 
  rgba(125, 132, 142, 0.8), 0 6px 20px 0 rgba(125, 132, 142, 0.8);
    
}

/*Albums names on homepage */
.caption {
  position: absolute;
  left: 0;
  top: 45%;
  width: 100%;
  text-align: center;
  color: black;
}

/* homepage albums Buttons*/
.btn {
    
    padding: 16px 32px;
    text-align: center;
    display: inline-block;
    text-decoration: none;
    top: 50%;
    margin-top: 300px;
    font-size: 30px;
    -webkit-transition-duration: 0.1s; /* Safari */
    transition-duration: 0.1s;
    cursor: pointer;
    font-family: Ailerons;
    letter-spacing: 5px;
    
    
    
}

a {color: inherit;}
a:hover{color: inherit;}

.btnStyle {
    background:rgba(0,0,0,0.8);
    opacity: 0.9;
    color: white;
    border: 1px solid white; 
    
}


.btnStyle:hover {
    text-decoration: none;
    background-color: lightgray; 
    opacity: 1;
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

.btn span {
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: 0.4s;
}

.btn span:after {
  content: '\00bb';
  opacity: 0;
  right: -20px; 
}

.btn:hover span {
  padding-right: 25px;
}

.btn:hover span:after {
  opacity: 1;
  right: 0;
}

/* Masonry layout/grid for pictures */

#container {
	width: 1200px;
	
}

#myImages {
	-moz-column-count: 6;
	-moz-column-gap: 30px;
	-webkit-column-count: 6;
	-webkit-column-gap: 0px;
	column-count: 6;
	column-gap: 0px;
	width: 1200px;
}

#myImages img{
	display: inline-block;
    padding: 2px;
	margin-bottom: 0px;
	width: 115%; 
}


/* responsiveness for different screen sizes */
 
@media only screen and (max-width : 1199px),
only screen and (max-device-width : 1199px){
	#myImages {
		-moz-column-count: 5;
		-moz-column-gap: 30px;
		-webkit-column-count: 5;
		-webkit-column-gap: 0px;
		column-count: 5;
		column-gap: 0px;
		width: 1000px;
	}
	
	#container {
		width: 1000px;
	}
}
 
@media only screen and (max-width : 999px),
only screen and (max-device-width : 999px){
	#myImages {
		-moz-column-count: 4;
		-moz-column-gap: 30px;
		-webkit-column-count: 4;
		-webkit-column-gap: 0px;
		column-count: 4;
		column-gap: 0px;
		width: 800px;
	}
	
	#container {
		width: 800px;
	}
}
 
@media only screen and (max-width : 799px),
only screen and (max-device-width : 799px){
	#myImages {
		-moz-column-count: 3;
		-moz-column-gap: 25px;
		-webkit-column-count: 3;
		-webkit-column-gap: 0px;
		column-count: 3;
		column-gap: 0px;
		width: 600px;
	}
	
	#container {
		width: 600px;
	}
    
    h1{ 
        font-size: 50px; 
    }

    h3{ font-size: 50px;
        text-align: left;
    }

    .contact p{ 
        text-align: left;
        font-size: 18px;
    }

    li a{ font-size: 110%;  
    }
}
 
@media only screen and (max-width : 599px),
only screen and (max-device-width : 599px){
	#myImages {
		-moz-column-count: 2;
		-moz-column-gap: 25px;
		-webkit-column-count: 2;
		-webkit-column-gap: 0px;
		column-count: 2;
		column-gap: 0px;
		width: 400px;
	}
	
	#container {
		width: 400px;
        align-content: center;
	}
    
    h1{ font-size: 40px;
        letter-spacing: 5px; 

    }

    h3{ font-size: 40px;
        text-align: left;
    }

    .contact p{ 
        text-align: left;
        font-size: 15px;
    }

    p{font-size: 15px; }

    li a{ font-size: 110%;

    }
}


@media only screen and (max-width : 399px),
only screen and (max-device-width : 399px){
	#myImages {
		-moz-column-count: 2;
		-moz-column-gap: 25px;
		-webkit-column-count: 2;
		-webkit-column-gap: 0px;
		column-count: 2;
		column-gap: 0px;
		width: 300px;
	}
	
	#container {
		width: 300px;
        
	}
    
    h1{ font-size: 30px;
        letter-spacing: 3px; 

    }

    h3{ font-size: 30px;
        text-align: left;
    }

    .contact p{ 
        text-align: left;
        font-size: 15px;
    }

    p{font-size: 15px; }

    li a{ font-size: 95%;

    }
}


/*animations from https://daneden.github.io/animate.css/ */

.animated {
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}


/*slide down animation */
@-webkit-keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInDown {
  from {
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    visibility: visible;
  }

  to {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.slideInDown {
  -webkit-animation-name: slideInDown;
  animation-name: slideInDown;
}


/*FADE IN UP animation*/
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}


/*FADE IN DOWN animation in homescreen*/
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.fadeInDown {
  -webkit-animation-name: fadeInDown;
  animation-name: fadeInDown;
}


/* scroll down animation on homepage from  https://codepen.io/nxworld/pen/OyRrGy */
section {
	position: relative;
    margin-top: 350px;
    margin-left:-70px;
	width: 100%;
	height: 100%;
}

section::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 80%;
	background: -webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
	background: linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.8) 80%,rgba(0,0,0,.8) 100%);
}

.demo h4 {
	position: absolute;
	bottom: 20px;
	left: 50%;
	z-index: 2;
	display: inline-block;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	color: #fff;
	font-family: Gruppo;
    font-size: 30px;
	letter-spacing: .1em;
	text-decoration: none;
	transition: opacity 0.3s;
}

.demo h4:hover {
	opacity: .8;  
}

#section07 h4 {
	padding-top: 80px;
}

#section07 h4 span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb07 2s infinite;
	animation: sdb07 2s infinite;
	opacity: 0;
	box-sizing: border-box;
}

#section07 h4 span:nth-of-type(1) {
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
#section07 h4 span:nth-of-type(2) {
	top: 16px;
	-webkit-animation-delay: 0.15s;
	animation-delay: 0.15s;
}
#section07 h4 span:nth-of-type(3) {
	top: 32px;
	-webkit-animation-delay: 0.3s;
	animation-delay: 0.3s;
}

@-webkit-keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb07 {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}








