/* the body tag contains everything in the page */
body {
  font-family: "EB Garamond";
  font-size: 16px;
  background-color: #ffffff;
  color: #000000;
}

a {
  color: #000000;
  text-decoration: none;
}
header {
  position: relative;
  top: 0px;
  left: 0px;
  width: 100%;
  padding: 10px 20px 5px 20px;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
/*  z-index defines the order of the layers: starting from 1,
  if we increase that value things will go on top. It is particularly
  useful when there are position:absolute/relative because things that
  present that propert will automatically be taken to their own layers, 
  being pushed on top and hiding all the other elements of the page */
  z-index: 2;
}

header h1{
  width: 30px;
  margin-left: 20px;
  margin-top: 5px;
}
.logo .transform-mobile {
  display: none;
}
.logo .transform-desktop {
  display: block;
  transition:  1s ease;
}
 .logo:hover .transform-desktop {
  transform: rotate(360deg);
/*   filter: blur(3px);  */ 
}

header nav a {
  margin-right: 10px;
  transition: filter 0.1s ease-in;
  filter: drop-shadow(0px 0px 0px #000);
  padding-bottom: 2px;
}
header nav a:hover{
  filter: drop-shadow(5px 5px 2px #000);
}

header nav a.selected {
filter: drop-shadow(5px 5px 2px #000);
  float: left;
    margin-right: 300px;
}


.hero-text {
  padding-top: 150px;
  width: 100vw;
  height: 80vh;
  margin-left: auto;
  margin-right: auto;
}

.hero-text h2,h3,h4 {
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
}

.hero-text h2{
  max-width: 800px;
  font-size: 36px;
}

.hero-text h3 {
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 1000px;
  font-size: 48px;
  text-align: center;
}

.hero-text h4 {
max-width: 800px;
font-size: 24px;
text-align: right;
}

.hero-text h2:hover .transform2 {
  opacity: 0;
  filter: blur(3px); 
}
.hero-text h3:hover .transform2 {
  opacity: 0;
  filter: blur(3px); 
}
.hero-text h4:hover .transform2 {
  opacity: 0;
  filter: blur(3px); 
}
.transform2 {
  transition: 2s;
}

header h1 {
  font-size: 30px;
  margin-bottom: 5px;
}


.photos {
  text-align: center; 
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center ;
  justify-content: center;
  color: #fff;
}


.photo {
/*  inline block gives us the best of both inline and block elements
  allowing us to stack them side by side and also align our elements 
  in the row  */
  width: 800px;
  margin: 20px;
/*   display: inline-block; */
/*   vertical-align: bottom; 
  we can use vertically align to to align rows to bottom/middle/top */
  
/*  by using position:relative on the parent photo element, our overlay
  will be positioned in relation to it */
  position: relative;
}



.overlay {
/*  by using position:absolute we can position things in relation to the page
  or other element */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
/*  by using rgba color system we can control the alpha channel (opacity)
  of the specific color*/
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  transform: scale(1);
  
  transition: 0.9s cubic-bezier(.89,0,.23,1) ;
}

.photo:hover .overlay {
  opacity: 1;
  box-shadow: 0px 0px 10px 2px #FFBD00;
  transform: scale(0.5,0.5);
}

.overlay h2 {
  margin-left: auto;
  margin-right: auto;
  font-size: 128px;
  color: #fff;
} 
.photos h2 a {
  color: #fff;
    flex-wrap: wrap;
  align-items: center ;
  justify-content: center;
}
.newyork .overlay h2{
margin-top: 200px;
}

.tokyo .overlay h2{
margin-top: 180px;
}

.cinqueterre .overlay h2 {
margin-top: 200px;
}

.paris .overlay h2 {
margin-top: 200px;
}

.rome .overlay h2 {
margin-top: 200px;
}

.china .overlay h2 {
margin-top: 180px;
}

footer {
width: 100%;
margin-bottom: 10px;
padding: 0 40px 30px 40px;
font-size: 20px;
color: #000000;
margin-right: auto;
margin-left: auto;
}
footer a {
  margin-right: 5px;
  color: #000000;
  text-decoration: none;
}

footer nav a:hover{
 color: #FFBD00;
}

.footer-left-mobile {
  display: none;
}

.footer-left-desktop {
  display: flex;
float: left;
}

.footer-right {
float: right;
}


.header2 {
  position: relative;
}

.background {
  background-color: #ffffff;
}
.photos-inside {
/*   max-width: 100%; */
}

.photos-inside img {
max-width: 70vw;
}

/* .photo {
  width: 100%;
} */


.overlay-inside-1,.overlay-inside-2,.overlay-inside-3 {
  right: 60px;
  position: absolute;
  background-color: rgba(0,0,0,0.6);
  opacity: 0;
  transform: scale(1);
  transition: 0.8s cubic-bezier(.89,0,.23,1) ;
}


.overlay-inside-1{
display: flex;
}

.photo-0 {
  display: none;
}

.photo-1 {
  margin: 20px 20px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.photo-1:hover .overlay-inside-1 {
  opacity: 1;
  box-shadow: 4px 3px 10px 2px #FFBD00;
  transform: translate3d(-10px, -10px, 0px);
}

.photo-2 {
  margin: 20px 20px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.overlay-inside-2{
  display: flex;
/*   top: 665px; */
}

.photo-2:hover .overlay-inside-2 {
  opacity: 1;
  box-shadow: 4px 3px 10px 2px #FFBD00;
  transform: translate3d(-10px, -10px, 0px);
}

.photo-3 {
  margin: 20px 20px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overlay-inside-3{
  display: flex;
/*   top: 1200px; */
}

.photo-3:hover .overlay-inside-3 {
  opacity: 1;
  box-shadow: 4px 3px 10px 2px #FFBD00;
  transform: translate3d(-10px, -10px, 0px);
}



.overlay-inside-1,.overlay-inside-2,.overlay-inside-3 h2 {
  padding: 10px;
  max-width: 180px;
  line-height: 1.5;
  font-size: 18px;
  color: #fff;
} 

@media (max-width:890px) {

header {
  padding: 0 20px 0 20px;
}
  
  header h1 {
    width: 20px;
   margin-left: 0px;
  margin-top: 0px;
  }
 
   .title {
      font-size: 24px;
    margin-top: 20px;
    margin-bottom: 40px;
     filter: blur(1px);
  }
  header nav a.selected {
float: none;
margin-right: 0px;
  margin-top: 30px;
    margin-bottom: 20px;
}

.header2 nav a:first-child {
  margin-top:30px;
  margin-bottom: 30px;
  display: flex;
  } 
  
  header nav a {
  max-width: 400px;
  text-align: right;
  display: block;
  font-size: 32px;
  margin: 50px 0 0 0;
    padding-bottom: 0;
/*   transition: filter 0.1s ease-in;
  filter: drop-shadow(0px 0px 0px #000); */
  }
 
  
.logo .transform-desktop {
  display: none;
}  
.logo .transform-mobile {
  display: block;
}
.transform-mobile img{
     margin-top: 19px;
  }
 
  .hero-text {
  padding-top: 0px;
  padding: 0 20px 0 20px;
}

.hero-text h2{
  margin-top: 50px;
  font-size: 24px;
}

.hero-text h3 {
filter: blur(2px);
}
  
  .photos {
    display: none;
  }
  .header2 nav{
  display: flex;
    justify-content: space-between;
    width: 100vw;
    margin-left: auto;
    margin-right: auto;
  }
  
  .header2 a{
    display: none;
  }
  
  .header2 a:nth-child(1) {
display: flex;
    margin-top: 50px;
  }
   .header2 .selected {
    display: flex;
  }
  
.photos-inside img {
max-width: 100vw;
}
  
  .overlay-inside-1,.overlay-inside-2,.overlay-inside-3 {
  position: relative;
  background-color: rgba(0, 0, 0, 0);
  opacity: 1;
  transform: scale(1);
  box-shadow: 0px 0px 10px 2px #fff;
    display: flex;
    float: left;
    right: 0px;
    width: 100vw;

}
  
.photo-0 {
  display: block;
}
  
.photo-1 {
  margin: 0;
  width: 100%;
  display: block;
  align-items: center;
}
  .overlay-inside-1 {
  }

.photo-1:hover .overlay-inside-1 {
  transform: translate3d(0,0,0);
  box-shadow: 0px 0px 10px 2px #fff;
}

.photo-2 {
  margin:  0;
  width: 100%;
  display: block;
  align-items: center;
}
    .overlay-inside-2 {
    width: 100vw;
  }

.photo-2:hover .overlay-inside-2 {
  transform: translate3d(0,0,0);
  box-shadow: 0px 0px 10px 2px #fff;
}

.photo-3 {
  margin: 0;
  width: 100%;
  display: block;
  align-items: center;
}
      .overlay-inside-3 {
    width: 100vw;
  }

.photo-3:hover .overlay-inside-3 {
  transform: translate3d(0,0,0);
  box-shadow: 0px 0px 10px 2px #fff;
}

.overlay-inside-1,.overlay-inside-2,.overlay-inside-3 h2 {
  padding: 10px;
  line-height: 1.5;
  font-size: 18px;
  color: #000000;
  max-width: 100%;
  text-align: center;
} 
  
    footer {
    font-size: 16px;
    padding: 0 20px 0 20px;
  }
  
  .footer-left-desktop {
    display: none;
  }
  
  .footer-left-mobile {
    display: block;
    float: left;
       margin: 10px 0 10px 0;
  }
  
  .footer-right {
    float: right;
       margin: 10px 0 10px 0;
  }
  
  .footer-right a{
    margin-right: 3px;
  }
}

