.galery {
    padding-left: 400px;
}
body {
  margin: 0;
  background-color: #f0f0f0;
  font-family: Open Sans, sans-serif;
}

.container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
}

.title {
  margin-top: 0;
  margin-bottom: 0;
  text-shadow: 0 0 2px ;
}

.post__btn {
  margin-top: auto;
  margin-left: auto;
  border: 1px solid #ffffff;
  padding: 10px 15px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  outline: 1px solid #ffffff;
  outline-offset: 3px;
  z-index: 0;
  
}
.post__btn:hover {
  background: #ffffff;
  color: #000000;
  text-decoration: none;
}

.post:hover {
    text-shadow: 0 0 10px ;
}

.section__header {
  color: #ffffff;
  background-color: #4557bb;
  text-transform: uppercase;
  padding: 15px 30px 20px;
}

.section__header:after {
  content: "";
  width: 50px;
  height: 3px; 
  
  display: inline-block;
  background-color: #ffffff;
}

.section__description {
  display: block;
  margin-bottom: 5px;
  
  font-size: 1em;  
  font-weight: 700;
  color: #b5bce3;  
}

.post {
  position: relative;
  margin-top: 2%;
}

.post:nth-of-type(1) {
  margin-top: 0;
}

.post__preview {
  max-width: 100%;
  display: block;
}

.post__content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 15px;
  
  background-color: rgba(0, 0, 0, 0.5);
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.post__content:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.post__content:before{
  content: "";
  box-sizing: border-box;    
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 2px solid #ffffff;
  
  position: absolute;
  top: 5px;
  left: 5px;  
}

.section__title {
  font-size: 2em;
}

.post__name {
  font-size: 1.5em;
  margin-right: auto;
  margin-top: auto;
}

@media (min-width: 481px) {

  .section__header {
    font-size: 12px;
  }

  .section__body {
    display: flex;
    flex-wrap: wrap;    
    padding: 50px 30px;
  }
    
  .post {
    font-size: 14px;
    width: 49%;
  }

  .post:nth-of-type(odd) {
    margin-right: 1%;
  }

  .post:nth-of-type(even) {
    margin-left: 1%;
  }

  .post:nth-of-type(2) {
    margin-top: 0;
  }
}


@media (max-width: 480px) {

  .section__header {
    font-size: 10px;
    text-align: center;
  }  
  
  .section__body {
    padding: 20px 15px;
  }
  
  .post {
    font-size: 12px;
  } 
}

.full-post {

    padding-top: 50px;
}

.title-fp {
    margin: o auto;
}

.post-state {
    display: flex;
    max-width: 100%;
}

.block {
    width: 45%;
}

