[data-barba="wrapper"].barba-active [data-barba] {
    position: absolute;
    top: 0;
    width: 100vw;
}


/* Detail container */
#detail-container {
    background-color: white;
    position: fixed;
    top: 0;
    left: 100%;
    z-index: 10;
    width: 70%;
    height: 100%;
    overflow-y: scroll;
    border-left: var(--border);
}

#detail-container .detail-page {
    border-left: none;
}

#detail-container .close {
    border: none;
    background: transparent;
    cursor: pointer;
}

#detail-container .close-container {
    position: absolute;
    top: 0;
    right: 0;
    padding: 2% 2% 0 0;
}


@media only screen and (max-width : 750px) {
    #detail-container {
        width: 90%;
    }

    #detail-container .close {
        top: 3%;
    }

    #detail-container .variety-name.kappa {
        max-width: 70%;
    }

    #detail-container .close-container {
        padding: 2%;
    }
}





/* Utility */
.has-text-black {
    color: #000;
}

.is-hidden {
    display: none;
}

.is-scroll-locked {
    overflow: hidden !important;
}

.is-scroll-locked #background-container {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    width: 100%;
    height: 100%;
}





/* Sidebar button */
.sidebar-button {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;

    padding: 0 2.8%;
    height: 100%;
    height: 100vh;

    z-index: 9;
    color: #fff;
    transition: padding 0.2s ease, color 0.2s ease, background-color 0.2s ease, border 0.2s ease;
    border-left: var(--border-transparent);
    border-right: var(--border-transparent);
}

[data-page="varieties"] .sidebar-button {
    right: auto;
    left: 0;
}

.sidebar-button.is-left {
    background-color: #fff;
    border-right: var(--border);
}

.sidebar-button:hover {
    background-color: #fff;
}

.barba-active .sidebar-button {
    background-color: #fff;
    border-left: var(--border);
    border-right: var(--border);
}

.barba-active .sidebar-button a {
    color: #000;
}

.sidebar-button a {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;

    height: 100%;
    opacity: 0;
    transition: color 0.2s ease, opacity 0.5s ease;

    width: 100%;
    height: 100%;

    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-button a.is-active {
    pointer-events: all;
    opacity: 1;
}

.sidebar-button a.is-left, .sidebar-button:hover a {
    color: #000;
}

.sidebar-button.has-text-black a {
    color: #000;   
}


@media only screen and (min-width : 750px) {
    .sidebar-button:not(.is-left):hover {
        padding-right: 3.8%;
        border-left: var(--border);
    }
    
    .sidebar-button.is-left:hover {
        padding-left: 3.8%;
    }
}

@media only screen and (max-width : 750px) {
    .sidebar-button {
        padding: 0 5.4%;
    }
    .sidebar-button a {
        align-items: flex-end;
        padding-bottom: 50%;
        padding-bottom: 50px;
    }
}