* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header h1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  white-space: nowrap;
  gap: 20px;
  margin-top: 0px;
  height: 100px;
  background-color: #5755fe;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

h1 {
  padding: 20px;
  font-size: 50px;
  color: white;
  text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

header .image {
  position: relative;
  text-align: center;
  margin: 0 auto;
  width: 300px;
  height: 300px;
}

img {
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 5px;
  position: relative;
  margin-top: 10px;
}



.placeholder {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ccc;
  border-radius: 5px;
  animation: placeholder 3s infinite;
  visibility: hidden;
}

body {
  background-color: #eeeeee;
}

.container {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
}

#input-info #input {
  padding: 5px;
  border-radius: 5px;
  width: 200px;
  height: 30px;
}

#input {
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  background-color: #fff7fc;
  color: black;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

button {
  margin: 50px 10px;
  height: 30px;
  border-radius: 5px;
  cursor: pointer;
  width: 89px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  transition: 0.2s ease;
}

button:hover {
  background-color: #5755fe;
  color: white;
}

.data {
  display: flex;
  flex-direction: column;
  border: 1px solid darkblue;
  background-color: #5755fe;
  color: white;
  width: fit-content;
  border-radius: 5px;
  margin: 0 auto;
  margin-top: -40px;
  padding: 10px 20px;
  letter-spacing: 2px;
  line-height: 1.5;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  font-size: medium;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  visibility: hidden;
}

#title {
  text-align: center;
}

.active {
  visibility: visible;
}

@keyframes placeholder {
  0%{
    background-color: #ccc;
  }

  50%{
    background-color: #eee;
  }

  100%{
    background-color: #ccc;
  }
}

@media screen and (max-width: 768px) {
  .data{
    width: 80%;
  }

  h1{
    font-size: 40px;
  }
}

