*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

body{
    font-family: poppins, sans-serif; 
}
/*------NAVBAR-------*/
.menu{
    background-color: #00000071;
    color: #fff;
    height: 100px;
    display: flex;
}

.menu__container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
}

.menu__links{
    height: 100%;
    transition: transform .5s;
    display: flex;
}

.menu__item{
    list-style: none;
    position: relative;
    height: 100%;
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
    --transform: rotate(-90deg);
}

.menu__item:hover{
    --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    --transform: rotate(0);
}

.menu__link{
    color: #fff;
    text-decoration: none;
    padding: 0 30px;
    display: flex;
    height: 100%;
    align-items: center;
}

.menu__link:hover{
    background-color: #34A326;
}


.menu__arrow{
    transform: var(--transform);
    transition: transform .3s;
    display: block;
    margin-left: 3px;
}

.menu__nesting{
    list-style: none;
    transition:clip-path .3s;
    clip-path: var(--clip);
    position: absolute;
    right: 0;
    bottom: 0;
    width: max-content;
    transform: translateY(100%);
    background-color: #000;
}

.menu__link--inside{
    padding: 30px 100px 30px 20px;
}

.menu__link--inside:hover{
    background-color: #798499;
}

.menu__hamburguer{
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    cursor: pointer;
    display: none;
}

.menu__img{
    display: block;
    width: 36px;
}

@media (max-width:800px){
    .menu__hamburguer{
        display: flex;
    }

    .menu__item{
        --clip:0;
        overflow:hidden ;
    }

    .menu__item--active{
        --transform: rotate(0);
        --background: #5e7094;
    }

    .menu__item--show{
        background-color: var(--background);
    }


    .menu__links{
        position: fixed;
        max-width: 400px;
        width: 100%;
        top: 70px;
        bottom: 0;
        right: 0;
        background-color: #000;
        overflow-y: auto;
        display: grid;
        grid-auto-rows: max-content;
        transform: translateX(100%);
    }

    .menu__links--show{
        transform: unset;
        width: 100%;
    }

    .menu__link{
        padding: 25px 0;
        padding-left: 30px;
        height: auto;
    }

    .menu__arrow{
        margin-left: auto;
        margin-right: 20px;
    }

    .menu__nesting{
        display: grid;
        position: unset;
        width: 100%;
        transform: translateY(0);
        height: 0;
        transition: height .3s;
    }

    .menu__link--inside{
        width: 90%;
        margin-left: auto;
        border-left: 1px solid #798499;
    }
}

/*----FIN NAVBAR-----*/

.post-list{
    display: flex;
    min-height: 100vh;
    justify-content: center;
    align-items: 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(../Noticias/IMG-NOTI/NOTI1.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-2 {

    background: url(../Noticias/IMG-NOTI/NOTI2.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-3 {

    background: url(../Noticias/IMG-NOTI/NOTI3.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-4 {

    background: url(../Noticias/IMG-NOTI/NOTI4.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-5 {

    background: url(../Noticias/IMG-NOTI/NOTI5.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}

.post-img-6 {

    background: url(../Noticias/IMG-NOTI/NOTI6.jpg);
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: .2s;
}
.post {
    box-shadow: 5px 5px #24262b;
    overflow: hidden;
    transition: .2s;
    background-color: #ffff;
    border-radius: 20px;
}

.post:hover{
    transform: translateY(-4px);
    box-shadow: 0 1px 14px 2px rgba(0, 0, 0, 1.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,
.post:hover .post-img-4,
.post:hover .post-img-5,
.post:hover .post-img-6 {
    transform: scale(1.1);
}

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

.post-body span {
    display: inline-block;
    color: #999999;
    margin-bottom: 10px;
}

.post-body h2 { 
    margin-bottom: 15px;
    color: #34A326;
}

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

.post-body .post-link {
    display: block;
    text-decoration: none;
    padding: 10px;
    background: #34A326;
    color: #fff;
    width: 50%;
    margin: auto;
    border-radius: 20px;
    box-shadow: 5px 5px #24262b;
    transition: .2s;
    text-align: center;
}

.post-body .post-link:hover {
    box-shadow: 1px 2px 6px 1px rgba(0, 0, 0, .2);
    transform: translateY(-2px);
    background: #ffc107;
    color: #000;
}

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

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

/*----------FOOTER--------------*/

.container{
    max-width: 1200px;
    margin: 20px auto;
  }
  
  .footer {
  background-color: #24262b;
  padding: 80px 10px;
  }
  
  .footer-row{
    display: flex;
    flex-wrap: wrap;
  }
  
  .footer-links{
    width: 25%;
    padding: 0 15px;
    list-style: none;
  }
  
  .footer-links h4 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 500;
    border-bottom: 2px solid #34A326;
    padding-bottom: 10px;
    display: inline-block;
    list-style: none;
  }
  
  
  .footer-links ul li a {
    font-size: 18px;
    text-decoration: none;
    color: #34A326;
    display: block;
    margin-bottom: 15px;
    transition: all.3s ease;
    list-style: none;
  
  }
  
  .footer-links ul li a:hover{
    color: #fff;
    padding-left: 6px;
  }
  
  .social-link a {
    display: inline-block;
    min-height: 40px;
    width: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 10px 0;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: #fff;
    transition: all .5s ease;
  }
  
  .social-link a:hover {
    background-color: #34A326;
  }
  
  .fin{
    text-align: center;
    color: #fff6;
  }
  
  @media(max-width:991px) {
    .footer-row {
      text-align: center;
    }
  
    .footer-links {
      width: 100%;
      margin-bottom: 30px;
    }
  }
  
  /*----------FIN FOOTER-------------*/