:root {
  --primary: #00b0ff;
  --bg: #F5F7F2;
  --bg-grey: white;
  --bg-lightgrey: #E8EFE8;
  --text: #0f2727;
  --dark: #333333;
  --lightdark: #9BA9A4;
  --important: #fff9ef;
  --important-border: #ffe5ba;
  --extradark: #1a1a1a;
  --green: #4caf50; 
  --red: #c62828;
  --selected: #e5f2ff;
  
  --color1: #3DA9E8;
  --color1a: #D4EDFA;
  --color1b: #E3F3FC;

  --color2: #35BFA3;
  --color2a: #D2F1EA;
  --color2b: #E2F6F1;

  --color3: #FF6B5E;
  --color3a: #FFE2DE;
  --color3b: #FFF0EE;
}

body {
  background: var(--bg);
  color: var(--text);
}

*::selection {
    background-color: var(--primary);
    color: #fff
}
html {
  scroll-behavior: smooth;
}
a {
  transition: all 0.3s;
}
a:focus, a:active, button:focus, button:active {
  outline: none;
}
a:focus {
  text-decoration: none;
}
.btn:active {
  box-shadow: none;
}
strong {
  font-weight: 500;
}
h1 {
  font-size: 30px;
  font-weight: 300;
}
@media (min-width: 768px) {
  h1 {
    font-size: 44px;
  }
}
h2 {
  font-size: 22px;
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  padding-top: 10px;
  margin-bottom: 30px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  h2 {
    font-size: 22px;
  }
}
h3 {
  font-size: 18px;
  font-family: "Sora", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
}
textarea {
  background-color: var(--bg);
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s;
  border: 2px solid #e5f2ff;
  width: 100%;
  resize: none;
}
textarea:focus {
  border-color: #00B0FF;
  outline: none;
}
textarea:active, textarea:focus-visible {
  outline: none;
}
html {
  overflow-x: hidden;
}
body {
  color: var(--text);
  font-family: Roboto, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
   }

.input {
  border: 2px solid #0FA3B1;
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s;
  width: 100%;
  background-color: var(--bg-grey); }
.input:focus {
  outline: 0 !important;
  box-shadow: none !important;
  border-color: #FF9B42; }
.input:focus-visible {
  outline: 10px !important;
  box-shadow: none !important; }
.input.correct {
  background-color: #3ae256;
  border-color: #3ae256; }
.input.incorrect {
  background-color: #e23a56;
  border-color: #e23a56; }

.hr {
  margin: 20px -21px;
  height: 40px;
  background-color: var(--bg);
  position: relative;
}

.hr:before {
  background-color: var(--bg-grey);
  border-radius: 0 0 10px 10px;
  height: 10px;
  left: 0;
  top: 0;
  box-shadow: 0px 6px 3px -6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bg-lightgrey);
  border-width: 0 1px 1px 1px;
  content: " ";
  position: absolute;
  width: 100%;
}

.hr:after {
  background-color: var(--bg-grey);
  border-radius: 10px 10px 0 0;
  height: 10px;
  left: 0;
  bottom: 0;
  border: 1px solid var(--bg-lightgrey);
  border-width: 1px 1px 0 1px;
  content: " ";
  position: absolute;
  width: 100%;
}

@media (max-width: 767px) {
  hr {
    margin: 40px -21px;
  }
}


.form-control[disabled] {
  cursor: default;
}

.darkmode .form-control[disabled] {
  background-color: black;
}

.btn {
  background-color: #00B0FF;
  background:
        linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0)),
        #00b0ff;
  color: white;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
  padding: 16px 28px;
  text-transform: uppercase;
  border-width: 0;
  font-size: 12px;
  font-family: sora, sans-serif;
}
.btn:active {
  background:
        linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0)),
        #00b0ff;
}
.btn:focus {
  color: white;
}
.btn:hover {
  color: white;
  background-color: #33C1FF;
}
.btn_full {
  width: 100%;
}

