/* CUSTOMIZING ZONE!

here you can change the colors and the font for the page without needing to mess around with the rest of the CSS :)

first are the colors: */


:root {
    --pagebackgroundcolor: #764355;
    --divbackgroundcolor: #454545;
    --textcolor: #FFD452;
    --linkcolor: #ff704a;
    --highlightcolor: #FF7E00;

}

/* and these are the two fonts: */

body {
    font-family: 'Noto Sans', sans-serif;
    font-size: 10pt;
}

h1,h2,h3,h4 {
    font-family: 'Chalkduster', sans-serif;
}

p {
    font-size:1.2em;
}
/* add a background image if you want! */

body {
    background-image: url(https://textures.neocities.org/textures/humans-and-technology/bolts.jpg);
    background-attachment: fixed;
}




/* down here is the rest of the layout's CSS! */


* {
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--divbackgroundcolor) var(--highlightcolor)
}

::selection {
    background-color: var(--highlightcolor);
    color: var(--divbackgroundcolor);
}

body {
    background-color: var(--pagebackgroundcolor);
    color: var(--textcolor);
}

img {
    max-width: 100%;
}

a {
    color: var(--linkcolor)
}

a:hover,
a:focus {
    color: var(--highlightcolor)
}

a:visited {
    color: var(--linkcolor);
    filter: brightness(50%);
}

button {
    background-color: var(--divbackgroundcolor);
    border: 1px outset var(--textcolor);
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    padding: 10px;
    cursor: pointer
}

button:hover,
button:focus {
    border-color: var(--highlightcolor)
}

button:active {
    border: 1px inset var(--highlightcolor)
}

blockquote {
    border-left: 3px solid var(--highlightcolor);
    padding-left: 15px;
    border-radius: 15px;
}

hr {
    width: 70%;
    border: 1px solid var(--highlightcolor);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    margin-bottom: 10px;
}

/* this is the container that holds the whole layout. */

.container {
    margin: 30px auto;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    row-gap: 20px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px;
}


/* these are the regular div boxes. */

.large,
.small,
.medium,
.half {
    border: 1px solid;
    background-color: var(--divbackgroundcolor);
    padding: 15px;
    overflow: auto;
    scrollbar-width: thin;
    position: relative;
    height: 300px;
}

.large {
    width: 100%;
    max-height: 500px;
}

.small {
    width: calc(33% - 10px);
}

.medium {
    width: 66%;
}

.half {
    width: calc(50% - 5px);
}



/* here are all the fancy optional box types! */

.short {
    height: 150px;
}

.reverse {
    background-color: var(--textcolor);
    color: var(--divbackgroundcolor);
}

.borderless {
    border: none;
}

.tiltright {
    transform: rotate(3deg)
}

.tiltleft {
    transform: rotate(-3deg)
}

.empty {
    background-color: transparent;
}

.taped {
    overflow: visible;
    position: relative;
    box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.4);
}

.taped::before {
    content: " ";
    background-color: rgba(255, 250, 238, 0.4);
    height: 45px;
    width: 40%;
    position: absolute;
    top: -20px;
    left: 30%;
    clip-path: polygon(100% 0%, 100% 11%, 98% 15%, 100% 21%, 99% 28%, 100% 32%, 99% 35%, 99% 40%, 100% 43%, 99% 48%, 100% 53%, 100% 57%, 99% 60%, 100% 64%, 100% 68%, 99% 72%, 100% 75%, 100% 79%, 99% 83%, 100% 86%, 100% 90%, 100% 100%, 0% 100%, 1% 97%, 0% 94%, 1% 89%, 0% 84%, 1% 81%, 0px 76%, 0px 71%, 1% 66%, 0% 64%, 0% 61%, 0% 59%, 1% 54%, 0% 49%, 1% 45%, 0% 40%, 1% 37%, 0% 34%, 1% 29%, 0% 23%, 2% 20%, 1% 17%, 1% 13%, 0px 10%, 1% 6%, 0% 0%);
    pointer-events: none;
}

.picturebox {
    padding: 0;
    overflow: hidden;
    background-color: transparent;
}

.picturebox img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* end of fancy optional box types */


/* this is the fixed footer that holds the navigation links! */

.footer {
    height: 75px;
    width: 100%;
    position: fixed;
    bottom: 0px;
    background-color: var(--divbackgroundcolor);
    border: 1px solid var(--textcolor);
    left: 0;
    transition: .5s;
}

.footer h1 {
    font-size: 40pt;
    margin-top: -55px;
    color: var(--textcolor);
    text-align: center;
}

.footer ul li {
    display: inline;
}

.footer ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 0;
    padding-top: 3px;
    margin: 0;
    font-size: 12pt;
}

.footer a {
    color: var(--textcolor);
}

.footer a:hover,
.footer a:focus {
    color: var(--linkcolor)
}

/* end of footer */


/* here's the stuff for the gallery div! */

.gallery {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    overflow: auto;
}

.gallery h2 {
    width: 100%;
}

.gallery img {
    margin-top: 5px;
    border: 1px solid;
}

.column {
    width: 25%;
    padding: 5px;
}

/* end of gallery div! */


/* this is the styling for small screens/mobile! */
@media only screen and (max-width: 500px) {

    .container,
    .small,
    .medium,
    .half {
        width: 100%
    }

    .column {
        width: 50%;
    }
}
