/* THIS IS THE CSS */

:root {
    --header-image: url('https://files.catbox.moe/xz004u.jpeg');
    --body-bg-image: url('https://files.catbox.moe/vhyjvh.JPG');

    /* colors */
    --content: #43256E;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Regular.ttf');
}

@font-face {
    font-family: 'Fancy';
    src: url('/fancy.ttf');
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-Italic.ttf');
    font-style: italic;
}

@font-face {
    font-family: Nunito;
    src: url('https://sadhost.neocities.org/fonts/Nunito-BoldItalic.ttf');
    font-style: italic;
    font-weight: bold;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    background-color: rgb(92, 52, 60);
    background-size: 200px;
    color: #fceaff;
    background-image: var(--body-bg-image);
}

* {
    box-sizing: border-box;
}

/* the container wraps your entire website */
#container {
    max-width: 900px;
    margin: 0 auto;
}

/* links on your page except the navigation */
#container a {
    color: #ED64F5;
    font-weight: bold;
}

#header {
    width: 100%;
    background-color: rgb(92, 52, 60);
    height: 150px;
    background-image: var(--header-image);
    background-size: 100%;
}

/* navigation */
#navbar {
    height: 40px;
    background-color: rgb(26,12,11);
    width: 100%;
}

#navbar ul {
    display: flex;
    padding: 0;
    margin: 0;
    list-style-type: none;
    justify-content: space-evenly;
}

#navbar li {
    padding-top: 10px;
}

#navbar li a {
    color: rgb(215, 209, 206);
    font-weight: 800;
    text-decoration: none;
}

#navbar li a:hover {
    color: #a49cba;
    text-decoration: underline;
}

#flex {
    display: flex;
}

/* colors BOTH sidebars */
aside {
    background-color: #241445;
    width: 200px;
    padding: 20px;
    font-size: smaller;
}

/* main content area between the sidebars */
main {
    background-color: rgb(92, 52, 60);
    flex: 1;
    padding: 20px;
    order: 2;
    padding-left: 50px;
    min-width: 0;
}

/* order: left sidebar is 1, content is 2, right sidebar is 3 */
#leftSidebar {
    order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color:rgb(26,12,11);
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
}

h1,
h2,
h3 {
    color: rgb(26,12,11);
}

h1 {
    font-size: 50px;
}

strong {
    color: rgb(26,12,11);
}

/* the darker colored box */
.box {
    background-color: #13092D;
    border: 1px solid #ED64F5;
    padding: 10px;
}

#topBar {
    width: 100%;
    height: 30px;
    padding: 10px;
    font-size: smaller;
    background-color: #13092D;
}

/* MEDIA QUERY: changes the layout on small screens.
   If you change the container max-width above,
   set the number below to (new width minus 100). */
@media only screen and (max-width: 800px) {
    #flex {
        flex-wrap: wrap;
    }

    aside {
        width: 100%;
    }

    main {
        order: 1;
    }

    #leftSidebar {
        order: 2;
    }

    #rightSidebar {
        order: 3;
    }

    #navbar ul {
        flex-wrap: wrap;
    }
}

.card {
    float: right;
    width: 200px;
    margin: 10px 30px 10px 40px;
    text-align: center;
    
}

.card img {
    width: 100%;
    display: block;
    
}

.gallery {
    --pic-width: 300px;
    --pic-height: 300px;
    --pic-gap: 20px;
    display: flex;
    gap: var(--pic-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-inline: calc(50% - var(--pic-width) / 2);
    scrollbar-width: none;
    position: relative;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery img {
    width: var(--pic-width);
    height: var(--pic-height);
    object-fit: cover;
    flex-shrink: 0;
    scroll-snap-align: center;
    border: 30px solid transparent;
    border-image: url('https://files.catbox.moe/0r9qfv.webp') 20% round;
}

#gallerytitle {
    text-align: center;
}



