body {
    background-color: var(--background);
    --other: hsl(from var(--background) h s calc(l + 5));
    background-image: linear-gradient(var(--other), var(--background));
    background-size: contain;
    background-repeat: no-repeat;
    height: 100vh;
    overflow:hidden;
}
section {
    width: 75vw;
    height: 75vh;
}
* {
    box-sizing: border-box;
}
.progress {
    display: flex;
    align-items: center;
    margin: 10px;
}
.seperator {
    flex: 1;
    height: 3px;
    margin-left: 15px;
    margin-right: 15px;
    border-radius: 20px;
    background-color: rgba(255, 255, 255, 0.25);
    background-image: none;
    position: relative;
    transition-duration: 500ms;
}
.seperator::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(90deg, rgba(0,255,0, .5), rgba(255, 255, 255, 0.25) 75%);

  opacity: 0;
  transition: opacity 1s;
}
.seperator[progressed] {
    background-color:transparent;
}
.seperator[progressed]::before {
    opacity: 1;
}
.seperator[done] {
    background-color: rgba(0,255,0,.5);
}
.circle_progression {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display:flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);

    transition-duration: 500ms;
}
.circle_progression[done] {
    /* opacity: .5; */
    background-color: rgba(0, 192, 0, 0.25);
    /* border-color: rgba(0, 255, 0, .5); */
}
#content {
    text-align: left;
    margin: 10px;
    margin-top: 0;
    flex:1;
}
#content > * {
    display:flex;
    flex-direction: column;
    height: 100%;

}
#three {
    justify-content: center;
    align-items: center;
}
h1 {
    font-size: 2rem;
}
.bottom {
    display:flex;
    justify-content: flex-end;
    align-items: center;
}

.side {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#allkits {
    display: flex;
    padding: 10px;
    gap:10px;
    overflow-y: scroll;
    flex:1 1 0;
    /* flex-shrink: 0; */
}
#allkits[grid] {
    flex-wrap: wrap;
}
#allkits[list] {
    flex-direction: column;
    /* flex-wrap: wrap; */
}

/* GRID */
#allkits[grid] > .kit {
    --radius: 10px;
    display: flex;
    flex-direction: column;
}
#allkits[grid] > .kit > .kit_bottom {
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    gap:5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-basis: 1;
    max-width: 100%;
}
#allkits[grid] > .kit > .kit_top {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    object-fit: contain;
    background-color: black;
    width:400px;
    height: 226px;
}
#allkits[grid] > .kit > .kit_top > * {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

/* LIST */
#allkits[list] > .kit {
    --radius: 10px;
    display: flex;
}
#allkits[list] > .kit > .kit_top {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    object-fit: contain;
    background-color: black;
    width:400px;
    height: 226px;
}
#allkits[list] > .kit > .kit_top > * {
    border-top-left-radius: var(--radius);
    border-bottom-left-radius: var(--radius);
    
}
#allkits[list] > .kit > .kit_bottom {
    padding: 10px;
    flex: 1;
    background-color: rgba(0, 0, 0, 0.1);
    border-top-right-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#allkits > .kit > .kit_bottom[selected] {
    background-color: rgba(0, 255, 98, 0.1);
}
#kitex {
    display: none;
}
#nexterror[hide] {
    display:none;
}
#content > *[leave] {
    animation: leave 1s ease-in-out forwards;
}
#content > *[not_active] {
    display: none;
}
#content > *[enter] {
    animation: enter 1s ease-in-out forwards;
}
@keyframes leave {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        opacity: 0;
        transform: translateY(-50px);
    }
}
@keyframes enter {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0px);
    }
}
#hostingver {
    opacity: .5;
    color: var(--text);
}

#allgamemodes {
    display: flex;
    padding: 10px;
    gap:10px;
    overflow-y: auto;
    flex-wrap: wrap;
    flex:1 1 0;
    /* flex-shrink: 0; */
}
.gamemode {
    --radius: 10px;
    display: flex;
    flex-direction: column;
}
body:not([limitedaccess="true"]) .gamemode[testOnly] {
    opacity: .5;
    order: 9;
}
.gamemode > .gamemode_top {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    object-fit: contain;
    background-color: black;
    width:400px;
    height: 226px;
}
.gamemode > .gamemode_top > * {
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    
}
.gamemode_bottom {
    padding: 10px;
    background-color: var(--container);
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
    gap:5px;
    display: flex;
    flex-direction: column;
    flex-basis: 1;
}
.gamemode_bottom > div[details] {
    display: flex;
    gap:5px;
    > * {
        flex:1;
    }
}
.gamemode_bottom > *[about]> *[info] > b[hide] {
    display:none;
}
.gamemode_bottom > *[about] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gamemode_bottom > *[about] > *[tags] {
    display: flex;
    flex-direction: column;
    gap:5px;
}
.gamemode_bottom > *[about] > *[tags] div {
    padding: 7px 10px;
    background-color: var(--container);
    border-radius: 10px;
    text-align: right;
}
#gamemodeex {
    display:none;
}
#gamemode_thumbnail {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.gamemodedetailscontent{
    display: flex;
    width: 75vw;
}
.gamemodedetailscontent > div {
    padding: 10px;
    background-color: var(--container);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.gamemodethumbnailcontainer {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.kitinfos {
    display: flex;
    gap:10px;
    flex-wrap: wrap;
}
.kitinfos > div {
    background-color: var(--container);
    padding: 10px;
    border-radius: 10px;
}
#proceedToHostingBtn {
    font-size: 1.25rem;
    border-width: 2.75px;
}
.quickies {
    display: flex;
    gap:5px;
    flex-direction: column;
}
.quickies > * {
    display: flex;
    gap:10px;
    align-items: center;
    text-align: center;
}
.quickies > * > i {
    font-size: 2rem;
}
#tutorialHighlight {
    position: absolute;
    outline: 100vw solid rgba(0,0,0,.75);
    /* left: 50%;
    top: 50%;
    width: 50vw;
    height: 50vh; */
    background-color: transparent;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    z-index: 9;
    /* transition: opacity 500ms; */
    transition-duration: 500ms;
}
#tutorialHighlight[show] {
    opacity: 1;
}
#tutorialBox {
    position: absolute;
    display: none;
    flex-direction: column;
    gap:5px;
    background-color: var(--background);
    z-index: 10;
    color:var(--text);
    border-radius: 5px;
}
#tutorialBox[show] {
    display: flex;
}
.gamemodethumbnailcontainer{
    width: 100%;

    img {
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        object-fit: contain;
    }
}
.reviewContainer {
    display: flex;
    flex-direction: column;
    gap:5px;

    * {
        display: flex;
        gap:5px;
        align-items: center;
    }
}
@media screen and (max-width:1400px) {
    .gamemodedetailscontent {
        width: 60vw;
        flex-direction: column;

        > div {
            border-top-right-radius: 0 !important;
        }
    }
    .gamemodethumbnailcontainer {
        > img {
            border-top-right-radius: 10px;
            border-bottom-left-radius: 0 !important;
        }
    }
}