@import url("https://fonts.googleapis.com/css?family=Lato:300,400|Poppins&display=swap");

:root {
  --primaryColor: #245493;
  --secondaryColor: #70a8a0;
  --thirdColor: #3b3a3a;
  --mainWhite: #fff;
  --offWhite: #f7f7f7;
  --mainBlack: #222;
  --mainGrey: #ececec;
  --darkGrey: #afafaf;
  --mainTransition: all 0.1s linear;
  --mainSpacing: 0.10rem;
  --lightShadow: 2px 5px 3px 0px rgba(0, 0, 0, 0.25);
  --darkShadow: 4px 10px 5px 0px rgba(0, 0, 0, 0.5);
}


*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* body */
body {
  font-family: "Lato", sans-serif;
  color: var(--mainBlack);
  background: white;
  line-height: 1.4;
  font-size: 1rem;
}
/*************** global styles ***************/
img:not(.nav-logo) {
  width: 100%;
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 1.25rem;
  letter-spacing: var(--mainSpacing);
}
h1 {
  font-size: 3.3rem;
}
h2 {
  font-size: 2.3rem;
}
h3 {
  font-size: 2rem;
}
h4 {
  font-size: 1.2rem;
}
p {
  margin-bottom: 1.25rem;
  line-height: 2;
  font-weight: 300;
}
a {
  text-decoration: none;
}
/* more global styles */
/* buttons */
.btn-white,
.btn-primary {
  text-transform: uppercase;
  letter-spacing: var(--mainSpacing);
  color: var(--mainWhite);
  border: 2px solid var(--mainWhite);
  padding: 0.9rem 1.6rem;
  display: inline-block;
  transition: var(--mainTransition);
  cursor: pointer;
}
.btn-white:hover {
  background: var(--mainWhite);
  color: var(--primaryColor);
}
.btn-primary {
  background: var(--thirdColor);
  color: var(--mainWhite);
  border: 2px solid var(--thirdColor);
}
.btn-primary:hover {
  background: var(--offWhite);
  color: var(--thirdColor);
  border: 2px solid var(--thirdColor);
}
/* section */
.section {
  padding: 1rem 0;
}
/* title */
.title-wrapper {
  margin-bottom: 2rem;
}
.title {
  text-align: center;
  text-transform: uppercase;
  font-size: 2.5rem;
  letter-spacing: 0.2rem;
}
.subtitle {
  color: var(--primaryColor);
}

.title-footer {
  text-align: center;
  text-transform: uppercase;
  font-size: 2rem;
  letter-spacing: 0.2rem;
}
.subtitle-footer {
  color: var(--primaryColor);
}


/* section center */
.section-center {
  width: 90vw;
  margin: auto auto auto auto;
  max-width: 100%;
}

@media screen and (max-width: 768px) {
  .section-center {
    width: 90vw;
  }
}


@media screen and (min-width: 992px) {
  .section-center {
    width: 90vw;
    margin: 1rem auto 1rem auto;
    max-width: 100%;
    background: var(--mainWhite);
  }
}




/*************** end of global styles ***************/

/*************** navbar ***************/
/*************** end of navbar ***************/
/*************** hero ***************/

