/*

Styled and designed by JerosGamer89, part of The GDPS Hub Team
The GDPS Hub Team, 2020-2023
Check the license at gdpshub.com/legal

*/

@media only screen and (max-width: 470px) {
    nav {justify-content: left !important;}
}

@media only screen and (max-width: 1100px) {
    * {
        font-smooth: never;
        -webkit-font-smoothing: none;
    }
    body::-webkit-scrollbar {
        width: 0;
        height: 0;
    }
    h3 {
        line-height: 20px;
    }
    nav {
        position: fixed;
        top: 0; left: 0; right: 0;
        padding: 5px;
        justify-content: center;
        border-radius: 0;
        background-color: #000000a7; /* cb */
        backdrop-filter: blur(5px);
        height: 45px;
        overflow-x: auto;
        /* background-image: linear-gradient(to bottom, black, black, #00000000); */
    }
    nav:hover {
        background-color: #000000;
        background-image: linear-gradient(to bottom, black, black, #00000000);
    }
    nav::-webkit-scrollbar {height: 0px;}
    nav h3 {
        display: none;
    }
    nav img {
        margin-left: 0.7rem;
        margin-right: 0.7rem;
        height: 35px;
    }
    nav .menubar a#dwn-btn {
        /* display: none !important; */
    }
    footer {
        padding: 20px;
        background-color: #00000000;
        background-image: linear-gradient(to bottom, rgb(20, 39, 56), black, black, rgb(0, 33, 57));
    }
    footer ul {
        text-align: left !important;
        width: 100%;
        line-height: 30px;
        margin-top: -10px;
    }
    footer ul:nth-child(1) {
        margin-top: 30px;
    }
    footer .footertext {
        line-height: 15px !important;
    }
    .webpage-content-container {
        padding: 20px;
    }
    #pageHeader {
        pointer-events: none;
    }
    #pageHeader h1 {
        font-size: 2em;
    }
    .home-hero {
        height: 300px;
        background-size: cover !important;
        padding: 50px 20px 0 20px;
    }
    .home-hero h1 {
        line-height: initial;
    }
    .home-hero p {
        display: none;
    }
    .specialbday {
        height: 300px;
        background-size: cover !important;
        padding: 50px 20px 0 20px;
    }
    .specialbday h1 {
        line-height: initial;
    }
    .specialbday p {
        display: none;
    }

    .quickactions {
        display: none;
    }
    .news {
        padding: 10px 10px 20px 10px;
    }
    .news h1 {
        pointer-events: none;
    }
    .news-box {
        padding-right: 30px;
        padding-bottom: 400px;
        background-position: bottom;
        width: 230px;
        display: inline-block;
    }
    .newhere {
        padding: 0px;
    }
    .newhere center > h1 {
        padding: 40px 20px 20px 20px;
        margin: 0;
    }
    .newhere center > p {
        display: none;
    }
    .newhere h1 {
        pointer-events: none;
    }
    .newhere .nh-card-container {
        overflow-x: auto;
        white-space: nowrap;
        display: flex;
    }
    .newhere .nh-card-container::-webkit-scrollbar {
        height: 0px;
    }
    .newhere-card {
        width: 20vw;
    }
    .newhere-card p {
        white-space: normal;
        width: 60vw;
    }
    .newhere-card h2 {
        width: 100%;
        white-space: normal;
    }
    .joinus-discord {
        background-position: bottom right;
        padding-bottom: 100px;
    }
    .joinus-discord span {
        float: left;
        margin-right: 10px;
    }
    .watchus-yt {
        background-position: bottom right;
        background-position-y: 105%;
        padding-bottom: 60px;
    }
    .watchus-yt span {
        opacity: 0;
    }
    .about-h {
        display: none;
    }
    .about-content .bigtitle {
        display: block;
        animation: acbt-mob-anim 1.5s ease-in-out;
    }
    .about-content .bigtitle h1 {
        height: 100%;
        padding: 50% 0 50% 20px;
        font-size: 9vh;
        animation: acbt-mob-anim-h1 8s ease-in-out infinite;
        width: fit-content;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: url('../assets/brand-assets/bg.png');
        background-size: cover;
        background-repeat: no-repeat;
    }
    @keyframes acbt-mob-anim {
        from {opacity: 0;}
        to {opacity: 1;}
    }
    @keyframes acbt-mob-anim-h1 {
        0% {filter: hue-rotate(0deg);}
        25% {filter: hue-rotate(120deg);}
        50% {filter: hue-rotate(240deg);}
        75% {filter: hue-rotate(60deg);}
        100% {filter: hue-rotate(0deg);}
    }
    .mob-top-shadow {
        display: block;
        position: fixed;
        top: 0; left: 0; right: 0;
        background-image: linear-gradient(to bottom, white, white, #00000000);
        height: 140px;
        z-index: 99;
    }
    .about-content .bigtitle p {
        width: 100%;
    }
    .about-content .timeline p {
        margin: 30px;
    }
    .about-content .timeline .mus {
        display: none;
    }
    .about-content .videos iframe {
        width: 90%;
    }
    .about-content .patreon {
        width: 70%;
        margin-left: 7.5%;
    }
    .about-content .patreon img {
        height: 150px;
        margin-bottom: 30px;
    }
    .keypeople {
        grid-template-columns: auto;
    }
    .brand-card {
        width: 100%;
    }
    .brand-download {
        transform: translateY(30px);
    }
    .brand-download span {
        margin-left: 5px;
        display: flex;
        flex-flow: row nowrap;
        line-height: 50px;
    }
    .webpage-content-container .download {
        display: none;
    }
    .pwa {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        padding: 20px;
    }
    .faq {
        margin: none;
        margin-left: 0px;
    }
    .accordion {
        width: 100%;
    }
    .panel {
        width: 100%;
    }
    .find-chips {
        top: 45px;
        background-color: #000000a7;
    }
    .gdps-box {
        width: 47%;
    }
    .gdps-box .boxbtn {
        padding: 10px 5px;
    }
    .gotm {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .gotm .pics {
        grid-area: 1 / 1 / span 1 / span 2;
    }
    .gotm .pics .banner {
        width: 100% !important;
        height: auto;
    }
    .gotm .pics .icon {
        height: 170px;
        transform: translateX(calc(-50vw - 80px));
    }
    .gotm .text {
        padding: 5px 5px 10px 5px;
    }
    .gdps-page-inside-content {
        top: 45px; left: 0; right: 0;
        border-radius: 0;
        display: block;
    }
    .mob-gdps-page .mob-bg {
        display: block;
        width: 100vw;
        transform: translate(-10px, -10px);
        aspect-ratio: 16/9;
    }
    .gdps-page-section-1 {
        padding-bottom: 0;
    }
    .gdps-page-section-1 .main-info {
        position: static;
        display: grid;
        grid-template-columns: 120px auto;
        padding: 10px; padding-bottom: 0;
    }
    .gdps-page-icon {
        height: 100px;
        border-radius: 10px;
        margin: 0;
        transform: none;
    }
    .gdps-page-name {
        position: static;
        font-size: 34px;
    }
    .gdps-page-name img {
        height: 28px;
    }
    .gdps-page-author {
        font-size: 14px;
    }
    .gdps-page-author img {
        height: 15px;
    }
    .gpa-link {
        text-decoration: 1.5px dotted underline;
    }
    .gdps-page-download-links {
        background-color: transparent;
        top: 45px;
        gap: 5px;
        border-radius: 0;
        width: calc(100vw - 10px);
        transform: translateX(-10px);
        overflow-x: scroll;
        white-space: nowrap;
    }
    .gdps-page-download-links img {
        height: 25px;
    }
    .gdps-page-download-links div {
        background-color: #222;
    }
    .gdps-page-download-links::-webkit-scrollbar {
        height: 0px !important;
    }
    .gdps-page-download-links .btn.mob {
        display: flex;
    }
    .gdps-page-download-links .btn.pcdl, .gdps-page-download-links .btn.client{
        display: none;
    }
    .gdps-page-quickinfo {
        width: calc(100vw - 30px) !important;
        overflow-x: scroll;
        flex-wrap: wrap;
    }
    .gdps-page-quickinfo::-webkit-scrollbar {
        height: 1px !important;
    }
    .gdps-page-quickinfo div {
        min-width: 130px;
    }
    .gdps-page-badges {
        position: absolute;
        transform: translateY(70px);
        gap: 5px;
    }
    .gdps-page-badges img {
        height: 30px;
    }
    .gdps-page-award {
        margin: 30px auto 20px auto;
        width: calc(100vw - 70px);
    }
    .gdps-page-section-2 {
        padding: 10px;
        box-sizing: border-box;
    }
    .gdps-page-desc {
        width: 90vw;
    }
    .gdps-page-trailer iframe {
        width: calc(100vw - 30px);
    }
    .gdps-page-comments {
        width: calc(100vw - 30px);
        max-height: max-content;
    }
    .gdps-page-comments .comments .combox span {
        font-size: 16px;
    }
    .gdps-page-comments .comments .combox span img {
        height: 18px;
    }
    .gdps-page-comments .comments .combox p {
        font-size: 14px;
    }
    .gdps-page-comments .comments .combox .second-button {
        transform: scale(1);
        opacity: 0.6;
    }
    .scc-1 {
        line-height: 16px !important;
    }
    .mobcustomstyle-jobclassify {
        display: grid;
    }
    .newgeneric-jobs {
        width: 100%;
        height: 50vh;
    }
    .login-page {
        animation: none;
    }
    .login-box {
        backdrop-filter: blur(0px);
        top: 0; left: 0; right: 0;
        width: 100vw;
        animation: none;
    }
    .login-box .text-link {
        line-height: 30px;
    }
    .lb-pos-right {
        transform: translate(0, 570px);
    }
    .mob-hidden {
        display: none;
    }
    .userpage-grid {
        grid-template-columns: auto;
        gap: 50px;
        margin: 0; margin-top: 100px;
        transform: none;
    }
    .userpage-name {
        font-size: 40px;
        top: 26vh;
    }
    .userpage-banner {
        height: auto;
        aspect-ratio: 16/9 !important;
    }
    .up-box .fab {
        opacity: 1;
    }
    .sc-stats {
        display: grid;
        grid-template-columns: auto;
    }
    .sc-stats .box {
        margin-bottom: 20px;
    }
    .changelog-container {
        grid-template-columns: 0 auto 0 ;
    }
    .changelog-container .index {
        z-index: 3;
        width: 320px;
        position: relative;
        transform: translate(-270px, -20px);
        transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .changelog-container .index:has(.mob-cbox:checked) {
        transform: translate(0, -20px);
    }
    .changelog-container .index span {
        display: none;
    }
    .changelog-container .index .mob-menu, .changelog-container .index .mob-cbox {
        display: block;
        height: 30px;
        position: sticky;
        top: 80px;
        transform: translate(220px, 0);
    }
    .changelog-container .index .mob-cbox {
        width: 30px;
        z-index: 2;
        opacity: 0;
        top: 113px;
        transform: translate(217.5px, -32.5px);
    }
    .changelog-container .index ul {
        transform: translateY(10px);
        line-height: 35px;
        font-size: 16px;
    }
    .changelog-container .content {
        padding: 0px 30px 40px 80px;
    }
    .changelog-container .content .metadata h2 {
        font-size: 2em;
    }
    .changelog-container .content .metadata span {
        margin-right: 15px;
    }
    .profpage-content-container {
        grid-template-columns: 0 100vw;
    }
    .profpage-content-container .buttons {
        display: flex;
        flex-direction: column;
        position: relative;
        height: 100vh;
        width: 250px;
        z-index: 90;
        background-color: #1f1f1f;
        transform: translateX(-250px);
        transition: 400ms cubic-bezier(0.075, 0.82, 0.165, 1);
    }
    .profpage-content-container .buttons .tablink {
        padding: 20px 12px;
    }
    .profpage-content-container .buttons hr {
        height: 2px;
    }
    .profpage-content-container .buttons .mob-menu,
    .profpage-content-container .buttons .mob-cbox {
        display: block;
        position: absolute;
        top: 50px;
        height: 50px; width: 50px;
        aspect-ratio: 1/1;
        transform: translate(235px, 0px);
    }
    .profpage-content-container .buttons .mob-menu {
        background-color: #111111cc;
        backdrop-filter: blur(5px);
        padding: 10px;
    }
    .profpage-content-container .buttons .mob-cbox {
        z-index: 2;
        opacity: 0;
    }
    .profpage-content-container .buttons:has(.mob-cbox:checked) {
        transform: translateX(0px);
    }
    .profpage-content-container .settings {
        padding: 100px 20px 20px 20px;
        overflow-x: hidden;
        transition: 200ms;
    }
    .profpage-content-container:has(.buttons .mob-cbox:checked) .settings {
        filter: brightness(40%);
        background-image: linear-gradient(to bottom, #1f1f1f, #1f1f1fcc, #1f1f1f77);
        pointer-events: none;
    }
    .profpage-content-container .buttons a {
        display: flex;
        justify-content: left;
        align-items: center;
        transform: translateX(-30px);
        transition: transform 500ms ease-in-out;
    }
    .profpage-content-container .buttons:has(.mob-cbox:checked) a {
        transform: translateX(0px);
    }
    .profpage-content-container .settings h2 {
        transform: translate(50px, -37px);
        position: sticky;
        top: 0;
        opacity: 0.6;
        z-index: 9;
    }
    .u-settings .shortext {
        grid-template-columns: 100%;
    }
    .u-settings textarea {
        width: 100%;
        height: 100px;
    }
    .prof-card {
        grid-template-columns: 100%;
        height: auto;
    }
    .prof-card .pics {
        display: grid;
        grid-template-columns: 150px auto;
    }
    .prof-card .pics .banner {
        margin-left: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-top-right-radius: 10px;
        width: fit-content;
    }
    .prof-card .pics .pfp {
        z-index: 2;
    }
    .u-settings .medias input {
        width: 100%;
    }
    .u-settings button[class="classic-button"] {
        position: sticky;
        z-index: 99;
        bottom: 0;
    }
    .profpage-content-container .settings .tabcontent#Acc div {
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .u-settings.gdps-ov .showcase .gdps-box.example {
        width: 230px;
    }
    .ygdps-list .gdps:hover {
        transform: none;
        filter: none;
    }
    .ygdps-list .banner-container {
        height: 120px; width: 350px;
    }
    .ygdps-list .banner-container .gradient {
        background-image: 
        linear-gradient(to right, #1a1a1a00, #1a1a1acc, #1a1a1a),
        linear-gradient(to bottom, #1a1a1a00, #1a1a1acc, #1a1a1a);
        width: 350px;
        height: 120px;
    }
    .ygdps-list .gdps .info .badge {
        word-break: keep-all;
    }
    .ygdps-list .gdps .badges {
        display: flex;
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .ygdps-list .gdps .info #name {
        line-break: anywhere;
    }
    .ygdps-list .gdps .info > div {
        flex-direction: column;
    }
    .modal-content {
        width: 100vw;
        height: 100vh;
        animation-duration: 0.3s;
    }
    @keyframes modalanim {
        from {
            opacity: 0;
            transform: scale(0.8);
        }
        to {
            opacity: 1;
            transform: scale(1);
        }
    }
    .close {
        top: 50px;
        right: 10px;
        font-size: 32px;
        color: #bbb;
        background-image: none;
        background-color: #111111cc;
        backdrop-filter: blur(5px);
        border: none;
        width: 50px;
        aspect-ratio: 1/1;
        border-radius: 10px;
    }
    .main-data {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .main-data img {
        margin-right: 0;
    }
    .main-data span {
        transform: none;
    }

    .roulette-container .pointer {
        left: 35vw;
    }
    .roulette-container .card {
        position: absolute;
        top: 50vh;
        left: 50vw;
        transform: translate(-25%, -50%);
        transform-origin: 0% 50%;
        width: 60vw;
        border-radius: 1vw;
        box-shadow: 0 0 5vw black;
    }
    @keyframes r-intro-anim {
        from {
            transform: scale(4) translateX(-30vw) rotate(90deg);
            opacity: 0;
        }
        10% {opacity: 0;}
        to {
            transform: scale(1.2) translateX(-55vw) rotate(90deg);
            opacity: 1;
        }
    }
    .roulette-container .card .meta {
        height: 15vw;
        line-height: 1.5vw;
    }
    .roulette-container .card .meta .logo {
        transform: translate(16%, 0);
        height: 12vw;
    }
    .roulette-container .card .meta .name {
        font-size: 5vw;
        text-shadow: 0 0 2vw #0000007a;
        margin-left: 27.5%;
        transform: translateY(3.5vw) !important;
    }
    .roulette-container .card .meta .author {
        font-size: 2.2vw;
        margin-left: 27.5%;
        transform: translateY(4.5vw);
    }
    .roulette-container .card .buttons {
        transform: translateX(10%);
    }
    .roulette-container .card .challenge {
        height: 7vw;
    }
    .roulette-container .card .challenge .tagline {
        font-size: 1.7vw;
    }
    .roulette-container .card .challenge .difficulty img {
        width: 12vw;
    }
    .roulette-container .card .challenge .difficulty span {
        transform: translate(3.5vw, 0.6vw);
    }
}


/*      phones (exclusive)       */
@media only screen and (max-width: 700px) {
    .roulette-container #roulette {
        animation:
            r-intro-anim 2.5s 0s forwards,
            r-result-anim 1s 6s ease-in-out forwards
        ;
    }
    @keyframes r-intro-anim {
        from {
            transform: scale(4) translateX(-25vw) translateY(0vh) rotate(0deg);
            opacity: 0;
        }
        10% {opacity: 0;}
        to {
            transform: scale(1.5) translateX(-30vw) translateY(0vh) rotate(90deg);
            opacity: 1;
        }
    }
    @keyframes r-result-anim {
        from {transform: scale(1.5) translateX(-30vw) translateY(0vh) rotate(90deg);}
        to   {transform: scale(1.2) translateX(-100vw) translateY(0vh) rotate(90deg);}
    }

    .roulette-container .title {
        display: none;
        height: 100vh;
    }
    .roulette-container .title span {
        font-size: 15vw;
        letter-spacing: -0.6vw;
    }
    .roulette-container .pointer {display: none;}
    .roulette-container .card {
        top: 50%;
        left: 25%;
        width: 100vw;
        border-radius: 0;
    }
    .roulette-container .card .banner {
        border-radius: 0;
    }
    .roulette-container .card .meta {
        text-align: center;
        padding: 0;
        height: 26vh;
    }
    .roulette-container .card .meta .logo {
        position: static;
        margin-top: -10%;
        height: 30vw;
        border-radius: 3vw;
        transform: none;
    }
    .roulette-container .card .meta .name {
        margin: 2vw 0 0 0;
        font-size: 9vw;
    }
    .roulette-container .card .meta .author {
        margin: 2.5vw 0 0 0;
        font-size: 4vw;
    }
    .roulette-container .card .buttons {
        transform: none;
    }
    .roulette-container .card .challenge {
        height: 17.5vw;
        border-radius: 0;
    }
    .roulette-container .card .challenge .tagline {
        font-size: 4vw;
    }
    .roulette-container .card .challenge .difficulty {
        border-radius: 0;
    }
    .roulette-container .card .challenge .difficulty img {
        width: 25vw;
    }
    .roulette-container .card .challenge .difficulty span {
        transform: translate(7vw, 1vw);
    }
}

@media only screen and (max-width: 480px) {
    .prof-card .pics .banner {
        height: 150px;
        width: calc(100vw - 192.5px);
    }
}