@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --font-family: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family);
}

header {
  width: 100%;
  height: 8.125rem;
  padding: 0.625rem 3.125rem;
  background: #003d7c;
  background: linear-gradient(180deg, #003d7c 6%, rgb(47, 91, 211) 81%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header .logo {
  width: 18.75rem;
  display: flex;
  justify-content: center;
  align-items: self-start;
  flex-direction: column;
}

header .logo img {
  width: 100%;
  margin-bottom: 10px;
}

header .header_descript {
  text-align: right;
  font-family: var(--font-family);
  color: #fff;
}

header .header_descript p {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 15px;
}

header .logo a {
  text-align: center;
  width: 10.9375rem;
  padding: 8px;
  text-decoration: none;
  border: none;
  border-radius: 0.3125rem;
  background-color: #48b4eb;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  transition: all .3s;
}

header .header_descript a:hover {
  color: #19a1e6;
  background-color: #fff;
}

/* -------------------------------------------------------- */

main {
  width: 100%;
  min-height: calc(100vh - 130px - 40px);
  padding: 2.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("https://sfo3.digitaloceanspaces.com/e-fuente/e-fuentedevida.net/inventario2_0/img/bg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

main form {
  position: relative;
  padding: 2.5rem 5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.625rem;
  flex-direction: column;
  /* From https://css.glass */
/* From https://css.glass */
background: rgba(255, 255, 255, 0.26);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(9.8px);
-webkit-backdrop-filter: blur(9.8px);
border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(10, 12, 36, 0.562);
}

main .inputfile {
  background-color: #fff;
}

main form .inputBox {
  display: flex;
  flex-direction: column;
  margin: 0.9375rem 0;
}

main form .inputBox .label {
  margin-bottom: 0.625rem;
  font-family: var(--font-family);
  color: #003d7c;
  font-weight: bolder;
}

main form .inputBox input {
  padding: 0.625rem 0.9375rem;
  border-radius: 0.625rem;
  border: none;
  transition: 0.3s;
  font-family: var(--font-family);
  width: 23.125rem;
  outline: none;
  border-color: rgba(16, 37, 230);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(0, 26, 255, 0.300);
}

main form .inputBox .input:focus,
input:hover {
  outline: none;
  border-color: rgba(16, 37, 230);
  background-color: #fff;
  box-shadow: 0 0 0 6px rgb(129 140 248 / 30%);
}

main form .inputBox a {
  padding: 0.625rem 0.9375rem;
  border-radius: 0.625rem;
  border: none;
  transition: 0.3s;
  font-family: var(--font-family);
  cursor: pointer;
}

main form .inputBox a:hover {
  transform: scale(1.1);
  box-shadow: 1px 1px 7px #fff;
}

main form .btn_contents {
  margin-top: 1.25rem;
}

main form .btn_contents .mostrarInput {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 30px;
}

.mostrarInput span {
  width: 200px;
  margin-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mostrarInput #labelmostrar {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(74,  117,  231);
  width: 110px;
  padding: 5px;
  color: #fff;
  border: none;
  border-radius: 5px;
}

.mostrarInput #labelmostrar:hover {
    background-color: rgb(48,   97,   231);
}

.mostrarInput #img {
  display: none;
}

main form .btn_uno {
  width: 22.8125rem;
  margin: 0.625rem 0;
}

main form .btn_uno {
  display: flex;
  justify-content: center;
}

main form .btn_uno button {
  width: 10.625rem;
  font-size: 18px;
  padding: 10px 3px;
  border-radius: 0.3125rem;
  border: none;
  background-color: rgba(46, 90, 235, 0.712);
  color: #fff;
  cursor: pointer;
  font-family: var(--font-family);
  transition: all .3s;
}

main form .btn_uno button:hover {
 /* transform: scale(50);*/
  background-color: rgb(46, 90, 235);
}


/* -------------------------------------------------------- */

footer {
  width: 100%;
  height: 2.5rem;
  background: rgb(74, 117, 231);
  background: linear-gradient(180deg, rgb(47, 91, 211) 6%, #004385 81%);
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .footer_contents {
  color: #fff;
  font-family: var(--font-family);
  text-align: center;
}

footer .footer_contents p span {
  color: rgb(122, 206, 255);
}

/* -------------------Medias-------------------- */

@media screen and (max-width: 800px) {
  header {
    padding: 1.5625rem;
  }

  header .logo {
    width: 14.375rem;
  }

  header .header_descript p {
    font-size: 1.375rem;
  }

  header .header_descript span {
    font-size: 0.9375rem;
  }

  footer .footer_contents p {
    font-size: 0.75rem;
  }
}

@media screen and (max-width: 590px) {
  header {
    padding: 1.25rem;
  }

  header .logo {
    width: 13.75rem;
  }

  header .header_descript p {
    font-size: 1.25rem;
  }

  header .header_descript span {
    font-size: 0.8125rem;
  }

  footer .footer_contents p {
    font-size: 0.625rem;
  }
}

@media screen and (max-width: 500px) {
  header {
    padding: 1.125rem;
  }

  header .logo {
    width: 12.5rem;
  }

  header .header_descript p {
    font-size: 1.125rem;
  }

  header .header_descript span {
    font-size: 0.625rem;
  }

  main form {
    padding: 2.5rem 1.25rem;
  }
}

@media screen and (max-width: 540px) {
  main form .inputBox input {
    width: 18.75rem;
  }
}

@media screen and (max-width: 450px) {
    main form {
        padding: 2.5rem 0;
    }
    
    main form .inputBox input {
        width: 17.5rem;
    }
    
    main form .inputBox .label {
        font-size: .8125rem;
    }
    
    main form .btn_uno {
        align-items: center;
        flex-direction: column;
    }
    
    main form .btn_dos {
        width: 18.75rem;
        margin: 0 auto;
    }
}


@media screen and (max-width: 380px) {
    main form {
        width: 20rem;
    }

    main form .inputBox input {
        width: 15.625rem;
    }
    
    main form .btn_dos {
        width: 16.875rem;
        margin: 0 auto;
    }

    main form .btn_contents .btn_uno button, .btn_dos button {
        font-size: .75rem;
    }
}

@media screen and (max-width: 370px) {
    main form {
        width: 18.75rem;
    }

    main form .btn_contents .btn_dos {
        flex-direction: column;
        gap: 1.25rem;
    }
}

@media screen and (max-width: 280px) {
    main form {
        width: 15rem;
    }

    main form .inputBox input {
        width: 13.75rem;
    }
}