@media (pointer: fine) {
  body {
    font-size: calc(3vw) !important;
  }
  div.content {
    font-size: calc(1.5vw) !important;
  }
  input {
    font-size: calc(1.5vw) !important;
  }  
  .dynamic-input {
    width: 8vw;
  } 
  div.total_results > div.answer > div.title {
    width: 3rem;
  }  
  .only-on-touch {
    display: none;
  }
}

@media (pointer: coarse) {
  body {
    font-size: calc(5vw) !important;
  }
  div.content {
    font-size: calc(3vw) !important;
  }
  input {
    font-size: calc(3vw) !important;
  }  
  .dynamic-input {
    width: 12vw;
  }  
  div.total_results > div.answer > div.title {
    position: relative;
    top: -.2rem;   
    left: 0; 
    width: 4rem;
  }
  .only-on-touch {
    display: block;
  }  
}

body {
  font-family: Courier New, Courier, Monospace;
  background-color: #039;
  color: #FC0;
  margin: 0;
}


h1 {
  font-size: 4rem;
  margin: 0;
  padding: 1rem 1rem 0 1rem;
}

h1 a {
  color: #FC0 !important;
  text-decoration: none !important;
}

h2 {
  font-size: 2rem;
  margin: 0;
  padding: 1rem .5rem 0 1rem;
}

.spacer {
  display: block;
  height: .5rem;
}

div.warning {
  background-image: repeating-linear-gradient(120deg, #c90, #c90 1em, #333 1em, #333 2em);
  color: white;
  margin: -1 rem;
  padding: 0 1rem;
  font-weight: bold;
}

div.content {
  padding: 1rem;
}

input {
  background-color: #039;
  color: #FC0;
  border: 1px solid #039;
  border-radius: .25rem;
  font-family: Courier New, Courier, Monospace;
  font-weight: bold;
}
input:not(.contactform):hover {
  cursor: pointer;
}
input:not(.contactform)[type="text"] {
  text-decoration: underline;
}
input[type="text"]:not(.contactform):focus {
  border: 1px solid #FC0;
  cursor: auto;
  outline: none;
  text-decoration: none;
}
input[type="button"] {
  background-color: #FC0;
  border-radius: .25rem;
  color: #039;  
  cursor: pointer;
}
textarea {
  background-color: #039;
  color: #FC0;
  border: 1px solid #039;
  border-radius: .25rem;
  font-family: Courier New, Courier, Monospace;
  font-weight: bold;
}

input.contactform {
  border-color: #FC0;
  width: 20rem;
}
input.contactform.tiny {
  width: 2rem;
}
textarea.contactform {
  border-color: #FC0;
  width: 40rem;
  height: 10rem;
}

.dynamic-input {
  /* min-width: 50px; /* Minimum width */
  transition: width 0.3s; /* Smooth transition for width changes */  
}

div.response {
  display: none;
  border: solid 2px #FC0;
  border-radius: .25rem;
  padding: .5rem .5rem .25rem .5rem;
  margin: 2rem 0;
  width: fit-content;
  color: #039;
  background-color: #FC0;
}

div.isintheeu {
}

div.comment {
  display: none;
  padding: .5rem 0;
}

div.shouldbe {
  display: none;
}

div.voteresult {
  margin: 2rem 0;
}

div.total_results {
  display: none;
  background-color: #FC0;
  color: #039;
  padding: .5rem;
  border-radius: .25rem;
}
div.total_results > div.title {
  margin-bottom: 1.5rem;
}
div.total_results > div.answer {
  Width: 100%;
  height: 2rem;
}
div.total_results > div.answer > div {
  float: left;
} 
div.total_results > div.answer > div.title {
  font-weight: bold;
}
div.total_results > div.answer > div.bar {
  background-color: #039;
  height: 1.5rem;
  margin-right: .5rem;
}
div.total_results > div.answer > div.percentage {
  margin-left: .5rem;
}

div.contact-panel {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  font-size: 75%;
  font-weight: 600;
}
div.contact-panel a {
  color: #FC0 !important;
  text-decoration: none !important;
}