/* ♻️ Tiny CSS Reset (https://github.com/gnat/css-reset-tiny) */ 
/*,*::before,*::after { box-sizing: border-box; margin: 0; }*/ /* Prevent padding and border from affecting element width. Remove margins. */ 
html { text-size-adjust: none; -webkit-text-size-adjust: none; -moz-text-size-adjust: none; tab-size: 4; } /* Prevent font size inflation on mobile. Sane tab size. */ 
html,body,p,ol,ul,li,dl,dt,dd,blockquote,figure,fieldset,legend,textarea,pre,iframe,h1,h2,h3,h4,h5,h6,label,table,td,th { padding: 0; } /* No padding. */ 
h1,h2,h3,h4,h5,h6,p { font-size: inherit; font-weight: inherit; overflow-wrap: break-word; } /* Reset all headers and <p>. */ 
h1,h2,h3,h4 { text-wrap: balance; } /* Balance text on big headers. */ 
input,select,textarea { font: inherit; } /* No custom font on forms. */ 
img,picture,svg,video { height: auto; max-width: 100%; } /* Media should not break outside of parent. */ 
audio,canvas,embed,iframe,img,object,svg,video { vertical-align: middle; } /* Removes tiny space on bottom. */ 
table { text-indent: 0; border-color: inherit; border-collapse: collapse; border-spacing: 0; } /* Modern tables. */ 
[hidden] { display: none; } /* Hidden elements stay hidden. */

html {
  background-color: black;
  height: 100%; /* Ensure the body takes full viewport height */
}

body {
  background-color: black;
  height: 100%; /* Ensure the body takes full viewport height */
}

@font-face {
  font-family: Bangers;
  src: url(../fonts/Bangers/Bangers-Regular.ttf);
}

@font-face {
  font-family: Sans;
  src: url(../fonts/Oxanium/Oxanium-VariableFont_wght.ttf);
}

button {
  cursor: pointer;
}

body {
  display: grid;
  grid-template-areas:
    'header'
    'main'
    'footer';
  font-family: Sans;
  margin: 0;
  overflow-y: scroll;
}

#challenges {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 20px;
}

#html5-qrcode-select-camera {
  display: none;
}

.challenge {
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 0;
  padding-bottom: 0;
  margin-left: 16px;
  margin-right: 16px;
  background-color: black;
  border-style: solid;
  color: white;
  border-color: #FCC506;
  border-width: 2px;
  display: flex;
  margin-bottom: 8px;
}

.achieved {
  border-color: #1af2fd;
}

#camera-button {
  display: block;
  margin: 20px auto;
}

.bottom-element {
  position: fixed; /* Fixed positioning relative to the viewport */
  left: 0; /* Align to the left edge of the viewport */
  right: 0; /* Align to the right edge of the viewport */
  bottom: 0; /* Align to the bottom of the viewport */
  text-align: center; /* Center the text (optional) */
  padding: 10px 0; /* Some padding (optional) */
  background-color: black;
}

.content-container {
  display: flex;
  flex-direction: column;
}

#start-again-button {
  text-decoration: underline;
  color: #3ac5fd;
  display: block;
  margin: 0 auto;
  background-color: black;
  border: none;
  font-size: 20px;
  display: none;
}

h2 { 
  color: white;
  display: block; margin: 0 auto; 
  text-align: center;
}
h3 { 
  color: white;
  display: block; margin: 0 auto; 
  text-align: center;
}
h4 { 
  color: white;
  display: block; margin: 0 auto; 
  text-align: center;
}

h5 { 
  color: white;
  display: block; margin: 0 auto; 
  text-align: center;
}

#email-form {
  color: black;
  display: block;
  margin: 0 auto;
  margin-left: 40px;
  margin-right: 40px;
  margin-bottom: 40px;
  margin-top: 33px;
}

