@font-face {
    font-family: "gg sans";
    src: url(fonts/gg\ sans\ Regular.ttf);
}


.atkinson-hyperlegible-next-common {
  font-family: "Atkinson Hyperlegible Next", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

.jetbrains-mono-code {
  font-family: "JetBrains Mono", monospace;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Atkinson Hyperlegible Next', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color:  whitesmoke;
    margin: 0;
    cursor: url("images/cursormk2lila.png"), auto;
}

.side-cats {
    object-fit: contain; 
    filter: drop-shadow(0 0 10px rgb(0, 0, 0));
}


section {
    background-color: #000a;
    margin: 0 auto;
    padding: 20px;
    border: 4px solid rgb(206, 81, 231);
    box-sizing: border-box;
}

#wrapper {
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 30px;
}

main {
    width: 600px;
    min-height: 100vh;
}

main section {
    border-bottom: none;
    border-top: none;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}


nav {
    display: flex;
    justify-content: space-evenly;
    margin: 10px 0;
    height: 56px;
}

nav a {
    width: 103px;
    filter: drop-shadow(0 0 8px #fff8);
    display: flex;
    justify-content: center;
}

nav a img {
    height: 100%;
}

nav a[href=""] {
    animation: 2s linear infinite rainbow;
}

nav a:hover {
    transform: scale(1.1);
}

hr {
    width: 100%;
}

aside {
    width: 300px;
    margin-top: 70px;
    text-align: center;
}

aside section {
    border-radius: 30px;
    margin-top: 30px;
    padding: 10px;
}

aside h2 {
    margin-top: 10px;
}

.changelog {
    max-height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}

footer {
    margin-top: auto;
    text-align: center;
}

h1, h2, h3 {
    text-align: center;
}

a {
    color: rgb(206, 81, 231);
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
    transition: 0.2s all ease;
    color: blueviolet;
}

p {
    font-size: 14pt;
}

strong {
    color: rgb(119, 67, 240);
}

.socials {
    display: flex;
    flex-direction: column;
}

.steam {
    font-family: "motiva-sans", sans-serif;
    font-weight: 200;
    font-style: normal;
    background: linear-gradient(155deg,rgba(212, 85, 188, 0.3) 0%, rgba(94, 116, 214, 0.3) 100%);
    height: 180px;
    min-width: 220px;
    padding: 5px;
    border-radius: 25px;
    margin: 15px 0;
}

.steam p {
    margin-top: auto;
    font-size: 1.4em;
}

.steam a:hover {
    text-decoration: none;
    animation: 2s linear infinite steam-color;
}

.discord {
    background-color: rgb(30, 30, 46, 0.5);
    height: 180px;
    min-width: 220px;
    padding: 5px;
    border: 1px solid rgb(128, 128, 128, 0.5);
    border-radius: 25px;
    margin: 15px 0;
}

.discord p {
    margin-top: auto;
    font-size: 1.4em;
}

.discord a {
    color: rgb(205, 214, 244);
    font-family: "gg sans";
}

.discord a:hover {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.button {
  box-sizing: border-box;
  border: 4px solid transparent;
  transition: all 0.3s ease;
  transform-origin: center;
}

.button:hover {
    border: 4px solid rgb(156, 28, 135);
    transform: scale(1.3);
}

.profile {
    transition: all 0.2s ease-in-out;
}

.profile:hover {
    transform: scale(1.1);
}

.logs-side {
    border-radius: 0;
    border-right: 0;
    flex: 1;
}

.logs-main {
    width: 1000px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    justify-items: center;
    margin: 20px 0;
}

.gallery img {
    width: 150px;
    transition: all 0.2s;
}

.gallery img:hover {
    transform: scale(1.1);
}

#bigimage {
    display:none; position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:rgba(0,0,0,0.8);
    align-items:center;
    justify-content:center;
    z-index:1000;
}

#bigimage-img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 8px;
}

/* source molerat https://thedressedmolerat.github.io/ */
#bg {
    position: fixed;
    z-index: -2;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -50%;
    background-image: url(images/Backgpng.png);
    animation: 6s linear infinite bg;
}

.smoll-site-text {
    font-family: "jetbrains mono";
    font-size: 0.9em;
}

@media (max-width: 1620px) {
    .side-cats {
        display: none;
    }
}

@media (max-width:1030px) {
    #wrapper {
        flex-direction: column;
        align-items: center;
    }
    aside {
        order: 2;
        width: 100%;
        max-width: 750px;
        justify-content: center;
    }
    main {
        width: 100%;
        min-height: fit-content;
    }
    main section {
        border-bottom:4px solid rgb(206, 81, 231);
        border-bottom-left-radius: 25px;
        border-bottom-right-radius: 25px;
    }
    .socials {
        flex-direction: row;
        justify-content: space-evenly;
    }
    .logs-side {
        border-right: 4px solid rgb(206, 81, 231);
    }
    .logs-main {
        width: 100%;
    }
}

@media (max-width:520px) {
    .socials {
        flex-direction: column;
    }
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@keyframes bg { 0%{transform:translateY(0px);} 100%{transform:translate(128px,128px);} }

@keyframes rainbow {
    100%,0%{filter: drop-shadow(0 0 15px rgb(255,0,0));}
    8%{filter: drop-shadow(0 0 15px rgb(255,127,0));}
    16%{filter: drop-shadow(0 0 15px rgb(255,255,0));}
    25%{filter: drop-shadow(0 0 15px rgb(127,255,0));}
    41%{filter: drop-shadow(0 0 15px rgb(0,255,127));}
    50%{filter: drop-shadow(0 0 15px rgb(0,255,255));}
    58%{filter: drop-shadow(0 0 15px rgb(0,127,255));}
    66%{filter: drop-shadow(0 0 15px rgb(0,0,255));}
    75%{filter: drop-shadow(0 0 15px rgb(127,0,255));}
    83%{filter: drop-shadow(0 0 15px rgb(255,0,255));}
    91%{filter: drop-shadow(0 0 15px rgb(255,0,127));}
}

@keyframes steam-color {
    0%, 100% { color: rgb(206, 81, 231); }
    33% { color: rgb(127,0,255); }
    66% { color: rgb(255,0,255); }
    87% { color: rgb(255,0,127); }
}
