
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");



/*simple and multi use classes*/

p {
  margin-top: 5px;
}

button {
  margin-top: 40px;
}

.page-header {
  background-color: #00bda5;
  padding-top: 40px;
  padding-bottom: 80px;
  color: #ffffff;
}

#image img {
  height: 900px;
  margin-top: 60px;
}

:root {
  --background: #09023f;
  --color: #ffffff;
  --primary-color: #3251e9;
  --secondary-color: #09acf4;
  --tertiary-color: #dadada;
  --font-size: calc(5vw*2vh);
  --test-color: #4dabd4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
  font-family: "poppins";
  background: var(--background);
  color: var(--color);
  letter-spacing: 1px;
  transition: background 0.2s ease;
  -webkit-transition: background 0.2s ease;
  -moz-transition: background 0.2s ease;
  -ms-transition: background 0.2s ease;
  -o-transition: background 0.2s ease;
}

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

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  margin-top: 40px;
  font-size: 48px;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 550;
  margin-top: 30px;
  font-size: 36px;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 475;
  margin-top: 20px;
  font-size: 30px;
  margin-bottom:0px;
}

h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 291.6;
  margin-top: 15px;
  font-size: 20px;
}

/*multi-use style classes*/

.opacity {
  opacity: 0.82;
}

.superopacity {
  opacity: 0.5
}

/*navigation bar*/
.navbar-top {
  position:fixed;
  width:100%;
  z-index:100
}

.topnav {
  background-color: var(--background);
  overflow: hidden;
  min-height:100px !important;
}

.bottom-page-links {
  opacity:80%;
  color: var(--tertiary-color); 
  font-size:max(18px, 1vw) !important;
}

.bottom-page-links-var2 {
  font-size:max(18px, 1vw) !important; 
  opacity:90%;
}

#bottom-page-links-logout-btn {
  font-size:max(18px, 1vw) !important; 
  opacity:90%;
  cursor: pointer;
  border: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

#bottom-page-links-logout-btn:hover {
  opacity:30%
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  color: whitesmoke;
  text-align: center;
  padding: 2% 2%;
  text-decoration: none;
  font-size: max(20px,1%);
  display:table-cell;
  vertical-align:middle;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: var(--tertiary-color);
  color: var(--background) !important;
}

/* Add a color to the active/current link */
.topnav a:active {
  background-color: var(--secondary-color);
  color: var(--background);
}


.homelogo {
  display: block;
  margin-left: auto;
  margin-right:5px;
  margin-top:4px;
  margin-bottom:4px;
  height:max(100px,5.2vw);
}

@media (min-width: 1400px) {
  .topnav a {
    height:max(108px,5.5vw);
  }
}

@media (max-width: 1399px) {
  .homelogo {
    display: none;
  }
  .img-home {
    display: none;
  }
}

/*colors*/
.bgtertiary {
  background-color: var(--tertiary-color) !important
}

.tertiary {
  color: var(--tertiary-color)
}

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

.primary {
  color: var(--primary-color)
}

.secondary {
  color: var(--secondary-color)
}

.white {
  color: white
}


/*login page style*/

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-container {
  zoom:120%;
  position: relative;
  width: 23rem;

}