#email-form label {
  color: white;
  display: inline-block;
  vertical-align: middle;
}
#email-form button {
  color: black;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 8px;
  background-color: #1af2fd;
  width: 100%;
  border: none;
  border-radius: 12px;
  font-size: 18px;
}
input[type="checkbox"] {
  display: inline-block;
  vertical-align: middle; /* This helps align the text and checkbox if they have different heights */
}

#email-form input {
  width: 100%;
  padding-top: 7px;
  padding-bottom: 7px;
}

#my-qr-reader {
  padding: 20px !important;
  border: 1.5px solid #b2b2b2 !important;
  border-radius: 8px;
}

#my-qr-reader img[alt="Info icon"] {
  display: none;
}

#my-qr-reader img[alt="Camera based scan"] {
  width: 100px !important;
  height: 100px !important;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0px;
  max-height: 200px; 
  overflow-y: auto;
}

.flex-button {
  /* flex: 1; */
  /* min-width: 100px;  */
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 5px;
  border: 1px solid teal;
  background-color: white;
  opacity: 0.85;
  cursor: pointer;
  color: black;
  white-space: nowrap;
  border-radius: 6px;
}
  
header {
    grid-area: header;
}

main {
  /* margin-top: -380px; */
}

a {
  color: #000;
  text-decoration: none;
}

.email {
  text-decoration: underline;
}

main {
    grid-area: main;
/* Additional styling */
}

footer {
    grid-area: footer;
/* Additional styling */
}


#info-msg-container {
  background-color: white;
  border-radius: 12px;
  color: black;
  margin-top: 8px;
  padding: 12px;
  max-width: 900px;
  margin: 0 auto;
  margin-top: 4px;
  padding-top: 20px;
  padding-bottom: 20px;
}

#header {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

@media (max-width: 977px) {
}

#header a {
  color: white;
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
}

#header .selected {
  color: #FCC506;
}

/* styles.css */
header {
  width: 80%;
  margin: 0 auto;
}

.grid-container {
  margin: 0 auto; /* Center the grid container horizontally */
  width: 60%;
}

@media (min-width: 1300px) {
  header {
    width: 1300px;
  }
  .grid-container {
    width: 1040px;
  }
}

.background-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 20%;

  /* background-image: url("../images/bg.svg"); */
  background-color: black;
}

@media (min-width: 978px) and (max-width: 1300px) {
  header {
    width: 100%;
  }
  .grid-container {
    width: 80%;
  }
}

/* Small screens */
@media (max-width: 977px) {
  html, body {
    overflow-x: hidden;
  }
  body {
    position: relative
  }
  header {
    width: 100%;
  }
  .grid-container {
    width: 95%;
  }
}

#pravilko-demo-container {
  margin-top: 20px;
}

.first-row.first-column {
    grid-area: first-column;
    overflow: hidden;
}

h1 {
    font-family: Bangers;
    margin-bottom: 0;
    color: white;
    font-size: 115px;
    margin-bottom: 0px;
    text-shadow: 1px 4px 20px rgba(0,0,0, 0.2);
    text-align: center;
}

.title {
  margin: -10px;
}

h3 {
    margin-top: 0px;
    color: white;
    font-size: 27px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 2px 2px rgba(0,0,0, 0.2);
}

.vision-box h3 {
  text-align: center; 
  color: black; 
  text-shadow: none; 
  font-size: 60px;
  margin-bottom: 5px;
}

.message-box {
    padding: 20px;
    color: black;
    /* background-color: rgba(230,217,217, 0.35); */
    border-radius: 10px;
}

.vision-box {
  padding-left: 80px;
  padding-right: 80px;
  padding-top: 120px;
  padding-bottom: 120px;
}

@media (max-width: 977px) {
  .message-box {
    margin-left: 40px;
    margin-right: 40px;
  }
  .vision-box {
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 90px;
    padding-bottom: 90px;
  }
}

.second-row .img-container {
    margin: 0 auto;
    margin-top: 50px;
    margin-bottom: 30px;
    width: 50%;
}

@media (min-width: 1300px) {
  .second-row .img-container { 
    width: 700px;
  }
}

