@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --text: #FFFFFF;
    --vgen: #B8FF26;
    --accent: #D17100;
    --text-alt: #858585;
    --base-1: #41414191;
    --base-2: #1F1F1F75;
    --bg-1: #161417;
    --bg-2: #17100A;
    --bg-main: #1e2122;
}

html {
    color: var(--text);
    min-height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: var(--bg-main);
}

body {
    background-color: var(--bg-main);
}

a:link {
    text-decoration: none;
}

[id^=switch],
[id^=switch] + *{
    display: none;
}

[id^=switch]:checked + *{
    display: block;
}

a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

a:active {
    text-decoration: none;
}

h1 {
    font-family: "Outfit", sans-serif;
    font-size: 3em;
    font-optical-sizing: none;
    font-weight: 400;
    font-style: normal;
    text-align: center;
    margin: 0;
}

h2,
h3,
h4,
h5 {
    font-family: "Outfit", sans-serif;
}

h3 {
    font-weight: normal;
}

h4 {
    margin: 0;
    font-weight: 200;
}

h5 {
    font-weight: 200;
    font-size: 1em;
}

.bold {
    font-weight: bold;
}

.dsc {
    text-align: center;
}

.accent {
    color: var(--accent);
}

body {
    margin: 0;
    width: 100%;
}

body >*:not(.banner){
    margin: 0.6em;
}

.grid {
    margin: -45em 2em 3em 24em;
}

.button {
    display: flex;
    margin: 0.4em auto;
    justify-content: space-evenly;
    width: 100%;
    text-align: center;
}

output {
    margin-left: 0.3em;
}

.art {
    width: 16em;
    margin: auto;
    border-radius: 50%;
}

.navside {
    position: sticky;
    display: block;
    top: 15em;
    width: 17.7em;
    margin: 2.5em 0 0 2.5em;
    z-index: 10;
    transform: translateY(-10em);
    transition: 0.4s;
}

.navside img {
    transition: 0s;
}

.navbutton, .credit {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.4em;
}

.credit > a {
    border: solid var(--base-1);
    border-radius: 1em;
    margin: 0.5em;
    padding: 0 2em;
    color: var(--text);
    font-size: small;
    text-align: center;
    transition: 0.5s;
    scale: 0.95;
}

.navbutton>a,label {
    border: solid var(--base-1);
    border-radius: 1em;
    margin: 0.5em;
    padding: 0 2em;
    color: var(--text);
    font-size: small;
    text-align: center;
    transition: 0.5s;
}

.navbutton>a:hover,label:hover {
    cursor: pointer;
}

.navbutton>a:active,label:active {
    scale: 0.95;
    transition: 150ms;
}

.banner {
    height: 22em;
    overflow: hidden;
    position: relative;
    background-image: url(img/banner.jpg);
    background-size: cover;
    background-position: top -13.2em right;
}

img {
    width: 100%;
    transition: 0.4s;
    align-self: center;
    display: block;
}

.img-box {
    margin: 0.4em 0;
    text-align: center;
}

.img-box:hover img{
    cursor: pointer;
}

.img-box:active {
    scale: 0.95;
}

.img-box img {
    width: 3.2em;
    transition: 0.4s;
}

.img-box .vgen, .bsky, .mail, .kofi{transition: 300ms;}


.img-box:hover .vgen {
    filter: invert(17%) sepia(98%) saturate(3028%) hue-rotate(25deg) brightness(97%) contrast(111%);
}

.img-box:hover .bsky {
    filter: invert(68%) sepia(72%) saturate(2652%) hue-rotate(223deg) brightness(98%) contrast(108%);
}
.img-box:hover .mail {
    filter: invert(75%) sepia(71%) saturate(5932%) hue-rotate(-14deg) brightness(86%) contrast(114%);
}
.img-box:hover .kofi {
    filter: invert(19%) sepia(52%) saturate(2114%) hue-rotate(1deg) brightness(109%) contrast(105%);
}

.lang {
    margin: 0.2em;
    padding: 1em;
    display: flex;
    align-items: center;
    color: var(--text-alt);
    font-size: small;
    border-radius: 1em;
    border: 1px solid;
    text-align: center;
}

.panel {
    display: flex;
    align-items: top;
    justify-content: center;
}

.panel>div {
    padding: 1em;
    border: 2px solid var(--base-1);
}

.box-p {
    display: flex;
    border-radius: 1.6em;
    background: var(--base-1);
    overflow: hidden;
    margin: 2em;
    padding: 13m;
}

.box-image {
    max-width: 40em;
}

.box-grid {    
    width: 90%;
    line-height: 0;       
    column-count: 3;    
    column-gap: 2em;    
    margin: 0 auto;
    padding: 2em 0 0 0;
}  

.box-grid img {    
    width: 100% !important;  
    max-width: 40em;  
    height: auto !important; 
    border-radius: 1em; 
    margin: 0 0 3em 0;
}  

.box-flex {
    display: flex;
    flex-direction: column;
    width: 70%;
    min-width: 20em;
    margin: 2em auto;
}

