* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@font-face {
    font-family: 'ChopinScript';
    src: url(ChopinScript.woff) format('woff');
}

body {
    background-color: #25282b;
    transition: background-color 0.3s ease;
}

.rainbowGradient {
    font-size: 100px;
    letter-spacing: 1px;
    font-weight: 800;
    background: linear-gradient(135deg,#ff0000,#ff6a00,#fed90f,#70ff00,#00d8ff,#0f1bfe,#7800ff,#ed00ff,#ff0000,#ff6a00,#fed90f,#70ff00,#00d8ff,#0f1bfe,#7800ff,#ed00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 4s linear infinite;
}

.orangeGradient {
    font-size: 100px;
    letter-spacing: 1px;
    font-weight: 800;
    background: linear-gradient(135deg,#ff6a00,#fed90f,#ff6a00,#fed90f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: gradient 4s linear infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 102.1% 50%;
    }
}

@media (min-aspect-ratio: 1/1) /*PC RATIO SCREEN*/ {

    .main-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .user-img {
        width: 50px;
        border-radius: 100%;
        border: 2px solid #f1f1f1;
        margin-left: 2.5px;
        transition: margin-left 0.5s ease;
    }

    .sidebar.active .user-img {
        margin-left: 12.5px;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        height: 100vh;
        width: 80px;
        background-color: #ff6a00;
        padding: 0.4rem 0.8rem;
        transition: all 0.5s ease;
        border-right: 2.5px solid #cadfea;
        border-radius: 0px 10px 10px 0px;
    }

    .sidebar.active ~ .main-content {
        left: 250px;
        width: calc(100% - 250px);
    }

    .sidebar.active {
        width: 250px;
    }

    .sidebar #btn {
        position: absolute;
        color: #ffffff;
        top: .4rem;
        left: 50%;
        font-size: 1.2rem;
        line-height: 50px;
        transform: translateX(-50%);
        cursor: pointer;
    }

    .sidebar.active #btn {
        left: 90%
    }

    .sidebar .top .logo {
        color: #ffffff;
        font-weight: 900;
        display: flex;
        height: 50px;
        width: 100%;
        align-items: center;
        pointer-events: none;
        opacity: 0;
    }

    .sidebar.active .top .logo {
        opacity: 1;
    }

    .top .logo i {
        font-size: 2rem;
        margin-right: 5px;
        opacity: 1;
        margin-left: 1rem;
    }

    .sidebar ul li {
        position: relative;
        list-style-type: none;
        height: 50%;
        width: 90%;
        margin: 0.8rem auto;
        line-height: 50px;
    }

    .sidebar ul li a {
        color: #ffffff;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        text-decoration: none;
        border-radius: 0.8rem;
    }

    #settingsbtn {
        color: #ff6a00;
        background-color: white;
    }

    #settingsbtn:hover {
        color: white;
        background-color: #343434;
    }

    .sidebar ul li a:hover {
        background-color: #ffffff;
        color: #343434;
    }

    .sidebar ul li a i {
        min-width: 50px;
        text-align: center;
        height: 50px;
        border-radius: 12px;
        line-height: 50px;
    }

    .sidebar .nav-item {
        opacity: 0;
    }

    .sidebar.active .nav-item {
        opacity: 1;
    }

    .sidebar ul li .tooltip {
        position: absolute;
        left: 125px;
        top: 50%;
        border: 2px solid;
        transform: translate(-50%, -50%);
        box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.2);
        border-radius: .6rem;
        padding: .4rem 1.2rem;
        line-height: 1.8rem;
        z-index: 20;
        opacity: 0;
    }

    .sidebar ul li:hover .tooltip {
        opacity: 1;
    }

    .sidebar.active ul li .tooltip {
        display: none;
    }

    .main-content {
        position: relative;
        min-height: 100vh;
        top: 0;
        left: 80px;
        transition: all 0.5s ease;
        width: calc(100% - 80px);
        padding: 1rem;
    }

    .sidebar {
        position: fixed;
    }

    .sidebar.active ~ .centerpage {
        left: 250px;
        width: calc(100% - 250px);
    }

    .centerpage {
        position: relative;
        min-height: 80vh;
        top: 50%;
        left: 80px;
        transition: all 0.5s ease;
        width: calc(100% - 80px);
        text-align: center;
        display: grid;
        align-items: center;
        margin-top: 100px;
    }
    .main-content h1 {
        font-size: 3rem;
    }
    .main-content i {
        font-size: 1.5rem;
    }
    .main-content u {
        font-size: 1.5rem;
    }
    .main-content p {
        font-size: 1.5rem;
    }

    .button {
        padding: 0.5rem 1.2rem;
        font-size: 2rem;
        text-align: center;
        margin-right: 20px;
        margin-left: 20px;
        cursor: pointer;
        outline: none;
        border: none;
        border-radius: 15px;
        box-shadow: 0 9px #999;
    }

    .button:active {
        box-shadow: 0 5px #666;
        transform: translateY(4px);
    }

    #buttonText {
        font-size: 2rem;
    }

    #discord {
        background-color: #7289DA;
        color: #ffffff;
    }

    #youtube {
        background-color: #FF0000;
        color: #ffffff;
    }

    #reddit {
        background-color: #FF4500;
        color: #ffffff;
    }

    #steam {
        background-color: #171a21;
        color: #ffffff;
    }

    #x {
        background-color: #000000;
        color: #ffffff;
    }

    #instagram {
        background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f
        60%, #285aeb 90%);
        color: #ffffff;
    }

    .quotes {
        margin: 1rem;
        padding: 2rem 2rem;
        text-align: center;
    }

    .quoteBlock {
        display: inline-block;
        padding: 1rem 1rem;
        vertical-align: middle;
    }

    .overlaySettings {
        position: absolute;
        background-color: rgba(4, 4, 10, 0.25);
        backdrop-filter: saturate(180%) blur(15px);
        z-index: 9999999;
        border-radius: 25px;
        width: 75%;
        height: 75%;
        left: 12.5%;
        top: 12.5%;
        color: #f1f1f1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        display: none;
        border: 3px solid;
    }
    .overlaySettings .closebtn {
        font-size: 1.5vw;
        background-color: rgba(0, 0, 0, 0);
        color: #f1f1f1;
        border: #f1f1f1 0px solid;
        border-radius: 5px;
        width: 2vw;
        height: 2vw;
        left: 95%;
        top: 5%;
        position: absolute;
        left: calc(100% - width);
    }
    .overlaySettings .closebtn:hover {
        color: #343434;        
        background-color: #f1f1f1;
    }
    .overlaySettings h1 {
        font-size: 3rem;
    }
}