.hero {
  min-height: 100vh;
  min-height: calc(100vh - 62px);
  background: var(--offWhite);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-banner {
  text-align: center;
  color: var(--thirdColor);
}
.hero-title {
  text-transform: uppercase;
  margin-bottom: 2rem;
  letter-spacing: 0.4rem;
}
.hero-text {
  width: 85%;
  margin: 0 auto;
  margin-bottom: 2rem;
  letter-spacing: var(--mainSpacing);
  line-height: 2;
  font-weight: 600;
  color: var(--thirdColor);
}
@media screen and (min-width: 768px) {
  .hero {
    background: linear-gradient(rgba(63, 208, 212, 0.7), rgba(0, 0, 0, 0.7)),
    
  }
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-text {
    width: 70%;
  }
}
/* buttons added to global styles */
/*************** about section ***************/
.about {
  background: var(--mainWhite);
}
/* section added to globals */
/* title added to globals */
/* section center added to globals */
.about-img,
.about-info {
  margin-bottom: 2rem;
}
.about-info h3 {
  text-transform: uppercase;
}
@media screen and (min-width: 992px) {
  .about-center {
    /* flex parent */
    display: flex;
    justify-content: space-between;
    flex-direction: column;
  }
  .about-img,
  .about-info {
    /* children */
    flex: 0 0 calc(50% - 2rem);
    align-self: center;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1170px) {
  .about-img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1 rem ;
    top: -1.5rem;
    left: -1.5rem;
    border-radius: var(--borderRadius);
  }
  .about-photo {
    position: relative;
  }
}
/*************** end of about section ***************/
/*************** services section ***************/
.service {
  text-align: center;
  margin-bottom: 3rem;
}
.service-icon {
  background: var(--primaryColor);
  padding: 0.5rem;
  display: inline-block;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.service-title {
  text-transform: uppercase;
}
.service-text {
  width: 80%;
  margin: 0 auto;
  line-height: 1.5;
  font-weight: 300;
}
@media screen and (min-width: 576px) {
  .services-center {
    display: flex;
    /* after */
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .service {
    flex: 0 0 calc(50% - 1rem);
    /* back to services */
  }
}
@media screen and (min-width: 992px) {
  .service {
    flex: 0 0 calc(33.333% - 1rem);
  }
}
@media screen and (min-width: 1170px) {
  .service {
    display: flex;
    text-align: left;
  }
  .service-icon {
    align-self: start;
  }
  .service-info {
    padding-left: 1rem;
  }
  .service-title {
    margin-bottom: 0.5rem;
  }
  .service-text {
    width: 90%;
    margin: 0;
  }
}

/*************** end of services section ***************/
/*************** featured tours section ***************/
.featured-tours {
  background: var(--mainWhite);
}
.tour-card {
  box-shadow: var(--lightShadow);
  transition: var(--mainTransition);
  margin-bottom: 4rem;
}

.tour-footer {
  padding: 1.2rem 1.5rem;
}
.tour-title {
  text-transform: capitalize;
}
.tour-country {
  color: var(--primaryColor);
  text-transform: capitalize;
}
.tour-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.tour-details p {
  line-height: 0.2;
  text-transform: capitalize;
  color: var(--darkGrey);
  letter-spacing: 0.02rem;
}
.tour-country {
  align-self: center;
  color: var(--primaryColor);
}
.tour-link {
  text-align: center;
}
/* tour date */
.tour-img-container {
  position: relative;
}

.tour-date {
  position: absolute;
  left: 0;
  top: 0;
  background: var(--primaryColor);
  text-transform: capitalize;
  padding: 0.25rem 0.5rem;
}
@media screen and (min-width: 768px) {
  .featured-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .tour-card {
    flex: 0 0 calc(50% - 1rem);
  }
}
@media screen and (min-width: 1170px) {
  .tour-card {
    flex: 0 0 calc(33.3333% - 1rem);
  }
}
/*************** end of featured tours section ***************/
/*************** gallery ***************/
.gallery {
  padding-top: 2rem;
  background: var(--darkGrey);
}
.gallery-img-container {
  position: relative;
  background: var(--primaryColor);
}
.gallery-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 2rem;
  transform: translate(-50%, -50%);
  color: var(--mainWhite);
  transition: var(--mainTransition);
  opacity: 0;
  cursor: pointer;
}
.gallery-img {
  transition: var(--mainTransition);
}
.gallery-img-container:hover .gallery-img {
  opacity: 0.5;
}
.gallery-img-container:hover .gallery-icon {
  opacity: 1;
}
@media screen and (min-width: 768px) {
  .gallery-center {
    display: flex;
    flex-wrap: wrap;
  }
  .gallery-img-container {
    flex: 0 0 50%;
  }
}
@media screen and (min-width: 992px) {
  .gallery-img-container {
    flex: 0 0 25%;
  }
}
/*************** end of gallery ***************/
/*************** deals ***************/
.input-group {
  width: 90vw;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
}
.form-control {
  flex: 1 1 auto;
}
.form-control,
.btn-submit {
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 300;
  letter-spacing: var(--mainSpacing);
  border: 2px solid var(--primaryColor);
  background: transparent;
  text-transform: uppercase;
  outline: none;
}
::placeholder {
  color: inherit;
}
.btn-submit {
  border-left: none;
  cursor: pointer;
  transition: var(--mainTransition);
}
.btn-submit:hover {
  color: var(--mainWhite);
  background: var(--primaryColor);
}
/*************** end of deals ***************/
/*************** footer ***************/
.footer {
  background: var(--mainWhite);
  color: var(--mainBlack);
  text-align: center;
  overflow: hidden;
}

.footer .line {
  width: 100%;
  height: 1px;
  background-color: #c5c5c5; /* Change the color here */
  margin: 0 auto 1rem;
}

.sepline {
  border: none;
  height: 1px;
  background-color: var(--darkGrey); /* Change this to your desired color */
  margin: 20px 0; /* Adjust the margin as needed */
}

.footer-links,
.footer-icons {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.footer-link {
  color: var(--mainWhite);
  text-transform: capitalize;
  font-size: 1rem;
  margin-right: 1rem;
  letter-spacing: var(--mainSpacing);
  transition: var(--mainTransition);
}
.footer-link:hover {
  color: var(--primaryColor);
}
.footer-icon {
  font-size: 2rem;
  margin-right: 1rem;
  color: var(--mainWhite);
  transition: var(--mainTransition);
}
.footer-icon:hover {
  color: var(--primaryColor);
}
.copyright {
  text-transform: capitalize;
  letter-spacing: var(--mainSpacing);
}
/************ navbar *****************/
/* add :not(.nav-logo) to img */

/* .navbar {
  background: red;
} */
.nav-icons {
  display: none;
}
.nav-center {
  width: 100%;
}
.nav-header {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-toggle {
  background: transparent;
  border: none;
  outline: none;
  font-size: 1.5rem;
  color: var(--primaryColor);
  cursor: pointer;
  transition: var(--mainTransition);
}
.nav-toggle:hover {
  transform: scale(1.2);
}
.nav-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--thirdColor);
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: var(--mainSpacing);
  transition: var(--mainTransition);
  background-color: var(--mainWhite);
}
.nav-link:hover {
  color: var(--primaryColor);
  background: var(--darkGrey);
  padding-left: 2.25rem;
}
/* nav toggle functionality */
.nav-links {
  height: 0;
  overflow: hidden;
  transition: var(--mainTransition);
  
}
.show-links {
  height: 170px;
}
/* nav at bigger screen size */
@media screen and (min-width: 992px) {
  /* hide nav toggle button */
  .nav-toggle {
    display: none;
  }
  /* show links */
  .nav-links {
    height: auto;
    display: flex;
  }
  .nav-center {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* optional */
    flex-wrap: wrap;
  }
  .nav-header {
    padding: 0 0;
  }
  .nav-link {
    padding: 0 0;
  }
  .nav-link:hover {
    padding: 0;
    background: transparent;
  }
  .nav-icons {
    display: flex;
  }
  .navbar {
    padding: 1rem 10rem 1rem 10rem;
    background-color: var(--mainWhite);
    border-bottom: 0.5px solid var(--mainGrey);
  }
  .nav-link {
    margin-right: 0.7rem;
  }
  .nav-icon {
    margin-right: 0.7rem;
    color: var(--primaryColor);
    font-size: 1.2rem;
    transition: var(--mainTransition);
  }
  .nav-icon:hover {
    color: var(--darkGrey);
    transform: translateY(-10%);
  }
}

/* .fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--mainWhite);
  transition: var(--mainTransition);
  box-shadow: var(--lightShadow);
  z-index: 1;
} */

#slidecontainer {
  width: 100%;
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 25px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #4CAF50;
  cursor: pointer;
}

.checkbox {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.checkbox input {
  position: absolute;
  opacity: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.checkbox:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
  background-color: #81C784;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#dropbut {
  cursor: pointer;
}

.inputdata {
    margin-left: 50px;
    margin-right: 50px;
    justify-content: space-between;
  }

.inputdata textarea {
    width: 30%;
  }

.banner {
  width: 100%; /* Default width for smaller screens */
  height: 200px; /* Default height for smaller screens */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  text-align: center;
  margin: 50px 20px 50px 20px;
}

@media (min-width: 768px) {
  /* For screens larger than or equal to 768px wide */
  .banner {
    height: 200px;
    background-image: url("/static/images/RANSAC_banner_2.png")
  }
}

@media (max-width: 768px) {
  /* For screens smaller than 768px wide */
  .banner {
    height: 300px;
    background-image: url("/static/images/RANSAC_logo_square.png");
    margin: 10px 10px 10px 10px;
  }
}

.paragraphs {
  text-align: justify;
  margin-left: 10%;
  margin-right: 10%;
  
}

.paragraphs p {
  margin-bottom: 1rem;
  color: #181818;
}

@media (min-width: 768px) {
  .section {
    justify-content: center;
    align-items: center;
  }

  .paragraphs {
    display: block;
  }
}

.button-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-top: 10px;           /* Add some padding so the border doesn't touch the buttons */
}

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

.my-button, #download {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 3%;
  text-align: center;
  text-decoration: none;
  background-color: var(--primaryColor);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.my-button:hover, #download:hover {
  background-color: var(--mainBlack);
}

