:root {
    font-size: 1rem;
    font-family: sans-serif;
    
    --text-primary: rgb(255, 255, 255);
    --text-secondary: rgb(150, 150, 150);
    --text-accent: rgb(255, 8, 17);

    --bg-primary: rgb(19, 22, 27);

    --bg-transperent: rgba(0, 0, 0, 0.5);;

    --icon-primary: rgb(245, 245, 245);

    --link-color: rgb(23, 147, 209);
}
body {
    margin: 0;
    background-color: rgb(19, 22, 27);
}
.navbar {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;

    height: 100%;
    width: 80px;
    position: fixed;

    background-color: var(--bg-transperent);
    backdrop-filter: blur(10px);
    transition: 0.5s ease;
    z-index: 1;
}
.navbar-ul {
    padding: 0;
    margin-top: -150%;
    margin-bottom: -150%;

    height: 4rem;
    width: 4rem;

    border-radius: 25%;
    transition: 0.4s ease-out;
}
.navbar-ul:hover {
    background: rgba(162, 161, 168, 0.2);
}
.textbox-d {
    display: none;
}
.navbar-ul:hover .textbox-d{
    position: absolute;
    display: inline-block;
    padding: 7px;
    border-radius: 10px;
    background: var(--bg-transperent);
    backdrop-filter: blur(2px);
    margin-left: 95%;
    margin-top: -41%;
}

.navbar-svg {
    display: block;
    margin: auto;
    margin-top: 21%;
    width: 38;
    height: 36;

    transition: ease-in;
}
#Home {
    fill: var(--icon-primary);
}
#Project {
    fill: var(--icon-primary);
}
#Fun {
    fill: var(--icon-primary);
}
#About {
    fill: var(--icon-primary);
}

.navbar-a {
    text-decoration: none;
    color: var(--text-primary);
}

.gameContainer {
    width: calc(100% - 80px);
    margin-left: 80px;
}
.gameDiv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    height: 100%;
    width: 100%;
}
.player {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.display {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    z-index: -1;
}
.gameText {
    letter-spacing: 4;
    text-align: center;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
    font-weight: 500;
    color: var(--link-color);
}
@keyframes spin {
    0%, 100% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
  }
.svgRock svg, .svgPaper svg, .svgScissors svg{
    fill: var(--text-primary);
    animation: spin 5s linear infinite;
    margin-left: 15%;
}

.PointsDIV {
    color: white;
    min-height: 10%;
}


.buttons {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.choiceButton{
    border: none;
    font-size: 0;
    width: 10rem;
    height: 10rem;
    background-color: var(--bg-transperent);
    border-radius: 20px;
    transition: 0.2s ease-in;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 1);
    margin: 15px;
}
.choiceButton:hover {
    transform: scale(1.06);
    box-shadow: 0px 0px 0px black;
}
.choiceButton:hover svg{
    fill: var();
}
.choiceButton svg {
    fill: white;
    width: 8rem;
    height: 8rem;
    transition: 0.6s ease-in-out;
}
.choiceButton.clicked svg {
    transform: rotate(90deg);
}
.computer {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.computer h1 {
    padding-left: 10px;
}
.result {
    display: none;
}
.gitpc {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.gitpc img{
    object-fit: contain;
    width: 100%;
    max-height: 400px;
    margin-right: 20px;
    margin-bottom: 10px;
}

.CsvgRock svg, .CsvgPaper svg, .CsvgScissors svg {
    fill: var(--text-primary);
    animation: spin 10s linear infinite;
    margin-left: 15%;
}
.popup {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--bg-primary);
    color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.popup-content {
    text-align: center;
    margin: 10%;
}
.close-popup {
    font-weight: 800;
    font-size: 1.8rem;
    width: 150px;
    height: 70px;
    transition: 0.6s ease-in-out;
    border: none;
}
.close-popup:hover {
    background: var(--link-color);
}

.blur {
    position: absolute;
    width: calc(100% - 80px);
    height: 100%;
    top: 0;
    right: 0;
    backdrop-filter: blur(10px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

@media (max-width: 840px) {
    .navbar {
        height: 80px;
        width: 100%;
        flex-direction: row;
        bottom: 0;
    }
    .gameContainer {
        width: 100%;
        height: 90%;
        margin-left: 0px;
    }
    .navbar-li {
        list-style: none;
    }
    .buttons {
        min-height: 50%;
    }
    .PointsDIV {
        min-height: 10%;
    }
    .display {
        height: 40%;
    }
    .choiceButton {
        width: 5rem;
        height: 5rem;
    }
    .choiceButton svg {
        width: 3rem;
        height: 3rem;
    }
    .gitpc {
        min-height: 50%;
    }
    .blur {
        width: 100%;
    }
}