body::-webkit-scrollbar {
  width: 0.25rem;
}
body::-webkit-scrollbar-track {
  background-color: #1e1e24;
}
body::-webkit-scrollbar-thumb {
  background-color: #ffffff;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
main {
  margin-top: 5rem;
  padding: 1rem;
}
.nav {
  font-size: 1.25rem;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #1b1c1f;
  width: 100vw;
  height: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
.nav_container_img {
  height: 3rem;
  width: 3rem;
}
.nav_imagen {
  display: flex;
  align-items: center;
}
.nav_imagen_logo {
  display: block;
  max-width: 100%;
  border-radius: 100%;
}
.nav_logo-name {
  font-size: 2rem;
}
.nav_link {
  text-decoration: none;
  color: unset;
}
.nav_link:visited {
  text-decoration: none;
  color: white;
}
.links {
  text-decoration: none;
  color: white;
}
.links:visited {
  text-decoration: none;
  color: white;
}
.nav_list_ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 320px;
}
.nav_list_li {
  margin-left: 1rem;
}

.nav_list_container {
  padding: 0.5rem;
  background-color: #36a07b;
  border-radius: 25px;
}
.nav_list_ul li {
  transition-property: all;
  transition-duration: 0.5s;
  transition-timing-function: ease;
}
.nav_list_ul li:hover {
  font-size: 1.1em;
  color: #4bd6a5;
}
.nav_list_ul li:nth-child(5) {
  color: #eee;
}
.nav_list_container:hover {
  color: #eee;
  background-color: #105f44;
}

.main_flexbox-container {
  display: flex;
  justify-content: center;
  justify-items: center;
  flex-direction: column;
}
.second-flexbox-container{
  display:grid;
}
.main__logo-img {
  max-width: 15%;
  margin-left: auto;
  margin-right: auto;
}

.main_title {
  margin-left: auto;
  margin-right: auto;
  font-size: 2.5em;
}
.form {
  width: 40%;
  height: 400px;
  border: 5px solid white;
  border-radius: 20px;
  margin-left: auto;
  margin-right: auto;
}
.form-container {
  width: 100%;
  height: 380px;
  padding-left: 40px;
  padding-top: 30px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main-user {
  font-size: 1.5em;
  margin-bottom: 15px;
}
.main-pass {
  font-size: 1.5em;
}
.pass-container-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 100%;
}
.main_link-pass {
  margin-left: auto;
  margin-bottom: 30px;
  color: white;
}
.main_link-pass:visited {
  text-decoration: none;
  color: white;
}
.input-user {
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  color: inherit;
}
.input-user:focus {
  outline: none;
}
.input-contraseña {
  background: none;
  border: none;
  border-bottom: 1px solid #eee;
  color: inherit;
}
.input-contraseña:focus {
  outline: none;
}
.submit-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.input-submit {
  padding: 10px 25%;
  background-color: rgb(76, 173, 76);
  border-radius: 10px;
  font-size: 1.25em;
  color: white;
}

.link-last-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
}
.link-last {
  font-size: 1.5em;
  color: white;
}
@media only screen and (max-width: 760px) {
  main {
    margin-top: 6rem;
  }
  .nav {
    height: 6.25rem;
    font-size: 1em;
  }
  .nav_list_li {
    margin-left: 0.5rem;
  }
  .form {
    width: 60%;
  }

  .second-flexbox-container{
    display: grid;
    grid-template-rows: 200px;
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .main__logo-img {
    max-width: 50%;
    margin-right: 0;
    margin-left: auto;
  }
  .main_title{
    margin-left: 20px;
    margin-right: auto;
  }
}
@media only screen and (max-width: 440px) {
  .nav {
    height: 6.25rem;
    font-size: 0.75em;
  }
  .nav_list_li {
    margin-left: 0.5rem;
  }

  .form {
    width: 80%;
  }
  .link-last {
    font-size: 1em;
    color: white;
  }
}
@media only screen and (max-width: 360px) {
  .form-container {
    padding-left: 30px;
  }
}
