:root {
  --dark-blue: #08224c;
  --main-blue: #2fa5f2;
  --light-blue: #89caef;
  --green: #65ab44;
  --grey-light: #f2f2f2;
  --grey: #808080;
  --dark-grey: #4d4d4d;
  --font-primary-regular: "Gilroy Regular";
  --font-secondary-regular: "Giorgio Sans Regular";
  --font-primary-bold: "Gilroy Bold";
  --font-secondary-bold: "Giorgio Sans Bold";
  --font-bold: "Bebas Neue";
}

* {
  box-sizing: border-box;
  max-width: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
}
body {
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  font-family: var(--font-primary-regular);
  color: var(--dark-blue);
}

/* landing page style  */
.header-wrapper {
  background-image: url("../images/header-desktop.png");
  background-position: bottom;
  background-size: cover;
  width: 100%;
  height: 100%;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-txt-desktop {
  max-width: 24rem;
  transform: translateY(-20%);
}

.header-txt-mob {
  max-width: 30rem;
  width: 100%;
  display: none;
}

.header {
  height: 73%;
}

.userName-label {
  text-transform: uppercase;
  font-family: var(--font-primary-regular);
  color: var(--grey);
  font-size: 1.2rem;
}

.user-form {
  text-align: center;
  width: 20rem;
  margin: auto;
}

.userName-control {
  border-radius: 0.7rem;
  border-color: var(--main-blue);
}

.userNameErrorMsg,
.question-error-msg {
  display: block;
  text-transform: capitalize !important;
  font-family: var(--font-primary-bold);
  font-size: 0.8rem;
}
.question-error-msg {
  width: fit-content !important;
  margin: 0;
}
.min-w-30 {
  min-width: 30%;
}

.btn-g-primary {
  background-color: var(--main-blue);
  text-transform: uppercase;
  width: 100%;
  color: #fff;
  font-family: var(--font-primary-bold);
  border-radius: 0.7rem;
  font-size: 1.2rem;
}

.btn-g-primary:hover {
  color: #fff;
}
.drag-drop__header {
  margin-bottom: 1.2rem;
}
/* drag drop page style  */
.drag-drop__title {
  color: var(--dark-blue);
  font-family: var(--font-primary-bold);
  line-height: 1;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  font-size: 1.6rem;
}
.drag-drop__title::after {
  content: "";
  position: absolute;
  width: 20%;
  background-color: var(--main-blue);
  height: 0.1rem;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.drag-drop__subtitle {
  color: var(--green);
  font-family: var(--font-primary-regular);
  line-height: 1;
  text-align: center;
  font-size: 1.2rem;
}
.drag-drop .question-header {
  position: absolute;
  left: 3%;
  width: 25%;
  top: 47%;
}
.drag-drop .question-header {
  max-width: 20rem;
}

.draggable {
  color: var(--dark-grey);
  border: 2px solid var(--grey-light);
  font-size: 1rem;
  border-radius: 50px;
  font-family: var(--font-primary-bold);
  text-align: center;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.answer {
  width: 100%;
  background-color: var(--grey-light);
  height: fit-content;
  min-height: 2.5rem;
  border-radius: 50px;
}
.circle {
  background-color: var(--grey-light);
  padding: 0.5rem 1rem;
  font-family: var(--font-primary-bold);
  color: var(--dark-blue);
  border-radius: 50px;
  position: relative;
}
.circle::after {
  content: "";
  position: absolute;
  width: 130%;
  background-color: var(--green);
  height: 130%;
  left: -14.5%;
  top: -13.5%;
  border-radius: 50px;
  z-index: -1;
}
.btn-submit {
  background-color: var(--main-blue);
  text-transform: uppercase;
  color: #fff;
  font-family: var(--font-primary-bold);
  border-radius: 0.7rem;
  font-size: 1rem;
  width: 10rem;
}

.btn-submit:hover {
  color: #fff;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.grid-options {
  min-height: 4rem;
}

.thank-you,
.drag-drop,
.invalid-feedback {
  display: none;
}

.footer{
  max-width: 10rem;
  width: 100%;
  position: absolute;
  right: 1.5%;
  bottom: 2%;
}

/* thank you  */

.thank-you {
  background-image: url("../images/thank-u-bg.png");
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 100%;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you::after {
  content: "";
  background-color: var(--dark-blue);
  opacity: 0.9;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.thank-you__main {
  background-color: var(--green);
  z-index: 2;
  width: 30rem;
  height: 30rem;
  max-width: 100%;
  border-radius: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thank-you__main-txt > p {
  font-size: 7.5rem;
  line-height: 0.8;
  margin: 0;
  color: #fff;
  font-family: var(--font-bold);
}

.thank-you .multiple-text {
  font-size: 3rem;
  line-height: 1;
  color: #fff;
  font-family: var(--font-bold);
  margin: 0;
}

@media (max-width: 1025px) and (orientation: landscape) {
  html {
    font-size: 10px;
  }
  body{
    overflow: hidden;
  }
}

@media (max-width: 950px) and (orientation: landscape) {
  html {
    font-size: 8px !important;
  }
  .footer{
    max-width: 8rem;
  }
}

@media (max-width: 1025px) and (orientation: portrait) {
  body{
    overflow: hidden !important;
  }
}

@media (min-width: 769px) {
  .header-txt-desktop {
    display: inline;
  }
}
@media (max-width: 768px) and (orientation: portrait) {
  .footer{
    max-width: 8rem;
  }
  .grid-container {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  html {
    font-size: 10px;
  }
  .header {
    height: 80%;
  }

  .header-wrapper {
    background-image: url("../images/header-mob.png");
    justify-content: center;
    align-items: flex-start;
  }
  .header-txt-desktop {
    display: none;
  }
  .header-txt-mob {
    margin-top: 5rem;
    display: inline;
  }
  .drag-drop__header {
    margin-bottom: 1rem;
  }
  .question-header {
    position: static !important;
    margin-left: 1.5rem !important;
    width: 100% !important;
  }
}
@media (max-width: 600px) and (orientation: portrait) {
  html {
    font-size: 11px !important;
  }

}
/* loader section*/
#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
}

#loader {
  display: block;
  position: relative;
  left: 50%;
  top: 50%;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #fff;
  z-index: 1001;
  animation: spin 2s linear infinite;
}

#loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--dark-blue);
  animation: spin 3s linear infinite;
}

#loader:after {
  content: "";
  position: absolute;
  top: 15px;
  right: 15px;
  left: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: var(--main-blue);
  animation: spin 1.5s linear infinite;
}

#loader-wrapper .loader-section {
  position: fixed;
  top: 0;
  width: 51%;
  height: 100%;
  z-index: 1000;
  transform: translateX(0);
}

#loader-wrapper .loader-section.section-left {
  left: 0;
}

#loader-wrapper .loader-section.section-right {
  right: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.loaded #loader-wrapper .loader-section.section-left {
  transform: translateX(-100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader-wrapper .loader-section.section-right {
  transform: translateX(100%);
  transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loaded #loader {
  opacity: 0;
  transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.3s 1s ease-out;
  display: none;
}