@media (max-aspect-ratio: 1/1) /*MOBILE RATIO SCREEN*/ {

    .main-content {
        max-width: 1200px;
        margin: 0 auto;
    }

    .user-img {
        width: 150px;
        border-radius: 100%;
        border: 3px solid #343434;
        margin-left: 3px;
        transition: margin-left 0.5s ease;
        visibility: hidden;
    }

    .sidebar.active .user-img {
        margin-left: 12.5px;
        visibility: visible;
    }

    .sidebar {
        position: absolute;
        top: 0;
        left: 0;
        height: 80px;
        width: 80px;
        background-color: #ff6a00;
        padding: 0.4rem 0.8rem;
        transition: all 0.5s ease;
        border-right: 2.5px solid #cadfea;
        border-radius: 0px 10px 10px 0px;
    }

    .sidebar.active ~ .main-content {
        left: 250px;
        width: calc(100% - 250px);
    }

    .sidebar.active {
        width: 100vw;
        height: 100vh;
    }

    .sidebar #btn {
        position: absolute;
        color: #ffffff;
        top: .8rem;
        left: 50%;
        font-size: 3rem;
        line-height: 50px;
        transform: translateX(-50%);
        cursor: pointer;
    }

    .sidebar.active #btn {
        left: 90%
    }

    .sidebar .top .logo {
        color: #ffffff;
        font-weight: 900;
        display: flex;
        height: 100px;
        width: 100%;
        align-items: center;
        pointer-events: none;
        opacity: 0;
    }

    .sidebar.active .top .logo {
        opacity: 1;
    }

    .top .logo i {
        font-size: 3rem;
        margin-right: 5px;
        opacity: 1;
        margin-left: 1rem;
    }

    .sidebar ul li {
        position: relative;
        list-style-type: none;
        height: 50%;
        width: 90%;
        margin: 2rem auto;
        line-height: 50px;
        visibility: hidden;
        border: 3px solid #343434;
        padding: 1px;
        border-radius: 10px 10px 10px 10px;
    }

    .sidebar.active ul li {
        visibility: visible;
    }

    .sidebar ul li a {
        color: #ffffff;
        font-size: 3rem;
        display: flex;
        align-items: center;
        text-decoration: none;
        border-radius: 0.8rem;
    }

    .sidebar ul li a:hover {
        background-color: #ffffff;
        color: #343434;
    }
    
    #settingsbtn {
        color: #ff6a00;
        background-color: white;
    }

    #settingsbtn:hover {
        color: white;
        background-color: #343434;
    }

    .sidebar ul li a i {
        min-width: 50px;
        text-align: center;
        height: 50px;
        border-radius: 12px;
        line-height: 50px;
    }

    .sidebar .nav-item {
        opacity: 0;
    }

    .sidebar.active .nav-item {
        opacity: 1;
        padding: 0px 0px 0px 20px;
    }

    .sidebar ul li .tooltip {
        position: absolute;
        left: 125px;
        top: 50%;
        color: #ffffff;
        border: 1px solid #ffffff;
        transform: translate(-50%, -50%);
        box-shadow: 0 0.5rem 0.8rem rgba(0, 0, 0, 0.2);
        border-radius: .6rem;
        padding: .4rem 1.2rem;
        line-height: 1.8rem;
        z-index: 20;
        opacity: 0;
    }

    .sidebar ul li:hover .tooltip {
        opacity: 1;
    }

    .sidebar.active ul li .tooltip {
        display: none;
    }

    .main-content {
        position: relative;
        min-height: 100vh;
        top: 0;
        left: 80px;
        transition: all 0.5s ease;
        width: calc(100% - 80px);
        padding: 1rem;
        visibility: visible;
    }

    .sidebar.active ~ .main-content {
        left: -2500px;
        width: calc(100% - 250px);
        visibility: hidden;
    }

    .sidebar {
        position: fixed;
    }

    .sidebar.active ~ .centerpage {
        left: -2500px;
        width: calc(100% - 250px);
        visibility: hidden;
    }

    .centerpage {
        position: relative;
        min-height: 100vh;
        top: 50%;
        left: 80px;
        transition: all 0.5s ease;
        width: calc(100% - 80px);
        text-align: center;
        display: grid;
        align-items: center;
        margin-top: 100px;
        visibility: visible;
    }

    .centerpage h1 {
        font-size: 8rem;
    }
    .centerpage i {
        font-size: 5rem;
    }
    .centerpage u {
        font-size: 3rem;
    }
    .centerpage p {
        font-size: 3rem;
    }
    .main-content h1 {
        font-size: 6rem;
    }
    .main-content i {
        font-size: 3rem;
    }
    .main-content u {
        font-size: 3rem;
    }
    .main-content p {
        font-size: 3rem;
    }

    .button {
        padding: 5px 15px;
        font-size: 40px;
        text-align: center;
        margin-right: 20px;
        margin-left: 20px;
        cursor: pointer;
        outline: none;
        border: none;
        border-radius: 15px;
        box-shadow: 0 9px #999;
    }

    .button:active {
        box-shadow: 0 5px #666;
        transform: translateY(4px);
    }

    #discord {
        background-color: #7289DA;
        color: #ffffff;
    }

    #youtube {
        background-color: #FF0000;
        color: #ffffff;
    }

    #reddit {
        background-color: #FF4500;
        color: #ffffff;
    }

    #steam {
        background-color: #171a21;
        color: #ffffff;
    }

    #x {
        background-color: #000000;
        color: #ffffff;
    }

    .quotes {
        margin: 1rem;
        padding: 2rem 2rem;
        text-align: center;
    }

    .quoteBlock {
        font-size: 2rem;
        display: inline-block;
        padding: 1rem 1rem;
        vertical-align: middle;
    }

    .overlaySettings {
        position: absolute;
        background-color: rgba(4, 4, 10, 0.25);
        backdrop-filter: saturate(180%) blur(15px);
        z-index: 9999999;
        border-radius: 25px;
        width: 75%;
        height: 75%;
        left: 12.5%;
        top: 12.5%;
        color: #f1f1f1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        display: none;
        border: 3px solid;
    }
    .overlaySettings .closebtn {
        font-size: 3vw;
        background-color: rgba(0, 0, 0, 0);
        color: #f1f1f1;
        border: #f1f1f1 0px solid;
        border-radius: 10px;
        width: 6vw;
        height: 6vw;
        left: 90%;
        top: 2%;
        position: absolute;
        left: calc(100% - width);
    }
    .overlaySettings .closebtn:hover {
        color: #343434;        
        background-color: #f1f1f1;
    }
    .overlaySettings h1 {
        font-size: 10rem;
    }
    .overlaySettings label {
        font-size: 5rem
    }
}