@media (max-width: 767px) {
  .btn_full-mobile {
    width: 100%;
  }
}
.btn_quiet {
  background: transparent;
  box-shadow: none;
  color: var(--dark);
}
.btn_quiet:focus {
  color: var(--dark);
}
.btn_quiet:active {
  background: transparent;
}
.btn_quiet:hover {
  background-color: transparent;
  color: var(--dark);
}
@media (min-width: 768px) {
  .btn_quiet:hover {
    color: #00B0FF;
  }
}
*:focus {
  outline: none !important;
}
.btn[disabled], .btn.disabled {
  opacity: 1;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.btn_quiet::after {
  background: rgba(255,255,255,0.1);
}

.btn:focus::after {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: ripple 0.2s ease-out;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(40);
    opacity: 0;
  }
}

.error_message {
  color: var(--red);
  font-weight: 500;
}
.success_message {
  color: var(--green);
  font-weight: 500;
  _border: 2px solid #2E7D32;
  _border-radius: 6px;
  _padding: 10px 20px;
  _background-color: rgba(210,240,210,0.5);
}

.loader {
  text-align: center;
  position: fixed;
  opacity: 0;
  width: 100%;
  visibility: none;
  will-change: opacity, visibility;
  transition: opacity 2s ease, visibility 2s ease;
  left: 0; }
.loader.big .lds-dual-ring {
  width: 80px;
  height: 80px; }
.loader.big .lds-dual-ring:after {
  margin: 8px;
  width: 64px;
  height: 64px;
  border-width: 6px; }
  
.loading .loader {
  visibility: visible;
  top: 50%;
  opacity: 1;
}

h1, .part {
  will-change: transform, opacity;
  opacity: 1;
  transition: transform 0.2s cubic-bezier(0.7, 0, 1, 1), opacity 0.2s cubic-bezier(0.7, 0, 1, 1);
}

#paper.prep-left .part {
    transform: translateX(-20px);
    transition: none;
    opacity: 0;
}

#paper.prep-right .part {
    transform: translateX(20px);
    transition: none;
    opacity: 0;
}

#paper.animate .part {
    transition: transform 0.2s cubic-bezier(0, 0, 0.3, 1), opacity 0.2s cubic-bezier(0, 0, 0.3, 1);
}

#paper.is-activ .parte {
    transform: translateX(0);
}

#paper.loading .part {
    pointer-events: none;
}

.loading h1, .loading .part, .loading #questions {
  opacity: 0 !important;
}

.form-group {
  position: relative;
}
.form-group label {
  font-weight: 500;
  color: var(--text);
}
.form-control {
  border: 2px solid var(--green);
  border-radius: 6px;
  transition: all 0.3s;
  background-color: var(--bg);
  padding: 10px 20px;
  height: auto;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.form-control:focus {
  border-color: #33C1FF;
  box-shadow: none;
}

.form-control:placeholder-shown {
  border-color: #00B0FF;
  box-shadow: 2px 3px 5px rgba(0,0,0,0.2);
}
.bad .form-control {
  border-color: var(--red);
}
.show-password {
  position: absolute;
  right: 10px;
  bottom: 9px;
  border-width: 0;
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  background: var(--bg) url(../images/show.svg) no-repeat center;
  background-size: 30px 30px;
}
.show-password span {
  display: none;
}


input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input:focus,
input:focus-visible {
  outline: none;
  box-shadow: none;
}

input[type="number"] {
  -moz-appearance: textfield;
}

#app-container {
  background: var(--bg);
  position: fixed;
  inset: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.login-page #app-container {
  background: var(--bg-lightgrey) url(../images/bg.svg);
  background-size: 250px 250px;
}
@media (min-width: 768px) {
  #app-container {
    background: var(--bg-lightgrey) url(../images/bg.svg);
    background-size: 250px 250px;
  }
}
#app {
  max-width: 1000px;
  position: relative;
  margin: auto;
  min-height: 0;
  flex: 1;
  display: flex;
  width: 100%;
  flex-direction: column;
}
#header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
#logo {
  text-align: center;
  overflow: hidden;
  height: 70px;
  margin: 0 auto;
  width: 150px;
}
#logo.show-hearts a, #logo.show-hearts #hearts {
  transform: translateY(-70px);
}
#logo a {
  height: 70px;
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--text);
  will-change: transform;
  transition: transform 0.3s;
}
#logo a svg {
  width: 110px;
}
.hearts {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  will-change: transform;
  transition: transform 0.3s;
  color: var(--red);
}
.hearts svg {
  width: 24px;
  height: 24px;
  --fillCollor: transparent;
}
.hearts[data-value="1"] span:nth-child(1) svg {
  --fillCollor: var(--red);
}
.hearts[data-value="2"] span:nth-child(1) svg, .hearts[data-value="2"] span:nth-child(2) svg {
  --fillCollor: var(--red);
}
.hearts[data-value="3"] span:nth-child(1) svg, .hearts[data-value="3"] span:nth-child(2) svg, .hearts[data-value="3"] span:nth-child(3) svg {
  --fillCollor: var(--red);
}

