* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.5;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffc62d;
}

.main_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 30vh;
  width: 90vw;
  background-color: white;
  text-align: center;
  border-radius: 20px;
  border: 2px solid #000;
}

.header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
}

.header img {
  width: 100%;
  max-width: 60px;
  justify-self: center;
  align-self: center;
}

.header h1 {
  grid-column: 2;
  text-align: center;
  font-size: 1.8em;
  align-self: end;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content h2 {
  margin-top: 10px;
  font-size: 1.3em;
}

.content p {
  font-size: 0.9em;
}

.content span {
  font-size: 0.6em;
}

/* Media Query */

@media (min-width: 600px) {
  .main_container {
    width: 50vw;
    height: 30vh;
  }

  .header img {
    max-width: 70px;
  }

  .header h1 {
    font-size: 1.5em;
  }

  .content h2 {
    font-size: 1.1em;
  }

  .content p {
    font-size: 0.8em;
  }
}

@media (min-width: 900px) {
  .main_container {
    width: 40vw;
    height: 30vh;
  }

  .header img {
    max-width: 80px;
  }

  .header h1 {
    font-size: 1.8em;
  }

  .content h2 {
    font-size: 1.3em;
  }

  .content p {
    font-size: 0.9em;
  }
}

@media (min-width: 1200px) {
  .main_container {
    width: 30vw;
    height: 30vh;
  }

  .header img {
    max-width: 100px;
  }

  .header h1 {
    font-size: 2em;
  }

  .content h2 {
    font-size: 1.5em;
  }

  .content p {
    font-size: 1em;
  }
}