* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  line-height: 1;
}

html,
body {
  height: 100%;
}

p,
li {
  margin-bottom: 15px;
  line-height: 1.2;
}

main {
  max-width: 750px;
  margin: 0 auto;
  padding: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, 150px);
  grid-auto-rows: auto;
  justify-content: center;
  gap: 15px;
  padding: 15px;
}

.grid.fotos {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-template-rows: auto;
  gap: 5px;
  padding: 0;
}

.item.fotos {
  display: inline-block;
  border: 3px solid black;
  border-radius: 6.5px;
  box-sizing: content-box;
  background: white;
  max-width: 325px;
}

.item.fotos img {
  width: 100%;
  height: 175px;
  background: linear-gradient(45deg, lightgray, transparent, lightgray);
  object-fit: contain;
}

.item.fotos .info {
  padding: 5px;
  text-align: center;
}

.item.fotos .info a {
  display: inline-block;
  margin: 2px;
  padding: 5px;
  background: blue;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  vertical-align: middle;
}
.item.fotos .info a svg {
  vertical-align: middle;
  fill: white;
}

h1 {
  padding: 10px 5px;
  background: black;
  color: white;
  display: block;
  text-align: center;
  align-content: center;
  padding-top: 2.5px;
}

h2 {
  text-align: center;
  display: block;
  margin-top: 10px;
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 15px;
}

input[type="text"],
input[type="date"],
input[type="file"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px;
  margin-top: 2.5px;
  border: 1px solid #000;
  border-radius: 4px;
}

input[type="text"]::placeholder,
input[type="date"]::placeholder,
input[type="file"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
  color: #a0a;
}

fieldset {
  border: 1px solid #000;
  padding: 15px;
  border-radius: 4px;
}

.btn {
  display: inline-block;
  background: blue;
  color: white;
  text-decoration: none;
  padding: 5px;
  border: 2.5px ridge #00000055;
  transition: 0.2s;
  text-align: center;
  font-size: 28px;
  line-height: 1;
  /* height: 150px; */
  width: 150px;
}

.btn svg {
  display: block;
  /* width: 100%; */
  height: 70px;
  margin-bottom: 5px;
  margin-left: auto;
  margin-right: auto;
  fill: white;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 8px 8px;
}

button,
.button {
  background: blue;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}
.button svg {
  vertical-align: middle;
  fill: white;
}

tr:nth-child(even) {
  background: #f4f4f4;
}

th,
td {
  padding: 0.25em 0.5em;
}

th {
  text-align: left;
  font-weight: bold;
  background: #eee;
  border-bottom: 1px solid #aaa;
}

table {
  border: 1px solid #aaa;
  width: 100%;
  margin-bottom: 30px;
}

.btn:hover {
  filter: brightness(75%);
}

.auth {
  display: inline-block;
  color: lightblue;
}

.loading-spinner {
  animation: spin 1s linear infinite;
  object-view-box: -2 0 26 24;
  border-radius: 100% !important;
  width: 70px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}