/* color vars */

:root {
  --background-gray: #f2f2f2;
  --blue: #2344C8;
  --blue-fresh: #2196F3;
  --dark-gray: rgb(115, 115, 115);
  --dark-text: #333;
  --gray: #b3b3b3;
  --green: hsla(144, 40%, 55%, 1);
  --light-gray: #e6e6e6;
  --medium-gray: #f5f5f5;
  --medium-green: #92ce9446;
  --primary-color: #007bff;
  --purple: #7d52ff;
  --red: #dc3545;
  --hype-red: #ec2b2b;
  --secondary-color: #6c757d;
  --shadow: rgba(0, 0, 0, 0.16);
  --soft-green: #92ce9416;
  --white: #fff;
}

/* Fonts */

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: normal;
  src: url(https://uebercapp.nl/assets/NotoSans-Regular-856ef8f4f4357d5e37f21123e87807e1f1f82d468e9cbe6b54ef2877c3c0761a.woff2) format("woff2"),
       url(https://uebercapp.nl/assets/NotoSans-Regular-7d5da30e045ee8675c035c2dbd8fc4bb851ef6b96361025c43271a40c70010db.woff) format("woff");
}

@font-face {
  font-family: "Noto Sans";
  font-style: italic;
  font-weight: normal;
  src: url(https://uebercapp.nl/assets/NotoSans-Italic-64692f43362f95747fc398e65ba263a33176f13610768fecbf24fc77d7217b01.woff2) format("woff2"),
       url(https://uebercapp.nl/assets/NotoSans-Italic-7931d45582a4d0a75fe4851f36f764093138985768b67a946a29b0e2e9214e80.woff) format("woff");
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: bold;
  src: url(https://uebercapp.nl/assets/NotoSans-Bold-cff6b5e8062ab1df0457291ca23e6ce3e94b04add19685197dd7d4383c72fef7.woff2) format("woff2"),
       url(https://uebercapp.nl/assets/NotoSans-Bold-53a02d1694590f5d3ca2c47e26069747bdf504db5c27523402583e38ff7d63cb.woff) format("woff");
}


/* General Styles */


html {
  font-size: 16px;

  @media (max-width: 430px) {
    font-size: 14px;
  }
}

body {
  background-color: var(--background-gray);
  box-sizing: border-box;
  color: var(--dark-text);
  font-family: "Noto Sans";
  margin: 0;
  padding: 1rem;
}

body * {
  box-sizing: border-box;
}

h2 {
  font-size: 1.1rem;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1.5em 0 0.5em;
}

a {
  color: var(--blue-fresh);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.visited {
  color: var(--purple);
}

p,
p a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
}

p {
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

p a {
  -ms-hyphens: none;
  -moz-hyphens: none;
  -webkit-hyphens: none;
  hyphens: none;
}

img.logo {
  margin: 1rem auto;
}

form {
  @media (max-width: 430px) {
    width: 100%;
  }
}

/* General shorthand styles POC */

.flex {
  display: flex
}

.flex-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  height: auto;
  justify-content: center;
  overflow: auto;
  padding: 1rem;
  width: 100%;
}

.flex-row > * {
  flex: 1;
}

.flex-column {
  align-items: center;
  background-color: var(--background-gray);
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  overflow: auto;
  width: 100%;
}

.flex-column-100vh {
  align-items: center;
  background-color: var(--background-gray);
  display: flex;
  flex-direction: column;
  height: auto;
  justify-content: center;
  min-height: calc(100vh - 2rem);
  overflow: auto;
  width: 100%;
}

.flex-column-center {
  align-items: center;
  background-color: var(--background-gray);
  display: flex;
  flex: 1;
  flex-direction: column;
  height: auto;
}

.relative {
  position: relative;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.box {
  background: var(--medium-gray);
  margin: 1rem 0;
  padding: 1rem;
}

.italic {
  color: #666;
  font-style: italic;
}

.small-text {
  font-size: 0.8rem;
}

.border-left {
  border-left: 5px solid #ccc;
}

.shadow {
  box-shadow: 0px 2px 3px var(--shadow);
}

.shadow-xl {
  box-shadow: 0px 3px 6px var(--shadow);
}

.border-top {
  border-top: 1rem solid var(--purple)
}

.materialized-box {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 3px 6px var(--shadow);
  margin-bottom: 2rem;
  max-width: 670px;
  padding: 2rem;
  width: 100%;
}

.materialized-box-xl {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 3px 6px var(--shadow);
  margin-bottom: 1rem;
  max-width: 50rem;
  padding: 2rem;
  width: 100%;
}

.green-text {
  color: var(--green);
}

.blue-text {
  color: var(--blue-fresh);
}

.purple-text {
  color: var(--purple);
}

.green {
  background-color: var(--green);
}

.blue {
  background-color: var(--blue-fresh);
}

/* Helpers */

.word-wrap {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Shared Styles */

.header {
  color: var(--blue-fresh);
  text-align: center;
}

.header h1 {
  margin-top: 0;
}

.logo {
  display: block;
  margin: 0 auto;
  width: 150px;
}

.content {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0px 3px 6px var(--shadow);
  margin-bottom: 2rem;
  max-width: 670px;
  padding: 2rem;
  width: 100%;
}

.breadcrumbs-container {
  margin-bottom: 1rem;
}

.breadcrumbs {
  border-bottom: 1px solid var(--background-gray);
  display: flex;
  gap: 0.5rem;
  margin: -1rem -1rem 0;
  padding: 1rem 2rem;
}

@media (max-width: 670px) {
  .breadcrumbs {
    margin: -1rem -1rem 0;
  }
}

/* Flash messages */

.flash_message {
  animation: appear-then-fade 3.5s both;
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 8px;
  bottom: 2rem;
  color: white;
  left: 2rem;
  min-width: 20rem;
  padding: 1rem;
  position: fixed;
  z-index: 999;
}

@keyframes appear-then-fade {
  0% { opacity: 0 }
  20% { opacity: 1 }
  80% { opacity: 1 }
  100% { opacity: 0 }
}

/* Button styles */

.add-button {
  align-items: center;
  background-color: var(--purple);
  border: none;
  border-radius: 50%;
  bottom: 2rem;
  box-shadow: 0px 3px 6px var(--shadow);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  height: 56px;
  justify-content: center;
  outline: none;
  position: fixed;
  right: 2rem;
  text-decoration: none;
  transition: transform 0.2s ease-out;
  width: 56px;
}

.add-button:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.add-button:active  {
  transform: scale(0.95);
  transition: transform 0.05s ease-out;

}

.add-button:focus {
  box-shadow: 0 0 0 3px rgba(125, 82, 255, 0.3);
}


.button {
  background-color: var(--blue-fresh);
  border: 1px solid var(--blue-fresh);
  border-radius: 5px;
  box-shadow: 0px 3px 6px var(--shadow);
  color: white;
  cursor: pointer;
  font-size: 15px;
  padding: 10px 45px;
  text-decoration: none;
  transition: 0.3s;
}

.button.gray {
  background-color: var(--gray);
  border: 1px solid var(--gray);
  color: white;
}

.button:hover{
  box-shadow: 0px 5px 6px var(--shadow);
  transform: translateY(-2px);
}

.button.danger {
  background-color: var(--red);
  border: 1px solid var(--red);
  color: white;
}

.button.danger:hover {
  background-color: var(--hype-red);
  border: 1px solid var(--hype-red);
  color: white;
}

.save-button{
  align-items: center;
  background: linear-gradient(to right,var(--purple) ,#8b70d1);
  background-color: var(--purple);
  border: 0px solid #000;
  border-radius: 10px;
  box-shadow: 2px 3px 9px -5px #2D2D2D;
  color: #fff;
  display: inline-flex;
  font-family: Arial;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  justify-content: center;
  padding: 14px 15px;
  text-decoration: none;
}

.save-button span{
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTUwIiBoZWlnaHQ9IjE1MCIgdmlld0JveD0iMCAwIDE1MCAxNTAiPg0KICA8ZGVmcz4NCiAgICA8Y2xpcFBhdGggaWQ9ImNsaXAtcGF0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9Ikdyb3VwXzM5IiBkYXRhLW5hbWU9Ikdyb3VwIDM5IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg4MC4wNzkgMCkiPg0KICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGVfNjMtMiIgZGF0YS1uYW1lPSJSZWN0YW5nbGUgNjMiIHdpZHRoPSI3NS44ODciIGhlaWdodD0iMjUuMjk2IiByeD0iMTIuNjQ4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3MS41NDcgNTUuMTEyKSByb3RhdGUoMTM1KSIgZmlsbD0idXJsKCNsaW5lYXItZ3JhZGllbnQtMikiLz4NCiAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzY0LTIiIGRhdGEtbmFtZT0iUmVjdGFuZ2xlIDY0IiB3aWR0aD0iNzUuODg3IiBoZWlnaHQ9IjI1LjI5NiIgcng9IjEyLjY0OCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTMuODA3IDcxLjU0Nykgcm90YXRlKC0xMzUpIiBmaWxsPSIjZmZmIi8+DQogICAgICAgICAgPGNpcmNsZSBpZD0iRWxsaXBzZV8xLTIiIGRhdGEtbmFtZT0iRWxsaXBzZSAxIiBjeD0iNy44NDIiIGN5PSI3Ljg0MiIgcj0iNy44NDIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDQ0Ljg4IDQ1LjA4MikiIGZpbGw9IiNkOWRiZmYiLz4NCiAgICAgICAgPC9nPg0KICAgICAgPC9nPg0KICAgIDwvZz4NCiAgPC9nPg0KPC9zdmc+DQo=);
  background-repeat: no-repeat;
  background-size: contain;
  display: block;
  height: 22px;
  margin-right: 15px;
  transform: rotate(45deg);
  width: 22px;
}

.save-button:hover{
  background: linear-gradient(to right, var(--purple),#9b85d6);
  background-color: var(--purple)
}

.save-button:active{
  transform: scale(0.95);
}

.share-button {
  border: none;
  border-radius: 29px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
}

.invite-button {
  background-color: var(--purple);
  border: none;
  border-radius: 29px;
  color: white;
  cursor: pointer;
  display: inline-block;
  font-size: 16px;
  margin: 10px 2px;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
}

/* Form Styles */

.question-header {
  margin-bottom: 2rem;
}

.question-title {
  border-bottom: 1px solid var(--background-gray);
  color: var(--dark-gray);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.question-descriptiom {
  color: var(--gray);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.field {
  margin-bottom: 2rem;
}

.field input[type="text"], .field textarea {
  background-color: #fff;
  border: none;
  border-bottom: 2px solid var(--gray);
  border-radius: 3px;
  font-size: 1.2rem;
  height: 3rem;
  margin-top: .5rem;
  padding: 0.7rem 1rem;
  resize: none;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.field textarea:focus:not([readonly]),
.field input:focus:not([readonly]):not([type='range']),
.field input:focus:not([readonly]):not([type='radio']),
.field textarea:focus:not([readonly]) {
  border-bottom: 2px solid var(--blue-fresh);
  outline: none;
}

.field label {
  color: var(--gray);
  left: 1rem;
  top: 0.2rem;
  transition: all 0.2s ease-out;

  @media (max-width: 430px) {
    font-size: 1.1rem;
  }
}

.field textarea {
  border: none;
  border-bottom: 2px solid var(--gray);
  font-size: 1.2rem;
  height: 8rem;
  padding: 0.7rem 1rem;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.field input,
.field textarea:focus:not([readonly]) ~ label,
.field textarea:not([value=""]) ~ label {
  color: var(--purple);
  font-size: 1rem;
  left: 1rem;
  top: -1rem;
}

.field select {
  background-color: var(--background-gray);
  border: none;
  border-radius: 4px;
  font-size: 16px;
  margin: 8px 0;
  padding: 12px;
  width: 100%;
}

.margin-left {
  margin-left: .5rem;
}

.radio-group {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  display: flex;
}

.radio-group .radio-with-input,
.radio-group > label {
  align-items: center;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  flex: 1;
  gap: 0.3rem;
  height: 2.6rem;
  inset: 0;
  justify-content: center;
}

.radio-group > label {
  padding: 0 0.8rem;
}

.radio-group label {
  font-size: 1rem;
}

.radio-group .radio-with-input {
  padding: 0 0 0 1rem;
  transition: all 0.2s ease-in-out;
}

.radio-group .radio-with-input:has(input:checked),
.radio-group > label:has(input:checked) {
  background-color: white;
  border-color: white;
  box-shadow: 0 0 0 3px white, 0px 2px 4px rgba(0, 0, 0, 0.05), 0px 10px 30px rgba(0, 0, 0, 0.05);
}

.radio-group .radio-with-input:last-child,
.radio-group > label:last-child {
  border-radius: 0 0.5rem 0.5rem 0;
  border-right: none;
}

.radio-group .radio-with-input:first-child,
.radio-group > label:first-child {
  border-radius: 0.5rem 0 0 0.5rem;
}

.field .radio-group .radio-with-input label {
  margin-left: auto;
}

.field .radio-group .radio-with-input input[type="number"],
.field .radio-group .radio-with-input input[type="number"]:disabled {
  background: transparent;
  border: none;
  border-radius: 0 0.5rem 0.5rem 0;
  box-shadow: 0 0 0 2px transparent inset;
  color: black;
  font-weight: bold;
  height: 2.6rem;
  margin: 0 0 0 0.1rem;
  transition: all 0.2s ease-in-out;
}

.field .radio-group .radio-with-input:focus-within {
  color: white;
}

.field .radio-group .radio-with-input input[type="number"]:not(:disabled):hover,
.field .radio-group .radio-with-input input[type="number"]:focus {
  background-color: white;
  box-shadow: 0 0 0 2px var(--purple) inset;
  color: var(--purple);
}

/* Sprout Show View  */

.sprout-responses {
  margin-top: 2rem;
}

.sprout-response {
  background: var(--soft-green);
  border-radius: 0.5rem;
  color: black;
  display: block;
  margin: 1rem 0;
  padding: 1rem;
  text-decoration: none;
  transition: background .25s ease-in-out;
}

.sprout-response *:first-child {
  margin-top: 0;
}

.sprout-response *:last-child {
  margin-bottom: 0;
}

.sprout-response:hover {
  background: var(--medium-green);
  text-decoration: none;
  transition: background .1s ease-in-out;
}

.share-feedback, .invite-feedback {
  /* color: var(--green); */
  display: none;
  font-size: 14px;
  padding-left: 5px;
  transition: opacity 0.3s;
}

.share-actions {
  line-height: 58px;
}

/* Trix Kitchen Sink */

.trix-button-row {
  margin-top: .5rem;
}

.trix-button--icon-increase-nesting-level,
.trix-button--icon-decrease-nesting-level,
.trix-button--icon-attach,
.trix-button-group--file-tools { display:none; }

.trix-button-group.trix-button-group--file-tools {
  display: none;
}

trix-toolbar .trix-button {
  border-bottom: none;
}

trix-toolbar .trix-button:not(:first-child),
trix-toolbar .trix-button-group {
  border-color:rgba(0, 0, 0, 0.07)
}

trix-editor {
  background-color: var(--background-gray);
  border: none;;
  border-bottom: 2px solid var(--gray);
  border-radius: 0;
}


/* width tools */

.fill-width {
  max-width: 670px;
  width: 100%;
}

/* titles */

h2.respondent-name,
.summary-title,
.response-comment h2,
.response-question h2 {
  margin: 0 0 0.5rem;
}