.box-flex img {
    border-radius: 1em; 
    margin: 0 0 3em 0;
    max-width: 90em;
}

.box-flex a {
    margin: -3em 0 2em 0;
}

.text-p {
    text-align: center;
    margin: auto;
    padding: 1em;
}

.design {
    border: solid var(--base-1);
    border-radius: 1.6em;
    padding: 3em;
    margin: 1.5em 0 1em 0;
}

.rounded2 {
    width: 20px;
}

.request {
    padding: 1em;
    margin: auto;
    border: 0.2em solid var(--text-alt);
    border-radius: 1em;
    color: var(--text);
    min-width: 210px;
    width: 80%;
    transition: 0.6s;
}

.request:hover {
    cursor: pointer;
    border: 0.2em solid var(--vgen);
    color: var(--vgen);
}

.request:active {
    scale: 0.95;
    transition: 150ms;
}

.tos-text {
    text-align: center;
    margin: 0 auto;
}

.box-row > div{
    width: 16em;
}

.scroll {
   display: none;
}

.arrow {
    display: none;
}

.cup:hover {
    border-color: #35f66e;
    color: #35f66e;
}

.fran:hover {
    border-color: #008b8b;
    color: #008b8b;
}

.lapi:hover {
    border-color: #ba0a21;
    color: #ba0a21;
}

.dee:hover {
    border-color: #a986c6;
    color: #a986c6;
}

.tp:hover {
    border-color: var(--accent);
    color: var(--accent);
}

@media screen and (max-width: 1600px) {

    .box-col {
        flex-direction: column;
        padding-bottom: 1em;
    }
    
    .box-row {
        flex-direction: row;
        justify-content: space-evenly;
    }

    .box-row > div{
        align-self: center;
        width: 16em;
        margin: 0;
    }

    .box-image {
        max-width: 100%;
    }
    
    .text-p h1 h2{
        text-align: center;
    }
    .design {
        padding: 3em 1em 1em 1em;
        transition: 0.4s;
    }
    
    .banner {
        background-position: center right;
    }

    .box-grid {        
        column-count: 2;    
    }  

}

@media screen and (max-width: 1200px) {

    .navside {
        width: 15em;
        transition: 0.4s;
    }

    .lang {
        padding: .52rem;
    }

    .design {
        margin-left: -2rem;
        transition: 0.4s;
    }
}

@media screen and (max-width: 800px) {

    .grid {
        margin: 6rem 0 0 0;
    }

    .navside { 
        width: 25em;
        margin: 2.5em auto -14rem auto;
        position: static;
    }

    .lang {
        padding: 1rem;
    }

    .img-box img {
        width: 4em;
    }

    .design {
        padding: 3em 1em 1em 1em;
        margin: 2em auto 1rem auto;
    }

    .grid>div {
        margin: 1em;
    }

    .button {
        margin: 1em 0 0 0;
    }

    .box-row {
        flex-direction: column;
        padding: 0;
    }

    .box-grid {    
        display: flex;
        flex-direction: column;
        width: 70%;
        min-width: 20em;
        margin: 1em auto;
    } 

    .scroll {
        all: unset;
        position: fixed;
        bottom: 25px;
        right: 30px;
        height: 4em;
        width: 4em;
        background-color: var(--base-1);
        border-radius: 99%;
        display: fixed;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .arrow {
        display: block;
        width: 1em;
        height: 1em;
        border-left: 4px solid var(--accent);
        border-bottom: 4px solid var(--accent);
        transform: rotate(135deg);
        margin: auto;
        margin-bottom: -0.5em;
        pointer-events: none;
    }
}

 @media screen and (max-width: 440px) {

    h1 {
        font-size: 2.5em;
    }

    h3 {
        font-size: 1em;
    }

    .comm {
        min-width: 2rem;
    }

    .text-p {
        min-width: 8rem;
    }

    .box-p {
        margin: 1.5rem 0;
    }

    .text-p > a {
        min-width: 8rem;
    }

    .request {
        padding: 0.7rem;
        margin: auto;
        min-width: 10px;
        width: 80%;
        transition: 0.6s;
    }

    .navbutton {
        width: 100%;
        min-width: 2rem;
        margin: 1rem auto;
    }

    .navbutton img {
        width: 100%;
    }

    .img-box img {
        width: 2.8em;
    }

    .lang {
        padding: .5rem;
    }

    .nav h1 {
        font-size: 2.5em
    }

    .button {
        margin: 1em 0 0 0;
    }

    .box-row {
        flex-direction: column;
        padding: 0;
    }

    .box-p {
        margin: 1.5rem;
    }

    .design {
        padding: 2rem 0 0 0;
        margin: 1rem auto;
    }

    .box-flex, .box-grid {
        min-width: 8rem;
        margin: 1.5rem auto 0 auto;
        align-items: center;
    }

    .navside {
        width: 80%;
        min-width: 15rem;
        margin: 5em auto -14rem auto;
        position: static;
    }

    .nav img {
        max-width: 70%;
    }
}
