@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

/* NORMALIZE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    appearance: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* NORMALIZE */

body {
    background: #121212;
    color: #F1F1F1;
    font: 500 normal 22px/1.3 'Inter', sans-serif;
}

.mwg_effect009 .text { 
    position: absolute;
    font: 500 normal clamp(14px, 1.15vw, 100px) / 1.2 'Inter', sans-serif;
    letter-spacing: -0.01em;
    top: 25px;
    left: 25px;
    width: 23%;
    min-width: 300px;
}
.mwg_effect009 .visual {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 12vw;
}
.mwg_effect009 .pin-height {
    height: 600vh;
}
.mwg_effect009 .container {
    display: flex;
    align-items: center;
    height: 100vh
}
.mwg_effect009 .center {
    position: relative;
    width: 100%;
}
.mwg_effect009 .sentence {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    font: 500 normal 10vw/0.9 'Inter', sans-serif;
}
.mwg_effect009 .sentence span {
    display: inline-block;
    letter-spacing: -0.06em;
}
.mwg_effect009 .sentence:not(:first-child) {
    position: absolute;
    left: 0;
    top: 0;
}
.mwg_effect048 {
    padding: 0vh 0;
    perspective: 100vw;
}
.mwg_effect048 .scroll {
    position: fixed;
    top: 50vh;
    left: 50%;
    transform: translate(-50%, -50%);
}
.mwg_effect048 .container {
    transform-style: preserve-3d;
}
.mwg_effect048 .media {
    width: 70vw;
    margin: 0 auto;
    will-change: transform;
}
.mwg_effect048 .media:not(:first-child) {
    margin-top: -16vw
}
.mwg_effect048 .media img {
    width: 20vw;
    aspect-ratio: 1;
    display: block;
    object-fit: cover;
    box-shadow: 1px 1px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .mwg_effect048 {
        perspective: 400vw;
    }
    .mwg_effect048 .media {
        width: 95vw;
    }
    .mwg_effect048 .media img {
        width: 36vw;
    }
}

.mwg_effect048, .mwg_effect009 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mwg_effect048 {
  z-index: 0; /* Fondo */
}

.mwg_effect009 {
  z-index: 1; /* Frente */
  opacity: 0;
  transition: opacity 0.5s ease-out;
}

