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

/*?GLOBAL */
:root {
  --mainBgColor: #f3f3f3;
  --stringColor: #464646;
  --fretColor: #868686;
  --guessNote: linear-gradient(to top left, #F9EE6B, #FCEF3F);
  --btnColor: linear-gradient(to top left, #ffb003, #ffcb03);
  --failColor: linear-gradient(to top left, #e52a5a, #ff585f);
  --successColor: linear-gradient(to top left, #39b385, #9be15d);
  --secondaryBtn: linear-gradient(
    to bottom,
    rgba(18, 250, 250, 0.3),
    rgba(11, 141, 192, 0.4)
  );
}
* {
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.amessa {

}

.fretboard {
  display: flex;
  float:center;
   margin-left:70px;
     margin-top:-250px;
}
/*? GAME STATS */
.game-stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 10px;
margin-top:200px;


}
#title {
  font-size: 2rem;
  margin: 0 3rem;
     margin-top:400px;
}
.new-game {
  position: relative;
  background: var(--secondaryBtn);
  border: none;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  overflow: hidden;
  outline: none;
  margin-top:240px;
  margin-right:200px;
    width: 400px;
}
.new-game:hover {
  transform: scale(1.1);
}
.new-game::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: skewX(45deg) translateX(175px);
  transition: 0.3s;
}
.new-game:hover::before {
  transform: skewX(45deg) translateX(-75px);
}
/*? FRETS */
.frets {
  position: absolute;
  width: 1200px;
  height: 165px;
  z-index: -1;
  display: grid;
  top:-0px;
  grid-template-columns: repeat(12, 1fr);
}
.fret:first-child {
  border-left: 6px solid var(--fretColor);
}
.fret:last-child {
  border-right: 4px solid var(--fretColor);
}
.fret {
  border-left: 3px solid var(--fretColor);
  border-right: 3px solid var(--fretColor);
}
/*? STRINGS */
.open-strings,
.fretboard-container {
    margin-top:-20px;	
  position: relative;
  height: 12rem;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
   
}
.fretboard-in {
  background-image: url('mani.png') ;
    background-repeat: no-repeat;
  position: relative;
  height: 12rem;
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  align-items: center;
   z-index: -2;
   margin-top:10px;

}
.open-strings {
  padding: 0 1rem;
}
.strings {
  width: 1200px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 3px;
  position: relative;
  	 
}
.string-item {
  grid-column: span 12;
  background-color: var(--stringColor);
  border: none;
}
.high-e-string {
  height: 1px;
}
.b-string {
  height: 2px;
}
.g-string {
  height: 3px;
}
.d-string {
  height: 4px;
}
.a-string {
  height: 5px;
}
.low-e-string {
  height: 6px;
}
/*? NOTE */
#note {
  position: absolute;
  top: -25px;
  left: 25px;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background: var(--guessNote);
  text-align: center;
  font-weight: 600;
  line-height: 50px;
  z-index: 3;
  color: red;
  font-size:38px;
}
.success {
  background: blue !important;
}
.fail {
  background: black !important;
  
}
/*? BUTTONS */
.buttons-wrapper {
  margin: 4rem auto;
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.btn {
  position: relative;
  font-size: 1.25rem;
  border-radius: 10px;
  border: none;
  outline: none;
  background: var(--btnColor);
  width: 2.5rem;
  padding: 0.5rem;
  transition: background-color 0.3s;
  cursor: pointer;
  overflow: hidden;
}
.btn:hover {
  transform: scale(1.1);
}
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  transform: skewX(45deg) translateX(75px);
  transition: 0.3s;
}
.btn:hover::before {
  transform: skewX(45deg) translateX(-75px);
}
/*? MESSAGE BOX */
.message-box {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--successColor);
  padding: 1rem 2rem;
  border-radius: 15px;
  transition: 0.3s;
      margin-top:600px;
}

/*? MESSAGE BOX */
.dots {
  position: absolute;
}
.dot {
  position: absolute;
  height: 1rem;
  width: 1rem;
  border-radius: 50%;
  background: var(--stringColor);
  top: 25px;
}
.dot-3 {
  left: 235px;
}
.dot-5 {
  left: 435px;
}
.dot-7 {
  left: 635px;
}
.dot-9 {
  left: 835px;
}
.dot-12 {
  left: 1135px;
}