@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scrollbar-width: none;
}

body {
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #fff;
}

nav {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    height: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.player-inputs {
    text-align: center;
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

.player-inputs input {
    margin: 10px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    width: 200px;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

.player-inputs button {
    padding: 10px 20px;
    font-size: 1.2rem;
    cursor: pointer;
    background-color: #6e45e2;
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.player-inputs button:hover {
    background-color: #88d3ce;
    transform: translateY(-2px);
}

.gamecontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    flex-direction: column;
}

.container {
    display: grid;
    grid-template-rows: repeat(3, 120px);
    grid-template-columns: repeat(3, 120px);
    gap: 15px;
    margin-bottom: 30px;
}

.box {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.box:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.4);
}

.gameinfo {
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
}

.info {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #fff;
}

.scoreboard {
    display: flex;
    justify-content: space-around;
    font-size: 1.2rem;
    margin-top: 15px;
}

.scoreboard p {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0px 3px 7px rgba(0, 0, 0, 0.2);
}

#reset {
    padding: 10px 25px;
    font-size: 1rem;
    background-color: #ff5757;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

#reset:hover {
    background-color: #ff8a8a;
    transform: translateY(-3px);
}

.img-box img {
    width: 0;
    transition: width 0.5s ease;
}

footer {
    clear: both;
    border: 1px groove #aaaaaa;
    background: rgb(54, 53, 53);
    color: White;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    position: fixed;
    bottom: 0px;
    padding: 0px;
    width: 100%;
  }
  
a {
    color:rgb(111, 166, 214);
    text-decoration: none;
  }
