*,
*::after,
*::before {
    box-sizing: border-box;
    margin:0;
}



html, body {
  display: flex;
  flex-direction:column;
  min-height: 100%;
  height:100%;
}


@media (max-width: 800px) {
  body.works_on_smartphone {
  	display: block;
  }
  body.works_on_smartphone main {
  	display: block;
  }
  header .right {
  	float: none;
  }
}

main {
    flex-grow:1;
}

.logo {
    width: 200px;
    margin-top: -50px;
    margin-right: 48px;
}

.logo:hover {
    transform:scale(1.05,1.05);
    transition:0.5s;
}

.menu ul {
    list-style:none;
    margin: 0;
    padding: 0;
    overflow:hidden;
    top: 0;
    width:100%;
    left:0;
    background-color: #333;
}


.menu ul li a {
    float:left;
    display: block;
    color: white;
    text-align:center;
    padding: 14px;
    font-weight:600;
    text-decoration:none;
}


.menu ul li a:hover {
    background-color: rgb(90, 86, 86);
    cursor:pointer;
}

.post-list {
    display:flex;
    min-height:100vh;
    align-items:center;
    justify-content: center;
    padding: 30px 15px;
}

.content {
    display: grid;
    grid-template-columns:repeat(3,1fr);
    grid-gap: 20px;
    max-width: 1000px;
    margin:auto;
}

.post-img-1 {
    background: url(./imagenes/ballet.jpg);
    width: 100%;
    height: 200px;
    background-size:cover;
    background-position:center;
    transition: 0.2s;
}

.post-img-2 {
    background: url(./imagenes/painting.jpg);
    width: 100%;
    height: 200px;
    background-size:cover;
    background-position:center;
    transition: 0.2s;
}

.post-img-3 {
    background: url(./imagenes/catherine.jpg);
    width: 100%;
    height: 200px;
    background-size:cover;
    background-position:center;
    transition: 0.2s;
}

.post {
    box-shadow: 0 1px 6px 1px rgba(0,0,0,.1);
    overflow:hidden;
    transition:.2s;
}

.post:hover{
    transform: translateY(-4px);
    box-shadow: 0 1px 14px 2px rgba(0,0,0,.15);
}

.post-header{
    width:100%;
    height:200px;
    overflow:hidden;
    cursor:pointer;
}

.post:hover .post-img-1,
.post:hover .post-img-2,
.post:hover .post-img-3{
    transform:scale(1.1);
}

.post-body{
    padding:15px;
    text-align:center;
}

.post-body span{
    display:inline-block;
    color:rgb(127, 128, 216);
    margin-bottom:10px;
}

.post-body h2{
    margin-bottom:15px;
}

.post-body p{
    line-height: 1.5;
    margin-bottom:20px;
}

@media (max-width: 840px){
    .content{
        grid-template-columns:repeat(2,1fr);
    }
}

.red {
    background-color: rgb(194, 18, 18);
    color:  rgb(194, 18, 18);
    display:flex;
}

.blue {
    background-color: rgb(27, 27, 190);
    color:  rgb(27, 27, 190);
    display:flex;
 }

 .social-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5px;
    float:right;
  }
  .social-buttons__button {
    margin: 10px 5px 0;
  }
  
  .social-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    width: 70px;
    height: 70px;
    text-decoration: none;
  }
  .social-button__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 100%;
    background: #fff;
    text-align: center;
  }
  .social-button i,
  .social-button svg {
    position: relative;
    z-index: 1;
    transition: 0.3s;
  }
  .social-button i {
    font-size: 28px;
  }
  .social-button svg {
    height: 40%;
    width: 40%;
  }
  .social-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-radius: 100%;
    transition: 0.3s;
  }
  .social-button:focus, .social-button:hover {
    color: #fff!important;
  }
  .social-button:focus::after, .social-button:hover::after {
    width: 100%;
    height: 100%;
    margin-left: -50%;
  }
  
  .social-button--facebook {
    color: #3b5998 !important;
  }
  .social-button--facebook::after {
    background: #3b5998;
  }
  .social-button--twitter {
    color: #1da1f2 !important;
  }
  .social-button--twitter::after {
    background: #1da1f2;
  }
  .social-button--pinterest{
   color: #bd081c !important;
  }
  .social-button--pinterest::after {
    background: #bd081c;
  }
  .social-button--youtube {
   color: #ff0000 !important;
  }
  .social-button--youtube::after {
    background: #ff0000;
  }
  .social-button--instagram {
   color: #c13584 !important;
  }
  .social-button--instagram::after {
    background: #c13584;
  }