.form-container {
  border: 5px solid var(--secondary-color);
  outline-offset: 15px;
  box-shadow: 0 0 36px 1px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 2rem;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.login-container form input {
  display: block;
  padding: 14.5px;
  width: 100%;
  margin: 2rem 0;
  color: var(--color);
  outline: none;
  background-color: #9191911f;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  letter-spacing: 0.8px;
  font-size: 15px;
  backdrop-filter: blur(15px);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.login-container form input:focus {
  box-shadow: 0 0 16px 1px rgba(0, 0, 0, 0.2);
  animation: wobble 0.3s ease-in;
  -webkit-animation: wobble 0.3s ease-in;
}

.login-container form button {
  background-color: var(--primary-color);
  color: var(--color);
  display: block;
  padding: 13px;
  border-radius: 5px;
  outline: none;
  font-size: 18px;
  letter-spacing: 1.5px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.1s ease-in-out;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
}

.login-mock-button {
  background-color: var(--primary-color);
  color: var(--whitesmoke);
  display: block;
  padding: 13px;
  border-radius: 5px;
  outline: none;
  font-size: 18px;
  letter-spacing: 1.5px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.1s ease-in-out;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  text-align:center;
}

.login-with-microsoft-btn {
  background-color: whitesmoke;
  color: var(--color);
  display: block;
  padding: 13px;
  border-radius: 5px;
  outline: none;
  color: var(--background);
  font-size: 15.5px;
  letter-spacing: 1.5px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.1s ease-in-out;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  padding-left:11px;
}

.microsoft-icon {
  height: 1.2em;
  width: 1.2em;
  top: 4.5px;
  left:0.1px;
  position: relative;
}

.apple-icon {
  height: 1.5em;
  width: auto;
  top: -2px;
  left:-1.9px;
  position: relative;
}

.login-with-apple-btn {
  background-color: whitesmoke;
  color: var(--color);
  display: block;
  padding: 13px;
  border-radius: 5px;
  outline: none;
  color: var(--background);
  font-size: 15.5px;
  letter-spacing: 1.5px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.1s ease-in-out;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  padding-left:25px;
}

.login-with-google-btn {
  background-color: whitesmoke;
  color: var(--color);
  display: block;
  padding: 13px;
  border-radius: 5px;
  outline: none;
  color: var(--background);
  font-size: 15.5px;
  letter-spacing: 1.5px;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: all 0.1s ease-in-out;
  border: none;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  padding-left:34.5px;

  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
  background-repeat: no-repeat;
  background-position: 12px 16px;
}

.login-container form button:hover {
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.15);
  transform: scale(1.02);
  -webkit-transform: scale(1.02);
  -moz-transform: scale(1.02);
  -ms-transform: scale(1.02);
  -o-transform: scale(1.02);
}

/*login page decoration shapes*/

.circle {
  width: 8rem;
  height: 8rem;
  background: var(--primary-color);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  position: absolute;
}

.square {
  height: 7rem;
  width: 7rem;
  background: var(--primary-color);
  position: absolute;
  border-radius: 25px;

}

.square-one {
  height: 9rem;
  width: 9rem;
  top: 0;
  left: 0;
  z-index: -1;
}

.square-two {
  opacity: 0.5;
  top: 450;
  left: 230;
  z-index: -1;
}

.square-three {
  height: 7rem;
  width: 11rem;
  top: 40;
  left: 50;
  z-index: -1;
}

.square-four {
  height: 7rem;
  width: 11rem;
  bottom: 20;
  right: 10;
  z-index: -1;
}

.illustration {
  position: absolute;
  top: -11%;
  right: -87px;
  width: 50%;
}

.dot {
  position: absolute;
  top: 3%;
  right: -87px;
  width: 50%;
  height: 100px;
  background-color: var(--background);
  border-radius: 50%;
  display: inline-block;
}

.circle-one {
  width: 9rem;
  height: 9rem;
  top: 97;
  left: 93;
  z-index: -1;
  transform: translate(-45%, -45%);
  -webkit-transform: translate(-45%, -45%);
  -moz-transform: translate(-45%, -45%);
  -ms-transform: translate(-45%, -45%);
  -o-transform: translate(-45%, -45%);
}

.circle-two {
  width: 10rem;
  height: 10rem;
  bottom: 100;
  right: 100;
  z-index: -1;
  transform: translate(45%, 45%);
  -webkit-transform: translate(45%, 45%);
  -moz-transform: translate(45%, 45%);
  -ms-transform: translate(45%, 45%);
  -o-transform: translate(45%, 45%);
}

.circle-three {
  width: 13rem;
  height: 13rem;
  top: 100;
  left: 93;
  z-index: -1;
  transform: translate(-45%, -45%);
  -webkit-transform: translate(-45%, -45%);
  -moz-transform: translate(-45%, -45%);
  -ms-transform: translate(-45%, -45%);
  -o-transform: translate(-45%, -45%);
}

.circle-four {
  width: 11.5rem;
  height: 11.5rem;
  bottom: 100;
  right: 100;
  z-index: -1;
  transform: translate(45%, 45%);
  -webkit-transform: translate(45%, 45%);
  -moz-transform: translate(45%, 45%);
  -ms-transform: translate(45%, 45%);
  -o-transform: translate(45%, 45%);
}

/*registration classes (not used at the moment)*/

.home-gradient {
  background-color:hsla(247,94%,41%,1);
  background-image:
  radial-gradient(at 15% 31%, hsla(206,0%,85%,1) 0px, transparent 50%),
  radial-gradient(at 40% 20%, hsla(237,63%,74%,0.25) 0px, transparent 50%),
  radial-gradient(at 80% 0%, hsla(189,100%,56%,0.97) 0px, transparent 50%),
  radial-gradient(at 0% 50%, hsla(188,89%,46%,1) 0px, transparent 50%),
  radial-gradient(at 80% 50%, hsla(201,0%,85%,1) 0px, transparent 50%),
  radial-gradient(at 0% 100%, hsla(214,100%,52%,0.77) 0px, transparent 50%),
  radial-gradient(at 80% 100%, hsla(180,100%,61%,1) 0px, transparent 50%),
  radial-gradient(at 0% 0%, hsla(188,89%,46%,1) 0px, transparent 50%);
}

.register-forget {
  margin: 1rem 0;
  display: flex;
  justify-content: space-between;
}

.theme-btn-container {
  position: absolute;
  left: 0;
  bottom: 2rem;
}

.theme-btn {
  cursor: pointer;
  transition: all 0.3s ease-in;
}

.theme-btn:hover {
  width: 40px !important;
}

.eye-one {
  color: var(--tertiary-color);
  position: absolute;
  top: 53%;
  right: 15%;
  cursor: pointer;
  width: 10px;
  font-size: 20px;
  z-index: 999
}
.eye-two {
  color: var(--tertiary-color);
  position: absolute;
  top: 45%;
  right: 15%;
  cursor: pointer;
  font-size: 20px;
}

.eye-three {
  color: var(--tertiary-color);
  position: absolute;
  top: 59.75%;
  right: 15%;
  cursor: pointer;
  font-size: 20px;
}

/* commonly used image and text elements */

.img-home {
  float: left;
  margin-right: 20px;
}

.text-container {
  margin-left: 20px;
}

.text-container-left {
  margin-right: 20px;
  width:50%;
}

.width {
  width:100% !important;
}

.centered-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-container {
  position: relative;
  text-align: center;
  color: var(--tertiary-color);
}
.image-container2 {
  position: relative;
  text-align: center;
  color: var(--tertiary-color);
  background-color: var(--tertiary-color); 
  height: max(400px,40vh); 
  margin-top:0;
}

.image-container2-image {
  padding-top:max(50px, 5vh); 
  padding-bottom:0px; 
  padding-left: max(20px,2vh) !important; 
  padding-right:max(10px,1vh); 
  float: left
}

.image-container3 {
  position: relative;
  text-align: center;
  color: var(--tertiary-color);
  background-color: var(--tertiary-color); 
  height: 600px; 
  margin-top:0
}

@media (min-width: 1400px) {
  .image-container3 {
    display: none !important;
  }
}

@media (max-width: 1399px) {
    .image-container2 {
      display: none !important;
  }
}

/*styles for the home page*/
.home-header-container {
  padding:40px 16px; 
  background-color:whitesmoke; 
  width: 100%;
}

.home-title {
  font-family:poppins !important; 
  padding-top:80px!important; 
}

.home-tagline {
  font-weight:lighter !important; 
  font-family:Bungee !important; 
  margin-left:35px !important; 
  margin-right:35px !important; 
  padding-top:45px; 
  padding-bottom:45px;
}

.home-header-button {
  border-radius: 15px; 
  border-color: var(--background); 
  padding:25px; 
  margin-bottom:95px !important; 
  margin-top:10px;
}

.home-first-grid {
  background-color: var(--background); 
  min-height: 500px; 
  display:flex; 
  align-items:center;
}

.home-first-grid-title {
  text-align:center !important; 
  margin-top:30px;
}

.home-first-grid-text {
  text-align:center; 
  margin-left:20px; 
  margin-right:20px; 
}

.home-first-grid-text2 {
  padding-bottom:20px; 
  margin-left:20px; 
  margin-right:20px !important;
}

.home-button-learn-more {
  border-color: var(--whitesmoke) !important; 
  margin-bottom:30px!important; 
}

.home-first-grid-image {
  height: 500px; 
  padding-top:25px; 
  padding-bottom:25px; 
  padding-left: 20px !important; 
  padding-right:25px; 
  float: right;
}

.home-second-grid {
  background-color: var(--tertiary-color); 
  min-height: 500px; 
  display:flex; 
  align-items:center;
}

.home-second-grid-image {
  width:41%; 
  padding-top:25px; 
  padding-bottom:25px; 
  padding-left:25px;
}

.home-second-grid-text {
  text-align:center; 
  margin-left:30px; 
  margin-right:30px; 
}

.home-second-grid-text2 {
  padding-bottom:20px; 
  margin-left:30px; 
  margin-right:30px;
}



/*styles for the about us page*/
.darken-image {
  filter: brightness(26%);
}

.darken-image2 {
  filter: brightness(26%);
}

.aboutus-image {
  width:100%; 
  min-height :100vh; 
  object-fit:cover;
}

@media (max-width: 1000px) {
  #about-us-normal-container {
    display:none !important;
  }
}

