*,
::before,
::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff6928;
  --secondary: #384980;
  --a: #ff384980;
  --a: #ff6928;
  --a: #e97923;
  --a: #384980;
  --a: #ffffff;
  /* 
Paleta de colores
#ff384980
#FF6928
#e97923
#384980
#ffffff

Tipografía 
- Poppins
- Metropolis
- LEMON MILK 
*/
}

html {
  font-size: 62.5%;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;

  height: 100vh;
  background-color: var(--primary);
  font-size: 1.6rem;
  position: relative;
}

button,
a {
  all: unset;
  text-align: center;
  cursor: pointer;
}

/** UTILITIES **/

.container {
  max-width: 120rem;
  margin: 0 auto;
  width: 90%;
}

.btn {
  padding: 1rem 3rem;
  border: none;
  border-radius: 4rem;
  cursor: pointer;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  /* transform: scale(1.05); */
  box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: scale(0.95);
  box-shadow: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.text-center {
  text-align: center;
}

.alert {
  padding: 1rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  text-align: center;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.hidden {
  display: none;
}

.relative {
  position: relative;
}

/** HEADER **/

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/** MAIN **/

.main {
  height: 100%;
}

.background-image {
  position: relative;
  background-image: url(/assets/img/family.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.background-image-waves {
  position: absolute;
  background-image: url(/assets/img/ondas-patron-min.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  bottom: 0;
  z-index: 10;
  opacity: 0.4;
  width: 100%;
  height: 100%;
}

.background-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000003b;
}

.main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@media screen and (min-width: 768px) {
  .main-content {
    align-items: end;
  }
}

.card {
  background-color: #ffffff;
  box-shadow: 1px 2px 4px 0px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 100%;
  position: relative;
  z-index: 100;
}

@media screen and (min-width: 768px) {
  .card {
    max-width: 400px;
  }
}

.card__heading {
  color: var(--secondary);
  font-size: 3rem;
  font-weight: 300;
  text-wrap: balance;
  text-align: center;
}

.card__description {
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 1.6rem;
}

.login__form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.login__form-div {
  position: relative;
  width: 100%;
}

.login__input {
  border: 1px solid #a5bfdb;
  background-color: #efefef;
  padding: 1rem;
  outline: none;
  border-radius: 1rem;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  width: 100%;
  color: var(--secondary);
}

.login__input:focus {
  border: 1px solid var(--secondary);
}

.login__input::placeholder {
  color: #a5bfdb;
}

.pass-view {
  width: 24px;
  height: 24px;
  position: absolute;
  right: 1rem;
  top: 0;
  bottom: 0;
  margin: auto;
  cursor: pointer;
  color: var(--secondary);
}

.login__checkbox {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  gap: 1rem;
  color: var(--secondary);
}

.login__checkbox input:checked {
  background-color: var(--secondary);
}

.login__link {
  color: var(--secondary);
  text-decoration: none;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
}

.forgot-pass-link {
  margin: auto;
  margin-right: 0;
}

/** FOOTER **/

.footer {
  position: absolute;
  bottom: 0;
  text-align: center;
  width: 100%;
  color: #fff;
  font-size: 1.6rem;
  padding: 1rem;
}

/** RECOVER **/

.recover-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/*** DASHBOARD ***/

.dashboard {
  display: flex;
}

.sidebar {
  background-color: #39484f;
  color: #fff;
  height: 100vh;
  width: 28rem;
  display: none;
}


.menu__wrapper {
  text-align: end;
}


@media screen and (min-width: 768px) {
  .menu__wrapper {
    display: none;
  }
}

.menu__btn {
  margin-bottom: 1rem;
  padding: 1rem 1.8rem;
}

.menu__items {
  position: absolute;
  z-index: 2000;
  background-color: #39484f;
  color: #fff;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .sidebar {
    display: block;
  }
}

.btn-menu {
  margin-bottom: 1rem;
  display: block;
}

@media screen and (min-width: 768px) {
  .btn-menu {
    display: hidden;
  }
}

.responsive-menu {
  position: absolute;
  top: 100%;
  z-index: 1000;
  background-color: #39484f;
  color: #fff;
}

@media screen and (min-width: 768px) {
  .responsive-menu {
    display: none;
  }
}

.sidebar__header {
  padding: 2rem;
  background-color: #2e373e;
  margin-bottom: 2rem;
}

.sidebar__logo {
  width: 160px;
  margin: auto;
  display: block;
  height: 80px;
  object-fit: cover;
}

.sidebar__items {
  list-style: none;
  padding: 0;
}

.sidebar__items a {
  display: flex;
  gap: 1rem;
  padding: 1.6rem;
  text-align: left;
  opacity: 0.5;
}

.sidebar__items a.active {
  background-color: var(--primary);
  opacity: 1;
}

.sidebar__label {
  opacity: 0.5;
  margin-left: 1.6rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.dashboard__content {
  flex: 1;
  background-color: #efeeea;
  padding: 2rem;
  height: 100vh;
  overflow-y: auto;
}

/*** INICIO ***/

.cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* .card-greeting{} */

.cards .card {
  flex: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 100%;
  max-width: 100%;
  margin-top: 2rem;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
