
@font-face {
  font-family: 'Stamp Smudge';
  src: url('StampRSPKSmudge-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@media screen and (min-width: 1026px) and (max-width: 3840px) {
  body {
    background-image: url("ch8backgrounddesktop.png");
    background-size: cover;
    background-repeat: no-repeat;
  }
}
body {
  font-family: 'Stamp Smudge';
  color: #111;
}
input[type=text] {
  width: 150px;
  border-radius: 20px 20px 20px 20px;
}
#home {
    display: none !important;
}
#home2 { 
position: fixed;
  top: 2px;
  left: 5px; 
  width: 100px;
  height: auto;
}
#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin-top: 30px;
  margin-bottom: -30px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
}
.question1, .question2, .question3, .question4, .question5 {
  font-size: 17px;
  text-align: center;
  color: #111;
  max-width: 195px;
  margin-bottom: 30px;
  background-color: rgba(255, 0, 0, 0.5);
  border-radius: 20px 20px 20px 20px; 
}
.submit-box {
  font-family: 'Stamp Smudge';
  font-size: 20px;
  width: 100px;
  background-color: rgba(255, 0, 0, 0.5);
}


@media screen and (max-width: 768px) {
  body {
    background-image: url("ch8mobilebackground.png");
    background-size: cover;
    background-repeat: no-repeat;
  }
#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
}
#home {
  display: block !important;
  position: fixed;
  top: 2px;
  left: 5px;
  width: 100px;
  height: auto;
  z-index: 10;
}
#home2 {
display: none !important;
}
.question1, .question2, .question3, .question4, .question5 {
  font-size: 20px;
  color: #111;
  background-color: rgba(255, 0, 0, 0.5);
  max-width: 400px;
}
input[type=text] {
  width: 105px;
}
.submit-box {
  font-size: 15px;
  color: #111;
  width: 100px;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
  background-color: rgba(255, 0, 0, 0.5);
}
}


@media screen and (min-width: 768px) and (max-width: 1025px) {
  body {
    background-image: url("ch8tabletbackground.png");
    background-size: cover;
    background-position: center;
  }
#home {
 display: block !important;
  position: fixed;
  top: 2px;
  left: 5px;
  width: 100px;
  height: auto;
  z-index: 10;
}
#home2 {
display: none !important;
}
#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  min-height: 100vh;
}
.question1, .question2, .question3, .question4, .question5 {
  font-family: 'Stamp Smudge';
  font-size: 25px;
  color: #111;
  max-width: 300px;
  margin-bottom: 35px;
  margin-top: 35px;
}
.submit-box {
  font-family: 'Stamp Smudge';
  font-size: 25px;
  width: 150px;
  height: 50px;
  background-color: rgba(255, 0, 0, 0.5);
}
input[type=text] {
  width: 145px;
}
}