@media (min-width: 1000px) {

  .darken-image2 {
    display: none !important;
  }

  .image-container-mini {
    display: none !important;
  }

  .centered-text-top {
    font-size: calc(1.8vw + 1.3vh) !important;
    line-height: 195%;
    padding-left: 28px;
    padding-right: 28px;
  }

  .centered-text-top-middle{
    font-size: calc(0.9vw + 0.8vh) !important; 
    line-height: 195%;
    padding-left: 38px;
    padding-right: 38px;
  }

  .about-us-text {
    font-size: calc(0.9vw + 0.8vh) !important; 
    line-height: 200%;

  }

  .centered-text-bottom{
    top: 90% !important;
  }
}

@media (max-width: 999px) {
  .darken-image2 {
    display: block;
  }
  .centered-text-top {
    top: 4% !important;
    font-size: calc(2.2vw + 1.75vh) !important;
  }

  .centered-text-top-middle {
    font-size: calc(1.3vw + 1.2vh) !important;
    top: 17% !important;
  }

  .centered-text-bottom {
    top: 93.5% !important;
  }
}


.centered-text-top {
  position: absolute;
  top: 7%;
  text-align:center;
  width: 100%;
  font-size: calc(2vw +1.5vh);
}

.centered-text-top-middle {
  position: absolute;
  top: calc(28% - 50px);
  text-align:center;
  width: 90%;
  left: 5%;
  font-size: calc(0.85vw + 0.75vh);
}

