* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  outline: 0;
  font-family: 'Inter', sans-serif;
}

body {
  background: linear-gradient(90deg, rgba(1, 72, 146, 255) 35%, rgba(201, 46, 109, 255) 100%);
  background-size: cover;
  background-position: center;
}


::-webkit-scrollbar {
  width: 10px;  
  height: 10px; 
}


::-webkit-scrollbar-track {
  background: #f1f1f1; 
  border-radius: 5px;
}


::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}


::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.screen-terms-conditions {
  margin: 5rem 0rem 9.5rem 11rem;
}

/* .screen-main .screen-terms-conditions{
  height:100vh;
} */

.termos-box {
  margin: 5rem 2rem 9.8rem 3rem;
  color: black;
  margin: center;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0.563rem 0.563rem 0.5rem rgba(0, 0, 0, 0.336);
  line-height: 2.875rem;
  padding: 2rem 2rem 4.5rem 2rem;
  font-size: 1rem;
  border-radius: 0.8rem;
  max-width: 103rem;
}

.class-p {
  font-size: 1rem;
  line-height: 2rem;
}

.termos-box .button-termo {
  background-color: #007bff;
  color: #fff;
  margin: center;
  box-shadow: 0.313rem 0.313rem 0.5rem rgba(0, 0, 0, 0.336);
  border: none;
  width: 15rem;
  margin-top: 1rem;
  font-size: 1rem;
  padding: 0.625rem;
  border-radius: 0.4rem;
  cursor: pointer;
  font-weight: bold;
}

.button-termo:hover {
  background-color: #0056b3;
}

.button-termo:focus {
  outline: none;
}

.checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.313rem;
  font-size: 5px;
}

#title-terms-h1{
  margin-right: 13rem;
  font-size: 1.4em;
  font-weight: 700;
  color: black;
  text-align: left;
  margin: 0 0 0.5rem 0;
}
.back-color-terms{
  background: #0056b3;
  background-color: black;
}

.div-terms-and-conditions {
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4;
  display: none;
  border-radius: 0.8rem;
  margin: 0rem auto;
}

.terms-and-conditions {
  margin: 2rem 2rem 2rem 2rem;
  padding: 1rem;
  border-radius: 10px;
  background-color: white;
  width: 95%;
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-terms {
  font-size: 1.4em;
  font-weight: 700;
  color: black;
  text-align: left;
  margin: 0 0 0.5rem 0;
}

.text-terms-conditions {
  padding: 0.5rem;
  background-color: rgb(245, 245, 245);
  outline: 0.5px solid rgb(99, 99, 99);
  height: 100%;
  overflow: scroll;
}

.text-terms-conditions p {
  font-size: 0.8em;
}

.text-terms-conditions h1 {
  display: flex;
  margin: 0.5rem auto;
  text-align: start;
  font-size: 1em;
  font-weight: 700;
}

.text-terms-conditions h2 {
  font-size: 0.9em;
  font-weight: 600;
}

.check-term {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
}

.check-term label {
  font-size: 0.9em;
}

.check-term div {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.check-term input {
  margin-right: 1rem;
}

.button-decline {
  font-weight: 600;
  background-color: rgb(199, 199, 199);
  border: none;
  outline: 0.5px solid rgb(119, 119, 119);
  padding: 0.3rem 2rem;
  cursor: pointer;
}

.button-accept {
  font-weight: 600;
  color: white;
  background-color: #0056b3;
  outline: 0.5px solid #0056b3;
  border: none;
  padding: 0.3rem 2rem;
  cursor: pointer;
}

.button-terms-a-d {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* .terms-and-conditions {
  border-radius: 0.8rem;
} */

.text-terms-conditions {
  border-radius: 0.8rem;
}

.button-decline {
  border-radius: 0.5rem;
}

.button-accept {
  border-radius: 0.5rem;
}

@media screen and (max-width: 920px) {

  .screen-terms-conditions {
    margin: 5rem 0rem 9.8rem 3rem;
  }

  .termos-box {
    margin: 5rem 2rem 9.8rem 3rem;
    color: black;
    margin: center;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0.563rem 0.563rem 0.5rem rgba(0, 0, 0, 0.336);
    line-height: 2.875rem;
    padding: 2rem;
    font-size: 1rem;
    border-radius: 0.8rem;
    max-width: 103rem;
  }

  .checkbox {
    margin-left: 4.7rem auto;
  }

  .input-li {
    font-size: 1rem;
  }

  .terms-and-conditions {
    margin-top: 2rem;
  }
}

@media screen and (max-width: 600px) {

  .screen-terms-conditions {
    margin: 5rem 0rem 9.8rem 3rem;
  }

  .termos-box {
    margin: 5rem 2rem 9.8rem 3rem;
    padding: 1rem;
    font-size: 1rem;
  }

  .terms-and-conditions {
    margin: 1rem;
    padding: 2rem;
  }
  .text-terms-conditions {
    padding: 0.5rem;
    height: 100%;
  }
}

@media screen and (max-width: 400px) {

  .screen-terms-conditions {
    margin: 5.6rem 0rem 0rem 3rem;
  }
  .terms-and-conditions {
    margin: 1rem;
    padding: 1rem;
  }

  .termos-box {
    margin: 0rem 0.5rem 1rem 1.5rem;
    padding: 1rem;
    font-size: 1rem;
  }

  .termos-box .button-termo {
    background-color: #007bff;
    color: #fff;
    margin: center;
    box-shadow: 0.313rem 0.313rem 0.5rem rgba(0, 0, 0, 0.336);
    border: none;
    width: 10rem;
    margin-top: 1rem;
    font-size: 1rem;
    border-radius: 0.4rem;
    cursor: pointer;
    font-weight: bold;
    line-height: 1.1rem;
  }

  .button-termo:hover {
    background-color: #0056b3;
  }

  .class-p {
    line-height: 2rem;
  }

  .button-terms-a-d {
    display: flex;
    flex-direction: column;
  }

  .button-decline {
    order: 2;
  }

  .button-accept {
    order: 1;
  }

  .checkbox {
    width: 2rem;
    margin: 0rem;
    padding: 0rem;
    height: 2rem;
  }
}

