* {
    box-sizing: border-box;
    scrollbar-color: #C3554E #E7E1C8;
    scrollbar-width: thin;
}
 
@font-face {
    font-family: Montserrat;
    src: url("/fonts/Montserrat-Regular.woff");
}

.gallery {

    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: fit-content;
    margin: auto;
    justify-content: space-evenly;
    row-gap: 10px;
}

.gallery img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    transition: 0.3s;
}

.gallery > span {
    width: 100px;
    height: 100px;
    display:none;
}

.gallery img:hover {
    transform: scale(1.5);
    object-fit: contain;
}

label {border:1px solid;
margin:5px;
padding:5px;
display:inline-block}



 .gallery:has(input:checked) span {
            display: none;}
         .collection:has(#all:checked) span {
            display: inline-block;}
.gallery:has(#all:checked) span {
            display: inline-block;}
.gallery:has(#black:checked) span[class~="black"] {
            display: inline-block;}
.gallery:has(#red:checked) span[class~="red"] {
            display: inline-block;}
.gallery:has(#orange:checked) span[class~="orange"] {
            display: inline-block;}
.gallery:has(#yellow:checked) span[class~="yellow"] {
            display: inline-block;}
.gallery:has(#green:checked) span[class~="green"] {
            display: inline-block;}
.gallery:has(#blue:checked) span[class~="blue"] {
            display: inline-block;}
.gallery:has(#purple:checked) span[class~="purple"] {
            display: inline-block;}
.gallery:has(#pink:checked) span[class~="pink"] {
            display: inline-block;}
.gallery:has(#darkrainbow:checked) span[class~="darkrainbow"] {
            display: inline-block;}
.gallery:has(#lightrainbow:checked) span[class~="lightrainbow"] {
            display: inline-block;}
.gallery:has(#white:checked) span[class~="white"] {
            display: inline-block;}
.gallery:has(#grey:checked) span[class~="grey"] {
            display: inline-block;}
.gallery:has(#brown:checked) span[class~="brown"] {
            display: inline-block;}

.gallery:has(#morris:checked) span[class~="morris"] {
            display: inline-block;}
.gallery:has(#geocities:checked) span[class~="geocities"] {
            display: inline-block;}

.gallery:has(#eyepain:checked) span[class~="eyepain"] {
            display: inline-block;}

.gallery:has(#transparent:checked) span[class~="transparent"] {
            display: inline-block;}

.gallery:has(#ap:checked) span[class~="ap"] {
            display: inline-block;}

.buttons {width:100%;}

body {
    color: rgb(27, 28, 33);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    height: auto;
    background-image: url("https://xixxii.neocities.org/images/bgs/colorfulfish.png");
    background-repeat: repeat;
    background-attachment: fixed;
    margin: 0;
}

a:link {
    text-decoration: none;
    color: #FF5733;
    font-weight: bold;

}

a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #900C3F;

}

a:hover {
    text-decoration: underline;
    font-weight: bold;
    color: #581845;

}

a:active {
    text-decoration: none;
    font-weight: bold;
    color: #FF5733;
}

.navbuttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

h1 {
    color: white;
    -webkit-text-stroke: 2px black;
    text-align: center;
    font-family: sans-serif;
    font-size: 35px;
    height: auto;
    padding: 5px 5px 10px;
    margin: auto;
    border-style: none;
    margin-top: 25px;
    margin-bottom: 25px;
}

h2 {
    font-size: 36pt;
}

.sidebar h2 {
    font-size: 13pt;
    margin: 0;
}

.sidebar ul {
    padding-left: 0px;
    list-style-type: none;
}

h3 {
    width: 100%;
    text-align: center;
    margin: auto;
    margin-top: 25px;
    font-size: 24pt;
}

p {
    line-height: 1.2;
}

#header {
    margin: auto;
    width: fit-content;
}

#header img {
    max-width: 100%;
}

.stickerpage {
    text-align: center;
    height: auto;
    border-radius: 50px;
    font-size: 14px;
    background-color: #FAF9F6;
    padding: 25px;
    position: relative;
    overflow: auto;
    margin: 25px auto 2px;
    border-color: black;
    border-style: double;
    max-width: 800px;
    width: 60%;

}

.stickerpage img {
    vertical-align: middle;
    max-width: 200px;
    max-height: 200px;
}

.sidebar {
    position: fixed;
    height: auto;
    top: 25%;
    font-size: 12px;
    padding: 5px;
    width: 150px;
    text-align: center;
}

.pp {
    background-color: #FAF9F6;
    padding: 5px;
    overflow: auto;
    border-color: black;
    border-style: double;
}

