@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
/*
  Josh's Custom CSS Reset


  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

#root,
#__next {
  isolation: isolate;
}

/* GENERAL STYLING */
body {
  font-family: "Acme", sans-serif;
width: 100%;
display: flex;
position: relative;

}

.container{
 display: grid;
 grid-template-columns: 1fr 4fr;
 grid-template-areas: 
    "nav header"
    "nav main"
 ;   

}

svg {
  width: 20px;
}

.img {
  width: 40px;
}

.img2{
    width: 60px;
}

img {
  border-radius: 100px;
}

a{
    text-decoration: none;
    font-family: inherit;
    color:var(--link-color);
    font-weight: bold;
}

h1{
    font-size: 1.5rem;
}

h2{
    font-size: 1.2rem;
}

h3{
    font-size: 1rem;
}

p{
  font-size: .9rem;
  color: var(--text-color);
}

span{
  font-weight: bold;
}

/* GENERAL STYLE */

body{
    background-color:#0F0F0F;
    width: 100%;
}

main{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1{
  color: #008170;
  font-size: 4rem;
}

.header{
    background-color: #232D3F;
    opacity: .6;
    width: 100%;
    text-align: center;
}

.container{
  /* border: 2px solid red; */
  font-family: "Luckiest Guy", Arial, Helvetica, sans-serif;
  margin-top: 5rem;
  width: 50%;
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(3, minmax(100px, 17%));
  gap: .5rem;
}

.cell{
  font-size: 4rem;
  font-weight: 500;
  color: white;

  background-color: #232D3F;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25%;
}

.cell-active{
  background-color: #008170;
}

.player-name{
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  width: 300px;

}

.player-name div{
  flex: 0;
  color: #fff;
  background-color: #232D3F;
  padding: 5px 2rem ;
  border-radius: 10px 100px / 70px;
}

.menu{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.menu button{
  padding: 1px 30px;
  border-radius: 50px;
  border: none;
  color: white;
  background-color: #232D3F;
}


@media (min-width: 1200px){

  .header{
    order: -1;
    margin-bottom: 3rem;
  }

  .container{
    order: 2;
    margin-top: 0;
  }

  .player-name{
    order: 3;
  }

  .menu{
    margin: 0;
    order: 1;
    margin-bottom: 2rem;
    flex-direction: row;
    width: 27%;
    justify-content: space-between;
  }

  .menu button{
    padding: 1rem 3rem;
  }

  .player-name{
    width: 27%;
  }
}