/*FONTS*/
body.ChopinScript {
    font-family: ChopinScript;
}

/*HEXAGON BACKGROUND*/
.bg {
    display: flex;
    position: fixed;
    --s: 5vw; /* size  */
    --m: 0.1vw; /* margin */
    --f: calc(1.732 * var(--s) + 4 * var(--m) - 1px);
    left: -10vw;
    top: -10vw;
    width: 120vw;
    z-index: -100;
}

.bgcontainer {
    font-size: 0; /*disable white space between inline block element */
}

.bgcontainer.lightMode div {
    background: #fffffc;
}

body.lightMode {
    background-color: #faf8ee;
}

#lmawt {
    color: white;
}

body.lightMode #lmawt {
    color: black;
}

#lmawb {
    border-color: #f1f1f1;
}

body.lightMode #lmawb {
    border-color: #343434;
}

#lmabb {
    border-color: #343434;
}

body.lightMode #lmabb {
    border-color: #f1f1f1;
}

.bgcontainer div {
    width: var(--s);
    margin: var(--m);
    height: calc(var(--s)*1.1547);
    display: inline-block;
    font-size: initial;
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background: #1b1b1b;
    margin-bottom: calc(var(--m) - var(--s)*0.2885);
    transition: background 0.3s ease;
}

.bgcontainer::before {
    content: "";
    width: calc(var(--s)/2 + var(--m));
    float: left;
    height: 120%;
    shape-outside: repeating-linear-gradient( #0000 0 calc(var(--f) - 3px), #000 0 var(--f));
}

#bgLight {
    width: 12em;
    height: 12em;
    background-color: #ff6a00;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -101;
    filter: blur(2em);
    position: fixed;
}