#coins {
  position: absolute;
  right: 20px;
  top: 0;
  display: flex;
  height: 70px;
  font-weight: 500;
  font-size: 14px;
  align-items: center;
}

#coins div.coin-content {
  padding: 3px 10px 3px 8px;
  border-radius: 6px;
  background-color: var(--important);
  border: 1px solid var(--important-border);
  display: flex;
  align-items: center;
}
#coins div.coin-content:before {
  content: " ";
  display: inline-block;
  background: transparent url(../images/coin1_40.svg);
  width: 24px;
  height: 24px;
  background-size: 24px 24px;
  margin-right: 6px;
}
#coins div.coin-content span {
  width: 9px;
}

.coin-bubble {
  position: absolute;
  font-family: sora, sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--green);
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  animation: fall 2s forwards;
}

@keyframes fall {
  0% {
    transform: translateY(90px) translateX(var(--x-offset));
    opacity: 1;
  }
  100% {
    transform: translateY(30px) translateX(var(--x-offset));
    opacity: 0;
  }
}

#progress-container {
  position: absolute;
  left:0;
  width: 100%;
  bottom: 0;
  display:none;
}
#top-progress {
  height: 2px;
  width: 0;
  transition: width 0.3s;
  background-color: #00b0ff;
}


#footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
  will-change: transform;
  transition: transform 0.3s;
}
#footer.hide {
  display: block !important;
  transform: translateY(105px);
}
.footer-container {
  margin: 0 auto;
  max-width: 1000px;
}
#footer ul {
  list-style-type: none;
  margin: 0;
  padding: 5px;
  display: flex; 
}
#footer li {
  flex-grow: 1;
  flex-basis: 0;
}
#footer a {
  color: var(--text);
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  display: block;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 60px;
  justify-content:center;
  position: relative;
  overflow: hidden;
  font-family: sora, sans-serif;
}

#footer a.new-message:after {
  content: " ";
  position: absolute;
  left: 50%;
  margin-left: 20px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background-color: #C62828;
  transform: scale(1);
  opacity: 1;
}


#footer a::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}

.darkmode #footer a::after {
  background: rgba(255,255,255,0.5);
}

#footer a:focus::after {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  animation: rippleSmall 0.2s ease-out;
}

@keyframes rippleSmall {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  #footer {
    height: 80px;
  }
  #footer a {
    font-size: 12px;
    height: 70px;
  }
}

#footer a.active {
  color: #00b0ff;
}

#footer a.active svg {
  color: #00b0ff;
}

#footer a svg {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  #footer a svg {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
  }
}

