/* Sample CSS comment for myself*/

/* maybe implement cool crosshair here
head.crosshair{
    all: initial;
}
*/

@font-face {
  font-family: 'Cookies';
  src: url('font/Cookies-Regular.woff2') format('woff2'),
       url('font/Cookies-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap; 
}

/* About the main stuff used */
body.a{
    font-family: 'cookies', sans-serif;
    font-size: 26px;
    background: url('images/backgrounds/bgalt.jpg'); background-size: cover; background-repeat: no-repeat;

    /*
    i give up.
    here is some source code i took for the background pic to work on all devices
   
    Source - https://stackoverflow.com/a/77116033
    Posted by Khushbu Asati
    Retrieved 2026-07-07, License - CC BY-SA 4.0
    */

    /* background-size: cover;
    background-repeat: no-repeat; */

    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    width: auto;
    overflow: auto;
    color: rgb(255, 237, 237); text-align: center;
}

nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    transition: 0.3s; outline: 2px solid #7b7b92d2; padding: 10px; border-radius: 10px;
    margin: 10px auto 0;
    width: min(1000px, calc(100% - 20px));
    
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/*joke feature 
nav:hover {
    transition:0.3s; outline: 2px solid #7b7b92d2; padding: 100px; border-radius: 10px; -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(4px);
}
*/

/*nav button{
    margin-right: 25px; text-decoration: none; font-weight: bold; color: #333;
}
nav button:hover{
    color: blue;
}
*/

nav a{ /* REMEMBER, THIS GETS IGNORED IF YOU PUT CLASS="btn" inside the <a> tag under nav!*/
    text-decoration: none; font-family: 'cookies', serif; font-weight: bold; color: #333;
}

nav a:hover {
    color: rgb(209, 209, 243);
}    

nav a:focus-visible {
    outline: 2px solid rgb(199, 199, 255);
    outline-offset: 3px;
}


div p{
    text-align: left;
}


.page{
    display: none;
    width: min(1000px, calc(100% - 20px));
    box-sizing: border-box;
    padding: 16px;
    border: 2px solid #4c1c1c5a;
    border-radius: 10px;
    margin: 10px auto 0;
    background-color: rgba(0, 0, 0, 0.16);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}    

.page.activeblock {
    display: block; 
}    

/* Center images and blocks */    
.centered{
    display: block;
    margin-left: auto;
    margin-right: auto;
}    

/* New improved button for art site*/
.btn{
    font-family: 'cookies', serif;
    /* font-weight: bold; */
    /* font-style:italic; */


    font-size: 28px;
    text-decoration: none;
    user-select: none;
    outline: 2px solid rgba(68, 68, 68, 0.472);
    outline-offset: -2px;

    background-color: rgba(201, 128, 184, 0.3);

    color: rgb(236, 175, 225);

    padding: 8px 20px;

    display: inline-block;
    text-align: center;
    line-height: 1;


    margin-right: 2.5px;
    margin-left: 2.5px;

    margin-top: 2.5px;
    margin-bottom: 2.5px;
    cursor: crosshair;

    border-radius: 10px;

    opacity: 1;
    transition: 0.3s;
}

.btn:hover {
    transition:0.3s;
    transform: scale(1.1);
    font-size: 28px;



    background-color: rgba(107, 67, 131, 0.3);
    color: rgb(199, 199, 255);
}

.btn[aria-current="page"] {
    background-color: rgba(107, 67, 131, 0.55);
    color: rgb(255, 255, 255);
}


img { 
/* crispy pictures (nearestneighbor filtering kill antialiasing) */
    image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
    image-rendering: -moz-crisp-edges;          /* Firefox                        */
    image-rendering: -o-crisp-edges;            /* Opera                          */
    image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
    image-rendering: pixelated;                 /* Universal support since 2021   */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+                           */
}    


/* Disable or Enable text selection 
(drop in <body> to kill all on a single page */
.selectdisable {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}    

.selectenable { 
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -o-user-select: text;
    user-select: text;
}   


/* Kill all clicks */
.killclicks{
    pointer-events: none;
}    

/* Alternate Hyperlink Colour */
.hyperlinkaltcolour{
    color: rgb(237, 169, 86);
}    

/* Alternate text styles */
.bypassfont{
    font-family: 'Times New Roman', serif;
    font-size: 16px;
}    







/* DEPRECATED STYLES */
/* General Text */
    .gtext{
    color: rgb(255, 255, 255);
    /*text-align: center;*/
    }    

    /* Centered Text Only */
    .ctext{
    text-align: center;
    }     

    /* Choice Buttons */
    .choicebutton{
    font-family: 'cookies', serif;
    /* font-weight: bold; */
    /* font-style:italic; */


    font-size: 28px;
    text-decoration: none;
    user-select: none;
    outline: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(222, 164, 255, 0);
    color: rgb(0, 0, 0);

    padding: 6px 20px;


    border: none;
    text-align: center;
    margin: auto;

    cursor: crosshair;
    border-radius: 12px;
    }

    .choicebutton:hover{
    background-color: rgb(220, 138, 255);
    color: rgb(0, 0, 0);
    }

    /* Get the choicebutton to the center with the left edge on the center */
    .cbposition{
    position: absolute;
    left: 50%;
    }

    /* Drop this in to transform it to center */
    .ctransform{
    transform: translate(-50%, 0px) translateX(0px);
    }

    .rtransform1{
    transform: translate(-50%, -6px) translateX(125px);
    }

    .ltransform1{
    transform: translate(-50%, -6px) translateX(-125px);
    }
