/* reset browser CSS styles */
*, *::after, *::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a,
button,
select,
label {
  color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  text-decoration: none;
}

body {
  background-color: rgb(255, 255, 255);
  min-height: 100vh;
  display: flex;
  color: #021546;
  font-family: "Work Sans", sans-serif;
}
.loading {
  position: fixed;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.loading__circle {
  border: 16px solid #ffffff;
  border-top: 16px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  animation: rotate 1.2s linear infinite;
}
/* Base styles for the container */
.container {
  width: 100%;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
@media all and (max-width: 768px) {
  .container {
    height: auto;
  }
}
.wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
}

.header {
  border-bottom: 1px solid #D9DCE3;
  position: relative;
  z-index: 2;
}
.header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  padding-bottom: 15px;
}
.logo {
  max-height: 35px;
}


.main {
  flex-grow: 1;
  padding: 50px 0;
  position: relative;
  background-color: #eeeeee;
}
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.z1 {
  z-index: 1;
  position: relative;
}

@media all and (max-width: 1050px) {
  .main {
    padding: 90px 0 30px;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
  }
}

.footer {
  border-top: 1px solid #D9DCE3;
  background-color: #fff; /* Choose your desired background color */
  color: #777; /* Text color */
  padding: 15px 0;
  font-size: 16px;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}
.footer__link {
  color: #777; /* Link color */
  text-decoration: none;
}
.footer__link:hover {
  text-decoration: underline;
}
.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
  justify-content: space-around;
}
.footer__social-item {
  font-size: 24px;
}
.fab.fa-tiktok {
  color: #000000;
}
.fab.fa-instagram {
  color: #e95950
}
.fab.fa-youtube {
  color: #c4302b;
}
.fab.fa-linkedin {
  color: #0072b1;
}
@media all and (max-width: 768px) {
  .footer {
    padding: 15px 0;
  }
  .footer__link {
    text-decoration: underline;
  }
  .footer__content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  .footer__social {
    margin-top: 0;
  }
}



