*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}
html {
  /* font-size: 62.5%; */
}

 body {
            box-sizing: border-box;
            background-image: linear-gradient(to bottom right, #87CEEB, #1E90FF);
            background-size: 100vw 100vh;
            width: 100vw;
            height: 100vh;
            margin: auto;
            /* margin-top: 50px; */
            /* margin-bottom: -50px; */
            font-family: 'Avenir Next';
            position: relative;
        }

        .container {
            position: relative;
        }

        .score-info {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 18px;
            text-align: right;
        }

        .cpu-box {
            display: flex;
            justify-content: center;
            margin-bottom: 100px;
        }

.cpu-box {
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    justify-content: center;
    margin-bottom: 100px;
}

/* .cpu-hand {
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
} */

.play-area {
    display: flex;
    justify-content: space-evenly;
}

/* .play-pile img {
    transition: all 1s ease-in-out;
} */

.score {
    display: flex;
    flex-direction: column;
    margin: auto 0;
    color: rgb(6, 37,62);
    font-size: x-large;
}

#seperator {
    margin: 10px 0;
    border: 2px solid rgb(8, 81, 140);
}

.player-box {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

/* .player-hand {
    display: flex;
    justify-content: center;
    margin-top: 100px;
} */

img {
    width: 100px;
    margin-left: -28px;
    border-radius: 10px;
    box-shadow:  -7px -7px 14px #00405c;
}

.player-hand img:hover {
    transform: scale(1.05) translateY(-8px);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
  }

.player-hand img {
    transition: all 0.1s ease-in-out; 
}

.draw-pile img:hover {
    transform: scale(1.1);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.draw-pile img {
    transition: all 0.1s ease-in-out;
}

#draw-card {
    position: absolute;
    right: 19vw;
    z-index: 2;
}

.player-draw {
    transform: translateY(260px) translateX(-100px);
    transition: all 0.2s ease-in-out;
}

.cpu-draw {
    transform: translateY(-260px) translateX(-100px);
    transition: all 0.2s ease-in-out;
}

.player-animation {
    position: absolute;
    z-index: 2;
    left: 75vw;
    top: 600px;
}

.cpu-animation {
    position: absolute;
    z-index: 2;
    left: 75vw;
    top: 100px;
}

.play-card {
    transform: translateY(-260px);
    transition: 0.3s ease;
}

.cpu-play-card {
    transform: translateY(260px);
    transition: all 0.1s ease-in;
}

.hidden {
    display: none;
}

.shout img {
    transform: scale(3.5);
    transition: all 0.1s ease-in-out;
    border-radius: 0px;
    box-shadow: none;
}

.player-animation img {
    border-radius: 0px;
    box-shadow: none;
    transition: all 1s ease-in-out;
}

.cpu-animation img {
    border-radius: 0px;
    box-shadow: none;
    transition: all 1s ease-in-out;
}

.end-of-round {
    position: absolute;
    z-index: 2;
    top: 40vh;
    left: 35vw;
    width: 30vw;
    margin: auto;
    font-size: xx-large;
    padding: 100px;
    padding-top: 50px;
    border: 5px solid #00eaff;
    border-radius: 20px;
    padding: 10px;
    background-color: black;
    opacity: 0.9;
}

.end-of-game {
    position: absolute;
    z-index: 2;
    top: 37vh;
    left: 30vw;
    width: 40vw;
    margin: auto;
    font-size: xx-large;
    padding: 100px;
    padding-top: 50px;
    border: 5px solid #00eaff;
    border-radius: 20px;
    padding: 10px;
    background-color: black;
    opacity: 0.9;
}

.end-of-round p {
    color: #00eaff;
    text-align: center;
}

.end-of-game p {
    color: #00eaff;
    text-align: center;
}

.end-of-game button {
    background-color: greenyellow;
    color: black;
    margin-left: 14vw;
    margin-top: 10px;
    
}

.color-picker {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    width: 60vw;
    margin: auto;
    margin-top: 20px;
    text-align: center;
    opacity: 0;
}

.color-picker p {
    color: rgb(134, 174, 204);
    font-size: large;
}

 button {
    height: 30px;
    width: 10vw;
    color: white;
    border-radius: 10px;
    transition: all 0.1s ease-in-out
}

button:hover {
    transform: scale(1.1);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.red {
    background-color: red;
}

.green {
    background-color: green;
}

.blue {
    background-color: blue;
}

.yellow {
    background-color: yellow;
    color: black;
}

.player-uno img {
    border-radius: 0px;
    box-shadow: none;
}

.cpu-uno img {
    border-radius: 0px;
    box-shadow: none;
}

.empty {
    width: 100px;
    margin-left: -28px;
    border-radius: 10px;
    box-shadow:  none;
}

.button-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
}

.backHome-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.backHome {
    font-size: 17px;
    padding: 15px 0;
    padding-left: 15px;
    padding-right: 15px;
    cursor: pointer;
    color: white;
    border: none;
    outline: none;
    text-align: center;
    text-decoration: none;
    background-color: rgb(81, 162, 216);
    border-radius: 5px;
    transition: background-color 0.3s;
}

.backHome:hover {
    background-color: rgba(81, 101, 216, 0.8);
}

@media (max-width: 812px) {
    body {
        margin-top: -50px;
        margin-bottom: 0px;
        font-family: 'Avenir Next';
    }

    .cpu-box {
        margin-bottom: 10px;
    }

    .play-area {

    }

    .play-pile img {
        width: 100px;
    }

    .draw-pile img {
        width: 70px;
        margin-top: 20px;
    }

    .score {
        font-size: large;
    }

    .player-box {
        margin-top: 10px;
    }
    
    img {
        width: 60px;
        margin-left: 0px;
    }

    .play-card {
        transform: translateY(-130px);
    }

    .cpu-play-card {
        transform: translateY(130px);
    }

    .shout img {
        transform: scale(2);
    }

    .player-draw {
        transform: translateY(170px) translateX(-100px);
    }

    .cpu-draw {
        transform: translateY(-170px) translateX(-100px);
    }

    .color-picker {
        margin-top: 0px;
    }

    .color-picker p {
        font-size: medium;
    }

    .color-picker button {
        height: 20px;
    }
    
}
@media (max-width: 812px) {
    body {
        margin-top: -5vw;
        margin-bottom: 0;
    }
    .cpu-hand{
        margin-top: 60px;
    }
    .cpu-box {
        margin-bottom: 1vw;
    }

    img {
        width: 6vw;
        margin-left: 0;
    }

    .player-box {
        margin-top: 1vw;
    }

    .play-card,
    .cpu-play-card {
        transform: translateY(-13vw);
    }

    .shout img {
        transform: scale(2);
    }

    .player-draw {
        transform: translateY(17vw) translateX(-10vw);
    }

    .cpu-draw {
        transform: translateY(-17vw) translateX(-10vw);
    }

    .color-picker {
        margin-top: 0;
    }

    .color-picker p {
        font-size: 1.4rem;
    }

    .color-picker button {
        height: 2vw;
    }
}

.navbar{
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    height: 67px;
    width: 100%;
    background:linear-gradient(#1e2b59 , #0f1d34 );
    border-bottom:1px solid #ffb780;
}
.image img{
    height: 55px;
    width: 55px;
}
.left-nav ul{
    display: flex;
    justify-content: center;
    align-items: center;
}
.left-nav ul li{
    list-style: none;
}
.left-nav ul li a{
    text-decoration: none;
    color: #ffb780;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 1.3rem;
}
.left-nav ul li a:hover{
    text-decoration: underline;
}
.footer-container{
    border-top: 1px solid #ffb780;
    width: 100%;
    background:linear-gradient(#1e2b59 , #0f1d34 );
    padding: 20px;
    /* background: url(Image.png); */
     background-position: center;
     line-height: 2.5rem;
}
.foot-head h2{
    text-align: center;
    color: aqua;
    font-weight: 600;
}
.foot-head p{
    color: #ffb780;
    text-align: center;
    font-size: 1.20rem;
}
.foot-navlinks h3{
    text-align: center;
    color: aqua;
    font-weight: 600;
}
.foot-navlinks {
    text-align: center;
}
.foot-navlinks a{
    color: #ffb780;
    font-size: 18px;
    padding: 10px;
}
.foot-social {
    text-align: center;
}
.foot-social h3{
    color: aqua;
    font-weight: 600;
}
.foot-social a{
    font-size: 30px;
    color: #ffb780;
}
html{
    overflow-x: hidden;
}
.head{
    margin-top: 30px;
}
.backHome{
    margin-bottom: 30px;
}
/* @media screen and (max-width:525px) {
    body{
        width: 100%;
    }
    html{
        overflow-x: hidden;
    }

    .navbar{
        width: 100%;
    }
    .left-nav ul li a{
        padding: 0px 9px;
    }
    
}
@media screen and (max-width:380px) {
    body{
        width: 100%;
    }
    html{
        overflow-x: hidden;
    }

    .navbar{
        width: 100%;
    }
    .left-nav ul li a{
        padding: 0px 9px;
    }
    
} */

@media screen and (max-width:525px) {
    body{
        width: 100%;
    }
    html{
        overflow-x: hidden;
    }

    .navbar{
        width: 100%;
    }
    .left-nav ul li a{
        padding: 0px 9px;
    }
    
}
@media screen and (max-width:380px) {
    body{
        width: 100%;
    }
    html{
        overflow-x: hidden;
    }

    .navbar{
        width: 100%;
    }
    .left-nav ul li a{
        padding: 0px 9px;
    }
    
}
html {
    scroll-behavior: smooth;
  }
  
  ::-webkit-scrollbar {
    width: 15px;
  }
  
  ::-webkit-scrollbar-track {
    border-radius: 5px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.25);
  }
  
  ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: linear-gradient(to top, rgba(0, 212, 255, 1), rgba(9, 9, 121, 1));
  }