.my-button2 {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  margin-top: 3%;
  text-align: center;
  text-decoration: none;
  background-color: var(--mainBlack);
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.my-button2:hover {
  background-color: var(--primaryColor);
}

@media (max-width: 600px) {
  .button-container {
      flex-direction:row;
      padding-left: 1%;
      padding-right: 1%;
  }

  .left-buttons {
      order: 1;
  }

  .right-button {
      order: 2;
  }
}

/* scatter plot */
.scatterplot {
    width: auto;
    height: auto;
}
.tooltipgraph {
position: absolute;
pointer-events: none;
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
padding: 8px;
font-family: Arial, sans-serif;
font-size: 14px;
opacity: 0;
transition: opacity 0.3s ease;
}
.axis text {
font-size: 14px;
}
.axis-label {
font-size: 18px;
font-weight: bold;
}
.inline {
stroke-width: 10px;
stroke: steelblue;
fill: none;
stroke-width: 1.2;
stroke-dasharray: 10, 5;
}
.allline {
stroke-width: 10px;
stroke: Brown;
fill: none;
stroke-width: 1.2;
stroke-dasharray: 10, 5;
}
/* scatter plot */


#linedivide {
  border-top: 1px solid #bdbdbd;
  display: flex;
}


@media (max-width: 768px) { 
  #linedivide {
    border-top: 1px solid #bdbdbd;
    display: none;
  }
}

