/*font-family: 'Oswald', sans-serif;*/

body{
  margin: 0;
  padding: 20px;
  background-color: #2A3132;
  color: white;
  font-family: 'Oswald', sans-serif;
}

.wrap {
  text-align: center;
  margin: auto;

}

.logo{
  padding: 0;
  margin: 0;
  margin-top:180px;
}

.header{
  height: 100%;
}

.header h1{
  display: flex;
  cursor: default;
}

.logo img{
  filter: grayscale(100%);
    -webkit-filter: grayscale(90%);
    -moz-filter: grayscale(90%);
    -ms-filter: grayscale(90%);
    -o-filter: grayscale(90%);
  opacity:0.5;
  transition: all 0.7s;
}

.logo img:hover{
  filter: grayscale(100%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
    -ms-filter: grayscale(0%);
    -o-filter: grayscale(0%);
  opacity:0.5;
  transform: scale(1.025);
}

.menu a{
  float: right;
  margin-top: -160px;
  text-decoration: none;
  color: #3d3641;
  font-size: 40px;
  margin-right: 25px;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
}

.menu a:hover{
  color:white;
  transform: scale(1.15);
}

.header h1{
  font-size: 70px;
  font-weight: 200;
  margin-top: -285px;
  margin-left: 400px;
  position: absolute;
  letter-spacing: 20px;
  text-align: center;
}

.pagedeux img{
  position: absolute;
  margin-left: -200px;
  margin-top: 150px;
  margin-bottom: 100px;
}

* {
  box-sizing: border-box;
}

/*gallery*/

/* Center website */
.main {
  max-width: 1000px;
  margin: auto;
}

h1 {
  font-size: 50px;
  word-break: break-all;
}

h2{
  font-size: 24px;
  color: black;

  padding-bottom: 30px;
}

.row {
  margin: 8px -16px;
}

/* Add padding BETWEEN each column (if you want) */
.row,
.row > .column {
  padding: 10px;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 33.3%;
  display: none; /* Hide columns by default */
}

/* Clear floats after rows */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.content {
  background-color: #2D4447;
  text-align: center;
  padding: 10px;
  border-radius: 50px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  margin-left: 10px;
  background-color: #C2D0C9;
  color: black;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s ease-in-out;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0px;
  font-size: 20px;
}

/* Add a grey background color on mouse-over */
.btn:hover {
  background-color: #2D4447;
  transform: scale(1.1);
  letter-spacing: 1px;
  color: white;
}

/* Add a dark background color to the active button */
.btn.active {
  background-color:#2D4447;
  transform: scale(1.1);
  letter-spacing: 1px;
  color: white;
  cursor: default;

}

/*decale en bas tout le portfolio*/
.portfolio{
  margin-top: 150px;
}

#myBtnContainer{
  padding-top: 20px;
  text-align: center;
}

/*scroll*/
#scroll_down img{
  position: relative;
  top: 45px;
  transform: rotate(90deg);
  transition: all 0.3s  ease-in-out;
  opacity: 0.3;
  width: 45px;
}

#scroll_down img:hover{
  transform: rotate(90deg) scale(1.2);
  opacity: 1;
}

#scroll_down img:active{
  transform: rotate(90deg) scale(0.9);
  opacity: 1;
}

.content img{
  cursor: pointer;
}

footer{
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
}

footer {
  color: white;
  padding:5px;
}

.lienfooter{
  color:white;
}

/* overlay magique */

#overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  background-color: black;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 999;
  visibility: hidden;
  opacity: 0;
}

#close img {
  width: 45px;
}

#close {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 1000;
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

#close:hover {
  transform: scale(1.2) rotate(90deg);
}

#close:active {
  transform: scale(0.9) rotate(90deg);
}

.popup-content h1 {
  margin-top: 15px;
  text-align: center;
  font-size: 25px;
}

.popup-content p {
  margin-top: 15px;
  font-size: 18px;
  font-weight: 200;
  color: grey;
}

.popup-content p em {
  color: white
}

.content{
  border-radius: 45px;
}

.content img {
  border-radius: 45px;
  width: 100%;
  cursor: pointer;
}

.content h4{
  margin-top: 5px;
  font-size: 20px;

}

.content p{
  font-weight: 200;
  margin-top: 5px;
  font-size: 13px;
  color: grey;
}

.popup-content p{
  text-align: center;
}

/* SCROLLBAR */

/* width */
::-webkit-scrollbar {
  width: 5px;
  display: none;
}

/* Track */
::-webkit-scrollbar-track {
  background: grey;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 20px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.popup-content img{
  width: 100%;
  height: 100%;
}
