@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
:root {
  --bg: #e9fcff;
  --font: #67443d;
  --primary: #00b4d8;
  --secondary: #fe7c7d;
}

body {
  position: relative;
  font-family: "Poppins", sans-serif;
  color: var(--font);
  height: 100vh;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 100vh;
  position: relative;
}

.grid > div > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.section-container {
  background-color: var(--bg);
}

.container {
  text-align: center;
}

.heading-flex {
  display: flex;
  justify-content: center;
  margin: auto;
}

.heading {
  font-weight: 600;
  text-align: center;
  margin: 7rem 0.5rem 0 0;
}

.heading-img {
  width: 3rem;
  margin: 7rem 0 0;
}

input,
label,
button {
  display: block;
  margin: auto;
}

label {
  font-size: 1.3rem;
  padding: 1.5rem 0 0.3rem;
  font-weight: 400;
}

.container input,
.container button {
  border-radius: 5rem;
  padding: 0.5rem 1.5rem;
  width: 15rem;
  border: 0.5px solid var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--font);
}

#check-btn {
  background-color: var(--secondary);
  padding: 0.8rem 1.5rem;
  margin: 2rem auto;
  color: #fff;
  border: none;
  cursor: pointer;
  letter-spacing: 0.3px;
}

#check-btn:hover {
  background-color: #fe7c7cd2;
}

.message {
  background-color: transparent;
  border: none;
  font-size: 1.2rem;
  width: fit-content;
  margin: auto;
}

html {
  overflow: scroll;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 0;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ff0000;
}

footer {
  width: 100%;
  font-size: 2rem;
  font-weight: 300;
  background-color: var(--font);
  padding: 0.5rem;
  text-align: center;
  color: white;
}

.footer-links {
  display: inline-block;
  color: #fff;
  padding: 0 1rem 0;
  text-decoration: none;
  font-size: 1.5rem;
}

.footer-links:hover {
  transform: scale(1.05);
}

.footer-name {
  font-size: 1.2rem;
  padding: 0.5rem 0.5rem 0;
  font-weight: 500;
}

/* ********** POPUP ************** */

#popup {
  background-color: var(--font);
  color: #fff;
  position: fixed;
  z-index: 10;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  /* transition: 0.5s; */
}

.popup-btn {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 0.5rem 1rem;
  border-radius: 5rem;
  border: none;
  background-color: var(--secondary);
  color: #fff;
  margin-top: 1rem;
  cursor: pointer;
}

#popup h3 {
  color: var(--secondary);
  padding-bottom: 0.8rem;
}

#blur {
  z-index: 9;
  position: fixed;
  background-color: rgba(253, 253, 253, 0.514);
  user-select: none;
  width: 100vw;
  height: 100vw;
}

.hide {
  transition: 0.5s;
  opacity: 0;
  visibility: hidden;
}
