@font-face {
  font-family: roughtype;
  src: url("/fonts/rough_typewriter.otf") format("otf"),
       url("/fonts/rough_typewriter.otf") format("ttf"),
       url("/fonts/rough_typewriter.woff") format("woff");
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
  position: relative;
}

html {
  font-family: "Roboto", sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
}

main {
  margin: 0 auto;
  padding: 20px 10px;
}

h3 {
  font-size: 1.125em;
}

@media screen and (min-width: 900px) {
  main {
    width: 80%;
  }
  h3 {
    font-size: 1.35em;
  }
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content {
  text-align: center;
}

.mb {
  margin-bottom: 50px;
}

.btn {
  border: none;
  box-sizing: content-box;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1em;
  text-decoration: none;
  font-weight: 500;
  color: #ffffff;
  background-color: #1c8aca;
  padding: 14px 10px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  transition: all ease-in 200ms;
  -webkit-transition: all ease-in 200ms;
  -moz-transition: all ease-in 200ms;
  -ms-transition: all ease-in 200ms;
  -o-transition: all ease-in 200ms;
}
.btn:visited {
  color: #ffffff;
  background-color: #1c8aca;
  text-decoration: none;
}
.btn:hover, a.btn:focus {
  text-decoration: none;
  background-color: #00a2ff;
}
.btn.btn-equal {
  width: 70%;
}
.btn.btn-answer {
  width: 90%;
}
.btn#btn-start {
  width: 70%;
}
@media screen and (min-width: 900px) {
  .btn {
    padding: 10px 20px;
    font-size: 1.1em;
    font-weight: 600;
  }
	.btn.btn-equal {
	  width: 50%;
	}
	.btn.btn-answer {
	  width: 65%;
  }
  .btn#btn-start {
    width: 40%;
  }
}

.hidden {
  display: none;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: -9999px;
  left: -9999px;
}

.row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#result-box {
  padding: 0;
  margin: 0;
  width: 420px;
  height: 190px;
  background-color: #ffffff;
  color: #000000;
  border: 2px solid #838383;
}

#result-box .rb-row {
  display: flex;
  flex-direction: row;
  width: 420px;
  height: 150px;
  padding: 0;
  margin: 0;
}
#result-box .rb-row .img-col {
  padding: 0;
  margin: 0;
  width: 150px;
  height: 150px;
}
#result-box .rb-row .text-col {
  padding: 0;
  margin: 0;
  width: 270px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.rb-img {
  padding: 0;
  margin: 0;
  height: 150px;
  width: 150px;
}
.rb-txt {
  padding: 0;
  margin: 0;
  text-align: center;
  font-family: roughtype;
}
#rb-text {
  display: flex;
  justify-content: center;
  flex-direction: row;
  align-items: center;
  font-size: 1.2rem;
}
#rb-perc, #rb-not {
  padding-left: 5px;
  padding-right: 5px;
  font-size: 1.8rem;
}
#rb-a {
  padding-left: 8px;
  padding-right: 8px;
}
#rb-title {
  padding: 0;
  margin: 0;
}
#rb-title a {
  text-decoration: none;
}
p.rb-link {
  padding: 0;
  margin: 0;
}
.rb-link a {
  text-decoration: none;
}
small.rb-tiny {
  font-size: 0.675em;
}

#result-row {
  margin-bottom: 20px;
}
#result-row div+img {
  width: 100%;
  height: auto;
  max-width: 420px;
}
