html {
    overflow-x:hidden;
}

body {
    /*background: linear-gradient(var(--bg1), var(--bg2)) no-repeat fixed;*/
    background: url(https://f2.toyhou.se/file/f2-toyhou-se/images/101505625_dvSKTzPahypsQio.png?1749224073);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: soft-light;
    margin: 0;
    padding: 0;
    font-family: Monda, Verdana;
    color: var(--whiteaccent);
    overflow-x: hidden;
}

body::backdrop {
    background-color: black;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Jura, Verdana;
    padding: 0;
    margin: 0.3em 0;
}

img {
    object-fit: contain;
    max-width: 100%;
    width: auto;
}

button {
    background:radial-gradient(rgb(20,20,20), black) no-repeat fixed;
    font-family: monospace;
    text-decoration: none;
    border: solid 1px dimgray;
    border-radius: 0.5em;
    padding: 0.5em;
    font-size: 11pt;
    text-align: left;
    color: white;
    transition: 0.3s;
    margin: 0.15em 0;
}

button:hover {
    background:linear-gradient(-0.25turn, lightgrey, white) no-repeat fixed;
    color:black;
    border: solid 1px grey;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
    cursor: pointer;
}

dialog {
    border: solid 1px white;
    background: radial-gradient(rgb(20,20,20), black) no-repeat fixed;
    color: white;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    border-radius: 1em;
    animation: fadeEffect 0.3s;
}

dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

hr {
    border: solid 1px rgba(253, 253, 253, 0.4);
    width: 100%;
}

a {
    color: #3ff9ba;
    text-decoration: none;
}

a:hover {
    color: #bdffe9;
    filter: drop-shadow(0 0 5px rgb(127, 255, 212));
    text-decoration: underline;
    cursor: pointer;
}

details {
    margin-bottom: 0.5em;
    margin-inline: auto;
    padding: 0;
}

/* TOPNAV SETTINGS */
.topnav {
    background: radial-gradient(circle,rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 1) 100%);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    overflow: hidden;
    position: sticky;
    top: 0;
    filter: drop-shadow(0 0 0.2em rgba(255, 255, 255, 0.5));
    z-index: 10;
    min-height: 50px;
    align-content: center;
}

.topnav a {
    float: left;
    display: block;
    text-align: center;
    background: none;
    transition: 0.1s;
    color: white;
    background: none;
    animation: fadeEffect 0.3s;
    padding: 0.3em 0.8em;
    margin:0;
    border-radius: 0;
    text-decoration: none;
}

.topnav a.home:hover {
    color: #3ff9ba;
    background: none;
    filter: drop-shadow(0 0 0.2em #3ff9ba);
}

.topnav a:hover {
    background-color: white;
    color: black;
}

.topnav a.active {
    color: gray;
}

.topnav .icon {
    display: none;
}
.topnav .icon:hover {
    background: none;
    color: gray;
}

@media screen and (max-width: 768px){
    .topnav {
        min-height: auto;
    }
    .topnav a:not(:first-child) { /*If not first child, KILL*/
        display:none;
    }
    .topnav a.icon {
        float: right;
        display: block;
    }
    .topnav.responsive {
        position: sticky;
        top: 0;
    }
    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        animation: fadeEffect 0.3s;
    }
}

/* FLEX SETTINGS */
.flex {
    display: flex;
    flex-wrap: wrap;
}

.row, .row-lg {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.col {
    flex: auto;
}
.col-2 {
    flex-basis:50%;
}
.col-3 {
    flex-basis: 33.3%;
}
.col-4 {
    flex-basis:25%;
}
.col-6 {
    flex-basis:16.67%;
}
.col-8 {
    flex-basis:12.5%;
}
.col-10 {
    flex-basis:10%;
}
.col-12 {
    flex-basis:8.3%;
}

@media only screen and (max-width:768px)
{
    .row-lg {
        flex-direction: column;
    }
}

/* TAB SETTINGS */
.tabcontent {
    display: none;
    animation: fadeEffect 0.3s;
}

.tab button.active {
    background-color: white;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* OTHER */
.hover-to-show {
    filter: brightness(0.3) blur(5px);
    border: solid 1px white;
    transition: 0.3s;
}

.hover-to-show:hover {
    filter:none;
}

.mobile-only {
    display: none;
}

@media only screen and (max-width:768px)
{
    .mobile-only {
        display: contents;
    }
    .pc-only {
        display: none;
        width: 0;
        height: 0;
        margin: 0;
        padding: 0;
    }
}