.content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 50px;
  padding: 30px 20px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.85);
}
.step__banner {
  max-width: 100%;
  border-radius: 15px;
}
.step__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 79px;
  margin-bottom: 30px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: rgb(77, 77, 77);
}
.step__intro {
  font-size: 24px;
  line-height: 36px;
  color: rgb(77, 77, 77);
}
.step__button {
  background-color: transparent;
  padding: 10px 20px;
  width: 200px;
  margin: 40px auto 0;
  display: none;
  font-weight: 600;
  font-family: "Work Sans", sans-serif;
  font-size: 24px;
  line-height: 24px;
  border: double 3px transparent;
  background-image: linear-gradient(white, white), radial-gradient(circle at top left, #4da8be,#4f35e2);
  border-radius: 20px;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  text-decoration: none;
  color: rgb(77, 77, 77);
}
.step__button.show {
  display: block;
}
.step__button:hover {
  text-decoration: none;
}
.step__list {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin-top: 20px;
}
.step__item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.step__image {
  max-width: 100%;
  transition: transform 0.2s ease; /* Add a smooth transition effect */
  display: none;
  max-height: 250px;
}
.step__image:hover {
  transform: scale(1.05); /* Add a slight scale effect on hover */
}
.step__select {
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 4px;
  width: 100%;
  display: block;
  margin: 10px 0 30px;
  font-size: 18px;
  color: rgb(77, 77, 77);  
}

.custom-dropdown {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

#step-choose,
#step-image,
#step-interview {
  display: none;
}

@media all and (max-width: 1050px) {
  .step {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .step__title {
    display: none;
  }
  .step__intro {
    font-size: 19px;
    line-height: 28px;
  }
  .step__list {
    flex-direction: column;
  }
  .step__image {
    margin-bottom: 12px;
  }
}

.interview__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 58px;
  text-align: center;
  margin-bottom: 20px;
}
.interview__body {
  background: linear-gradient(167deg, #d7dfe7 0.03%, #7bc3d3 0.04%, #9bb7cb 12.53%, #cdcecf 58.52%, #b5c4e7 88.01%);
  box-shadow: 0 4px 30px 0 #14242C21;
  grid-template-columns: 1fr 380px;
  display: grid;
  gap: 40px;
  padding: 35px 45px 35px;
  color: #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
}
.interview__content {
  display: flex;
  flex-direction: column;
}
.interview__header {
  font-size: 34px;
  font-weight: 700;
  line-height: 40px;
}
.interview__subheader {
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  margin-top: 10px;
}
.interview__script {
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  flex-grow: 1;
  padding: 20px 0;
  max-width: 100%;
  overflow: hidden;
}
.non-editable {
  max-height: 250px;
  overflow: auto;
  padding-right: 10px;
}
.non-editable::-webkit-scrollbar {
  border-radius: 5px;
  width: 7px;
  height: 7px;
}
/* (thumb) */
.non-editable::-webkit-scrollbar-thumb {
  background: #eee;
  border-radius: 5px;
}
/* (track) */
.non-editable::-webkit-scrollbar-track {
  background: #021546;
  border-radius: 5px;
}
.non-editable::-webkit-scrollbar-button {
  display: none;
}
.surface {
  max-width: 100%;

}
.interview__button {
  border-radius: 10px;
  border: 4px solid #FFFFFF;
  padding: 5px 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 36px;
  text-align: center;
  margin: auto;
  width: 150px;
  height: 54px;
  background-color: transparent;
  display: none;
}
.end-button {
  width: auto;
}
.interview__interviewer {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 410px;
}
.interview__avatar {
  max-width: 100%;
}
.interview__wave {
  margin-top: auto;
  padding: 20px;
  position: relative;
  background-color: transparent;
}
.interview__wave-image {
  max-width: 100%;
  display: block;
}

@media all and (max-width: 1050px) {
  .interview__header {
    font-size: 24px;
    line-height: 24px;
  }
  .interview__subheader {
    font-size: 20px;
    line-height: 18px;
    font-weight: 600;
  }
  .interview__script {
    font-size: 19px;
    line-height: 28px;
  }
  .interview__title {
    font-size: 38px;
    line-height: 42px;
  }
  .interview__body {
    display: flex;
    flex-direction: column-reverse;
    padding: 10px 0 0;
    gap: 0;
  }
  .interview__content {
    padding: 20px;
  }
  .interview__button {
    order: -1;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 24px;
  }
  .interview__interviewer {
    min-height: auto;
  }
}
.spacebar.hide {
  display: none!important;
}
.spacebar__icon {
  width: 25px;
  margin-right: 10px;
}
.spacebar__stop {
  display: none;
}
.spacebar__content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.preparing,
.end-button {
  width: auto;
  display: none;
}
.preparing {
  border: none;
}



/* Base styles for the button container */
.button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Base styles for the letter element */
.letter {
  flex-grow: 1;
  width: 100%;
  background: rgba(244, 244, 244, 1);
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.3);
  padding: 20px;
  margin-top: 20px;
  z-index: 1;
  transition: box-shadow 0.3s ease;
  position: relative;
  align-items: center;
}

@media all and (max-width: 768px) {
  .letter {
    margin-top: 10px;
    padding: 10px;
  }
}

.surface {
  position: relative;
  width: 100%;
  /*height: 100%;*/
  overflow: hidden;
}

@media all and (max-width: 768px) {
  .surface {
    overflow: auto;
    height: auto;
    /*padding-bottom: 35px;*/
  }
}

/* Base styles for the non-editable element */
/*.non-editable {*/
/*  width: 200px;*/
/*  background-color: rgba(156, 213, 244, 0.25);*/
/*  border-radius: 8px;*/
/*  display: none;*/
/*  position: absolute;*/
/*  z-index: 99;*/
/*  border: 1px solid #ccc;*/
/*  padding: 10px;*/
/*  font-family: arial, sans-serif;*/
/*  margin-left: 20px;*/
/*  top: 0;*/
/*}*/

/*@media all and (max-width: 768px) {*/
/*  .non-editable {*/
/*    position: static;*/
/*    margin-top: 10px;*/
/*    padding: 10px;*/
/*    font-size: 13px;*/
/*    line-height: 1.2;*/
/*  }*/
/*}*/

/*.spacebar {*/
/*  display: none;*/
/*  opacity: 0;*/
/*  pointer-events: none;*/
/*  border-radius: 2em;*/
/*  padding: 10px;*/
/*  text-align: center;*/
/*  margin: 10px 10px 0;*/
/*  background-color: #006575;*/
/*  color: white;*/
/*}*/

/*@media all and (max-width: 768px) {*/
/*  .spacebar {*/
/*    opacity: 1;*/
/*    pointer-events: auto;*/
/*  }*/
/*}*/

/* Base styles for the content wrapper */
.content-wrapper {
  position: relative;
  width: 100%;
  /*height: 100%; !* Maintain a 1:1 aspect ratio (height = width) *!*/
  /*min-height: 200px;*/
  overflow: hidden;
}

/* Media query for responsiveness */
@media only screen and (max-width: 768px) {
  .letter,
  /*.non-editable,*/
  .button-container,
  .content-wrapper {
    width: 100%; /* Adjust the elements to occupy the full width on smaller screens */
  }

  /*.non-editable {*/
  /*  width: 80%;*/
  /*  margin-left: 0;*/
  /*  font-size: 13px;*/
  /*  line-height: 1.2;*/
  /*}*/
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  margin-top: 2%;
}

a.hover {
  font-family: Arial, Helvetica, sans-serif;
  color: #3584b8;
  text-decoration: none;
}

a.hover:hover {
  text-decoration: underline;
}

.sidepanel {
  width: 0;
  position: fixed;
  z-index: 15000;
  height: 100%;
  top: 0;
  left: 0;
  background-color: #111;
  transition: 0.5s;
  padding-top: 60px;
  will-change: width;
}

.sidepanel.show {
  width: 75%;
}

@media only screen and (max-width: 768px) {
  .sidepanel.show {
    width: 90%;
  }
}

.closebtn {
  padding: 8px;
  background-color: transparent;
  text-decoration: none;
  color: #818181;
  display: block;
  transition: 0.3s;
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 35px;
  line-height: 1;
}

.closebtn:hover {
  background-color: transparent;
  color: #f1f1f1;
}

.nav-button {
  display: block;
  width: 100%; /* Take up full container width */
  padding: 0.3em 1.2em;
  margin: 0.2em 5px; /* Added some margin for better spacing */
  border: 0.16em solid rgba(255, 154, 138, 0);
  border-radius: 2em;
  background-color: #006575;
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: #FFFFFF;
  text-shadow: 0 0.04em 0.04em rgba(0, 0, 0, 0.35);
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s;
}

.nav-button:hover {
  border-color: rgba(255, 255, 255, 1);
  background-color: #00a2a8;
}

.nav-button[disabled] {
  border-color: rgba(255, 154, 138, 0);
  background-color: grey; /* Set the background color */
  color: white; /* Set the text color */
  cursor: not-allowed; /* Show a "not-allowed" cursor when hovering */
}

@media all and (max-width: 30em) {
  .nav-button {
    padding: 0.2em 1.2em;
    display: block;
    margin: 0.2em auto;
  }
}

.loading_screen {
  display: flex; /* establish flex container */
  flex-direction: column; /* align children vertically (column format) */
  justify-content: center; /* center children vertically */
  align-items: center; /* center column horizontally */
  height: 600px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #4e94ab;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  position: absolute;
}

/* Styling for the overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
}

/* Styling for the message box */
.position-box {
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-top: 140px;
}

@media all and (max-width: 768px) {
  .position-box {
    margin-left: 10px;
    margin-right: 10px;
  }
}

.position-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Styling for the select dropdown */
.position-select {
  font-family: "Helvetica Neue", Arial, sans-serif;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  display: block;
  margin: 10px 0 30px;
  background-color: white;
}

/* Styling for the button */
.position-confirm {
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.position-confirm:hover {
  background-color: #0056b3;
}

.ai-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Translucent background color */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.ai-overlay-block {
  width: 100%;
  max-width: 1200px;
}

.ai-overlay-title {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
  font-size: 20px;
  color: white
}

@media all and (max-width: 768px) {
  .ai-overlay-title {
    font-size: 16px;
  }
}

.ai-overlay-content {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 80%;
  margin: 0 auto;
}

@media all and (max-width: 768px) {
  .ai-overlay-content {
    max-width: 90%;
  }
}

.ai-choice-image {
  flex-grow: 1;
  max-width: 35%;
  display: none;
  cursor: pointer;
  border: 2px solid #838383; /* Add a 2px solid border with a color of your choice */
  padding: 6px; /* Add some padding to the images for spacing */
  border-radius: 6px; /* Add rounded corners to the images */
  transition: transform 0.2s ease; /* Add a smooth transition effect */
  background: linear-gradient(rgba(155, 155, 155, 0.8), rgba(136, 194, 221, 0.8)); /* Gradient shading for the padding */
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2); /* Add a subtle shadow effect */
}

@media all and (max-width: 768px) {
  .ai-choice-image {
    max-width: 32%;
  }
}

.ai-choice-image:hover {
  transform: scale(1.05); /* Add a slight scale effect on hover */
}

.ai-overlay-header {
  font-size: 24px; /* Adjust the font size as needed */
  font-weight: bold;
  margin-bottom: 20px; /* Add some spacing below the header */
  color: #333; /* Text color of the header */
}

.rapport-scene-element {
  /*width: 100%;*/
  /*height: 100%;*/
  /*max-width: 100%;*/
  /*max-height: 60px;*/
  display: none;
}

.progress-bar-element {
  height: 6px;
  width: 0;
  display: none;
}

.message-tooltip {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 9999;
  text-align: center;
}

@media all and (max-width: 768px) {
  .message-tooltip {
    top: 10px;
    transform: translate(-50%, 0);
    width: 80%;
    text-align: center;
  }
}

.result-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998; /* Below the iframe */
  display: none;
}

