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

body {
  min-height: 100vh;
  background-color: hsl(218, 23%, 16%);
  font-family: "Manrope", sans-serif;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

main {
  height: 98vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
main > div {
  background-color: hsl(217, 19%, 24%);
  width: 30rem;
  height: 20rem;
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem;
  position: relative;
}
main > div p:first-child {
  color: hsl(150, 100%, 66%);
  margin-bottom: 1rem;
}
main > div p:nth-child(2) {
  font-size: 1.5rem;
  color: hsl(193, 38%, 86%);
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 900;
}
main > div > img {
  width: 25rem;
  margin-bottom: 1rem;
}
main > div div.circle {
  position: absolute;
  padding: 2rem;
  border-radius: 50%;
  background-color: hsl(150, 100%, 66%);
  top: 90%;
}
main > div div.circle:hover {
  background-color: hsl(150, 100%, 66%);
  box-shadow: 0px 0px 16px 13px hsla(150, 100%, 66%, 0.479);
  cursor: pointer;
}
main > div div.circle img {
  width: 1.5rem;
  position: absolute;
  top: 33%;
  left: 32%;
}

.attribution {
  font-size: 11px;
  text-align: center;
  color: white;
}

.attribution a {
  color: hsl(228, 45%, 44%);
}

@media (max-width: 500px) {
  .desktop {
    display: none;
  }
  .mobile {
    display: block;
  }
  main {
    min-height: 98vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  main > div {
    background-color: hsl(217, 19%, 24%);
    width: 20rem;
    min-height: 25rem;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
  }
  main > div p:first-child {
    color: hsl(150, 100%, 66%);
    margin-bottom: 1rem;
  }
  main > div p:nth-child(2) {
    font-size: 1.5rem;
    color: hsl(193, 38%, 86%);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 900;
  }
  main > div > img {
    width: 16rem;
    margin-bottom: 2rem;
  }
  main > div div.circle {
    position: absolute;
    border-radius: 50%;
    background-color: hsl(150, 100%, 66%);
  }
  main > div div.circle:hover {
    background-color: hsl(150, 100%, 66%);
    box-shadow: 0px 0px 16px 13px hsla(150, 100%, 66%, 0.479);
    cursor: pointer;
  }
  main > div div.circle img {
    width: 1.5rem;
    position: absolute;
    top: 33%;
    left: 32%;
  }
}