.mwg_effect021 {
    height: 100vh;

    position: relative;
    isolation: isolate;
    background: #121212;
    color: #F1F1F1;
    font: 500 normal 22px/1.3 'Poppins', sans-serif;
    
    @media (max-width: 600px) {
        height: 80vh;
    }

    &::before {
      content: '';
      position: absolute;
      left: 20px;
      right: 20px;
      top: 70px;
      bottom: 20px;
      background: linear-gradient(90deg,rgba(64, 84, 178, 1) 0%, rgba(94, 57, 181, 1) 50%, rgba(46, 29, 84, 1) 100%);
      z-index: -1;
      pointer-events: none;
      border-radius: 12px;
    }
}

.mwg_effect021 .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: absolute;
    gap: 2vw;
}

.mwg_effect021 .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 25px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.mwg_effect021 .header a {
    text-decoration: none;
    color: #F1F1F1;
}

.mwg_effect021 .header p,
.mwg_effect021 .header a {
    text-transform: uppercase;
    letter-spacing: -0.01em;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
}

.mwg_effect021 .header__scroll {
    display: contents;
}

.mwg_effect021 .header__scroll-track {
    display: contents;
}

.mwg_effect021 .header__scroll-sep {
    display: none;
}

.mwg_effect021 .header__scroll-track [aria-hidden="true"] {
    display: none;
}

@media (max-width: 1023px) {
    .mwg_effect021 .header {
        flex-direction: column;
        padding: 15px;
        gap: 12px;
    }

    .mwg_effect021 .header__scroll {
        display: block;
        overflow: hidden;
        width: 100%;
        mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    }

    .mwg_effect021 .header__scroll-track {
        display: flex;
        align-items: center;
        gap: 20px;
        white-space: nowrap;
        width: max-content;
        animation: headerMarquee 15s linear infinite;
    }

    .mwg_effect021 .header__scroll-sep {
        display: inline;
        opacity: 0.4;
    }
}

@media (max-width: 768px) {
    .mwg_effect021 .container {
        gap: 5vw;
        padding: 0 20px;
    }

    .mwg_effect021 .title {
        font: 500 normal 13vw / 0.9 'Poppins', sans-serif;
        letter-spacing: -0.05em;
        width: 95%;
    }

    .mwg_effect021 .text {
        font-size: clamp(13px, 3.5vw, 18px);
        max-width: 85vw;
    }

    .mwg_effect021 > img {
        width: 25vw;
        height: 25vw;
    }
}

@media (min-width: 601px) and (max-width: 1023px) {
    .mwg_effect021 {
        height: 80vh;
    }

    .mwg_effect021 .container {
        gap: 3vw;
        padding: 0 40px;
    }

    .mwg_effect021 .header {
        padding: 20px 30px;
        gap: 14px;
    }

    .mwg_effect021 .title {
        font-size: 10vw;
        width: 85%;
    }

    .mwg_effect021 .text {
        font-size: 16px;
    }

    .mwg_effect021 > img {
        width: 18vw;
        height: 18vw;
    }
}

@keyframes headerMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.mwg_effect021 > img {
    width: 10vw;
    height: 10vw;
    position: absolute;
    object-fit: cover;
    border-radius: 4%;
    z-index: 5;
    pointer-events: none;
}

.mwg_effect021 .title {
    text-align: center;
    text-transform: uppercase;
    font: 500 normal 8vw / 0.9 'Poppins', sans-serif;
    letter-spacing: -0.05em;
    width: 77%;
    margin: 0;

    @media (max-width: 600px) {
      font: 500 normal clamp(9vw, 0.9vw, 100px) / 0.9 'Poppins', sans-serif;
      width: 90%;
  }
}

.mwg_effect021 .text {
    font: 500 normal clamp(12px, 0.9vw, 100px) / normal 'Poppins', sans-serif;
    text-transform: uppercase;
    max-width: 80vw;
    text-align: center;
    margin: 0;

    @media (max-width: 600px) {
      font: 500 normal clamp(14px, 0.9vw, 100px) / normal 'Poppins', sans-serif;
  }
}

.header__fab {
    display: none;
}

@media (max-width: 768px) {
    .header__fab {
        display: flex;
        flex-direction: column;
        gap: 12px;
        position: fixed;
        bottom: 24px;
        right: 16px;
        z-index: 999999;
    }

    .header__fab-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.25);
        color: #F1F1F1;
        text-decoration: none;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .header__fab-btn:active {
        transform: scale(0.92);
        background: rgba(255, 255, 255, 0.25);
    }
}

.mwg_effect021 .medias img {
    width: 1px;
    height: 1px;
    top: 0;
    left: 0;
    position: absolute;
    visibility: hidden;
    pointer-events: none;
}