@media (min-width: 978px) and (max-width: 1300px) {
  .second-row .img-container { 
    width: 700px;
  }
}

.second-row img {
    width: 100%;
    border-radius: 17px;
}

.second-row svg {
  width: 80%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.construction-img {
  width: 300px;
  display: block;
  margin: 0 auto;
}

/* Small screens */
@media (max-width: 977px) {
  main {
    /* margin-top: -500px; */
  }
  .first-row.first-column {
    grid-area: auto;
  }
  header h1 {
    font-size: 68px;
    margin-bottom: 0px;
    margin-top: 30px;
  }
  header h3 {
    margin-top: -10px;
    font-size: 22px;
  }
  #header a {
    font-size: 23px;
  }
  .vision-box h3 {
    font-size: 35px;
  }
  .vision-box h4 {
    font-size: 20px;
  }
  .second-row .img-container {
    margin: 0 auto;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 90%;
  }
}

select {
  background-color: #9BE1FF;
  border: 0;
  padding: 10px;
  border-radius: 13px;
  margin-left: 20px;
  color: white;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  cursor: pointer;
}

/* Small screens */
@media (max-width: 430px) {
  header h1 {
    font-size: 50px;
  }
  header h3 {
    font-size: 18px;
  }
  .vision-box h4 {
    font-size: 15px;
  }
  #header a {
    font-size: 20px;
  }
  main {
    /* margin-top: -520px; */
  }
}

.section-separator {
  border: 1px solid #1af2fd;
  width: 80%;
  margin-top: 50px;
  margin-bottom: 50px;
}

@media (min-width: 978px) and (max-width: 1300px) {
}

@media (max-width: 977px) {
  .section-separator {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  select {
    margin-left: 0px;
  }
}

/* Small screens */
@media (max-width: 430px) {
  .section-separator {
  }
}

.second-row {
  grid-area: full-width;
  /* Additional styling */
}

.messages-list-wrapper {
  width: 70%;
  margin: 0 auto;
}

#messages-list {
  /* padding: 10px; */
  /*margin-bottom: 10px;*/ /* Space between messages list and input */
  overflow-y: auto; /* Enable scrolling for overflow */
}

.message {
  border-radius: 17px;
  padding: 10px;
  margin-bottom: 13px; /* Space between messages */
}

.message-role {
  font-weight: bold;
  display: inline;
  margin-right: 5px;
}

.message-content {
  display: inline;
  white-space: pre-line;
}

.feedback-view {
  gap: 5px; /* Space between text and buttons */
}

/* Small screens */
@media (max-width: 977px) {
  .feedback-view {
    display: block;
  }
}

.feedback-view span {
  margin-right: 10px;
}

.feedback-button {
  /* Styling for feedback buttons */
  border-radius: 13px;
  width: 40px;
  height: 40px;
  border: none;
}

.thumb-up {
  background-color: #9BE1FF;
  margin-right: 6px;
}

.thumb-down {
  background-color: #FF69B4;
}

.feedback-button img {
  width: 15px;
  height: 15px;
  border-radius: 0;
}

#question-form {
}

/* #header-container {
  position: fixed;
  background-color: black;
  width: 100%;
} */

/* Specific styles for user and assistant messages */
.user-message {
  border: 1px solid purple;
  background-color: white;
}

.assistant-message {
  border: 1px solid teal;
  margin-top: 8px;
  background-color: white;
  /* Additional styling specific to assistant messages */
}

#question-form-container {
  max-width: 900px;
  margin: 0 auto;
}

.question-input-container {
  background-color: black;
  border: 1px solid teal;
  border-radius: 17px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 8px;
  padding-top: 8px;

  display: grid;
  grid-template-columns: 1fr auto; /* 1fr for the input to take up remaining space, auto for the button */
  align-items: center; /* Vertically aligns the grid items in the center */
  gap: 10px; /* Optional: Adds some space between the input and the button */
  color: white;
}

.question-input-container .suggestion-input-container {
}

