body{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
    font-style: oblique;
    background-color: rgb(219, 187, 1);
}

.welcome {
    text-align: center;
    color: rgb(215, 226, 226);
}

.search {
    text-align: center;
    margin-top: 30px;
}

.search input {
    width: 300px;
    height: 30px;
    border-radius: 5px;
    border: 1px solid yellow;
    padding: 5px;
}

footer {
  background: transparent;
  color: #141414;
  text-align: center;
  padding: 1.5em ;
  bottom: -100;
  margin-top: 39em;
  font-size: 1em;
}

.btn {
    height: 40px;
    width: 60px;
    border: 1px solid yellow;
    background-color: skyblue;
    border-radius: 5px;
    color: black;
    margin-left: -30px;
    margin-bottom: 20px;
}

.grid-parent {
    width: 100%;
    height: 1400px;
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 50px;
    grid-template-rows: repeat(3, 450px);
    justify-content: center;
    align-items: center;
    color: black;
}

.grid-child {
    border: 1px solid grey;
    border-radius: 15px;
    box-shadow: 2px 2px 2px 2px lightgray;
}

.grid-child img {
    width: 300px;
    height: 300px;
    border-radius: 15px;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}

h1, p {
  animation: fadeIn 1s ease-in;
}

h1 {
  color: #333;
  font-size: 2.5em;
  margin-bottom: 0.5em;
}

p {
  color: #666;
  font-size: 1.2em;
  margin-bottom: 1em;
}

html {
  scroll-behavior: smooth;
}
.container {
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .grid-parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    height: auto;
    gap: 30px;
  }
  .grid-child img {
    width: 100%;
    height: 250px;
  }
  body{
    padding: 20px;
    background-color: antiquewhite;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
    text-align: center;
  }
  p {
    font-size: 1em;
    text-align: center;
  }
  body {
    padding: 10px;
    background-color: royalblue;
  }
  .container {
    max-width: 100%;
    padding: 0 10px;
  }
  .search {
    margin-top: 20px;
  }
  .search input {
    width: 90%;
    margin: 0 auto 20px auto;
    display: block;
    height: 30px;
  }
  .btn {
    width: 40%;
    margin-left: 0;
    margin-top: 10px;
    height: 45px;
  }
  .welcome {
    font-size: 1.2em;
    margin-top: 20px;
  }
  .grid-parent {
    grid-template-columns: 1fr;
    gap: 30px;
    height: auto;
  }
  .grid-child {
    width: 100%;
  }
  .grid-child img {
    width: 100%;
    height: 200px;
  }
  footer {
    font-size: 0.8em;
    padding: 100em;
    margin-top: 2em;
  }
}
@media (max-width: 400px) {
  .search input {
    width: 100%;
  }
  body{
    padding: 5px;
    background-color: rgb(128, 20, 104);
  }
  .btn {
    width: 30%;
    height: 50px;
  }
  footer {
    font-size: 0.7em;
    padding: 102em;
    margin-top: 1em;
  }
}
@media (max-width: 300px) {
  h1 {
    font-size: 1.2em;
  }
  p {
    font-size: 0.9em;
  }
  body{
    padding: 5px;
    background-color: rgb(8, 153, 68);
  }
  .search input {
    width: 100%;
    height: 25px;
  }
  .btn {
    width: 30%;
    height: 40px;
    font-size: 0.8em;
  }
}