.centered-text-bottom {
  position: absolute;
  top: 90%;
  text-align:center;
  width: 90%;
  left: 5%;
}

.centered-text-middle {
  position: absolute;
  top: 47.5%;
  text-align:center;
  width: 90%;
  left: 5%;
}

.centered-text-bottom-middle {
  position: absolute;
  top: 78%;
  text-align:center;
  width: 90%;
  left: 5%;
}

/*about-scleroderma */
.about-scleroderma-centered-text-top {
  position: absolute;
  top: min(5%, 9vh);
  text-align:center;
  width: 100%;
  color: var(--background); 
  padding-top: 2%;
}

.about-scleroderma-intro-top-middle {
  position: absolute;
  top: min(18%, 30vh);
  text-align:center;
  width: 84%;
  left: 8%;
  color: var(--background); 
  line-height: 180%;
}

.about-scleroderma-list {
  text-align: left; 
  color: #333; 
  font-size:max(1.25vw, 13px)
}

.about-scleroderma-list-title {
  color: var(--background); font-size:max(2vw, 19px)
}

.results-card-mini-title {
  color: var(--background); font-size:max(2vw, 30px)
}

.results-card-title {
  color: var(--background); font-size:max(2vw, 28px)
}

.darkened-hand-container {
  filter:brightness(88%);
  background-color: var(--tertiary-color);
}

.darkened-hand-image {
  width: 100%; 
  height: 90%; 
  object-fit: cover; 
  filter:opacity(0.48)
}

.sb4:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 10px solid transparent;
  border-right: 10px solid var(--secondary-color);
  border-top: 10px solid var(--secondary-color);
  border-bottom: 10px solid transparent;
  right: 19px;
  bottom: -19px;
}

.card-container {
  display: flex;
  justify-content: space-between; 
  gap: 25px;
  margin: 40px;
}