.result-iframe {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 9999; /* Above the overlay */
}

.result-closeBtn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 7px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  z-index: 10001; /* Above the iframe */
  border-radius: 10px;
  border: 2px solid #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: rgb(77, 77, 77);
}

.result-printBtn {
  position: absolute;
  top: 10px;
  right: 50px;
  padding: 7px 12px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  z-index: 10000; /* Above the iframe */
  border-radius: 10px;
  border: 2px solid #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color: rgb(77, 77, 77);
}

/* Media Query for Smaller Screens */
@media all and (max-width: 768px) {
  .button-container {
    flex-wrap: wrap; /* Allow buttons to wrap to the next line on smaller screens */
    justify-content: space-around; /* Spread buttons evenly on smaller screens */
  }
}

/* CSS for email input and domain display */
.step__input {
  width: calc(100% - 140px); /* Adjusted width */
  padding: 10px;
  font-size: 16px;
  line-height: 38px; /* Match the line height with domain display */
  border: 1px solid #ccc;
  border-radius: 20px; /* Rounded corners */
  margin-bottom: 10px;
  margin-top: 20px;
}

.email-wrapper {
  display: flex;
  align-items: flex-start; /* Align items at the top */
  margin-left: auto;
  margin-right: auto;
  max-width: 400px; /* Adjust maximum width as needed */
}

.email-domain {
  padding: 10px;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 20px 20px 0; /* Rounded corners */
  font-size: 16px;
  line-height: 38px; /* Match the line height with input */
  margin-top: 20px;
}