
a{
    color: antiquewhite;
    text-decoration: none;
}
p{
    margin: 0px;
    font-size: 1.5vw;
    font-weight: bold;
}
h2{
    font-size: 1.5vw;
    margin: 0px;
}
h3{
    margin: 0px;  
    font-size: 1.5vw;
}
.row-column-1{
    position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; width: 100%; height: auto;
}
.div-cont-1{
    position: relative; width: 38%; height: 100%;
}
.img-cont-rev{
    height: 650px; justify-content: center; align-items: center; align-self: center; display: flex;
}
/* ARTÍCULOS */
.articles-cont{
    position: relative; height: 100%; width: 57%;
}
.cont-all{
    height: 550px; background-color: #16003B; position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center; 
}
.row-column2{
    width:45%; height: 100%;position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.marg-cont{
    height: 5%;
}
.div-article{
    height: 47.5%; width: 100%; display: flex; flex-direction: column;
}
.div-cont-img{
    width:100%; height: 60%; background-color: #7F8487;border-top-left-radius: 2vw; border-top-right-radius: 2vw; 
}
.div-cont-text{
    width:100%; height: 40%; border-bottom-left-radius: 2vw; border-bottom-right-radius: 2vw; background-color: #7F8487; justify-content: center; align-items: center; display: flex;
}
.div-text-marg{
    width: 90%; height: 80%;
}
.img-cont-art{
    display: block; width: 100%; height: 100%; object-fit:cover; border-top-left-radius: 2vw; border-top-right-radius: 2vw; 
}

.category-cont3{
    height: 5.5vw;
}

.div-cont-img:hover > img {
    border: 3px solid #F73D93; /* set your desired border color */
    transform: translateY(-3px); /* move the image up by 5 pixels */
    transition: all 0.2s ease-in-out; /* add a smooth transition effect */
    box-shadow: 0px 0px 10px 3px rgba(127, 132, 135, 0.272); /* add a box shadow */
    border-top-left-radius: 2vw; border-top-right-radius: 2vw; 
    cursor: pointer;
}

div:hover > img {
    border: 5px solid #F73D93; /* set your desired border color */
    transform: translateY(5px); /* move the image up by 5 pixels */
    transition: all 0.2s ease-in-out; /* add a smooth transition effect */
    box-shadow: 0px 0px 10px 3px rgba(127, 132, 135, 0.272); /* add a box shadow */
    border-top-left-radius: 2vw; border-top-right-radius: 2vw; 
    cursor: pointer;
}

/* Artículos Min */
.category-cont{
    width: 80%; margin-top: 100px; margin-bottom: 25px; display: flex; flex-direction: row;
}
.category-cont2{
    width: 20%;
}
.category-h2{
    color: aliceblue; width: 80%;
}
.category-text{
    color: aliceblue; text-align: center;
}
.article-min{
    height: 250px; width: 25%;
}
.row-column3{
    position: relative; flex-direction: row; display: flex;justify-content: center; align-items: center; width: 100%; height: auto;
}
.marg-w{
    width: 5%;
}

/* Cambiamos primera en columna y row en las demás menos abajo -1024 pixeles. Y en Móvil Todo columna, solo que el primer artículo es más grande. -766*/

@media screen and (max-width:1024px) {
    .row-column-1{
        position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: auto;
    }
    .div-cont-1{
        position: relative; width: 37%; height: 100%;
    }
    .img-cont-rev{
        height: 40vw; justify-content: center; align-items: center; align-self: center; display: flex;
    }
    .articles-cont{
        position: relative; height: 100%; width: 80%; margin-top: 5vw;
    }
    h2{
        font-size: 2vw;
    }
    h3{
        font-size: 1.7vw;
    }
}

@media screen and (max-width:768px) {
    .row-column-1{
        position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: auto;
    }
    .div-cont-1{
        position: relative; width: 40%; height: 100%;
    }
    .img-cont-rev{
        height: 60vw; justify-content: center; align-items: center; align-self: center; display: flex;
    }
    .articles-cont{
        position: relative; height: 100%; width: 90%; margin-top: 5vw;
    }
    .cont-all{
        height: 90vw; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; 
    }
    .row-column2{
        width:90%; height: 45%;position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center;
    }
    .div-article{
        height: 90%; width: 95%; display: flex; flex-direction: column;
    }
    .row-column3{
        position: relative; flex-direction: column; display: flex;justify-content: center; align-items: center; width: 100%; height: auto;
    }
    .article-min{
        height: 40vw; width: 50%;
    }
    .marg-w{
        width: 0%;
        height: 5vw;
    }
    .marg-cont{
        height: 0%;
        width: 5%;
    }
    .category-text{
        color: aliceblue; text-align: center; font-size: 2.7vw; font-weight: bold;
    }
    h2{
        font-size: 2.7vw;
    }
    h3{
        font-size: 2.7vw;
    }
    footer p {
        font-size: 4vw;
    }
}
@media screen and (max-width:630px) {
    .row-column-1{
        position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; height: auto;
    }
    .div-cont-1{
        position: relative; width: 50%; height: 100%;
    }
    .img-cont-rev{
        height: 75vw; justify-content: center; align-items: center; align-self: center; display: flex;
    }
    .articles-cont{
        position: relative; height: 100%; width: 100%; margin-top: 5vw;
    }
    .cont-all{
        height: 200vw; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; 
    }
    .row-column2{
        width:90%; height: 45%;position: relative; display: flex; flex-direction: row; justify-content: center; align-items: center;
    }
    .div-article{
        height: 90%; width: 95%; display: flex; flex-direction: column;
    }
    .row-column3{
        position: relative; flex-direction: column; display: flex;justify-content: center; align-items: center; width: 100%; height: auto;
    }
    .article-min{
        height: 70vw; width: 50%;
    }
    .category-cont{
        width: 70%; margin-top: 2vw; margin-bottom: 9vw; display: flex; flex-direction: row;
    }
    .category-cont2{
        width: 30%;
    }
    .category-cont3{
        height: 5.5vw;
    }
    .category-text{
        color: aliceblue; text-align: center; font-size: 4vw; font-weight: bold;
    }
    .marg-w{
        width: 0%;
        height: 5vw;
    }
    .marg-cont{
        height: 0%;
        width: 5%;
    }
    h2{
        font-size: 4vw;
    }
    h3{
        font-size: 3.6vw;
    }
}