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

body {
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
}


@media (max-width: 1400px) {
    
.primary-heading {
  font-size: 32px;
  margin-top: 40px;
}

.card {
  background-color: #d0d0d0;
  padding: 20px 40px;
  width: 430px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#text-input {
  padding: 10px 15px;
  border: none;
  border-bottom: 2px solid rgb(171, 171, 216);
  font-family: inherit;
  font-size: 18px;
  border-radius: 3px;
}

#check-btn {
  padding: 5px 10px;
  border: 0.1px solid rgb(113, 113, 113);
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.info-paragraph {
  position: relative;
}

.info-paragraph::before {
  content:"💡";
  position: absolute;
  top: -5px;
  left: -25px;
}

#result {
  padding: 10px 20px;
  text-align: center;
  margin-top: 5px;
}
}

@media (max-width: 544px) {
    
.primary-heading {
  font-size: 32px;
  margin-top: 40px;
}

.card {
  background-color: #d0d0d0;
  padding: 10px 20px;
  width: 340px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#text-input {
  padding: 5px 10px;
  border: none;
  border-bottom: 2px solid rgb(171, 171, 216);
  font-family: inherit;
  font-size: 14px;
  border-radius: 3px;
}

.instruction-text {
    font-size: 17px;
    margin-top: 10px;
}

#check-btn {
  padding: 5px 10px;
  border: 0.1px solid rgb(113, 113, 113);
  border-radius: 3px;
  background-color: #fff;
  cursor: pointer;
  font-family: inherit;
}

.info-paragraph {
  position: relative;
  font-size: 18px;
}

.info-paragraph::before {
  content:"";
  display: hidden;
}

#result {
  padding: 10px 20px;
  text-align: center;
  margin-top: 5px;
}
}