@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@300;600;700&display=swap");

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

body {
  width: 100vw;
  height: 100vh;
  font-family: "Libre Franklin", sans-serif;
  padding: 4rem;
}

.header {
  text-align: center;
}

.header img {
  width: 5.5rem;
}

.header h1 {
  color: hsl(0, 0%, 59%);
  margin-top: 2rem;
  font-weight: 300;
  font-size: 46px;
}

.header span {
  color: hsl(209, 33%, 12%);
  font-weight: 700;
}

.header p {
  margin-top: 1rem;
  color: hsl(209, 33%, 12%);
  font-size: 20px;
  font-weight: 300;
}

.input-container {
  margin-top: 2rem;
}
.input-container input {
  width: 23%;
  height: 3.5rem;
  border: none;
  border-radius: 30px;
  outline: none;
  border: 1px solid hsl(0, 0%, 59%);
  padding: 0 2rem;
  opacity: 0.4;
  font-size: 16px;
}

.input-container button {
  width: 11%;
  height: 3.5rem;
  border: none;
  background-color: hsl(223, 87%, 63%);
  color: #fff;
  border-radius: 30px;
  margin-left: 1rem;
  font-size: 18px;
  cursor: pointer;
}

small {
  color: hsl(354, 100%, 66%);
  font-weight: 600;
  font-size: 12px;
  opacity: 0.6;
  font-style: italic;
  position: relative;
  right: 10rem;
  top: 0.5rem;
  display: none;
}

.section {
  text-align: center;
  margin-top: 5rem;
}

.section img {
  width: 35%;
}

.footer {
  text-align: center;
  margin-top: 5rem;
}

.footer p {
  margin-top: 2rem;
  font-size: 10px;
  color: hsl(0, 0%, 59%);
}

.social-medias a {
  padding: 0.5rem;
  font-size: 10px;
  border: 0.1px solid hsl(0, 0%, 59%);
  opacity: 0.6;
  border-radius: 50%;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: 0.3s;
}

.social-medias i {
  font-size: 13px;
  color: hsl(223, 87%, 63%);
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  transition: 0.3s;
}

.social-medias a:hover {
  border: none;
  background-color: hsl(223, 87%, 63%);
  color: #fff;
}

.social-medias i:hover {
  color: #fff;
}

@media screen and (max-width: 375px) {
  .header img {
    width: 5rem;
  }

  .header h1 {
    font-size: 23px;
  }

  .header p {
    font-size: 15px;
  }

  .input-container {
    display: flex;
    flex-direction: column;
  }

  .input-container input {
    width: 100%;
  }

  .input-container button {
    width: 100%;
    margin-top: 2rem;
    position: relative;
    right: 1rem;
  }

  small {
    font-size: 10px;
    display: none;
    position: absolute;
    right: 7rem;
    top: 17rem;
  }

  .section img {
    width: 100%;
    height: auto;
  }

  .footer p {
    font-size: 10px;
    margin-bottom: 1rem;
  }
}
