.pg_gi_wrapper>* {
    box-sizing: border-box;
}

.pg_gi_wrapper {
    color: #fff;
    width: 100%;
    font-family: 'NeutraTextTF-Light';
    height: 100%;
    max-width: 1300px;
    margin: auto;
    grid-template-columns: auto 1fr;
    justify-items: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.pg_gi_wrapper {
    grid-template-columns: 1fr;
}

.pg_gi_controls {
    padding: 2rem;
    max-width: 400px;
    border-radius: 0.5rem;
    /* border: 1px solid #fff; */
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.pg_gi_controls {
    max-width: 100%;
    background: rgb(0 0 0 / 39%);
    height: fit-content;
}

.pg_gi_controls_title {
    font-size: 1.8rem;
    padding: 0;
    margin: 0;
}

.pg_gi_switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1em;
    align-items: center;
    /* justify-content: space-between; */
    /* flex-direction: row-reverse; */
    justify-content: left;
    margin: 10px 0;
    cursor: pointer;
    text-transform: uppercase;
}

.pg_gi_switch input {
    display: none;
}

.pg_gi_slider {
    /* box-shadow: inset 0.05em 0.1em 0.25em 0px #00000026; */
    display: flex;
    /* gap: 1em; */
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 30px;
    line-height: 100%;
    font-family: "Neutra Text TF";
    /* font-size: 14px; */
    padding: 0 0.3em;
    width: 3.5em;
    height: 1em;
    background: #ffffff10;
    border-radius: 1em;
    /* margin-right: 0.5em; */
    position: relative;
    transition: background 0.3s;
    outline: #FFFFFF19 solid 0.08em;
}

.pg_gi_slider_i {
    font-size: 30px;
    margin-left: 0.1em;
    width: 0.095em;
    background: #fff;
    height: 0.4em;
}

.pg_gi_slider_o {
    font-size: 30px;
    width: 0.4em;
    height: 0.4em;
    border-radius: 1em;
    border: 0.1em solid #ffffff10;
}

.pg_gi_slider::before {
    content: "";
    position: absolute;
    top: 0.1em;
    left: 0.1em;
    width: 1.75em;
    height: 0.8em;
    background: #D1D1D1;
    border-radius: 1.5em;
    transition: all 0.3s;
    box-shadow: 0.05em 0.1em 4px 0px rgba(0, 0, 0, 0.275)
}

input:checked+.pg_gi_slider {
    background: #00CE9C;
    outline-color: #6DF0E1;
}

input:checked+.pg_gi_slider::before {
    transform: translateX(1em);
    box-shadow: -0.05em 0.1em 4px 0px rgba(0, 0, 0, 0.275);
    background: white;
    left: auto;
    right: 1.1em;

}

.pg_gi_images {
    /* margin-top: -15vh; */
     aspect-ratio: 456/625;
    position: relative;
    width: 100% !important;
    height: 100% !important;
    margin: 0;
}

@media screen and (max-width: 1000px) {
    .pg_gi_images {
        width: 144%;
        order: -1;
    }
}

.pg_gi_images img {
    position: absolute;
    opacity: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    transition: all 0.25s ease;
    object-fit: cover;
}

#pg_gi_grill-lighting,
.pg_gi_img-lighter {
    mix-blend-mode: screen;
}

.pg_gi_images img.pg_gi_active,
.pg_gi_images .pg_gi_active img {
    opacity: 1;
}

.pg_gi_images>img:not(.pg_gi_active) {
    opacity: 0;
}

@keyframes pg_gi_rainbowlogo {
    0% {
        filter: hue-rotate(0deg)
    }

    10% {
        filter: hue-rotate(36deg)
    }

    20% {
        filter: hue-rotate(72deg)
    }

    30% {
        filter: hue-rotate(180deg)
    }

    40% {
        filter: hue-rotate(144deg)
    }

    50% {
        filter: hue-rotate(180deg)
    }

    60% {
        filter: hue-rotate(216deg)
    }

    70% {
        filter: hue-rotate(252deg)
    }

    80% {
        filter: hue-rotate(288deg)
    }

    90% {
        filter: hue-rotate(384deg)
    }

    100% {
        filter: hue-rotate(360deg)
    }
}

@keyframes pg_gi_pulse {
    0% {
        opacity: 0.9
    }

    25% {
        opacity: 0.7
    }

    50% {
        opacity: 0.6
    }

    75% {
        opacity: 0.5
    }

    100% {
        opacity: 0.9
    }
}

.pg_gi_pulse {
    opacity: 0;
    mix-blend-mode: plus-lighter;
    transition: all 0.25s ease;
}

.pg_gi_pulse.pg_gi_active {
    opacity: 1;
}

.pg_gi_img-rainbow {
    animation: pg_gi_pulse 6.5s infinite, pg_gi_rainbowlogo 20s infinite;
}

.pg_gi_description {
    margin-top: 2rem;
    font-size: 0.8rem;
    line-height: 120%;

}

.pg_gi_controls_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}
