* { /* Universal Style */
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

body {
  background-color: #fff;
  font-weight: bold;
 font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Styles for the HEADER */

header nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 98vw; /* Medida mínima de ancho */
  height: 80px;
  font-size: 16px;
  padding: 0px 16px;
  position: fixed; /* Se va a quedar fija la barra */
  z-index: 1; /* No se van a apilar un elemento con otro */
  background-color: #fff;
  box-shadow: 0px 0px 1px #d9d9d9;  /* Checar */
}

header nav img#pinterest-icon { /* Added style to the icon */
  width: 35px;
  height: 35px;
  padding: 4px;
}

header nav img#pinterest-icon:hover {
  background-color: #e9e9e9;
  border-radius: 150%;
}

.first {
  display: flex;
}

.first a {
  text-decoration: none;
  color: black;
}

.first li {
  list-style: none;
  padding: 0px 12px;
}

.first li #home {
  background-color: black;
  color: white;
  border-radius: 25px;
  padding: 14px 14px;
}

.first li #create {
  display: flex;
}

.search {
  flex-grow: 1;
  height: 48px;
  background-color: #e9e9e9;
  border-radius: 30px;
}

.search:hover {
  background-color: #e1e1e1;
}

.search:focus-within {
  border: 4px solid #7fc1ff;
}

.bar {
  display: flex;
  align-items: center;
  height: 48px; 
}

#lupa {
  padding: 10px; 
  color: #767676; 
  font-size: 20px;
  font-weight: bolder;
}

.bar input {
  border: none;
  outline: none;
  background-color: inherit; /* Hereda el color que esta antes que ella */
  padding: 0px 8px 0px 0px;
  font-size: 16px;
  flex-grow: 1;
}

.right-items span {
  padding: 8px;
  color:#767676;
  font-size: 28px;
  margin: 1px;
}

.right-items span:hover {
  background-color: #e9e9e9;
  border-radius: 150px;
  margin: 1px;
}

/* Styles Cards  */

.container {
  position: absolute; 
  margin-top: 80px;
  padding-right: 5px;
}

.imagenes {
  columns: 7 240px;
  margin: auto; 
  align-content: center;
}

.imagenes .card-image {
  position:relative;
  padding: 1rem;
}

.imagenes .card-image img {
  border-radius: 10px;
  max-width: 240px;
  min-height: auto;
}

.card-image:hover > :first-child {
  filter: brightness(60%);
}

.card-image:hover > * {
  visibility: visible;
  display: inline;
}

.button {
  position:absolute;
  left: 70%;
  top: 6%;
  padding: 13px 15px;
  background-color: #e60023; 
  border-radius: 30px;
  border: none; 
  visibility: hidden; /* Lo oculta, hasta que el cursos aparece */
  display: none;
}

.imagenes .card-image button a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.oculto-1 {
  position: absolute;
  left: 60%;
  bottom: 8%;
  background-color: white;
  font-size: 30px;
  border-radius: 50px;
  color: black; 
  font-weight: bold;
  padding: 4px;
  visibility: hidden;
  display: none; /* Apacere cuando el cursor está encima */
}

.oculto-2 {
  position: absolute;
  left: 78%;
  bottom: 8%;
  background-color: white;
  font-size: 30px;
  border-radius: 50px;
  color: black;
  font-weight: bold;
  padding: 4px;
  visibility: hidden;
  display: none;
  /* Apacere cuando el cursor está encima */
}