:root {
  --main-font: "Poppins", sans-serif;
  --black: #333333;
  --blue: #18a0fb;
  --background-gray: #f9fbfc;
  --shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  --shadow-2: rgba(50, 50, 93, 0.103) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  --shadow-3: rgb(255, 252, 250) 0px 50px 100px -20px,
    rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  --gray: #777e90;
  --alt-gray: rgba(237, 237, 237, 0.258);
  --alt-gray-hover: rgba(222, 222, 222, 0.258);
  --dr-fontsize: 0.9375rem;
  --divider: 0.5px solid rgba(182, 182, 182, 0.411);
  --purple-app: #683be6;
}

/*OWNER SETTINGS*/
input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a:focus,
a:visited,
a:active {
  outline: none;
}

::-webkit-scrollbar {
  display: none;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  padding: 0 100px;
  background-color: var(--background-gray);
}

h1 {
  font-family: var(--main-font);
  font-size: 46px;
  font-weight: 700;
  line-height: 38px;
}

h2 {
  font-family: var(--main-font);
  font-size: 36px;
  font-weight: 700;
  line-height: 38px;
}

h3 {
  font-family: var(--main-font);
  font-size: 31px;
  font-weight: 700;
  line-height: 38px;
}

h4 {
  font-family: var(--main-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 38px;
}

h5 {
  font-family: var(--main-font);
  font-size: 11px;
  font-weight: 700;
  line-height: 38px;
}

p {
  font-family: var(--main-font);
  color: var(--black);
  opacity: 0.7;
}

.hidden {
  display: none;
}

label {
  font-family: var(--main-font);
  font-size: 13px;
}
/*OUR CLASSES*/

.purple-app {
  color: var(--purple-app);
}

/*NOTIFICACIÓN/*/

.notf {
  background-color: hsla(0, 0%, 0%, 0.05);
  backdrop-filter: blur(20px);
  display: block;
  position: fixed;
  left: 0;
  bottom: 0;
  margin: 0 0 10px 0;
  padding: 10px;
  font-family: var(--main-font);
  border-radius: 10px;
  transform: translatex(-100%);
  transition: all 0.4s ease;
  z-index: 3;
}

.not-active {
  transform: translateY(0);
  margin: 0 0 10px 10px;
}

/*SEC 1*/

.sec-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(65, 65, 65, 0.141);
  height: 10vh;
}

.sec-1-2 ul {
  display: flex;
  align-items: center;
}

.sec-1-2 ul li {
  padding: 0 20px;
  list-style: none;
  font-family: var(--main-font);
}

.sec-1-2 ul li a {
  text-decoration: none;
  color: var(--black);
}

.main-logo {
  text-decoration: none;
  color: black;
}

/*SEC 2*/

.sec-2 {
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 80vh;
}

.sec-2 img {
  width: 250px;
}

.sec-2 h1 {
}