.question-input {
  border: none;
  width: 100%;
  outline: none;
  font-size: 16px;
  height: 20px;
}

.input-button {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background-color: purple;
}

.input-button img {
  width: 20px;
  height: 20px;
  border-radius: 0;
}

#spinner {
  width: 20px;
  height: 20px;
}

#submit-button-check-icon {
  padding-top: 2px;
}

.htmx-request #submit-button-check-icon {
  display: none;
}

.htmx-request #submit-feedback-button-check-icon {
  display: none;
}

#submit-button-spinner {
  display: none;
}

#submit-feedback-button-spinner {
  display: none;
}

/* Show the spinner when a request is in progress */
.htmx-request #submit-button-spinner {
  display: block;
  padding-left: 6px;
}

/* Show the spinner when a request is in progress */
.htmx-request #submit-feedback-button-spinner {
  display: block;
}

.question-input-container input::placeholder {
  color: white;
}

.question-input-container input {
  color: white;
  background-color: rgba(0,0,0,0);
}

/* Small screens */
@media (max-width: 977px) {
  .messages-list-wrapper {
    width: 95%;
  }
  .user-message {
    font-size: 20px;
  }
  .assistant-message {
    font-size: 20px;
  }
  .question-input-container input {
    font-size: 16px;
    height: 20px;
  }
  .question-input-container input {
    font-size: 20px;
  }
  .question-input-container input::placeholder {
    font-size: 20px;
  }
  .suggestion-input-container {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .question-input-container input {
    font-size: 16px;
    height: 20px;
  }
  .question-input-container input::placeholder {
    font-size: 16px;
  }
  .input-button {
    width: 40px;
    height: 40px;
  }
}

#feedback-and-count {
  display: grid;
  grid-template-columns: 10fr 2fr;
}

/* Login form popup */
/* Popup and Overlay */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Overlay background */
  z-index: 1000; /* Ensure it's above other content */
}

.popup.open {
  display: block; /* Show the popup when the 'open' class is added */
}

.popup-content {
  background-color: #fff;
  width: 700px;
  margin: 10% auto; /* Center the popup */
  padding: 20px;
  border-radius: 5px;
}

/* Grid Container for Form Columns */
.grid-container-popup {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two columns of equal width */
  gap: 20px; /* Space between columns */
}


#how-can-i-help-button-container-id {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

#pravilko-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 500px;
}

/* Small screens */
@media (max-width: 977px) {
  .popup-content {
    width: 80%;
    font-size: 20px;
  }

  .grid-container-popup {
    display: grid;
    grid-template-columns: 1fr; /* Two columns of equal width */
    gap: 0px; /* Space between columns */
  }

  #how-can-i-help-button-container-id {
    grid-template-columns: 1fr;
  }
}

#forgot-password-form-container {
  margin-left: 20px;
  margin-right: 20px;
}

.column {
  display: flex;
  flex-direction: column;
}

.column h2 {
  margin-bottom: 10px;
}

.invitation-label {
  text-align: center;
  font-size: 18px;
  font-weight: normal;
}

.invitation-label a {
  color: purple;
}

.popup h2 {
  /* font-family: Bangers; */
}

.is-answer-helpful-label {

}


/* Small screens */
@media (max-width: 977px) {
  .is-answer-helpful-label {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .is-answer-helpful-label {
    font-size: 16px;
  }
}

.center-vertically {
  margin: auto;
}

.login-section-form {
  display: grid;
  grid-template-columns: 1fr; /* Two columns of equal width */
}

#login-form {
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
}

#login-form h3 {
  font-family: Bangers;
  font-size: 24px;
  text-shadow: none;
  color: black;
}

#login-form label {
  margin-bottom: 5px;
  font-weight: normal;
}

#login-form input {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.reset-password-form {
  width: 500px;
  margin: 0 auto;
  display: block;
}

@media (max-width: 977px) {
  .reset-password-form {
    width: 100%;
  }
}

#create-account-form {
  margin-top: 30px;
  margin-left: 20px;
  margin-right: 20px;
}