#footer a.item1 {
  background-color: #00adfb;
  color: white;
  border-radius: 20px;
  position: relative;
  width: 90px;
  height: 70px;
  margin: 0 auto;
  top: -15px;
  background: linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0)), #00b0ff;
}
#footer a.item1.active svg {
  color: white;
}

@media (min-width: 768px) {
  #footer a.item1 {
    width: 160px;
    height: 85px;
    top: -15px;
  }
}

#footer a:hover {
  text-decoration: none;
}

.menu-back {
  margin: 0;
  transform: translateX(0px);
  transition: transform 0.3s;
}
.menu-back-hide {
  transform: translateX(-100px);
}
.menu-back a {
  height: 70px;
  margin: 0;
  position: absolute;
  padding-top: 5px;
  left: 0;
  top: 0;
  color: var(--text)
}
.menu-back a svg {
  width: 48px;
}

#paper {
  max-width: 1000px;
  padding-top: 70px;
  padding-left: 0px;
  padding-right: 0px;
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

@media (min-width: 768px) {
  #paper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.part {
  background-color: var(--bg);
}
@media (min-width: 768px) {
  .part {
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  }
}
.group {
  padding: 25px 20px 0 20px;
}

.group.new-group {
  margin-left: 20px;
  margin-right: 20px;
}

.group.open {
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .group {
    padding: 40px 40px 0 40px;
  }
  
  .group.new-group {
    margin-left: 40px;
    margin-right: 40px;
  }

  .group.open {
    padding-bottom: 40px;
  }
}



#tools {
  position: fixed;
  left: 0;
  background-color: var(--bg);
  opacity: 1;
  z-index: 6;
  transition: opacity 0.3s ease 1s, top 0.3s;
  padding: 5px 5px;
  box-shadow: 1px -1px 3px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 1px;
}

@media (max-width: 919px) {
  #tools {
    top: auto !important;
    width: 100%;
    bottom: 0;
    display: flex !important;
  }
}

@media (min-width: 920px) {
  #tools {
    position: absolute;
    left: 880px;
    top: 0;
    margin: 0;
    bottom: auto;
    width: auto;
    border-radius: 30px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease 1s, top 0.3s;
  }
}

#tools.show, #tools:hover {
  opacity: 1;
  transition: opacity 0.3s ease, top 0.3s;
}
#questions {
  position: absolute;
  left: 950px;
  top: 0;
  width: 300px;
  z-index: 5;
}

@media (max-width: 919px) {
  #questions {
    left: 100%;
  }
  
  .question-box {
    left: 20px;
    margin-left: 0;
  }
  
  .question-box:before {
    content: " ";
    border-radius: 30px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: -42px;
    width: 30px;
    height: 30px;
    background: var(--bg) url(../images/comment.svg) no-repeat center;
    background-size: 30px 30px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s;
  }
  
  .question-box.question-box-active {
    left: -100%;
    margin-left: -10px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 1000px rgba(0, 0, 0, 0.2);
  }
  .question-box-active:before {
    opacity: 0;
    visibility: hidden;
  }
}

#save-p {
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  background: var(--bg) url(../images/bookmark.svg) no-repeat center;
  background-size: 30px 30px;
  _border: 2px solid #00b0ff;
}
#save-p span {
  display: none;
}

#add-note {
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  background: var(--bg) url(../images/note.svg) no-repeat center;
  background-size: 30px 30px;
  _border: 2px solid #00b0ff;
}
#add-note span {
  display: none;
}

#add-question {
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  background: var(--bg) url(../images/question.svg) no-repeat center;
  background-size: 30px 30px;
  _border: 2px solid #00b0ff;
}

@media (max-width: 919px) {
  #add-question, #add-note, #save-p {
    width: 40px;
    height: 40px;
    background-size: 40px 40px;
  }
}
#add-question span {
  display: none;
}

