body,
html {
  height: 100%;
  margin: 0;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  line-height: 1.8em;
}
[class^="pimg"] {
  position: relative;
  opacity: 1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /*
      fixed = parallax
      scroll = normal
    */
  background-attachment: fixed;
}

h1{
  font-size: 1em;
}

.pimg1 {
  background-image: url("../assets/img/header.jpg")!important;
  min-height: 90vh;
}

.ptext {
  position: absolute;
  bottom: 50px;
  left: 50px;
}

.ptext img {
  width: 350px;
}

@media (max-width: 568px) {
  .pimg1,
  .pimg2,
  .pimg3 {
    background-attachment: scroll;
  }
}

@media (max-width: 420px) {
  .ptext img {
    max-width: 90%;
  }
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.container {
  width: 90%;
}

nav {
  width: 100%;
  display: grid;
  grid-template-columns: 80% 20%;
  padding: 10px 0;
  border-bottom: 2px solid #0000000e;
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--light);
}

nav ul {
  width: 100%;
  display: flex;
  gap: 25px;
}

nav ul li {
  list-style: none;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark);
  cursor: pointer;
  font-weight: bold;
  font-size: 1em;
}
nav button {
  display: none;
}
.down {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
}

.down i {
  font-size: 40px;
  font-weight: 100;
  cursor: pointer;
}

.down a{
    color: var(--dark);
}

.section {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 0;
  border-bottom: 2px solid #0000000e;
}

.follow h2 {
  font-size: 1em;
}

.title{
  font-size: 1.3em;
}

form{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.grupo-input{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.inputs{
  width: 100%;
  display: flex;
  gap: 25px;
}



.grupo-input label{
  font-weight: bold;
  font-size: 1.1emº;
}
.input label{
  font-weight: 400;
}
.input{
  display: flex;
  flex-direction: column;
}
.grupo-input span{
  color: red;
}

.grupo-input input, textarea, select{
  width: 70%;
  height: 40px;
  border-radius: 5px;
  border: 1px solid lightgray;
  outline: none;
  padding-left: 10px;
}

.grupo-input select{
  max-width: 80px;
}

.grupo-input .select{
  max-width: 100%;
  margin-bottom: 20px;
}

.grupo-input textarea{
  height: 100px;
  resize: none;
}

.grupo-input a{
  text-decoration: none;
  color: var(--dark)
}

.btn-input input{
  font-weight: bold;
  cursor: pointer;
  padding: 15px 20px;
  background: royalblue;
  border-radius: 5px;
  color: var(--light);
  border: none;
}

p{
  font-size: 1.1em;
}

@media (max-width: 900px) {
  nav {
    grid-template-columns: 1fr;
  }

  nav button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: bold;
    display: block;
    padding: 10px 0;
  }

  ul {
    padding: 0;
    position: absolute;
    margin-top: 60px;
    flex-direction: column;
    background: var(--light);
    gap: 15px!important;
    display: none!important;
  }

  ul li {
    margin: 0;
    padding: 8px 0;
    border-bottom: 2px solid #0000000e;
  }

  ul li a {
    font-weight: bold;
  }

  .down {
    display: none;
  }

  body.menuActive ul{ 
    display: block!important;
  }

  body.menuActive .section{
    margin-top: 200px;
  }
}

@media (max-width: 620px){
  .section{
    grid-template-columns: 1fr;
  }

  .grupo-input input, textarea{
    width: 100%;
}
}



.dni,
.check{
  border: 1px solid #dedede;
  padding: 15px 10px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dni .span,
.check .span{
  position: absolute;
  top: -15px;
  padding: 5px 10px;
  background: var(--light);
}



.dni .grupo-input,
.check .grupo-input{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dni .grupo-input input[type="file"],
.check .grupo-input input[type="file"]{
  display: none;
  opacity: 0;
  visibility: hidden;
}

.dni .grupo-input .btn-file,
.check .grupo-input .btn-file{
  max-width: 200px;
  background: var(--blue);
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  border-radius: 10px;
  cursor: pointer;
  color: var(--light);
}

.preview {
  max-width: 70%;
  height: auto;
  max-height: 300px;
}

.follow i{
  color: var(--dark);
  font-size: 22px;
}