*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    height: 100%;
}

body {
    min-height: 100vh; 
    height: auto; 
    margin: 0;
    font-family: helvetica;

}

.men_banner{
    display: hide;
    display: flex;
    height: 10vh;
    width:100%;
    background-color: rgb(31, 35, 61);
    color: aliceblue;
    align-items: center;
    justify-content: left;
}
.men_banner h1{
    margin-left: 2%;
}

.men_contenedor{
    display: flex;
    width: 100%;
    height: 90vh;
}


.men_division{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;

    transition: flex 0.5s ease;
}

.men_division::before{
    content: "";
    position: absolute;
    inset: 0;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition: transform 0.5s ease, filter 0.5s ease;

    z-index: 0;
}


.men_arte::before{
    background-image: url("../img/caniche.jpg");
}
.men_pelu::before{
    background-image: url("../arte/img/portfolio_8.png");
}

.men_arte a, .men_pelu a{
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;

    position: relative;
    z-index: 1;

    text-decoration: none;
    color: aliceblue;
}

.men_division:hover{
    flex: 1.5;
}
@media (max-width: 600px){
    .men_contenedor{
        flex-direction: column;
    }

    .men_division:hover{
        flex: 2;
    }
}
.men_contenedor:hover .men_division:not(:hover)::before{
    filter: brightness(0.3);
}
.men_division:hover::before{
    transform: scale(1.2);
    filter: brightness(1);
}



.pel_etiqueta{
    background-color: aquamarine;
    position: fixed;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 13vh;
    display: flex;
    flex-shrink: 0;
    top: 0;
}
.pel_etiqueta h1{
    margin-left: 3%;
}
.pel_etiqueta_botones{
    display: flex;
    justify-content: right;
    gap: 8%;
    margin-right: 4%;
}
.pel_etiqueta_botones a{
    text-decoration: none;
    font-size: 1.5rem;
}

.pel_imagen_grande{
    background-color: blanchedalmond; /*Cambiar por imaenes*/
    width: 100%;
    height: 87vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    margin-top: 13vh;
}

.pel_sub{
    height: 70vh;
    display: flex;
    background-color: blueviolet;
    justify-content: space-between;
}
.pel_text_1{
    height: 45vh;
    width: 35%;
    display: flex;
    justify-content: left;
    background-color: black;
    margin-top: 20vh  ;
    margin-left: 7%;
}
.pel_img_1{
    height: 45vh;
    width: 35%;     
    display: flex;
    justify-content: right;
    background-color: rgb(244, 241, 241);
    margin-top: 20vh  ;
    margin-right: 7%;
}

.pel_text_2{
    height: 45vh;
    width: 35%;
    display: flex;
    justify-content: left;
    background-color: rgb(255, 255, 255);
    margin-top: 20vh  ;
    margin-left: 7%;
}
.pel_img_2{
    height: 45vh;
    width: 35%;     
    display: flex;
    justify-content: right;
    background-color: rgb(0, 0, 0);
    margin-top: 20vh  ;
    margin-right: 7%;
}

.pel_text_3{
    height: 45vh;
    width: 35%;
    display: flex;
    justify-content: left;
    background-color: black;
    margin-top: 20vh  ;
    margin-left: 7%;
}
.pel_img_3{
    height: 45vh;
    width: 35%;     
    display: flex;
    justify-content: right;
    background-color: rgb(244, 241, 241);
    margin-top: 20vh  ;
    margin-right: 7%;
}
.pel_review_logo{
    width: 100%;
    height: 25vh;
    display: flex;
    justify-content: center;
}
.pel_review_logo img{
    width: auto ;
    height: 20vH;
    margin-top: 5vh;
}
.pel_review{
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: space-between;
}
.pel_review_1{
    width: 23%;
    height: 40vh;
    display: flex;
    justify-content: left;
    background-color: beige;
    margin-left: 8%;
    margin-top: 6vh;
}
.pel_review_1 h1{
    font-size: 1.5rem;
}
.pel_review_2{
    width: 23%;
    height: 40vh;
    display: flex;
    justify-content: center;
    background-color: beige;
    margin-top: 6vh;
}
.pel_review_3{
    width: 23%;
    height: 40vh;
    display: flex;
    justify-content: right;
    background-color: beige;
    margin-right: 8%;
    margin-top: 6vh;
}










.art_drop_but{
    aspect-ratio: 1/1;
    width: auto;
    height: 8vh;
    position: fixed;
    left: 2%;
    top: 2vh;
    background-color: black;
    border-radius: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:1.2vh;
}

.art_drop_but .art_line{
    background: #ffffff;
    display: block;
    width: 70%;
    height: 3px;
    border-radius: 2px;

}
.art_drop:hover .art_drop_but{
    background-color: rgb(255, 255, 255);
}
.art_drop_but span{
    justify-content: center;
    display: flex;
    height: 10%;
    width: 80%;
}
.art_drop_cont{
    left: 2%;
    top: 10vh;
    width: 15%;
    height: 50vh;
    position: fixed;
    background-color: brown;
    display: none;
}
.art_drop:hover .art_drop_cont{
    display: block;
}
.art_drop a{

}

.art_imagen_grande{
    background-color: blanchedalmond; /*Cambiar por imaenes*/
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: center;
}
.art_logo{
    width: 20%;
    height: 20vh;
    background-color: aliceblue;
    display: flex;
    margin-top: 10vh;
}
.art_back{
    width: 100%;
    height: 200vh;
    background-color: antiquewhite;
}

.art_grid_back {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2%;
    width: 90%;
    box-sizing: border-box;
    background-color: rgb(209, 130, 26);
    margin-left: 5%;
}

.art_grid {
    display: flex;
    width: 100%;
    margin-top: 4vh;
}

.art_grid:nth-child(3n+1){
    justify-content: flex-start;
}
.art_grid:nth-child(3n+2){
    justify-content: center;
}
.art_grid:nth-child(3n){
    justify-content: flex-end;
}

.art_grid img {
    width: 100%; /*Respecto a la celda*/
    aspect-ratio: 1/1.15;
    height: auto;
    object-fit: cover;
    border-radius: 2%;
}

/* Tablets (2 columnas) */
@media (max-width: 900px) {
    .art_grid_back {
        grid-template-columns: repeat(2, 1fr);
    }
    .art_grid{
        justify-content: center !important;
    }
}

/* Móviles (1 columna) */
@media (max-width: 600px) {
    .art_grid_back {
        grid-template-columns: 1fr;
        padding: 0 10%;
    }
    .art_grid img {
        width: 100%;
    }
}



.art_modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.art_slides{
    width: 100%;
    height: 100vh;
}

.art_slides img{
    display: block;
    margin: 0 auto;
    
    max-width: 80%;
    max-height: 80%;
    width: auto;
    height: auto;

    /* Centrado vertical sin Flexbox */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

/* The Close Button */  
.art_close {
  color: white;
  position: absolute;
  top: 3vh;
  right: 3%;
  font-size: 35px;
  font-weight: bold;
}

.art_close:hover,
.art_close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.art_slides{
  display: none;
}

.art_grid img{
  cursor: pointer;
}

/* Next & previous buttons */
.art_prev,
.art_next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.art_next {
  right: 5%;
  border-radius: 3px 0 0 3px;
}
.art_prev {
  left: 5%;
}

/* On hover, add a black background color with a little bit see-through */
.art_prev:hover,
.art_next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}


img {
  margin-bottom: -4px;
}

.active,
.demo:hover {
  opacity: 1;
}