html,
body {
  font-size: 16px;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
  padding: 2rem;
  margin: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  position: relative;
}

h1 {
  font-size: 2.5rem;
  line-height: 2.5rem;
}

p {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

#bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/logo-developer-symbol.svg");
  background-position: 50%;
  background-size: cover;
  overflow: hidden;
}

#bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/gradient-1.jpg");
  background-position: 50%;
  background-size: cover;
  opacity: 0.98;
}

#wrapper {
  width: 50rem;
  max-width: 100%;
  z-index: 1;
  border-radius: 2rem;
  background-color: white;
  position: relative;
  overflow: hidden;
  padding: 2rem 2rem 0 2rem;

  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);

  display: flex;
  gap: 2rem;
}

#wrapper h1 {
  margin: 2rem 0;
  font-weight: 700;
}

#wrapper p:last-of-type {
  margin-bottom: 0;
  margin-top: 1rem;
}

#wrapper .content {
  width: 50%;
  padding-bottom: 2rem;
}

#wrapper .hero {
  background-image: url("../img/forbidden.png");
  background-position: bottom;
  width: 50%;
  background-size: contain;
  background-repeat: no-repeat;
}

#logo {
  background-image: url("../img/logo-developer-symbol.svg");
  background-position: 50%;
  background-size: 100%;
  background-repeat: no-repeat;
  width: 4rem;
  height: 4rem;
  border-radius: 15%;
  position: relative;
  overflow: hidden;
}

a {
  text-decoration: none;
  color: rgb(234, 0, 41);
  font-weight: 500;
}

@media screen and (max-width: 850px) {
  #wrapper {
    flex-direction: column;
    gap: 0;
    max-width: 30rem;
  }

  #wrapper .content,
  #wrapper .hero {
    width: 100%;
    text-align: center;
  }

  #wrapper .hero {
    height: 25vh;
    min-height: 8rem;
    max-height: 15rem;
  }

  #logo {
    margin: 0 auto;
    width: 6rem;
    height: 6rem;
  }
}

@media screen and (max-width: 540px) {
  html,
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 2rem;
    line-height: 2rem;
  }
}

@media screen and (max-width: 300px) {
  body {
    padding: 1rem;
  }

  #wrapper {
    padding: 2rem;
  }
}
