body {
  overflow-x: hidden;
  background-color: #022201;
  background-attachment: fixed;
  background-blend-mode: multiply;
}
a {
  color: #049144;
}

b {
  color: #049144;
}

header {
  margin: auto;
  background-color: #dfece6;
  box-shadow: 0px 0px 60px black;
}

nav {
  max-width: 1500px;
  margin: auto;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li a {
  text-decoration: none;
  font-family: "Cairo";
  font-weight: 400;
  color: black;
  transition: all 0.4s ease 0s;
}
nav ul li a:hover {
  color: #049144;
}

.nav__ul {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  margin-right: 40px;
}

.nav__li {
  font-size: 20px;
  margin: 0 100px 0 0px;
  text-align: center;
}
.nav__li:first-child {
  margin-right: auto;
}
.nav__li:first-child > h1 {
  margin: 15px 0;
  font-size: 50px;
}

.nav__li:first-child > h1 > a {
  color: black;
  font-weight: 600;
}

.main_page {
  max-width: 1500px;
  margin: auto;
  margin-top: 70px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 1);
  background-color: #dfece6;
  display: flex;
  justify-content: center;
  padding: 30px 0 30px 0;
}

.card {
  display: flex;
  flex-direction: column;
  background-color: #4c966f8e;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  margin: 0 30px;
  padding: 30px;
  text-align: center;
}
.foto-perfil {
  max-height: 270px;
  border-radius: 100%;
  padding: 30px;
  align-self: center;
}
.card-data {
  font-family: Cairo;
}

.nombre {
  margin: 0;
  font-size: 2.5rem;
}
.rol {
  font-size: 1.5em;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background-color: goldenrod;
}
#rol-medico {
  background-color: aqua;
}

.mail {
  font-size: 1.2em;
}
.text {
  font-size: 1.8em;
  padding: 0 20px;
  margin: 0;
}

footer {
  background-color: #0491443d;
  margin-top: 20px;
  padding-top: 15px;
  padding-bottom: 15px;
}
footer > p {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: "Cairo";
  font-size: 1.2rem;
  color: #c9c9c9;
}
footer > p > a {
  color: #4c966f;
  text-decoration: none;
}
footer > p > a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  body {
    background-attachment: fixed;
  }

  header {
    border-radius: 0;
  }
  nav {
    margin: 0;
  }

  .nav__ul {
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
  }
  .nav__li {
    margin: 5px;
    padding: 5px;
    font-size: 5vw;
    margin-right: 0;
    width: 30vw;
  }
  .nav__li:first-child {
    width: 100%;
    text-align: center;
  }

  .nav__li:first-child > h1 {
    font-size: 10vw;
    margin-bottom: 0px;
  }

  .main_page {
    border-radius: 0;
    padding: 20px 0 20px 0;
    margin: 40px 0 40px 0;
    box-shadow: 0 0 5px #ffffff;
  }
}

@media (max-width: 750px) {
  .main_page {
    flex-direction: column;
  }
  .card {
    margin-top: 30px;
    padding: 0;
  }
  .nombre {
    font-size: 10vw;
  }
  .rol {
    font-size: 5vw;
  }
  .text {
    font-size: 5vw;
  }
}
