@import url('default.css');



.main{
    width: 100%;
    height: auto;
    margin: 30px auto;
}


.section-blog{
    width: 100%;
    height: auto;
}

.background-intro{
    width: 100%;
    height: 500px;
    background-image: url('../img/blog-background.jpg');
    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
}

.content-intro{
    width: 80%;
    height: 300px;
    background-color: #ffffffe1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.title-intro{
    font-size: 2.5rem;
    color: var(--colorPrincipal) ;
    font-family: var(--fuenteTitle);
    display: inline-block;
    text-transform: uppercase;
    border-bottom: 1px solid var(--colorPrincipal);
    padding-bottom: 10px;
}


.content-post{
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 15px;
    clear: both;
}

.card-post{
    width: 100%;
    height: auto;
    border: 1px solid rgba(128, 128, 128, 0.137);
    clear: both;
    margin-top: 20px;
}

.card-post:hover{
  color: var(--colorPrincipal);
}

.enlace-link{
    text-decoration: none;
}

 .enlace-link:hover > .card-post{
  transform: scale(1.1);
  transition: all .5s ease-in-out;
}

.img-post{
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.postContent{
    width: 100%;
    height: auto;
    padding: 20px 10px;
    color: #2d2d2d;
    clear: both;
}

.badge-post{
    width: 100%;
    height: auto;
    margin-bottom: 10px;
    clear: both;
}

.badge{
 padding: 6px 20px ;
 background-color: var(--colorPrincipal);
 color: white;
 font-family: var(--fuenteTitle);
 font-size: 1.2rem;
}

.date{
    color: gray;
    font-size: 18px;
    float: right;
    font-family: var(--fuenteText);
    margin-right: 10px;
}

.title-post{
  color: #2d2d2d;
  font-family: var(--fuenteTitle);
  padding: 15px 0px;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #3d3d3d;
}

.p-post{
    font-size: 18px;
    font-family: var(--fuenteText);
}

.card-footer{
    width: 100%;
    height: auto;
    display: flex;
    padding: 15px 10px;
}

.foo1{
    width: 50%;
    height: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.foo1 img{
    width: 70%;
    height: auto;
}

.foo2{
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-icon{
    width: 25px;
    height: 25px;
    margin: 7px;
    filter: invert(100%) sepia(18%) saturate(7361%) hue-rotate(304deg) brightness(88%) contrast(63%);
}


.titlepost-blog{
    font-family: var(--fuenteTitle);
}



/* Media Querie Tablet */
@media screen and (min-width:768px){
.content-post{
    flex-direction: row;
}
   .card-post{
     width: 43%;
     margin: 10px 20px;
   }

   .foo1 img{
    width: 80%;
    height: auto;
}



}

/* Media Querie Tablet-desktop */
@media screen and (min-width:992px){
    .main{
        width: 90%;
    }
}

/* Media Querie desktop */
@media screen and (min-width:1200px){
    .main{
        width: 85%;
    }

    .foo1 img{
        width: 60%;
        height: auto;
    }
}

/* Media Querie desktop large*/
@media screen and (min-width:1366px){
   
}

