    @import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@600;700&display=swap');

    :root {
        --white: #ffffff;
        --bcgGradient: radial-gradient(circle at 50% 10%, hsl(214, 47%, 23%), hsl(237, 49%, 15%));
        --darkText: hsl(229, 25%, 31%);
        --scoreText: hsl(229, 64%, 46%);
        --headerOutline: hsl(217, 16%, 45%);
        --font: 'Barlow Semi Condensed', sans-serif;
    }
    
    * {
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .hide-el {
        display: none !important;
    }

    body {
        background: var(--bcgGradient);
        /* min-height: 100vh; */
        /* height: auto; */
        font-family: var(--font);
        /* overflow-x: hidden; */
    }

    .rps {
        /* position: relative; */
        min-height: 100vh;
        padding-top: 30px;
        padding-bottom: 30px;
        overflow-x: hidden;
    }

    .rps .rps-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 100px;
        padding: 10px 10px 10px 20px;
        border: 2px solid var(--headerOutline);
        border-radius: 10px;
        margin-bottom: 50px;
    }

    .rps .rps-top .rps-logo {
        line-height: 0;
    }

    .rps .rps-top .rps-logo img {
        height: 50px;
    }

    .rps .rps-top .rps-score {
        background: var(--white);
        padding: 10px 25px;
        text-align: center;
        border-radius: 6px;
    }

    .rps .rps-top .rps-score span {
        display: inline-block;
        font-size: 10px;
        font-weight: bold;
        color: var(--scoreText);
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .rps .rps-top .rps-score h3 {
        font-size: 27px;
        color: var(--darkText);
    }

    .rps .rps-selection {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .rps .rps-selection .rps-main-one {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 310px;
        height: 310px;
    }
    .rps .rps-selection .rps-main-one::after {
        content: '';
        position: absolute;
        top: 23%;
        left: 14%;
        background-image: url('images/bg-triangle.svg');
        background-repeat: no-repeat;
        background-size: contain;
        width: 70%;
        height: 70%;
        z-index: -2;
    }

    .rps .btn {
        position: relative;
        width: 100px;
        height: 100px;
        background: var(--white);
        border-radius: 50%;
        border: none;
        box-shadow: inset 0 5px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    .rps .rps-selection .rps-main-one .btn.btn-paper {
        margin-right: 110px;
    }

    .rps .btn img {
        width: 45px;
    }

    .rps .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 130px;
        height: 130px;
        border-radius: 50%;
        z-index: -1;
        box-shadow: inset 0 -5px rgba(0, 0, 0, 0.2);
    }

    .rps .btn.btn-paper::before {
        background: linear-gradient(to bottom, hsl(230, 89%, 62%), hsl(230, 89%, 65%));
    }

    .rps .btn.btn-rock::before {
        background: linear-gradient(to bottom, hsl(349, 71%, 52%), hsl(349, 70%, 56%));
    }

    .rps .btn.btn-scissors::before {
        background: linear-gradient(to bottom, hsl(39, 89%, 49%), hsl(40, 84%, 53%));
    }

    .rps .rps-battle {
        width: 90%;
        margin: 0 auto;
    }

    .rps .rps-battle .rps-battle-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .rps .rps-battle .picked {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .rps .rps-battle .picked h3 {
        color: var(--white);
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-top: 30px;
    }

    .rps .rps-battle .picked.winner .btn {
        position: relative;
    }

    .rps .rps-battle .picked.winner .btn::after {
        content: '';
        background: radial-gradient(#2C3B5A 38%, #293857 38% 50%, #233455 50% 100%);
        width: 250px;
        height: 250px;
        display: block;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        z-index: -2;
    }

    .rps .rps-battle .rps-battle-again {
        display: none;
        text-align: center;
    }

    .rps .rps-battle.battle-end .rps-battle-again {
        display: block;
    }

    .rps .rps-battle .rps-battle-again h2 {
        font-size: 40px;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--white);
        margin-bottom: 25px;
    }

    .rps .rps-battle .rps-battle-again .btn-again {
        width: 220px;
        height: 45px;
        background: var(--white);
        color: var(--darkText);
        text-transform: uppercase;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
    }

    .rps .rps-battle .rps-battle-again .btn-again:hover {
        color: hsl(349, 71%, 52%);
    }

    .rps .rps-battle .picked.picked-two .picked-two-wait {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        background: hsla(237, 49%, 15%, 30%);
    }

    .rps .rps-rules-btn {
        display: block;
        position: fixed;
        width: 130px;
        height: 40px;
        background: transparent;
        border: 2px solid var(--headerOutline);
        border-radius: 8px;
        color: var(--white);
        text-transform: uppercase;
        letter-spacing: 2px;
        cursor: pointer;
    }

    .rps .rps-rules-btn:hover {
        background: var(--white);
        color: hsl(349, 71%, 52%);
        border-color: var(--white);
    }

    .rules-modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 100vh;
        background: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        z-index: 10;
    }

    .rules-modal .close-rules-modal {
        display: block;
        text-align: center;
        margin-top: 50px;
        cursor: pointer;
    }

    .rules-modal .rules-modal-content .content-title {
        text-align: center;
        margin: 55px 0;
        color: var(--darkText);
        font-weight: bold;
        text-transform: uppercase;
    }

    .rules-modal.hide-modal {
        visibility: hidden;
        pointer-events: none;
    }

    @media (max-width: 899.98px) {
        .rps .rps-battle .rps-battle-again {
            position: absolute;
            bottom: -125px;
            left: 50%;
            transform: translateX(-50%);
        }
        .rps .rps-rules-btn {
            bottom: 5px;
            right: 50%;
            transform: translateX(50%);
        }
    }

    @media (min-width: 900px) {
        body {
            overflow-y: hidden;
        }
        .rps .btn {
            box-shadow: inset 0 10px rgba(0, 0, 0, 0.2);
        }

        .rps .btn::before {
            box-shadow: inset 0 -10px rgba(0, 0, 0, 0.2);
        }

        .rps .rps-top {
            width: 100%;
            max-width: 700px;
            margin-bottom: 45px;
            padding: 15px 20px 15px 30px;
            /* margin-bottom: 40px; */
        }

        .rps .rps-top .rps-logo img {
            height: 90px;
        }

        .rps .rps-top .rps-score {
            padding: 10px 40px;
        }

        .rps .rps-top .rps-score h3 {
            font-size: 45px;
        }

        .rps .rps-selection .rps-main-one {
            width: 400px;
            height: 400px;
        }

        .rps .rps-selection .rps-main-one .btn.btn-paper {
            margin-right: 130px;
        }

        .rps .rps-selection .rps-main-one .btn {
            width: 135px;
            height: 135px;
        }

        .rps .rps-selection .rps-main-one .btn img {
            width: 65px;
        }

        .rps .rps-selection .rps-main-one .btn::before {
            width: 185px;
            height: 185px;
            box-shadow: inset 0 -7px rgba(0, 0, 0, 0.1);
        }

        .rps .rps-battle {
            width: 100%;
            max-width: 700px;
        }

        .rps .rps-battle.battle-end {
            max-width: 800px;
        }

        .rps .rps-battle .picked .btn {
            width: 225px;
            height: 225px;
            order: 2;
        }

        .rps .rps-battle .picked.winner .btn::after {
            width: 420px;
            height: 420px;
        }

        .rps .rps-battle .picked .btn img {
            width: 105px;
        }

        .rps .rps-battle .picked .btn::before {
            width: 290px;
            height: 290px;
        }

        .rps .rps-battle .picked h3 {
            order: 1;
            margin-top: 0;
            margin-bottom: 60px;
            font-size: 18px;
        }

        .rps .rps-battle .picked.picked-two .picked-two-wait {
            width: 225px;
            height: 225px;
            order: 2;
        }

        .rps .rps-rules-btn { 
            position: fixed;
            bottom: 10px;
            right: 30px;
        }
        
        .rules-modal {
            width: 400px;
            height: auto;
            padding: 30px 25px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-height: auto;
            border-radius: 8px;
        }

        .rules-modal {
            width: 400px;
            height: auto;
            padding: 30px 25px;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-height: auto;
            border-radius: 8px;
        }

        .rules-modal .rules-modal-content .content-title {
            margin: 10px 0 30px;
            text-align: left;
            font-size: 25px;
        }
        .rules-modal .close-rules-modal {
            position: absolute;
            right: 30px;
            top: 47px;
            margin-top: 0;
        }
        .rules-modal .close-rules-modal img {
            width: 25px;
        }
    }