.question-box {
  position: absolute;
  max-width: 100%;
  transition: top 0.3s;
  border-radius: 6px;
  transition: all 0.3s;
  //border: 1px solid #9E9D24;
  //background-color: rgba(255,255,180,0.5);
  background-color: var(--bg);
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), 0 0 0 1000px rgba(0, 0, 0, 0);
  padding: 10px;
  width: 300px;
}
.question-box .question-answer div {
  padding: 15px;
  background-color: var(--bg-grey);
  border-radius: 6px;
  margin: 15px 0;
}
.question-box .question-answer:empty {
  display: none;
}
.question-box .question-footer {
  padding: 10px 15px;
  background-color: var(--bg-grey);
  border-radius: 6px;
  margin: 15px 0 0 0;
  text-align: center;
  font-style: italic;
}
.question-box .question-footer:empty {
  display: none;
}

.question-box p {
  margin: 0;
}
.question-box:hover  [data-type="question-edit"], .question-box:hover  [data-type="question-delete"] {
  opacity: 1;
}
.question-box [data-type="question-edit"] {
  position: absolute;
  top: -10px;
  right: 45px;
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
  background: var(--bg) url(../images/edit.svg) no-repeat center;
  background-size: 30px 30px;
}
.question-box [data-type="question-edit"] span {
  display: none;
}

.question-box [data-type="question-delete"] {
  position: absolute;
  top: -10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-width: 0;
  border-radius: 100px;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s;
  background: var(--bg) url(../images/delete.svg) no-repeat center;
  background-size: 30px 30px;
}
.question-box [data-type="question-delete"] span {
  display: none;
}
.question-box textarea {
  height: 100px;
}
.question-box .question-box-title {
  margin-bottom: 10px;
  font-weight: 500;
}
.question-box .question-box-author {
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  white-space: nowrap;
  padding-left: 40px;
  position: relative;
  height: 30px;
  line-height: 30px;
}
.question-box-author span {
  position: absolute;
  left: 0;
  top: 0;
  border: 2px solid #00b0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-family: sora, sans-serif;
  font-size: 12px;
  width: 30px;
  height: 30px;
  line-height: 1;
  border-radius: 30px;
  font-weight: 500;
}

.question-box-buttons {
  display: flex;
  padding-top: 5px;
  justify-content: end;
}

.break {
  margin: 30px -21px -20px -21px;
  background-color: var(--bg);
  border-radius: 0 0 6px 6px;
  position: relative;
  z-index: 3;
}

.break:before {
  background-color: var(--bg-grey);
  border-radius: 0 0 10px 10px;
  height: 10px;
  left: 0;
  top: 0;
  box-shadow: 0px 6px 3px -6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--bg-lightgrey);
  border-width: 0 1px 1px 1px;
  content: " ";
  position: absolute;
  width: 100%;
}

.done .break {
  display: none;
}

.popup-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0);
  visibility: hidden;
  transition: all 0.3s;
  padding: 15px;
  overflow: auto;
}

.show .popup-container {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
}
.popup-container .section {
  max-width: 600px;
}

.popup {
  overflow: auto;
  background-color: var(--bg);
  visibility: hidden;
  opacity: 0;
  transform: scale(0.9);
  visibility: hidden;
  transition: all 0.3s;
  border-radius: 10px;
  padding: 5px;
}

.show .popup {
  opacity: 1;
  transform: scale(1);
  visibility: visible;
}

.popup-inner {
  border: 1px dashed var(--lightdark);
  border-radius: 10px;
  padding: 25px 25px 25px 25px !important;
}

@media all and (min-width: 768px) {
  .popup-inner {
    padding: 35px 40px 20px 40px !important;
  }
}

.popup-inner h3 {
  margin-right: 60px;
}

.popup .button {
  margin-bottom: 0;
  padding-bottom: 5px;
}

.popup-content {
  padding: 30px 20px 20px 20px;
  margin: 30px 0 10px 0;
  background-color: var(--bg-grey);
  border: 1px solid var(--bg-lightgrey);
  border-radius: 10px;
  box-shadow: 0px 6px 3px -6px rgba(0, 0, 0, 0.2);
}

