@font-face {
  font-family: "myRosean";
  src: url(Rosean.ttf) format(truetype);
}
body {
  background-image: url("onepiecebackground.jpg");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  font-family: "myRosean";
  margin: 0;
  padding: 0px;
}

.logo img {
  height: 30px;
  width: auto;
} /* Nav Bar */
header {
  background-color: #AF6528;
  height: 65px;
  position: sticky;
  top: 0;
}

#navLogo {
  height: 18px;
}

.tabletDesktopNav {
  display: none;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5px;
}

h1 {
  font-size: 25px;
  text-wrap: no-wrap;
  top: 10px;
}

/* curtain */
.curtain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #AF6528;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: height 0.6s ease-in-out;
  z-index: 999;
}

.curtain-menu {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.curtain-menu a {
  margin: 0px;
  padding: 30px;
  text-decoration: none;
  font-size: 40px;
  color: black;
}

.menu-toggle {
  display: none;
}

.menu-toggle:checked ~ .curtain {
  height: 100vh;
}

.menu-icon {
  font-size: 50px;
  display: block;
  margin-right: 15px;
}

.questionWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

h2 {
  background-color: rgba(175, 101, 40, 0.9);
  border: 3px solid black;
  border-radius: 15px;
  text-align: center;
  margin-top: 15px;
  width: 100%;
  max-width: 500px;
  padding: 10px;
}

/* calculator*/
.calc-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.calculator {
  display: grid;
  grid-template-columns: auto;
  width: 340px;
  border: 2px solid black;
  margin: 10px;
  background-color: #2E63A4;
  padding: 5px;
  border-radius: 30px;
}

.display {
  border: 2px solid black;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 80px;
  border-radius: 20px;
  background-color: #60BFF5;
  margin: 3px;
  text-align: right;
  font-size: 30px;
  text-wrap: no-wrap;
}

.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  margin: 5px;
  font-size: 20px;
}

.number,
#plusmn,
#decimal {
  background-color: #60BFF5;
}

.operation,
.number,
.equal {
  border: 2px solid black;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  border-radius: 50%;
  margin: 2px;
}

#rightColumnBtn {
  background-color: #FFCE00;
}

#backspace,
#clear,
#percentage {
  background-color: #AF6528;
}

.equal {
  background-color: #D70000;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-10px);
  }
  40% {
    transform: translateX(10px);
  }
  60% {
    transform: translateX(-10px);
  }
  80% {
    transform: translateX(10px);
  }
  100% {
    transform: translateX(0);
  }
}
.shake {
  animation: shake 0.5s;
}

@media (min-width: 800px) {
  .logo {
    height: 30px;
    width: 40px;
  }
  header {
    height: 90px;
    text-wrap: no-wrap;
  }
  h1 {
    font-size: 40px;
    margin-left: 30px;
  }
  .questionCalcWrapper {
    display: flex;
    flex-direction: row-reverse;
    margin: 40px;
    justify-content: space-around;
  }
  .questionWrapper {
    width: 40%;
  }
  h2 {
    font-size: 90px;
    width: 100%;
  }
  .calculator {
    width: 100%;
    max-width: 400px;
    height: auto;
  }
  .display {
    height: 125px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 35px;
  }
  .buttons {
    font-size: 20px;
    margin: 0;
  }
}
@media (min-width: 1200px) {
  .questionCalcWrapper {
    display: flex;
    flex-direction: row-reverse;
  }
  .calculator {
    width: 700px;
  }
}/*# sourceMappingURL=Calculator.css.map */