body{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: rgb(41, 13, 53);
    color: white;
    overflow-x: hidden;
}

br{
    display: none;
}

h1{
    margin-top: 60px;
    margin-bottom: -10px;
    font-family: "Megrim";
    font-size: 4rem;
    font-weight: 500;
    padding: 15px;
    border: 1px solid white;
    color: white;
    text-shadow:
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59), 
    0 0 20px rgb(102, 0, 255),
    0 0 30px rgb(102, 0, 255),
    0 0 35px rgb(102, 0, 255),
    0 0 40px rgb(102, 0, 255),
    0 0 45px rgb(102, 0, 255);
    box-shadow: 
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59), 
    0 0 20px rgb(102, 0, 255),
    0 0 30px rgb(102, 0, 255),
    0 0 35px rgb(102, 0, 255),
    0 0 40px rgb(102, 0, 255),
    0 0 45px rgb(102, 0, 255);
}

.crName{
    font-family: "Megrim";
    color: rgba(255, 255, 255, 0.757);
    margin-bottom: 100px;
}

.crName a{
    text-decoration: underline 1px rgba(255, 255, 255, 0.722);
    color: rgba(255, 255, 255, 0.757);
    cursor: pointer;
    transition: ease-in-out 0.3s;
}

.crName a:hover{
    color: white;
    text-shadow:
    0 0 5px white,
    0 0 10px white;
}

#playerDisplay, #computerDisplay{
    font-size: 1.8rem;
    font-family: "Montserrat";
}

#resultDisplay{
    font-size: 3rem;
    font-family: "Megrim";
    margin: 30px 0;
    text-shadow:
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgb(0, 255, 217),
    0 0 20px rgb(0, 255, 217);
}

.scoreDisplay{
    font-size: 1.5rem;
    font-family: "Montserrat";
}

#restartBtn{
    margin-top: 60px;
    padding: 10px;
    background-color: transparent;
    color: white;
    font-size: 2rem;
    font-weight: 100;
    font-family: "Megrim";
    border: 1px solid white;
    transition: ease-in-out 0.3s;
    text-shadow:
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59), 
    0 0 20px rgb(102, 0, 255),
    0 0 30px rgb(102, 0, 255),
    0 0 35px rgb(102, 0, 255),
    0 0 40px rgb(102, 0, 255),
    0 0 45px rgb(102, 0, 255);
    box-shadow: 
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59), 
    0 0 20px rgb(102, 0, 255),
    0 0 30px rgb(102, 0, 255),
    0 0 35px rgb(102, 0, 255),
    0 0 40px rgb(102, 0, 255),
    0 0 45px rgb(102, 0, 255);
    visibility: hidden;
}

#restartBtn:hover{
    color: rgb(102, 0, 255);
    border: 1px solid rgb(102, 0, 255);
    text-shadow: none;
    box-shadow: 
    0 0 10px rgb(102, 0, 255),
    0 0 15px rgb(102, 0, 255), 
    0 0 20px rgb(102, 0, 255),
    0 0 30px rgb(102, 0, 255),
    0 0 35px rgb(102, 0, 255),
    0 0 40px rgb(102, 0, 255),
    0 0 45px rgb(102, 0, 255);
}

.choices{
    margin-top: 60px;
    display: flex;
    gap: 100px;
}

.choices button{
    font-size: 8.5rem;
    min-width: 160px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: ease-in-out 0.3s;
}

.choices button:hover{
    transform: scale(1.1);
    text-shadow:
    0 0 10px rgb(255, 255, 255),
    0 0 15px rgb(255, 255, 255),
    0 0 20px rgb(255, 255, 255);
}

/*==== COLOR CHANGERS OF RESULT DISPLAY ====*/

.greenShadow{
    color: white;
    text-shadow:
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59),
    0 0 20px rgb(0, 255, 0),
    0 0 25px rgb(0, 255, 0),
    0 0 30px rgb(0, 255, 0)
    !important;
}

.redShadow{
    color: white;
    text-shadow: 
    0 0 10px rgba(255, 255, 255, 0.59),
    0 0 15px rgba(255, 255, 255, 0.59),
    0 0 20px red,
    0 0 25px red,
    0 0 30px red
    !important;
}

/*====MEDIA QUERIES====*/

@media screen and (max-width:480px){
    br{
        display: inline;
    }
    
    h1{
        margin-top: 30px;
        font-size: 1.9rem;
        text-align: center;
    }

    .crName{
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    #playerDisplay, #computerDisplay{
        font-size: 0.9rem;
    }

    #resultDisplay{
        margin: 40px 0;
        font-size: 1.6rem;
        white-space: nowrap;
    }

    .scoreDisplay{
        font-size: 1rem;
    }

    #restartBtn{
        font-size: 1.2rem;
    }

    .rock{
        margin-right: -55px;
    }
    
    .scissors{
        margin-left: -55px;
    }

    .choices{
        gap: 0px;
    }

    .choices button{
        font-size: 4rem;
    }
}

@media screen and (min-width: 481px) and (max-width:580px){
    h1{
        margin-top: 30px;
        font-size: 2.1rem;
    }

    .crName{
        font-size: 0.9rem;
        margin-bottom: 50px;
    }

    #playerDisplay, #computerDisplay{
        font-size: 1.1rem;
    }

    #resultDisplay{
        font-size: 2.1rem;
    }

    .scoreDisplay{
        font-size: 1.1rem;
    }

    #restartBtn{
        font-size: 1.5rem;
    }

    .choices{
        gap: 0px;
        padding: -10px;
        white-space: normal;
    }

    .choices button{
        font-size: 6.5rem;
    }
}

@media screen and (min-width:581px) and (max-width:710px){
    h1{
        margin-top: 40px;
        font-size: 2.8rem;
    }

    #playerDisplay, #computerDisplay{
        font-size: 1.2rem;
    }

    #resultDisplay{
        font-size: 2.2rem;
    }

    .scoreDisplay{
        font-size: 1.2rem;
    }

    #restartBtn{
        font-size: 1.8rem;
    }

    .choices{
        gap: 40px;
    }

    .choices button{
        font-size: 7.5rem;
    }
}