.popup-content {
  .form-group label {
    font-weight: 300;
    font-size: 20px;
  }
  .welcome-task-group strong {
    font-weight: 300;
    font-size: 20px;
  }
  .task_answer_item {
    font-size: 14px;
  }
}

.premiumplus {
  font-family: sora, sans-serif;
  font-size: 12px;
  margin-left: 10px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 6px;
  background-color: var(--bg-lightgrey);
  white-space: nowrap;
  vertical-align: middle;
}
.premium-tag .premiumplus {
  margin-left: 0;
}

.tab-container {
  width: 320px;
  overflow-x: hidden;
  display: flex;
  margin-left: -10px;
  margin-right: -10px;
  scroll-behavior: smooth;
}

.tab-container h2 {
  margin: 0;
  padding: 15px 0 0 0 ;
}

@media all and (min-width: 768px) {
  .tab-container h2 {
    margin: 0 0 30px 0;
    padding: 0;
  }
}

.tab-container .form-group {
  margin-bottom: 30px;
}
.tab-container .form-group label {
  margin-bottom: 10px;
}

.tab-container .form-group:last-child {
  margin-bottom: 10px;
}

.tab-container .task_answer_single {
  padding-top: 10px;
}

.tab-container .note {
  font-size: 14px;
}

.tab-container .tab {
  min-width: 320px;
  padding: 0 10px;
  max-height: 80vh;
  min-height: 560px;
}

@media all and (min-width: 768px) {
  .tab-container {
    width: 500px;
  }
  .tab-container .tab {
    min-width: 500px;
    padding: 0 10px;
  }
}

.tab-container .button {
  text-align: right;
  padding-top: 15px;
}

.welcome-task-group .task_answer_item {
  flex-grow: 1;
  justify-content: center;
}
.prepare ul {
  list-style-type: none;
  margin: 0px 0 0 0;
  padding: 0;
}
.prepare ul h3 {
  font-size: 20px;
  font-weight: 300;
  margin: 0 0 10px 0;
}

.prepare ul li {
  position: relative;
  padding: 20px 0 10px 60px;
  border-bottom: 3px dashed var(--bg-lightgrey);
}

.prepare ul li:last-child {
  border-bottom-width: 0;
}

.prepare ul li:before {
  display: inline-block;
  width: 36px;
  height: 36px;
  content: " ";
  background: var(--extradark) url(../images/enter.svg) center;
  background-size: 36px 36px;
  background-position: 4px 50%;
  position: absolute;
  border-radius: 50px;
  left: 5px;
  top: 14px;
}


#messages {
  position: fixed;
  left: 15px;
  top: 15px;
  right: 15px;
  z-index: 10;
  height: 0px;
}
.content {
  max-width: 380px;
  margin: 0 auto;
}

#messages p {
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  background-color: var(--bg);
  padding: 20px 20px 20px 60px;
  border-radius: 10px;
  transform: scale(0.5);
  border: 2px solid #ffe37f;
  font-size: 14px;
}
@media (min-width: 768px) {
  #messages p {
    font-size: 16px;
  }
}
#messages p::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 40px;
  height: 40px;
  background: url(../images/warning.svg) no-repeat center;
  background-size: contain;
}

#messages p.strike::before {
  width: 32px;
  height: 32px;
  top: 14px;
  left: 14px;
  background-image: url(../images/strike.svg);

  animation: strikePulse 1.6s ease-in-out infinite;
}

@keyframes strikePulse {
  0% {
    transform: scale(1) rotate(0deg);
  }

  25% {
    transform: scale(1.08) rotate(-2deg);
  }

  50% {
    transform: scale(1.14) rotate(2deg);
  }

  75% {
    transform: scale(1.08) rotate(-1deg);
  }

  100% {
    transform: scale(1) rotate(0deg);
  }
}
#messages p.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
#messages p:empty {
  display: none;
}