#create-account-form h3 {
  font-family: Bangers;
  font-size: 24px;
  text-shadow: none;
  color: black;
}

#create-account-form label {
  margin-bottom: 5px;
  font-weight: normal;
}

#create-account-form input {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#login-button {
  width: 240px;
  height: 60px;
}

.login-button {
  padding: 10px;
  background-color: #9BE1FF;
  color: white;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.3);
  border: none;
  border-radius: 4px;
  margin-top: 10px; /* Add some space above the button */
}

.response-error {
  color: #aa0033;
}

#login-successful-button {
  
}

#submit-feedback-negative {
}


.feedback-form {
  display: inline;
}

.bottom-spacing {
  height: 600px;
}

@media (max-width: 977px) {
  .bottom-spacing {
    height: 30px;
  }
}

#message-id-positive-input {
}

#message-id-negative-input {
}

.circular-blue-button {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  background-color: #9BE1FF;
  /* Additional styling for the button */
}

/* third row */

.suggest-improvements-container {
  background-color: #FDE6F2;
  border-radius: 17px;
  padding: 20px;
  margin-left: 20px;
  margin-right: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

@media (max-width: 827px) {
  .suggest-improvements-container {
    grid-template-columns: 1fr;
  }
}

.third-row {
  /* width: 100%; */
  margin-bottom: 20px;
}

@media (min-width: 1300px) {
  .third-row {
    width: 1300px;
  }
}

@media (min-width: 978px) and (max-width: 1300px) {
  .third-row {
    width: 100%;
  }
}

.third-row a {
  font-size: 24px;
  color: #AAA;
  font-weight: normal;
}

.suggestion-img {
  border-radius: 17px;
  max-width: 430px;
  aspect-ratio: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.third-row h5 {
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 5px;
  line-height: 1;
}

.third-row h6 {
  font-size: 24px;
  text-align: center;
  font-weight: normal;
  margin: 0;
  margin-bottom: 40px;
}

/* Small screens */
@media (max-width: 977px) {
  .third-row h5 {
    font-size: 35px;
  }

  .third-row h6 {
    font-size: 20px;
  }
  .third-row {
    width: 100%
  }

  .suggestion-img {
    margin: 0 auto;
    max-width: 330px;
  }

  .third-row h2 {
    font-size: 48px;
    font-weight: bold;
  }

  .third-row h4 {
    font-size: 24px;
  }
}

.start-again-button {
  background-color: rgba(0,0,0,0); 
  border: 0;
  margin: 0 auto;
  cursor: pointer;
  display: flex;
  align-items: center;
}

#refresh-button-container span {
  color: #3ac5fd;
  display: inline;
  margin-left: 5px;
}

button:disabled,
button[disabled]{
  opacity: 0.3;
}

button:hover:disabled {
  cursor: default;
}

button[disabled]:hover {
  cursor: default;
}

/* Small screens (e.g., mobile phones): one column */
@media (max-width: 480px) {
  .games-list {
    grid-template-columns: repeat(3, 1fr); /* Two columns */
  }
  .suggestion-img {
    margin: 0 auto;
    max-width: 300px;
  }
}

/** User page */

section {
  /* padding: 20px; */
}

section .section-header {
  width: 70%;
  margin: 0 auto;
}

@media (max-width: 700px) {
  section .section-header {
    width: 100%;
  }
}

.section-header p {
  margin-bottom: 40px;
}

#profile-container h1 {
}

#profile-container h2 {
  font-family: Bangers;
  font-size: 24px;
  text-align: center;
}

.section-header .disabled {
  color: #666;
}

.center-aligned-p {
  text-align: center;
  font-size: 16px;
}

#statistics-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}

#profile-container h4 {
  font-family: Bangers;
  font-size: 24px;
  text-align: center;
  margin: 0;
}

#profile-container .stat {
  font-family: Bangers;
  font-size: 48px;
  text-align: center;
  margin: 0;
}

@media (max-width: 800px) {
  #statistics-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
}