.model-container-results {
  display: flex;
  justify-content: space-between; 
  gap: 25px;
  margin-left: 45px;
  margin-right: 45px;
  margin-bottom: 1.2%;
}

.card {
  background-color: #ffffff; 
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  flex: 1; 
  text-align: center; 
  min-width: 230px;
}

.model-info-card {
  margin-top: 3%;
  align-items: center;
  border: 1.5px solid black;
  background-color: var(--primary-color); 
  border-radius: 8px;
  padding: 0.2%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  flex: 1; 
  text-align: center; 
  margin-left: 44%;
  margin-right:44%;
  width: flex;
  font-size: max(1vw, 10px);

}


@media (min-width: 2500px) {
  .extra-padding {
    padding-top:2.25% !important;
  }
  .extra-padding2 {
    padding-top:1% !important;
    padding-bottom:2.25% !important;
  }
}

@media (max-width: 800px) {
  .card-container {
    display: none;
  }
  
}

@media (min-width: 800px) {
  .card-mini {
    display: none;
  }
}

@media (max-width: 1095px) {
  .model-container-results {
    display:none;
  }
}

@media (min-width: 1095px) {
  .model-container-mini {
    display: none;
  }
}

p2 {
  color: #333; 
}

.card h2 {
  border: 4.5px solid #6273cc; 
  padding: 16px; 
  border-radius: 11px; 
  display: inline-block; 
  color: #313134; 
  margin-bottom: 10px; 
}

.card h6 {
  border: 4.4px solid #6a76b1; 
  padding: 16px; 
  border-radius: 12px; 
  display: inline-block; 
  color: #313134; 
  margin-bottom: 10px; 
  font-family: 'Poppins', sans-serif;
  font-weight: 502;
  margin-top: 30px;
  font-size: 35px;
}

.results-card h2 {
  border: 4.5px solid #6273cc; 
  padding: 18px; 
  border-radius: 11px; 
  display: inline-block; 
  color: #313134; 
  margin-bottom: 10px; 
  padding-left: 6vh;
  margin: 0 -1em;
  padding-right: 9vh;

}

/*questionnaire-welcome page*/
.scroll-box {
  padding: 10px;
  height: max(400px,50vh);
  width:90%;
  margin-left:5%;
  margin-right:5%;
  margin-top:35px;
  margin-bottom:25px;
  overflow:auto;
  background-color:whitesmoke;
  color:black;
  font-family:serif !important;
}

button:disabled {
  background-color: var(--tertiary-color) !important;
  color: var(--background) !important;
}

button:enabled {
  background-color: var(--primary-color) !important;
  color: whitesmoke !important;
}

.box {
  width: 75%;
  height:12 0px;
  margin: 50px auto;
  background: var(--secondary-color);
  padding: 20px 20px;
  text-align: center;
  font-size: 40px;
  color: var(--background);
  position:relative;
  border-radius:25px;

}

/*image_upload page*/

/* webcam */
.webcam-modal {
  display:none; 
  position:fixed !important; 
  top:50% !important; 
  left:50% !important; 
  transform:translate(-50%, -50%); 
  z-index:1000; 
  background:whitesmoke; 
  padding:20px; 
  border-radius:20px; 
  width: 1000px !important;
  height: 750px !important;
}

.close-webcam {
  float: right; 
  padding-left:10px; 
  padding-right:10px; 
  font-size: 20px; 
  margin-bottom: 20px; 
  border-radius:5px;
}

.webcam {
  width:80% !important; 
  height:80%; 
  max-height:80%; 
  border:3px solid var(--background); 
  position:absolute; 
  top:5%; 
  left:8%;
}

.webcam-overlay {
  width:80%; 
  height:80%; 
  max-height:80%; 
  position:absolute; 
  top:5%; 
  left:8%; 
  border:3px solid var(--background); 
  opacity:0.5 !important;  
  z-index:4
}

.capture-button {
  position:absolute;
  bottom: 2.5%;
  left: 450px;
  width:100px;
  font-size: 16px; 
  margin: 20 auto; 
  padding: 10px; 
  border-radius: 8px; 
  z-index:5 !important;
}