.sec-2-1 {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sec-2-2 {
  display: flex;
  flex-direction: column;
  width: 50%;
  position: relative;
}

.sec-2-2 .cleaner {
  position: absolute;
  transform: translateX(-29px);
}

.sec-2 i {
  color: rgba(57, 57, 57, 0.548);
  text-align: left;
  font-size: 20px;
  padding-bottom: 15px;
}

textarea {
  border-color: rgba(65, 65, 65, 0.141);
  border-radius: 20px;
  width: 100%;
  height: 250px;
  resize: none;
  padding: 25px;
  font-family: var(--main-font);
  color: var(--black);
}

textarea:focus-visible {
  outline: 0px var(--background-gray);
}

.sec-2-2-in {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

.sec-2-2-in a {
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 13px;
  background-image: linear-gradient(
    to right,
    #683be6 0%,
    #ae2ae4 51%,
    #cc2ddf 100%
  );
  color: var(--background-gray);
  padding: 7px;
  border-radius: 10px;
  width: 35%;
  text-align: center;
}

.sec-2-2-in a:active {
  box-shadow: 0 0.5px rgba(102, 102, 102, 0.405);
  transform: translateY(0.5px);
}

.sec-2-2-in h3 {
  width: 65%;
  padding: 0 15px;
  text-align: center;
  font-size: 20px;
  line-height: 20px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*INPUTS NUMBERS*/
.inputs {
  padding-top: 20px;
  display: flex;
}

.inputs div {
  width: 50%;
}

.inputs label {
  padding-left: 10px;
  padding-bottom: 15px;
}

.inputs input {
  border-color: rgba(65, 65, 65, 0);
  border-radius: 1em;
  resize: none;
  padding: 5px;
  font-family: var(--main-font);
  color: var(--black);
  height: 45px;
  text-align: center;
  width: 100%;
}

.inputs input:focus-visible {
  outline: 0px var(--background-gray);
}

.inp-1 {
  margin-right: 5px;
}

.inp-2 {
  margin-left: 5px;
}
/*ANSWERS*/

.answers {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1 !important;
}

.head-message {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.answers h3 {
  text-align: center;
}

.message-img {
  padding-top: 4em;
  width: 70px;
}

.foot-messages {
  display: flex;
  padding-top: 50px;
  justify-content: space-between;
}

/*TIPS BOX*/
.tips,
.doctor,
.receipes {
  width: 33.33%;
}

.doctor {
  padding: 20px;
}

.tips {
  padding-right: 50px;
}

.receipes {
  padding-left: 50px;
}

.list-items div {
  display: flex;
  padding: 10px 0;
}

.list-items div img {
  width: 20px;
  object-fit: scale-down;
  margin-right: 10px;
}

.out-of {
  height: 0px;
  overflow: hidden;
}

/*DOCTOR*/

.doctor {
  background-color: #ffffff47;
  border-radius: 15px;
  height: 100%;
}

.sec-doc-1 {
  display: flex;
  align-items: center;
}

.sec-doc-1 img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 10px;
}

.doctor-name-place {
  padding-left: 20px;
}

.doctor-name-place h4 {
  line-height: 18px;
}

.sec-doc-1 p {
  font-size: 12px;
}

.sec-doc-2 {
  display: flex;
  flex-direction: column;
  height: 85%;
  justify-content: space-between;
  padding-bottom: 0.5em;
}

.doctor .advice {
  padding-top: 1.5em;
}

.btn-g {
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 13px;
  background-image: linear-gradient(
    to right,
    #683be6 0%,
    #ae2ae4 51%,
    #cc2ddf 100%
  );
  color: var(--background-gray);
  padding: 7px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  display: block;
  margin-top: 15px;
}

.receipes h3 {
  font-size: 21px;
  padding-bottom: 20px;
}

.box-receipe {
  display: flex;
  margin: 25px 0;
  background-color: #bebebe29;
  padding: 15px 30px;
  border-radius: 10px;
  align-items: center;
  justify-content: space-between;
}

.box-receipe img {
  width: 40px;
}

.box-receipe h4 {
  padding-left: 30px;
  line-height: 20px;
  color: #000000bd;
  font-size: 12px;
}
/*HISTORY*/
.history-sec {
  background-color: var(--background-gray);
  height: 100vh;
  width: 30%;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.history-open {
  color: #683be6;
  margin-left: 20px;
}

.menu-closed-history {
  font-size: 20px;
  position: absolute;
  top: 30px;
  left: 30px;
  text-decoration: none;
  color: #683be6;
}

/*SETTINGS*/

.config-sec {
  background-color: var(--background-gray);
  height: 100vh;
  width: 30%;
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateX(100%);
  transition: all 0.4s ease;
}

.config-sec h3 {
  padding-bottom: 15px;
}

.config-sec .test-button {
  border-color: rgba(65, 65, 65, 0);
  border-radius: 1em;
  resize: none;
  padding: 5px;
  font-family: var(--main-font);
  color: var(--black);
  height: 45px;
  text-align: center;
  width: 100%;
}

.config-sec .test-button:focus-visible {
  outline: 0px var(--background-gray);
}

.config-sec .btn-style {
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 13px;
  background-image: linear-gradient(
    to right,
    #683be6 0%,
    #ae2ae4 51%,
    #cc2ddf 100%
  );
  color: var(--background-gray);
  padding: 7px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  display: block;
  margin-top: 10px;
}

.after-saved {
  background-image: linear-gradient(
    to right,
    #7e7d7d 0%,
    #828282 51%,
    #949494 100%
  ) !important;
}

.bt-city {
}

.active {
  transform: translateX(0);
  box-shadow: 0 0.5em 1.5em -0.5em #9e9e9e;
}

.maines-1,
.maines-2 {
  width: 60%;
}

.maines-2 {
  margin-top: 50px;
}

/*RADIO INPUTS*/
.radios {
  cursor: pointer;
}

.radios label {
  cursor: pointer;
  padding: 10px 0;
  transition: 0.3s ease;
}

input[type="radio"] {
  display: none;
}

.radio-item {
  padding: 10px 0;
}

input[type="radio"]:checked + label {
  accent-color: #683be6;
  color: var(--background-gray);
  background-color: #af2ae4b4;
  padding: 8px 20px;
  border-radius: 10px;
}

.menu-open {
  color: #683be6;
}

.menu-closed {
  font-size: 20px;
  position: absolute;
  top: 30px;
  left: 30px;
  text-decoration: none;
  color: #683be6;
}

/*CHECKER SAVER*/
.btn-saver-checker-active {
  font-family: var(--main-font);
  color: var(--background-gray);
  background-image: linear-gradient(
    to right,
    #683be6 0%,
    #ae2ae4 51%,
    #cc2ddf 100%
  );
}

.saved-checker-buttons {
  display: flex;
  width: 100%;
}

.saved-checker-buttons a {
  text-decoration: none;
  font-family: var(--main-font);
  font-size: 13px;
  padding: 7px;
  border-radius: 10px;
  width: 100%;
  text-align: center;
  display: block;
  margin-top: 10px;
}

.saved-checker-buttons a:active {
  color: var(--background-gray);
}

.history-list-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.history-user {
  margin-top: 15px;
}

.el-bmi-date {
  font-family: var(--main-font);
  color: var(--black);
  opacity: 0.8;
}

@media (max-width: 1000px) {
  body {
    padding: 0 3rem;
  }

  h1 {
    font-size: 36px;
  }

  .sec-1-2 {
  }
  .sec-2 {
  }

  .sec-2 {
    height: 1000px;
    padding: 0px 0px;
    flex-direction: column;
    justify-content: space-evenly;
  }

  .sec-2-1 {
    width: 100%;
    align-items: center;
  }

  .sec-2 h1 {
    text-align: center;
    padding-top: 50px;
  }

  .sec-2 img {
    width: 200px;
  }

  .sec-2-2 {
    width: 100%;
  }

  .sec-2-2-in {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 35px;
    width: 100%;
  }

  .sec-2-2-in a {
    width: 100%;
  }

  .sec-2-2-in h3 {
    margin-top: 45px;
  }

  .sec-2-2-in a:active {
    box-shadow: 0 0.7px rgba(102, 102, 102, 0.382);
    transform: translateY(0.7px);
  }
  .out-of {
    height: 0px !important;
    opacity: 0 !important;
  }
  .answers {
    height: auto;
  }

  .foot-messages {
    flex-direction: column;
  }

  .tips,
  .doctor,
  .receipes {
    width: 100%;
  }

  .doctor {
    margin-top: 40px;
  }

  .receipes {
    padding-left: 0;
  }

  .box-receipe {
    justify-content: flex-start;
    padding: 15px 70px;
  }

  .box-receipe h4 {
    padding-left: 70px;
  }

  .config-sec {
    width: 50%;
  }

  .history-sec {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .inputs {
    flex-direction: column;
  }

  .inputs div {
    width: 100%;
  }

  .inp-1,
  .inp-2 {
    margin-left: 0;
    margin-left: 0;
    margin-top: 10px;
  }

  .inputs div {
    margin-bottom: 15px;
  }

  .ans-pad {
    padding: 100px 0;
  }

  .doctor,
  .receipes {
    margin-top: 100px;
  }

  .box-receipe {
    padding: 15px 30px;
  }

  .box-receipe h4 {
    padding-left: 30px;
  }

  .tips {
    padding-right: 0;
  }

  .config-sec {
    width: 100%;
  }

  .history-sec {
    width: 100%;
  }
  
   .radios {
    height: 80%;
    overflow: scroll;
  }

  .keyopen {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 20px;
    background-color: #f9fbfc;
    margin-bottom: -7px !important;
    box-shadow: 0px -20px 64px -32px rgb(15 15 15 / 12%);
  }
  
  .keyopen-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    padding: 20px;
    background-color: #f9fbfc;
    margin-bottom: 40px !important;
    box-shadow: 0px -20px 64px -32px rgb(15 15 15 / 12%);
  }

  .big-width {
    width: 100%;
  }
}
