@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

:root {
  --blue: #249ed9;
  --red: #ed2939;
  --gray: #eaeaea;
  --bground: #f4f4f4;
  --borde: #d7d7d7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bground);
  font-size: 1.2rem;
}

footer {
  border: 1px solid var(--blue);
}

main {
  background-image: url('fondo-totem.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  margin-top: 75px;
}

.container {
  min-height: 80vh;
}

.width-container {
/*   width: 90%;
 max-width: 62rem;*/
  margin: 0 auto;
}

.width-container-big {
  width: 100%;
  max-width: 112rem;
  margin: 0 auto;
}

.full-container {
  width: 100%;
}

.blue-btn {
  background-color: var(--blue);
  padding: 1rem 3rem;
  color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 1.75rem;
}

.blue-btn-sml {
  background-color: var(--blue);
  padding: .95rem;
  color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  display: block;
  text-align: center;
}

.red-btn {
  background-color: var(--red);
  padding: 1rem 3rem;
  color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  display: block;
  text-align: center;
  font-size: 1.5rem;
}

.red-btn-big {
  background-color: var(--red);
  padding: 4rem 15rem;
  color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  display: block;
  text-align: center;
  font-size: 3.5rem;
}

.gray-btn {
  background-color: var(--gray);
  padding: 1rem 3rem;
  color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  display: block;
  text-align: center;
  font-size: 1.5rem;
}

button {
  border: none;
}

input, select {
  border: 1px solid var(--borde);
  padding: .5rem;
  border-radius: .5rem;
}

/* HEADER */

header {
  border-bottom: 1rem solid var(--blue);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bground);
}

header > div {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

header img {
  width: 15rem;
  aspect-ratio: auto;
}

a {
  text-decoration: none;
}

/* HOME */

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*.menu > div {
  border: 1px solid var(--borde);
  background-color: white;
  padding: 5rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
}*/

.menu a {
  margin-bottom: 3rem;
}

.menu h2 {
  color: var(--blue);
  margin-bottom: 3rem;
  text-align: center;
  font-size: 3rem;
}

.id-search h2, .address-search h2 {
  color: var(--blue);
  text-align: center;
  font-size: 3rem;
}

.menu p {
  color: var(--red);
  font-size: 1rem;
  text-align: center;
}

/* SEARCH */

.id-search {
  /*border: 1px solid var(--borde);
  background-color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;*/
  padding: 2rem 5rem;
  text-align: center;
  width: 90%;
  margin: 0 auto;
}

.address-search {
  /*border: 1px solid var(--borde);
  background-color: white;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;*/
  padding: 2rem 1rem;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.id-search input,
.id-search button, 
.address-search input,
.address-search button {
  display: block;
  margin-top: .5rem;
}

.address-search form input,
.address-search form button {
  display: block;
  margin-top: .5rem;
  width: 20rem;
  height: 10rem;
  font-size: 4rem;
  text-align: center;
}

.id-search form input,
.id-search form button {
  display: block;
  margin-top: 1.5rem;
  width: 45rem;
  height: 10rem;
  font-size: 5rem;
}

.address-search form select,
#street {
  display: block;
  margin-top: .5rem;
  width: 30rem;
  height: 10rem;
  font-size: 5rem;
}

.id-search form {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.address-search form {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 1rem 2rem;
}

.id-search p, .address-search p {
  color: var(--red);
  font-size: 1.75rem;
}

.address-list-search {
  border: 1px solid var(--borde);
  background-color: white;
  padding: 2rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  font-size: 3rem;
}

.address-list-search table {
  border: none;
  width: 100%;
}

.address-list-search th {
  background-color: var(--gray);
  font-weight: bold;
  width: auto;
}

.address-list-search tr:nth-child(odd) {
  background-color: var(--bground);
}

.address-list-search button {
  margin: .5rem 1rem;
  font-size: 2.5rem;
}

.address-list-search h2 {
  color: var(--blue);
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

.billing {
  border: 1px solid var(--borde);
  background-color: white;
  padding: 1.5rem 5rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  width: 90%;
  margin: 0 auto;
}

.box-wrapper {
  padding: 1.5rem 0;
}

.billing h2 {
  margin: .5rem 1.5rem;
}

.billing table {
  width: 100%;
}

.billing table td:first-child {
  width: 60%;
}

.billing button {
  margin: 2rem auto;
  font-size: 3rem;
  padding: 3rem 6rem;
}

.billing img {
  width: 100%;
  height: 3rem;
}

.billing p {
  text-align: center;
}

.billing > div {
  display: flex;
  flex-direction: column;
  margin: 1rem 0;
  text-align: center;
}

.billing div {
  font-size: 2rem;
}

.hdn {
  color: white;
}

.total1 {
  font-size: 2.8rem;
  margin-top: 1rem;
}

.total2 {
  font-size: 3.2rem;
}

.id-keyboard {
  border: 1px solid var(--borde);
  background-color: white;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  width: 100%;
  margin: 3rem auto;
}

.id-keyboard .id-key {
  display: inline;
  background-color: var(--blue);
  color: white;
  padding: 1.25rem 7rem;
  font-size: 3rem;
  border: none;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
}

.id-keyboard .id-key2 {
  display: inline;
  background-color: var(--blue);
  color: white;
  padding: 1.25rem 2rem;
  font-size: 3rem;
  border: none;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
}

.id-alpha-keyboard,
.id-alpha-keyboard2 {
  border: 1px solid var(--borde);
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  background-color: white;
  padding: 1rem;
  margin: 1.5rem auto;
}

.id-alpha-keyboard .id-alpha-key,
.id-alpha-keyboard2 .id-alpha-key2 {
  display: inline;
  background-color: var(--blue);
  color: white;
  padding: 1rem 4.25rem;
  font-size: 2rem;
  border: none;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  font-weight: bold;
}

.login {
  border: 1px solid var(--borde);
  background-color: white;
  padding: 3rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  width: 25%;
  margin: 12rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login div {
  margin-top: 1.5rem;
}

.consultas {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  align-items: center;
  width: 90%;
  max-width: 102rem;
}

.consultas form {
  display: flex;
  align-items: center;
}

.consultas p {
  padding-right: 2rem;
}

.consultas-title {
  width: 90%;
  max-width: 102rem;
  padding-top: 2.5rem;
}

.tabla-consultas {
  font-size: 1rem;
  border: none;
  width: 90%;
  max-width: 102rem;
  border: 1px solid var(--borde);
  background-color: white;
  padding: 1rem;
  border-radius: .5rem;
  box-shadow: 5px 5px 5px lightgray;
  margin-bottom: 7rem;
}

.tabla-consultas th {
  padding-right: 1.5rem;
  text-align: center;
}

.tabla-consultas td {
  padding-right: 1.5rem;
  text-align: left;
}
