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

body {
  height: 96%;
  background: linear-gradient(to left, #ced0d157, #a956f7, #201c1d8d);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

section {
  color: red;
}

form {
  background: black;
  border-radius: 10px;
  text-align: center;
  width: 85vw;
  max-width: 500px;
  margin: 0 auto;
  /* margin-bottom: 2rem; */
}

.input-form,
h2 {
  margin-top: 0.5rem;
}

a {
  text-decoration: none;
}

.input-form {
  font-size: 0.9rem;
  border: none;
  padding: 0.4rem;
  padding-left: 0.3rem;
  border-radius: 5px;
  text-transform: capitalize;
  margin-bottom: 2rem;
}

form > h2 {
  text-transform: capitalize;
  color: whitesmoke;
  letter-spacing: 0.5px;
}

.section-center {
  width: 94vw;
  max-width: 1176px;
  margin: 1rem auto;
}

img {
  width: 90vw;
  margin: 0 auto;
  display: block;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
  border-radius: 0.5rem;
}

a:hover {
  transform: scale(1.1);
  transition: all 0.3s ease-in-out;
}

a:focus {
  transition: all 3s linear;
  transform: scale(0.8);
}

h3 {
  color: whitesmoke;
  text-decoration: none;
  text-align: center;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

h3 {
  color: whitesmoke;
  text-decoration: none;
  text-align: center;
  margin-top: 1.8rem;
  margin-bottom: 0.6rem;
}

/* responsive design 360px */
@media screen and (min-width: 360px) {
  .section-center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  img {
    width: 100%;
  }
  h3 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }
}

/* responsive design */

/* responsive design 678px */

@media screen and (min-width: 678px) {
  .section-center {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

/* responsive design 890px */

@media screen and (min-width: 890px) {
  .section-center {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