.hey {
    text-align: center;
    font-size: 14px;
    background-color: #FAF9F6;
    padding: 15px;
    overflow: auto;
    margin: 25px auto 2px;
    border: black 3px double;
    max-width: 800px;
    width: 60%;
    border-radius: 50px;
}

.premades {
    width: 60%;
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.premades img {
    max-width: 100%;
    border: outset 4px #BBDDBB;
}

.text {
    background-color: #FAF9F6;
    padding: 10px;
    width: 80%;
    max-width: 800px;
    margin: auto;
    border: black double 3px;
}

.htmlncss {
    display: flex;
    justify-content: space-evenly;
}



.frames {
    width: calc(80% - 180px);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.frames a {
    padding: 5px;
    background-color: white;
    border: 3px double;
}

.frames img {
    max-width: 300px;
    margin: 20px;
}

.frames>div {
    width: 300px;
    height: 300px;
    padding: 50px;
    text-align: center;
}

#three {
    border-image-slice: 116 141 116 141;
    border-image-width: 30px 40px 30px 40px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame3.png);
}

#four {
    border-image-slice: 181 182 181 181;
    border-image-width: 100px 100px 100px 100px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame4.png);
}

#eight {
    border-image-slice: 176 194 176 194;
    border-image-width: 50px 55px 50px 55px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame8.png);
}

#twelve {
    border-image-slice: 292 234 294 271;
    border-image-width: 80px 75px 80px 75px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame12.png);
}

#thirteen {
    border-image-slice: 121 121 121 121;
    border-image-width: 40px 40px 40px 40px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame13.png);
}

#fourteen {
    border-image-slice: 200 200 200 200;
    border-image-width: 70px 70px 70px 70px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame14.png);
}

#fifteen {
    border-image-slice: 160 160 160 160;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame15.png);
}

#sixteen {
    border-image-slice: 147 181 147 181;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame16.png);
}

#seventeen {
    border-image-slice: 175 175 175 175;
    border-image-width: 30px 30px 30px 30px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame17.png);
}

#eighteen {
    border-image-slice: 312 268 280 270;
    border-image-width: 100px 100px 100px 100px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame18.png);
}

#twenty {
    border-image-slice: 210 210 210 210;
    border-image-width: 100px 100px 100px 100px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame20.png);
}

#twentyone {
    border-image-slice: 225 225 225 225;
    border-image-width: 80px 80px 80px 80px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame21.png);
}

#twentyfive {
    border-image-slice: 217 217 217 217;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame25.png);
}

#fortysix {
    border-image-slice: 251 270 251 256;
    border-image-width: 100px 100px 100px 100px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame46.png)
}

#fortyseven {
    border-image-slice: 160 160 160 160;
    border-image-width: 60px 60px 60px 60px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame47.png);
}


#fiftyfive {
    border-image-slice: 165 165 165 165;
    border-image-width: 100px 100px 100px 100px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame55.png);
}

#sixty {
    border-image-slice: 165 152 165 152;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame60.png)
}

#sixtytwo {
    border-image-slice: 126 100 126 100;
    border-image-width: 60px 50px 60px 50px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame62.png);
}

#seventyfive {
    border-image-slice: 85 80 91 82;
    border-image-width: 69px 69px 69px 69px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame75.png);
}

#seventysix {
    border-image-slice: 100 100 100 100;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame76.png);
}

#seventyseven {
    border-image-slice: 55 55 55 55;
    border-image-width: 35px 35px 35px 35px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame77.png);
}

#eightyone {
    border-image-slice: 122 122 122 128;
    border-image-width: 80px 80px 80px 80px;
    border-image-repeat: round round;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame81.png);
}

#eightytwo {
    border-image-slice: 125 125 125 125;
    border-image-width: 50px 50px 50px 50px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame82.png);
}

#ninetyone {
    border-image-slice: 27 27 27 27;
    border-image-width: 20px 20px 20px 20px;
    border-image-repeat: repeat repeat;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame91.png);
}

#ninetytwo {
    border-image-slice: 203 166 203 166;
    border-image-width: 100px 75px 100px 75px;
    border-image-repeat: stretch stretch;
    border-image-source: url(https://xixxii.neocities.org/images/clipartframes/frame92.png);
}

.hey ul {text-align:left}

@media (max-width: 772px) {
    .sidebar {
        top: 0;
        width: 100%;
    }

    .pp {
        height: 100px;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }

    .navbuttons {
        justify-content: space-between;
    }

    .sidebar li {
        border: 3px double;
        width: fit-content;
        padding: 5px
    }

    .hey {
        width: 100%;
    }
}