body {
    display: flex;
}
.all {
    display:flex;
    flex-direction: column;
    gap:5px;
}
#kits, #favoritekits {
    display:flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 10px;
}
.kit {
    display:flex;
    justify-content: space-between;
    /* background-color: #0000002f; */
}
.kit_left {
    display:flex;
    align-items: center;
    gap: 10px;
}
.kit_right {
    display:flex;
    align-items: center;
    gap: 10px;
    
}
#kit_contextmenu {
    display:none;
    gap:5px;
    flex-direction: column;
    /* align-items: center; */
    padding: 5px;

    position: absolute;
    background-color: #00000073;
    border-radius: 5px;
    z-index: 8;
}
#kit_contextmenu[show] {
    display: flex;
}
#example {
    display:none;
}
#publicexample {
    display:none;
}
#allpublickits {
    padding-top: 10px;
    display:flex;
    flex-direction: column;
    gap:10px;
}
.puffy_button.blooket {
    display: flex;
    align-items: center;
    gap:5px;
    background-color: #07919b;
}
.puffy_button.quizlet {
    display: flex;
    align-items: center;
    gap:2px;
    background-color: #423ed8;
}
.puffy_button.gimkit {
    display: flex;
    align-items: center;
    gap:2px;
    background-color: #57067e;
}
.btnlist {
    display: flex;
    flex-direction: column;
    gap:5px;
    margin: 10px;
}
.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top > div {
    display: flex;
    gap:5px;
}
.bkptag {
    position: absolute;
    top: .5rem;
    right:.25rem;
}
@media screen and (max-width: 1100px) {
    body {
        flex-direction: column;
        align-items: stretch;
    }
    .all h1 {
        display: none;
    }
    .kit_left {
        overflow: hidden;
        flex:1 1 100%;
        /* text-wrap:nowrap; */
        position: relative;
        div:has(h1) {
            width: 50%;
            /* max-width: 50%; */
        }
        h1 {
            /* width: 75%; */
            /* white-space: nowrap; */
            text-wrap: nowrap;
            overflow: hidden;
            max-width: 100%;
            text-overflow: ellipsis;
        }
    }
}
@media screen and (max-width:770px) {
    section {
        position: relative !important;
    }
    body {
        gap:1rem;
        overflow: hidden;
        height: calc(100dvh - 75px);
    }
    .kit {
        flex-direction: column;
        gap:.5rem;
        .kit_right > button:not(.icon) {
            flex:1;
        }
    }
    .top button span {
        font-size: clamp(.75rem, 3vw, 1rem);
    }
}
@media screen and (max-width: 400px) {
    .top button span {
        display: none;
    }
}