@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,700;1,600&family=Roboto:wght@300;400;700;900&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* font-family: "Roboto", sans-serif; */
  box-sizing: border-box;
  line-height: 1.5;
  letter-spacing: 1.5px;
  scroll-behavior: smooth;
}
nav {
  display: flex;
  padding: 2em;
  justify-content: space-between;
  align-items: center;
}
.form-control {
  box-shadow: 0 0 6px;
  padding: 1rem;
  border-radius: 6px;
}
nav input {
  border: none;
  padding: 10px;
}
input:focus {
  outline: none;
}
input::placeholder {
  font-size: 0.9rem;
}
.logo span i {
  font-size: 2rem;
  color: #eb5757;
  margin-left: 10px;
}
.logo {
  color: #eb5757;
  font-size: 2rem;
}
header {
  display: flex;
  padding: 1em;
  align-items: center;
  justify-content: space-between;
}
header h1 {
  font-size: 1.7rem;
  font-weight: 500;
}
img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 0.5rem;
  aspect-ratio: 1/1;
}
main {
  margin: 0 auto;
  padding: 2em;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin: 0 auto;
  padding: 1em;
  overflow: hidden;
}
.gallery-item {
  box-shadow: 0 0 6px;
  padding: 0.8rem;
  border-radius: 6px;
}
.muted-text {
  font-weight: 300;
  margin-top: 10px;
}
.sub-title {
  margin-top: 0.5rem;
  font-size: 1rem;
  font-weight: 400;
}
.flex-item {
  display: flex;
  justify-content: space-between;
}
img:hover {
  transform: scale(1.034);
  transition: 0.5s;
}