/*STYLING FOR CHECKBOX*/
input[type="checkbox"] {
    appearance: none;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    border: 4px solid #faf8ee;
    outline: none;
    position: relative;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #faf8ee;
    left: 1px;
    top: 50%;
    transform: translate(0, -50%);
    transition: transform 0.3s ease-in-out;
}

input[type="checkbox"]:checked {
    appearance: none;
    width: 60px;
    height: 30px;
    border-radius: 15px;
    transition: background 0.3s ease;
    outline: none;
}

input[type="checkbox"]:checked::before {
    transition: transform 0.3s ease-in-out;
    top: 50%;
    transform: translate(150%, -50%);
}


/*STYLING FOR COLOR INPUT*/
input[type="color"] {
    appearance: none;
    width: 45px;
    height: 45px;
    
    border-radius: 35%;
    border: 4px solid #faf8ee;
    outline: none;
    position: relative;
}

/*STYLING FOR SORTED TABLE (MOVE TO RATIOPARTS IF NEEDED!)*/
table {
    border: 1px solid;
    width: 75%;
    table-layout: fixed;
    margin: 0 auto;
}
table tr th,
table tr td{
    border: 1px solid;
    width: calc(75% / 6);
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}

#sc {
    border-color: #faf8ee;
    color: yellow;
}

body.lightMode, body.lightMode #sc {
    border-color: #343434;
    color: #fd9801;
}

#sc .es {
    border-color: #faf8ee;
    color: #faf8ee;
}

body.lightMode, body.lightMode #sc .es {
    border-color: #343434;
    color: #343434;
}

.powerbutton {
    display: block;
    height: 250px;
    width: 25vh;
    color: #ffffff;
    background-color: #ffffff;
}