.footerdecor {
  text-decoration: none;
  color: var(--thirdColor);
  padding-bottom: 1%;
}

.footerdecor:hover {
  color: #000;
}

.footerdecormain {
  text-decoration: none;
  color: var(--mainWhite);
  padding-top: 1%;
  padding-bottom: 1%;
  padding-left: 1%;
}

.footerdecormain:hover {
  color: var(--offWhite);
}

.footerdecorsub {
  text-decoration: none;
  color: var(--mainWhite);
}

.footerdecorsub:hover {
  color: var(--offWhite);
}

.footer-background {
  background-color: var(--thirdColor);
  width: 100vw;
  padding: 8px 0; /* Add some padding to give space inside the black background */
  text-align: center; /* Center the text inside the div if you want */
  left: 0; /* Align the div to the left edge of the screen */
  position: relative; /* Use relative positioning */
}

#quiz-container {
  width: 90vw;
  margin: 1rem auto;
  padding: 20px;
  box-shadow: 0 7px 7px 7px rgba(0, 0, 0, 0.1);
  background-color: white;
  border-radius: 10px;
  text-align: center;
  max-width: 700px;
  position: relative; 
}

#question {
  background-color: #3b3a3a;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 25px;
  text-transform: lowercase;
}

#options {
  list-style-type: none;
  padding: 0;
}

.dashboard-checkbox {
  cursor: pointer;
  background-color: var(--offWhite);
  color: #000;
  margin-bottom: 10px;
  text-transform: capitalize;
  padding: 0; 
  border-radius: 10px;
  border: 2px solid var(--offWhite);
  font-size: 20px;
}

