body{
  font-family: sans-serif;
  background: #e9e9e9;
}

/*body.home{
  overflow: hidden;
}*/

img{
  width:100%;
}

figure{
  margin:0;
  padding: 0;
  width: 100%;
}

li{
  list-style: none;
}
a{
  color: #000;
  text-decoration: none;
}

a:visited{
  color: #000;
}

header{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 10px;
}

h1{
  margin-top: 0;
}

.menu-btn{
  font-size: 20px;
}

.about-btn{
  margin-top: 5px;
}

.gallery-btn{
  font-size: 25px;
}

.home-btn{
  font-size: 30px;
}

.logo_wrapper{
  width: 130px;
  margin: auto;
/*  animation: 1s ease 1s infinite tourne;*/
}

@keyframes tourne {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.image_wrapper{
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -40%);
  width: 90%;

}

.image_wrapper img{
/*    box-shadow: 2px 1px 9px 1px #C6C6C6;*/
/*    border-radius: 10px;*/
}

.image_wrapper .portrait{
  width: 80%;
  margin: auto;
  display: block;
}

.image_wrapper .portrait ~ figcaption{
  margin-right: 4%;
}

figcaption{
  background: black;
  padding: 8px 15px;
  color: white;
  font-size: 12px;
  border-radius: 30px;
  display: inline-block;
  margin-top: 5px;
/*  float: right;*/
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.2;
}

#gallery{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 7%;
}

#gallery li{
/*  width: 48%;*/
  margin-bottom: 70px;

}

.about{
  width: 80%;
  margin:auto;
}

.about p{
  font-size: 12px;
  background: black;
  padding: 12px 30px;
  color: white;
  border-radius: 40px;
  line-height: 1.2;
}

@media only screen and (min-device-width : 768px) and (max-device-width : 1224px) {

  h1{
    margin-top: 0;
  }

  .logo_wrapper{
    width: 150px;
  }
  
  .image_wrapper{
    width: 50%;

  }

  .image_wrapper .portrait{
    width: 50%;
  }

  .image_wrapper .square{
    width: 80%;
    margin: auto;
    display: block;
  }

  figcaption{
    font-size: 12px;
    padding: 5px 20px;
    float: none;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  #gallery{
    width:70%;
    max-width: 1280px;
    margin:auto; 
    justify-content: space-evenly;;
  }

  #gallery li{
    width: 45%;
  }
   
}

@media only screen and (min-device-width : 1224px){

  h1{
    margin-top: 0;
  }

  .logo_wrapper{
    width: 150px;
  }
  
  .image_wrapper{
    width: 50%;

  }

  .image_wrapper .portrait{
    width: 50%;
  }

  .image_wrapper .square{
    width: 80%;
    margin: auto;
    display: block;
  }

  figcaption{
    font-size: 12px;
    padding: 5px 20px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  #gallery{
    width:70%;
    max-width: 1280px;
    margin:auto; 
    justify-content: space-evenly;;
  }

  #gallery li{
    width: 30%;
  }

  .about{
    width: 50%;
  }

  .about p{
    font-size: 15px;
  }
   
}