.lds-dual-ring {
  display: inline-block;
  width: 40px;
  height: 40px; }

.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 32px;
  height: 32px;
  margin: 4px;
  border-radius: 50%;
  border: 3px solid #00b0ff;
  border-color: #00b0ff transparent #00b0ff transparent;
  animation: lds-dual-ring 1.2s linear infinite; }

@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }



.svg-wrapper {
    position: relative;
    display: inline-block;
}

.svg-marker {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    top: -10px; /* nad obrazkiem */
    pointer-events: none;
}
.svg-marker.green { background-color: green; }
.svg-marker.red { background-color: red; }

.full-fraction {
  display: inline-flex;
  align-items: center;
}
.fraction {
  display: inline-flex;
  flex-direction: column;
}
.fraction.line {
  display: block;
  width: 100%;
  background-color: black;
  height: 1px;
}



.confetti {
  position: fixed;
  width: 10px;
  height: 10px;
  opacity: 1;
  transform-style: preserve-3d;
  z-index: 1000;
}

.circle { border-radius: 50%; }
.triangle {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 12px solid;
  background: none;
}
.square { }

.popup-close {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
}
.popup-close a {
  width: 60px;
  height: 60px;
  background: transparent url(/platforma/assets/images/popup-close.svg) no-repeat center;
  background-size: 40px 40px;
  padding: 0;
  display: block;
  margin-left: auto;
}
.popup-close a span {
  display: none;
}

@keyframes fly {
  0% {
    transform: translate(0, 0) rotateX(0deg) rotateY(0deg);
    animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
  }
  20% {
    transform: translate(var(--x), var(--y)) rotateX(var(--rx)) rotateY(var(--ry));
    animation-timing-function: linear;
  }
  100% {
    transform: translate(var(--x), calc(var(--y) + 10vh)) rotateX(calc(var(--rx) * 4)) rotateY(calc(var(--ry) * 4));
    opacity: 0;
  }
}

.MathJax {
  pointer-events: none;
}






.darkmode {
--bg: #232326;
--bg-grey: #18181b;
--bg-lightgrey: #2d2d31;

--text: #fafafa;

--dark: #c4c4c4;
--lightdark: #8d8d93;

--extradark: #2d2d31;

--important: #232327;
--important-border: #3a3a42;

--selected: #26384a;
}
.darkmode #menu > ul > li {
  border-bottom-color: var(--bg-lightgrey);
}

.darkmode #header, .darkmode #footer {
  background: rgba(17, 17, 17, 0.4);
}
.darkmode #header {
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.2);
  box-shadow: none;
  border-bottom: 1px solid var(--bg-grey);
}
.darkmode #footer{
  box-shadow: 0 -1px 3px rgba(255, 255, 255, 0.2);
  box-shadow: none;
  border-top: 1px solid var(--bg-grey);
}

@media (min-width: 768px) {
  .darkmode #app-container {
    background: var(--bg-lightgrey) url(../images/bg1.svg);
    background-size: 250px 250px;
    background-attachment: fixed;
  }
}
.darkmode .part-title {
  background-color: var(--extradark);
  background: url("../images/bg1.svg"), linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0)), var(--bg-lightgrey);
  background-size: 250px 250px, auto, auto;
  background-position: 0 -20px, 0 0, 0 0;
  background-attachment: fixed;
}

@media (min-width: 768px) {
  .darkmode .part-title {
    background-color: var(--extradark);
    background:
          linear-gradient(to top, rgba(0,0,0,0.1), rgba(0,0,0,0)),
          var(--bg-grey);
  }
}

.darkmode .show .popup-container {
  background-color: rgba(0, 0, 0, 0.75);
}

.only-app {
  display: none;
}

.mobile-app .only-app {
  display: block;
}

.hide-app {
  display: none;
}

.mobile-app .hide-app {
  display: none;
}