/* Adjust the span to fill the label */
.dashboard-checkbox label > span {
  display: block;
  background-color: var(--offWhite); /* Default background color */
  padding: 15px;
  border-radius: 10px;
  width: calc(100% - 0px); /* Adjust width to account for padding */
}

.dashboard-checkbox.selected label > span {
  background-color: var(--secondaryColor); /* Background color for selected option */
  color: white; /* Text color for selected option */
  border-color: none;
}

.dashboard-checkbox:hover{
  background-color: var(--mainGrey);
  border-color: var(--mainGrey);
}

.dashboard-checkbox.selected {
  border-color: none;
}

.dashboard-checkbox label {
  display: block;
  margin: 0;
  width: 100%; 
}

.dashboard-checkbox input[type="checkbox"] {
  display: none;
}

#next-button {
  margin-top: 20px;
  padding: 14px 30px;
  font-size: 38px;
  cursor: pointer;
  background-color: var(--primaryColor);
  color: white;
  border: none;
  border-radius: 10px;
  transition: background-color 0.3s;
}

#next-button:hover {
  background-color: #3b3a3a;
}

.image-container {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .image-container {
      flex-direction: column;
  }
}

.image-container a {
  margin: 5px; 
}


@media (max-width: 768px) {
  .section-button {
    padding-top: 2%;
    text-align: center;
  }
}

.section-button {
  text-align: center;
}

@media (min-width: 768px) {
  #quiz-container {
      width: 600px;
      padding: 25px;
      margin-top: 1rem;
  }

  #question {
      font-size: 24px;
  }

  #next-button {
      font-size: 20px;
      padding: 15px 30px;
  }
}

@media (min-width: 1024px) {
  #quiz-container {
      margin-top: 1rem;
      max-width: 800px;
  }
}


#exit-button {
  padding: 14px 30px;
  font-size: 20px;
  letter-spacing: 0.1rem;
  cursor: pointer;
  background-color: rgb(189, 59, 59);
  color: white;
  border: none;
  border-radius: 10px;
  transition: background-color 0.3s;
  width: 90vw; 
  max-width: 600px; 
  margin: 1rem auto;
  box-shadow: 0 7px 7px 7px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}

#exit-button:hover {
  background-color: var(--mainBlack);
}

@media (min-width: 768px) {
  #exit-button {
    padding: 20px;
    font-size: 20px;
  }
}

.button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.full-width-link {
  width: 100%; /* Ensure the <a> tag occupies the full width of its container */
  display: block; /* Ensure the <a> tag is a block-level element */
  text-align: center; /* Center the button text if needed */
}

.annotation-counter {
  position: absolute; /* Position the counter absolutely within annotate-box */
  top: 10px; /* Add gap from the top of annotate-box */
  right: 10px; /* Add gap from the right of annotate-box */
  /* Additional styling for the counter */
}

.highlight {
  color: #b42121; /* Change the color to red, or any color you prefer */
  font-weight: bold;
}

.stats-container {
  background-color: white;
  border-radius: 15px; /* Adjust for desired curvature */
  padding: 8px; /* Adjust for desired spacing */
  /* Optional: add more styling as needed */
}



.btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}

.back-button {
  display: inline-block;
  padding: 8px 16px;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  background-color: var(--primaryColor);
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-weight: bold;
  border: none;
}

.back-button:hover {
  background-color: var(--mainBlack);
  color: #fff;
  font-weight: bold;
  cursor: grab;
}

/* Set a fixed width for the image */
.responsive-image {
  height: auto; /* Maintain aspect ratio */
  display: block; /* Remove extra space below the image */
  margin: 0 auto; /* Center the image horizontally */
  max-width: 800px;
  margin-bottom: 0.2em;

}

/* Set a fixed width for the image */
.responsive-logo {
  height: 100%; /* Maintain aspect ratio */
  display: block; /* Remove extra space below the image */
  margin: 0 auto; /* Center the image horizontally */
  max-width: 300px; /* Ensure the image doesn't exceed its container */
}