#conversation-history #conversation-container {
  margin-bottom: 20px;
}

#conversation-history input {
  width: 23px;
  height: 23px;
  float: left;
}

#invitations-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

#invitations-container p {
  margin-bottom: 0;
}

.invitation-container img {
  padding: 5px;
  width: 24px;
  height: 24px;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 140px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.invitation-container button:disabled, .invitation-container [disabled]{
  opacity: 1;
  color: black;
}

#user-info-container-grid {
}

#badges {
}

#badges-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 10px;
  justify-items: center;
}

.badge-item {
  opacity: 0.3;
  width: 87px;
  height: 170px;
}

.badge-item-name {
  margin-top: 0px;
  text-align: center;
}

.badge-item img {
  display: block;
  width: 100%;
}

.achieved {
  opacity: 1.0;
}

@media (max-width: 977px) {
  #badges-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 430px) {
  .badge-item {
    width: 74px;
    height: 130px;
    font-size: 12px;
  }
}

#conversation-history-list span {
  margin: 0;
  margin-bottom: 20px;
  cursor: pointer;
}

#conversation-history-list h6 {
  font-size: 20px;
  display: inline;
}

#conversation-history-list .h7 {
  font-size: 16px;
  display: inline;
}

#user-selected-game {
  margin-bottom: 12px;
}
#user-selected-game:disabled {
  cursor: default;
}

#display-notifications-id {
  height: 40px;
  float: right;
}

rect:hover {
  fill: #9BE1FF;
  cursor: progress;
}
path:hover {
  fill: #9BE1FF;
  cursor: progress;
}

/* #activity-board {
  perspective: 400px;
  transform: rotateX(45deg);
  transform-style: preserve-3d;
} */

.pravilko-message-box-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pravilko {
  display: block; 
  margin: 0 auto; 
  height: 260px; 
  width: 260px;
}

.pravilko-small {
  display: block; 
  margin: 0 auto; 
  height: 100px; 
  width: 100px;
}

.pravilko-message-box {
  display: block;
  width: 170px;
  height: 115px;
  padding: 20px; 
  background-repeat: no-repeat;
  background-size: cover;
}

.pravilko-message-box-small {
  display: block;
  width: 137px;
  height: 93px;
  padding: 20px; 
  background-repeat: no-repeat;
  background-size: cover;
}

.pravilko-message-box-left {
  background-image: url(../images/message-box-left.svg);
}

.pravilko-message-box-right {
  float: right;
  background-image: url(../images/message-box-right.svg);
}

.pravilko-message-box-left-small {
  background-image: url(../images/message-box-left-small.svg);
}

.pravilko-message-box-right-small {
  float: right;
  background-image: url(../images/message-box-right-small.svg);
}

.onboarding-cta {
  width: 253px;
  height: 91px;
  background-color: #9BE1FF;
  border-radius: 17px;
  border: none;
  color: white;
  font-size: 20px;
  margin: 0 auto;
  display: block;
  margin-top: 20px;
}

.pravilko-action {
  width: 240px;
  height: 72px;
  font-size: 16px;
}

.pravilko-action-not-selected {
  background-color: white;
  border: 2px solid #9BE1FF;
  color: #9BE1FF
}

.two-button-layout {
  width: 140px;
}

.onboarding-skip {
  display: block; 
  margin: 0 auto; 
  background-color: white;
  border: none;
  margin-top: 20px;
  margin-bottom: 60px;
}

@media (max-width: 977px) {
  .onboarding-skip {
    margin-bottom: 20px;
  }
  #pravilko-actions {
    gap: 10px;
  }
  .pravilko-action {
    width: 100%;
  }
}

/* animations */
.smooth {
  transition: all 1s ease-in;
}
.fade-in-1s.htmx-added {
  opacity: 0;
}
.fade-in-1s {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1s;
}
.fade-in-03s.htmx-added {
  opacity: 0;
}
.fade-in-03s {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.5s;
}
@keyframes fadeInOpacity {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}
