/* ---- Cool Banner ---- */
.main__animated-guide-banner__root {
    padding: 0 1rem;
}
.main__animated-guide-banner__img-container {
    display: flex;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 2rem), transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black calc(100% - 2rem), transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    height: 130%;
    align-self: flex-end;
}
.main__animated-guide-banner img {
    height: 100%;
    align-self: flex-end;
    min-width: 130px;
    object-fit: contain;
}
.main__animated-guide-banner__txt-grouping {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 12px;
    z-index: 2;
}
.main__animated-guide-banner__txt-grouping__svg-container {
    display: grid;
    place-items: center;
    position: relative;
    outline: 3px solid rgba(255,255,255,.125);
    outline-offset: 6px;
    border-radius: 100vw;
    margin-left: 1rem;
}
.main__animated-guide-banner__txt-grouping svg {
    fill: var(--primary-link-clr);
    max-width: 2rem;
    min-width: 2rem;
    animation: scaling 2s linear infinite;
}
.main__animated-guide-banner__txt-grouping__svg-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: 10px dashed rgba(255,255,255,.125);
    outline-offset: 6px;
    border-radius: 100vw;
    transform: rotate(38deg);
    animation: spinning 5s linear infinite;
}
.main__animated-guide-banner__txt-grouping h1,
.main__animated-guide-banner__txt-grouping h2 {
    background: #da932a;
    background: linear-gradient(to top right, #da932a 0%, #ffecda 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 900;
}
@keyframes spinning {
    0% {
        transform: rotate(38deg) rotate(0deg);
    }
    100% {
        transform: rotate(38deg) rotate(360deg);
    }
}
@keyframes scaling {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(.75);
        opacity: .25;
    }
}
/* ---- Lego Pieces ---- */
.main__animated-guide-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 12.5rem;
    position: relative;
    transition: height .175s ease-in-out;
}
.lego-piece {
    content: '';
    position: absolute;
    z-index: -1;
}
.lego-piece.one,
.lego-piece.two,
.lego-piece.three,
.lego-piece.four,
.lego-piece.five,
.lego-piece.six,
.lego-piece.seven,
.lego-piece.eight,
.lego-piece.nine,
.lego-piece.ten {
    background: var(--accent-purple);
    z-index: 1;
    box-shadow: 0px 0px 10px var(--accent-purple);
}
.lego-piece.one {
    top: 10px;
    right: -2px;
    width: 30px;
    height: 5px;
    transform: rotate(40deg);
}
.lego-piece.two {
    bottom: 10px;
    right: -2px;
    width: 30px;
    height: 5px;
    transform: rotate(-040deg);
}
.lego-piece.three {
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 5px;
    height: calc(100% - 40px);
}
.lego-piece.four {
    top: 0;
    right: 23px;
    height: 5px;
    width: calc(100% - 200px);
}
.lego-piece.five {
    top: 10px;
    left: 153px;
    width: 30px;
    height: 5px;
    transform: rotate(-45deg);
}
.lego-piece.six {
    top: 17px;
    left: 20px;
    height: 5px;
    width: 140px;
    border-radius: 0px 0 0 0;
}
.lego-piece.seven {
    top: 27px;
    left: -3px;
    width: 30px;
    height: 5px;
    transform: rotate(-48deg);
}
.lego-piece.eight {
    top: 39px;
    left: 0;
    width: 5px;
    height: calc(100% - 59px);
}
.lego-piece.nine {
    bottom: 10px;
    left: -2px;
    width: 30px;
    height: 5px;
    transform: rotate(40deg);
}
.lego-piece.ten {
    bottom: 0;
    left: 23px;
    width: calc(100% - 46px);
    height: 5px;
}
.lego-piece.one-1 {
    bottom: -4px;
    left: 0;
    border-radius: 100vw;
    width: 10px;
    height: 10px;
    animation: scaling 2s linear infinite;
}
.lego-piece.one-2 {
    bottom: -4px;
    right: 0;
    border-radius: 100vw;
    width: 10px;
    height: 10px;
    animation: scaling 2s linear infinite;
}
.lego-piece.one-3 {
    top: -4px;
    right: 0;
    border-radius: 100vw;
    width: 10px;
    height: 10px;
    animation: scaling 2s linear infinite;
}
.lego-piece.one-1,
.lego-piece.one-2,
.lego-piece.one-3 {
    background: var(--primary-link-clr);
}
.lego-piece.one-4,
.lego-piece.one-5,
.lego-piece.one-6,
.lego-piece.one-7,
.lego-piece.one-8,
.lego-piece.one-9,
.lego-piece.one-10 {
    top: 0;
    border-radius: 100vw;
    width: 10px;
    height: 10px;
    animation: scaling 2s linear infinite;
    background: var(--primary-link-clr);
}
.lego-piece.one-4  { left: 150px; animation-delay: 0.6s; }
.lego-piece.one-5  { left: 130px; animation-delay: 0.5s; }
.lego-piece.one-6  { left: 110px; animation-delay: 0.4s; }
.lego-piece.one-7  { left: 90px;  animation-delay: 0.3s; }
.lego-piece.one-8  { left: 70px;  animation-delay: 0.2s; }
.lego-piece.one-9  { left: 50px;  animation-delay: 0.1s; }
.lego-piece.one-10 { left: 30px;  animation-delay: 0s; }

.lego-piece.dot-bevel {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    z-index: 1;
    outline: 2px solid var(--primary-purple);
    outline-offset: -4px;
    box-shadow: 0px 0px 10px var(--accent-purple);
}
.lego-piece.three-1 {
    top: 11px;
    left: 154px;
    width: 15px;
    height: 15px;
}
.lego-piece.three-2 {
    top: 13px;
    left: 15px;
    width: 15px;
    height: 15px;
}
.lego-piece.three-3 {
    top: 30px;
    left: -7px;
}
.lego-piece.three-4 {
    bottom: 15px;
    left: -7px;
}
.lego-piece.three-5 {
    bottom: -6px;
    left: 20px;
    width: 15px;
    height: 15px;
}
.lego-piece.three-6 {
    bottom: -6px;
    right: 20px;
    width: 15px;
    height: 15px;
}
.lego-piece.three-7 {
    bottom: 15px;
    right: -7px;
}
.lego-piece.three-8 {
    top: 15px;
    right: -7px;
}
.lego-piece.three-9 {
    top: -6px;
    right: 20px;
    width: 15px;
    height: 15px;
}
.lego-piece.three-10 {
    top: -8px;
    left: 170px;
}
@media(max-width: 720px) {
    .main__animated-guide-banner {
        height: 9rem;
    }
    .main__animated-guide-banner__txt-grouping h1,
    .main__animated-guide-banner__txt-grouping h2 {
        font-size: 1rem;
    }
}
@media(max-width: 480px) {
    .main__animated-guide-banner__txt-grouping__svg-container {
        outline: 2px solid rgba(255,255,255,.125);
        outline-offset: 0px;
        margin-left: .5rem;
    }
    .main__animated-guide-banner__txt-grouping__svg-container::before {
        outline: 5px dashed rgba(255,255,255,.125);
        outline-offset: 2px;
    }
    .main__animated-guide-banner__txt-grouping {
        gap: 1rem;
    }
    .main__animated-guide-banner__txt-grouping svg {
        padding: .25rem;
    }
}
@media(max-width: 342px) {
    .main__animated-guide-banner__img-container {
        position: absolute;
        bottom: 0;
        right: 0;
    }
}