body {
    margin: 0px;
}

button:hover {
    cursor: pointer;
}

.a, a:link, a:visited {
  color: inherit;
  text-align: inherit;
  text-decoration: inherit;
}

::placeholder {
    color: rgb(141, 92, 0);
    font-size:12px;
}

.about-me-bar i:hover {
    transform: scale(1.2);
  
}

.brick-image {
    display: none;
}

#game-canvas {
    margin: auto;
    border: 4px solid white;
    border-radius: 4px;
    z-index: 2;
    position: relative;   
}

#canvas-container {
    margin: auto;
    display: flex;
    justify-content: center;
}

#game-page {
    position: absolute;
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,92,175, 0.3);
    transition: background-color 1s ease-in-out;
    text-align: center;
    color: white;
    font-family: 'Dosis', sans-serif;

}

.gradient-transition{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(0deg, rgba(34,193,195, 0.6) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    
}

#gameover-box {
    position: absolute;
    margin: auto;
    height: 400px;
    width: 600px;
    background-color: orange;
    border: 4px solid white;
    border-radius: 4px;
    z-index: 3;
    opacity: 0;
    overflow: hidden;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
}

#gameover-title {
    font-size: 30px;
}

@keyframes shake {
  
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-4px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

#gameover-box p {
    font-size: 20px;
}

#gameover-messsage {
    border: 2px solid white;
    width: 60%;
    height: 30%;
    margin: 0 auto;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gameover-box span {
    padding-top: 60px;
    box-sizing: border-box;
}

.new-game-instruction:hover {
    transform: scale(1.2);
    transition: all 0.5s ease-in-out;
}

.game-section-container {
    display: flex;
}

.controls {
    border: 2px solid white;
    border-radius: 3px;
    width: 100%;
}

.fa-github {
    width: 40px;
    height: 40px;
}

.space {
    flex-grow: 10;
}

.fab {
    font-family: "Font Awesome 5 Brands";
}

.about-me-bar {
    border: 2px solid white;
    border-radius: 3px;
    padding: 10px 0px;
    z-index: 2;
    max-height: 200px;
    display: flex;
    box-sizing: border-box;
    justify-content: center;
}

.side-bar {
    z-index: 2;
    margin-right: 20px;
    margin-left: 10px;
    width: 200px;
}

.about-me-bar {
    width: 100%;
}

.about-me-bar div {
    margin-top: 10px;
    margin-right: 7px;
    margin-left: 7px;
}


#game-page h1 {
    font-size: 45px;
    margin-top: 20px;
}

.high-score-bar {
    border: 2px solid white;
    border-radius: 3px;
    margin-top: 10px;

}

.about-and-high-score-container{
    z-index: 2;
    width: 200px;
    margin-right: 15px;
    margin-left: 15px;
}

#record-submission {
    width: 360px;
    height: 100px;
    margin: 0 auto;
    margin-top: 30px;
}

#record-submission input {
    border: 2px solid white;
    color: white;
    border-radius: 3px;
    box-shadow: none;
    padding: 0px 5px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-right: 10px;
    width: 180px;
}

#record-submission p {
    font-size: 16px;
}

#record-submission button {
    /* padding: 5px 8px; */
    height: 34px;
    width: 80px;
    color: white;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid white;
    border-radius: 3px;
    font-size: 16px;
    font-family: 'Dosis', sans-serif;
}

#music-button:hover {
    transform: scale(1.1);
    cursor: pointer;
}

#music-button {
    padding: 5px;
    margin-top: 10px;
    border: 2px solid white;
    border-radius: 3px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#music-icon {
    color: white;
    /* background-color: blueviolet; */
    width: auto;
    height: 30px;
}

@media screen and (max-height: 800px) {
    .game-section-container {
        margin-top:6vh;
    }
}

@media screen 
  and (min-height: 800px) 
  and (max-height: 1000px) {
    .game-section-container {
        margin-top:15vh;
    }
  }

@media screen 
and (min-height: 1000px) {
    .game-section-container {
        margin-top:25vh;
    }
}


/* @media screen 
and (min-width: 1200px) 
and (max-width: 1500px){
  .side-bar {
      margin-left: 10%
  }

  .about-and-high-score-container {
      margin-right: 10%;
  }
}

@media screen 
and (min-width: 1500px) {
    .side-bar {
        margin-left: 20%
    }
  
    .about-and-high-score-container {
        margin-right: 20%;
    } 
} */
