* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: sans-serif;
}
nav {
  background: rgb(35, 3, 56);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  color: #fff;
}
nav a {
  text-decoration: none;
  color: white;
}
header {
  margin: 0rem auto;
}
.section1 {
  padding: 1.2rem;
  background: rgb(240, 212, 212);
  height: max-content;
}
.section1-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.section1-info a {
  text-decoration: none;
  color: white;
  background: rgb(35, 3, 56);
  padding: 5px;
  border-radius: 5px;
}
img {
  width: 450px;
  height: 450px;
  border-radius: 5px;
}
.section2 {
  padding: 1.2rem;
  background: white;
  text-align: center;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}
.section2-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  border-bottom: 2px solid rgb(230, 230, 230);
}
input {
  padding: 8px;
  border-radius: 5px;
}
.check {
  outline: none;
  border: none;
  color: white;
  font-size: 22px;
  background: rgb(35, 3, 56);
  padding: 5px;
  border-radius: 5px;
}
.check:hover {
  cursor: pointer;
}
.result {
  margin: 1rem auto;
  border: 2px solid rgb(35, 3, 56);
  padding: 8px;
  display: none;
}
.error {
  color: red;
  text-transform: capitalize;
}
.footer {
  background-color: rgb(35, 3, 56);
  color: white;
  /* border-top-right-radius: 1rem; */
  padding-bottom: 1px;
}
.footer-heading {
  padding-top: 10px;
  text-align: center;
  font-weight: bolder;
}
.footer-list {
  list-style: none;
  text-align: center;
  padding-inline-start: 0px;
}
.footer-item {
  display: inline-block;
  padding: 1rem 1rem;
}
.footer-link {
  text-decoration: none;
  color: white;
  font-weight: normal;
  border-radius: 8rem;
}
.footer-link:hover {
  box-shadow: 2px 2px 5px black;
}
