*, *::after, *::before {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --hue: 330;
    --bkg: var(--hue) 50% 96%;
    --text: var(--hue) 70% 9%;
    --dark: var(--hue) 70% 3%;
}

/* En la var --bkg, estamos hablando de hue saturation lightness */

body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    /* background: linear-gradient(hsl(var(--text)), hsl(var(--dark))); */
    background-size:cover;
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
  
    100% {
      opacity: 1;
    }
  }

.container {
    max-width: 1200px;
    margin: auto;
    /* position: relative; */
}

.regreso {
    position: fixed;
    cursor: pointer;
    background: none;
    transform: scale(0.4);
    right: -1.7em;
    top: -1.2em;
    z-index: 1;
  }

.uwu {
    filter: invert(94%) sepia(15%) saturate(651%) hue-rotate(331deg) brightness(100%) contrast(89%);
}

.image-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 670px;
    height: 704px;
}

.menu {
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.image-item {
    position: absolute;
    flex: 1 0 28%;
    cursor: pointer;
    min-width: 10px;
    background: none;
    /* max-width: 150px;
    max-height: 150px; */
    z-index: 1;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* como background-size pero para containers */
    transition: transform 250ms cubic-bezier(0.93, 0.03, 0, 0.99);
}

.image-item img:is(:hover, :focus) {
    transform: scale(1.05);
}

/* Estilos de cada botón */

#but1 {
    height: 15%;
    left: 15.4%;
    top: 22.7%
}

#but2 {
    height: 14%;
    left: 31%;
    top: 7.2%;
}

#but3 {
    height: 14%;
    left: 55.5%;
    top: 7.2%;
}

#but4 {
    height: 15%;
    left: 69.5%;
    top: 22.7%;
}

#but5 {
    height: 19.2%;
    left: 67.2%;
    top: 59.6%;
}

#but6 {
    height: 15.5%;
    left: 43.5%;
    top: 78%;
}

#but7 {
    height: 19.2%;
    left: 17.5%;
    top: 59.6%;
}

@media only screen and (min-width: 1400px) and (min-height: 850px) {
    .image-container {
        width: 809px;
        height: 850px;
    }
}