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

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

.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;

    border: none;
    outline: none;
    appearance: none;
}

.art_drop_but .art_line{
    background: #ffffff;
    display: block;
    width: 65%;
    height: 3px;
    border-radius: 2px;
	font-family: helvetica;
}

.art_drop:hover .art_top_line{
    translate: 0 0.79vh;
    rotate: 45deg;
}
.art_drop:hover .art_bot_line{
    translate: 0 -0.79vh;
    rotate: -45deg;
}

.art_drop:hover .art_mid_line{
    display: none;
}

.art_drop_cont{
    left: 2%;
    top: 10vh;
    width: 15%;
    height: 20vh;
    position: fixed;
    background-color: #2699E6;
    display: none;
    text-decoration: none;
}
.art_drop:hover .art_drop_cont{
    display: block;
}
.art_drop a{
    height: 50%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.5rem;
  	background-color: RGB(0,0,0,0);
  	color: white;
}
.art_drop a:hover{
  	background-color: RGB(0,0,0,0.4);
}
/* rgb(190, 219, 248) */

.art_imagen_grande{
    /* background-color:  rgb(190, 219, 248); */
    background-color:  rgb(235, 245, 255);
    width: 100%;
    height: 60vh;
    display: flex;
    justify-content: center;
}
.art_logo{
    aspect-ratio: 2.7/1;
    /* width: 20%; */
    height: 25vh;
    width: auto;
    background-image: url("../img/art_logo.png");
    /* background-color:  rgb(235, 245, 255); */
    display: flex;
    margin-top: 10vh;
  	background-size: cover;
}

.art_grid_back {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 2%;
    width: 90%;
    box-sizing: border-box;
    /* background-color:  rgb(190, 219, 248); */
    background-color:  rgb(235, 245, 255);
    margin-left: 5%;

    height: auto;          
    min-height: min-content; /* Se asegura de que el mínimo sea el contenido */
    overflow: visible;
}

.art_grid {
    display: flex;
    width: 100%;
    height: 100%;
}

.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 {
    display: block;
    width: 100%; /*Respecto a la celda*/
    aspect-ratio: 1/1.15;
    object-fit: cover;
    border-radius: 1.5%;
}

@media (max-width: 3000px){
    .art_grid_back {
        grid-template-columns: repeat(3, 1fr);
    }
    .art_grid{
        justify-content: center !important;
    }
    .art_bottom{
    width: 100%;
    height: 10vh;
    background-color:  rgb(235, 245, 255);
    }
}

@media (max-width: 1500px){
    .art_grid_back {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5% 2%;
    }
    .art_grid{
        justify-content: center !important;
    }
    .art_bottom{
    width: 100%;
    height: 70vh;
    background-color:  rgb(235, 245, 255);
    }
}

/* Tablets (2 columnas) */
@media (max-width: 900px) {
    .art_grid_back {
        grid-template-columns: repeat(2, 1fr);
        gap: 1% 2%;
    }
    .art_grid{
        justify-content: center !important;
    }
    .art_bottom{
    width: 100%;
    height: 100vh;
    background-color:  rgb(235, 245, 255);
    }
}

/* Móviles (1 columna) */
@media (max-width: 600px) {
    .art_grid_back {
        grid-template-columns: 1fr;
        padding: 0 10%;
        gap: 0.5%;
    }
    .art_grid img {
        width: 100%;
    }
    .art_bottom{
        width: 100%;
        height: 150vh;
        background-color:  rgb(235, 245, 255);
    }
    .art_logo{
      	aspect-ratio: 2.7/1;
        margin-top: 20vh;
      	height: 18vh;
    }
    .art_drop_cont{
        width: 50%;
    }
    .cont_imagen_grande{
        height: 45vh;
    }
}


.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;

  	position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.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;
}

.art_next {
  right: 5%;
  border-radius: 3px 0 0 3px;
}
.art_prev {
  left: 5%;
}

.art_prev:hover,
.art_next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

img {
  margin-bottom: -4px;
}

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


.cont_imagen_grande{
    /* background-color: rgb(190, 219, 248); */
 
    width: 100%;
    height: 35vh;
    display: flex;
    justify-content: center;
}

.cont_back_1{
	width: 80%;
  	height: 5vh;
    display: flex;
    justify-content: right;
  	margin-right: 5%;
  	margin-left: auto;
}
.cont_back_1 img{
    aspect-ratio: 1/1;
    height: 100%;
}
@media (max-width: 600px) {  
    .cont_imagen_grande{
        height: 45vh;
    }
}
.cont_back_2{
  	position: relative;
    margin-top: 10vh;
    display: flex;
    justify-content: center;
    width: 100%;
}
.cont_back_3{
    margin-top: 10vh;
   	flex-direction: column;
    display: flex;
    align-items: flex-start;
    max-width: 70%;
    margin-left: 10%;
    gap: 2vh;
}
.cont_back_4{
    margin-top: 10vh;
   	flex-direction: column;
    display: flex;
    align-items: flex-end;
    max-width: 70%;
  	margin-right: 10%;
  	margin-left: auto;
  	text-align: right;
    gap: 2vh;
}
.cont_back_5{
    margin-top: 10vh;
    display: flex;
 	flex-direction: column;
    align-items: flex-start;
    max-width: 70%;
    margin-left: 10%;
    gap: 2vh;
  	margin-bottom: 10vh;
}
.bot_gap{
  	width: 100%;
  	height: 20vh;
}
.cont_back_3 .cont_back_4 .cont_back_5 h1{
	font-weight: 800;
}