@media (max-width: 1399px) {
  .close-webcam{
    float: right; 
    padding-left:0.5%; 
    padding-right:0.5%; 
    padding-top: 0.5%;
    padding-bottom:0.5%;
    font-size: 3vw; 
    margin-bottom: 20px; 
    border-radius:5px;
  }
  .webcam-modal {
      width: 80vw!important;
      height: 60vw!important;
  }
  .capture-button{
    font-size:2vw;
    bottom: 5px !important;
    padding:1%;
    width: 20vw !important;
    margin: auto !important;
    left: 30vw !important;
    text-align:center;
  }

}

/* other elements on image upload */
.popup {
  background-color:var(--primary-color);
  width:min(650px, 60vw);
  padding:min(30px, 3vw) min(40px,4vw);
  position:absolute;
  transform:translate(-50%, -50%);
  left:50%;
  top:50%;
  border-radius:8px;
  font-family: "Poppins", sans-serif;
  text-align: center;
  z-index: 100;
}

.popup button {
  display: block;
  margin: 0 0 20px auto;
  background-color: var(--primary-color)!important;
  font-size: 30px;
  color: var(--whitesmoke);
  border: none;
  outline: none;
  cursor: pointer;
}

.popup p {
  font-size: 14px;
  text-align: justify;
  margin: 20px 0;
}

.blurredElement {
  /* Any browser which supports CSS3 */
 filter: blur(8px);
 /* Firefox version 34 and earlier */
 filter: url("blur.svg#gaussian_blur");
 /* Webkit in Chrome 52, Safari 9, Opera 39, and earlier */
 -webkit-filter: blur(8px);
 pointer-events: none;

}

.blurredElement:disabled {
  background-color: yellow;
  filter:blur(0px);
}

