*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background-image: url(/media/pexels-polina-zimmerman-3747540.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Inter", sans-serif;
  text-align: center;
  color: #2c2c2c;
  overflow-x: hidden;
  overflow-y: auto;
}

.app-container {
  background-color: #e4e4e400;
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  display: block;
  padding: 35px 30px;
  margin-top: 50px;
  border: 8px solid #636363;
  border-radius: 50px;
  box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.2);
}

.heading {
  background-color: #0625d4;
  padding: 5px;
  width: 33px;
  border-radius: 20px;
}

h1 {
  color: #ececec;
  font-weight: 900;
  font-size: 42px;
}

h3{
    text-align: start;
    font-size: 15px;
}

.output-container div{
    text-align: start;
    color:#585858;
    font-size: 14px;
    line-height: 1.8;
}

.form-container, .output-container {
  background-color: #eeececa1;
  border: 8px solid #ffffff;
  border-radius: 25px;
  margin: 25px;
  padding: 20px;
}

.output-container{
  background-color: #eeececb4;
}

.hidden{
  display:none;

}

.explanation-animation{
  animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
  0% {
    visibility:visible;
  }
  50% {
    visibility:hidden;
  }
  100% {
    visibility:visible;
  }
}


.topic-input,
.select-btn {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 2px solid #ccc;
  width: 60%;
  max-width: 400px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  margin: 12px;
}

.select-btn {
  width: 30%;
  max-width: 200px;
}

.select-btn option {
  font-family: "Inter", sans-serif;
  font-size: 13px;
}

input:focus,
select:focus {
  outline: none;
}

button {
  background-color: #0625d4;
  color: #ececec;
  padding: 10px;
  margin: 12px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  width: 130px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
  cursor: pointer;
}

button:hover {
  background-color: #0a3ff5;
}

.material-symbols-outlined {
  vertical-align: middle;
  margin: 7px;
  color: #0a3ff5;
}

.tip {
  line-height: 0;
  font-size: 12px;
}

footer {
  font-family: monospace;
  font-size: 14px;
  color: #ececec;
}

footer a {
  text-decoration: none;
  color: #0625d4;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 940px) {
  .app-container {
    padding: 70px 25px;
    border-width: 6px;
    border-radius: 30px;
    text-align: center;
  }

  .form-container, .output-container {
    margin: 15px;
    padding: 15px;
    border-width: 6px;
    border-radius: 20px;
  }

  .topic-input,
  .select-btn {
    width: 70%;
    font-size: 10px;
  }

  .tip {
    padding: 0 12px;
  }

  .tip-text {
    font-size: 12px;
  }

  .tip-examples {
    margin-top: 15px;
    line-height: 1.6;
    font-size: 8px;
  }

  footer {
    text-align: center;
    font-size: 10px;
  }
}

@media (max-width: 420px) {
  .topic-input,
  .select-btn {
    width: 80%;
    font-size: 9px;
  }

  button {
    font-size: 12px;
    width: 100px;
  }
  .tip {
    padding: 0 14px;
  }

  .tip-text {
    font-size: 9px;
  }

  .tip-examples {
    margin-top: 18px;
    font-size: 8px;
  }
}
