html {
    height: 100%;
    background: url(bg.jpg);
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

* {

    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

h1, h2{
  text-align: center;
  color: #000;
}

h2 {

    font-size: 20px;
    background-color: #000;
    color: #fff;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bottle-cap-container {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.bottle-cap {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    margin-right: 5px;
    display: flex;
}


.buttons {

  justify-content: center;
  display: flex;
  gap: 10px;
  padding: 15px;
}

.game-container {

    display: flex;
    margin: 0 auto;
    justify-content: center;
    width: 200px;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
}

.game-container img {

  width: 80px;
}

.top-game {

    background-color: #fff;
}


.button {

    border: 2px solid transparent;
    border-radius: 100%;
    padding: 4px;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.button:active {

  border: 2px dashed #000;
  transform: rotate(90deg);
  opacity: 1;
}

#yellow.button.active {

    border: 2px dashed yellow;
}

#green.button.active {

    border: 2px dashed green;
}

#red.button.active {

    border: 2px dashed red;
}

#blue.button.active {

    border: 2px dashed blue;
}

.button.active {

    transform: rotate(90deg);
    border: 1px dashed #000;
    opacity: 1;
}

.tampinhas {

    position: absolute;
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.tampinhas span {

    background-color: #000;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

h1 {

    font-family: "Pacifico", cursive;
    font-weight: 400;
    font-style: normal;

}

.start {

    background-color: purple;
    color: #fff;
    border: navajowhite;
    padding: 10px 20px;
}

.reset {

    background-color: #9e9e9e;
    color: #fff;
    border: navajowhite;
    padding: 10px 20px;
}