* {
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  padding: 0;
  margin: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: rgb(255, 247, 233);
  color: rgb(29, 29, 29);
}
a {
  color: rgb(255, 38, 0);
  text-decoration: none;
  margin: 0 0.2rem;
}

.hero {
  background-color: orange;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: ease-in-out;
  animation-name: blackToOrange;
  animation-duration: 2s;
  animation-fill-mode: forwards;
}

header h1 {
  font-size: 5rem;
  font-weight: lighter;
  
}

.hero p small {
  letter-spacing: 0.15cm;
}

.connect {
  font-size: xx-large;
  font-weight: lighter;
  letter-spacing: 0.05cm;
  margin: 2rem;

  animation-name: fadeIn;
  animation-duration: 2s;
  animation-fill-mode: forwards;

  text-align: center;
}

.links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: 150px;
  gap: 1rem;
  animation-name: fadeIn;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

.links span img {
  width: 40px;
}

.links span {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 0.5rem;
}

.links span small {
  margin: 0.5rem;
}

footer {
  position: relative;
  bottom: 0rem;
  margin: 3rem auto 0 auto;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  width: 300px;
  animation-name: fadeIn;
  animation-duration: 4s;
  animation-fill-mode: forwards;
}

@media screen and (max-width: 500px) {
  .hero {
    height: 50vh;
  }
  header h1 {
    font-size: 3rem;
  }

  .hero p small {
    letter-spacing: 0.02cm;
  }
  .connect {
    font-size: larger;
    font-weight: bold;
  }
  .links {
    gap: 0.2rem;
  }
  .links span {
    padding: 0.1rem;
  }
  .links span img {
    width: 30px;
  }
  footer
  {
    position: fixed;
    bottom: 0;
    width: 300px;
    left: 70%;
margin-left: -50vw;
  }
}

@keyframes blackToOrange
{

  from{
    background-color: rgb(146, 113, 113);
    color: white;
  }
  to{
    background-color: orange;
    color: rgb(29, 29, 29);
  }

}

@keyframes fadeIn
{
  from{
    opacity: 0;
  }
  to{
    opacity: 100;
  }
}