.attribution {
  font-size: 11px;
  text-align: center;
}
.attribution a {
  color: hsl(228, 45%, 44%);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  box-sizing: border-box;
}

.cadre {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: hsl(212, 45%, 89%);
  width: 90%;
  height: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

img {
  width: 200px;
  border-radius: 10px;
}
h2 {
  font-size: 1rem;
  text-align: center;
}
p {
  color: hsl(216, 15%, 48%);
  font-size: 0.8rem;
  text-align: center;
}
.container {
  border-radius: 10px;
  background-color: white;
  padding: 10px 10px 5px 10px;

  width: 200px;
}

/* For tablets and smaller devices */
@media (max-width: 768px) {
  .cadre {
    width: 95%;
    height: 95%;
  }

  .container {
    width: 180px;
    padding: 15px;
  }

  img {
    width: 180px;
  }

  h2 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.9rem;
  }
}

/* For mobile phones */
@media (max-width: 480px) {
  .cadre {
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .container {
    width: 85%;
    max-width: 300px;
    padding: 20px;
  }

  img {
    width: 100%;
  }

  h2 {
    font-size: 1.3rem;
    margin: 15px 0;
  }

  p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .attribution {
    font-size: 9px;
    padding: 10px;
  }
}