/* Preview image styling */
.upload-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 10px;
  padding-bottom: 40px;
  background-color: var(--background);
  }
  
  .upload-text-container {
  flex: 1;
  background-color: var(--background);
  margin-top:30px;
  }
  
  .upload-text-container h1, .upload-text-container h5 {
    text-align: center;
  }
  
  .image-preview-container img {
    width:60%;
    max-width:60%;
    height: auto;
  }
  
  .image-preview-container {
    flex: 1;
    width: 50% !important;
    float: left;
  }

  @media (max-width: 900px) {
    .image-preview-container {
        width: 100% !important;
    }
    .image-preview-container img {
      width:100% !important;
      max-width:100% !important;
      height: auto;
    }

    .image-container4 {
      width:100% !important;
      max-width:100% !important;
  }
  }

  .hand-face-text {
    padding-top: 10px;
    padding-bottom: 15px; 
  }

  .image-preview-text {
    padding-top:5px; 
    padding-bottom: 8px; 
    color: var(--tertiary-color);
  }

  .take-image-button {
    border-radius: 5px; 
    border-color: whitesmoke;
    padding: 0.75vw 2vw; 
    margin-bottom:10px;
  }

  .upload-image-button {
    border-radius: 5px; 
    border-color: whitesmoke; 
    padding: 0.75vw 1.45vw; 
  }

  .approve-images-button {
    margin:50px; 
    padding:1vw 4vw; 
    background-color: gray;
  }

  .results-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 20px;
    padding-bottom: 40px;
    background-color: var(--tertiary-color);
  }
  
  /* Left-side (text) styling */
  .text-container {
    flex: 1;
  }
  
  .text-container h1, .text-container h5 {
    text-align: left;
  }
  
  /* Right-side (images) styling */
  .image-example-container {
    flex: 1.5;
    text-align: center;
  }
  
  .image-example-container img {
    max-width: 100%;
    height: auto;
    margin: 0 10px;
  }
  
  /* Add responsiveness */
  @media (max-width: 768px) {
    .tips-container {
        flex-direction: column;
        text-align: center;
    }
  
    .text-container {
        padding-right: 0;
    }
  }

  /*model page*/

  .learn-more-results-button {
    margin:50px; padding:8px 12px; font-size: 32px;  border-radius: 15px; border-color: var(--background);
  }

  .likelihood-container {
    padding-left:415px;
    padding-right: 65px;
    line-height: 45px;
    margin-left: 2%;
  }

  .likelihood-container-mini {
    margin-left: 2%;
    margin-right: 2%;
    line-height: 37px;
    color:var(--background); 
    text-align:center;

  }

  .results-blue {
    color:rgb(42, 42, 245); 
    padding-top: 2.5%;
    padding-bottom: 0px; 
    text-align:center;
    padding-left:39%;
    padding-right: 20%;
    font-size:40px;
    font-weight:bold;
  }

  .results-blue-mini {
    color:rgb(42, 42, 245); 
    padding-top: 3%;
    padding-bottom: 0px; 
    text-align:center;
    font-size: max(1.2vw, 1.5vh, 34px);
    font-weight:bold;
  }

  .resultslogo {
    display: block;
    margin-left: max(27px, 1vw);
    margin-right:max(20px, 2vw);
    height:max(315px, 1vw);
    width:auto;
    margin-top:145px;
  
    margin-left: 4%;
   
    float: left;
  }

  .resultslogo-mini {
    display: block;
    margin: auto;
    height:max(160px, 1.2vw);
    width:auto;
    margin-top:56px;
    margin-bottom:45px;
  }

  @media (min-width: 2500px) {
    .resultslogo {
        height:15vw !important;
        width: auto !important;
        max-width:800px!important;
        margin-top:2.75%;
    }
  }

  .common-button {
    background-color: var(--primary-color); 
    color: white; 
    font-size: 22px; 
    border-radius: 8px; 
    border-color: var(--background); 
    padding:11px; 
    margin-top:7px;
  }

 

  /* tabs (model results) for the model page */
  .tab {
    margin: 0 10%;
    overflow: hidden;
    background-color: var(--primary-color);
  }

  /* Style the buttons that are used to open the tab content */
  .tab button {
    background-color: var(--primary-color) !important;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size:30px;
    font-family: "Poppins" !important;
  }

  .tablinks {
    background-color: var(--primary-color);
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 0px;
    margin-top:0px;
    transition: 0.3s;
    font-size:max(34.5px, 1.125 vw);
  }

  /* Change background color of buttons on hover */
  .tab button:hover {
    background-color: var(--tertiary-color) !important;
    color: var(--background) !important;
  }

  /* Create an active/current tablink class */
  .tab button.active {
    background-color: whitesmoke !important;
    color: var(--background) !important;
  }

  /* Style the tab content */
  .tabcontent {
    background-color: var(--tertiary-color);
    color:var(--background);
    /*display: none;*/
    padding: 6px 12px;

    margin: 0 10%;
  }

  .model-info-text {
    font-size:max(23px, 0.75vw);
  }


  @media (min-width: 2500px) {
    .tabcontent {
        margin:0px 20% !important;
    }

    .tab {
        margin:0px 20% !important;
    }
  }

  /* What do my results mean page*/
  .results-meaning-grid {
    margin-left:20px; 
    margin-right:20px;
  }

  .results-meaning-speech {
    font-size:min(30px, 4vw); 
    padding-top:min(2vw,28px); 
    max-width:1200px;
  }

  .result-chart {
    width: 470px;
  }

  .results-chart-container {
    padding-top: 15px;
    padding-bottom: 30px;
    margin-top: 20px;
  }

  .model-results-breakdown {
    display: flex;
    justify-content: space-between; 
    gap: 25px;
    margin: 45px;
    margin-top: 2px;
  }

  .model-results-breakdown-title {
    color: rgb(14, 14, 14); 
    font-size:max(2vw, 1vh, 43px);
    padding-top: 35px;
    margin-bottom:35px;
  }

  .results-breakdown-card {
    background-color: rgb(229, 234, 237);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    flex: 1; 
    text-align: center; 
    min-width: 230px;
  }  

  .model-results-breakdown-text {
    color:#09023f;
    font-size: max(1.5vw, 13px);
    line-height: 175%;
  }

  .model-results-example-percentage {
    color:#4dabd4;
    font-size: max(1.7vw, 0.5vh, 20px);
   
  }

  .model-results-example-risk {
    color:#9e86c6;
    font-size: max(1.7vw, 0.5vh, 20px);

  }
  
  .model-results-sentence {
      color:#000000;
      display: block;
      text-align: center;
      font-size: max(2.2vw, 16px);
      margin-left: 26%;
      margin-right: 26%;
      line-height: 120%;
      margin-top: 1%;

  }

  .model-info-links {
    font-size: max(1.8vw, 12px);
    color: var(--background);
    margin-bottom: 6%;
  }



    