body {
  margin: 0;
  display: flex;
  height: 100vh;
  font-family: sans-serif;
  background-color: white;
  overflow: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  padding: 50px;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav ul {
  font-family: "Times New Roman", Times, serif;
  display: flex;
  justify-content: end;
  align-items: center;
}

li {
  list-style: none;
  padding: 15px;
}

a,
a:visited {
  color: #cf52eb;
  text-decoration: none;
  filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.2));
  font-size: 20px;
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  border: 1px solid #222;
  padding: 12px;
  letter-spacing: 2px;
  transition: 0.5s;
  box-shadow: 2px 3px 5px 0px rgba(128, 128, 128, 0.352);
}

a:hover,
a:visited:hover {
  padding: 24px;
  transform: scale(1.5);
}
.intro-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px;
  z-index: 2;
}

.intro-side h1 {
  font-size: 6rem;
  font-weight: bolder;
  background: url(../images/pink.jpg) center/cover;
  background-clip: text;
  background-size: 30% auto;
  filter: drop-shadow(4px 4px 2px rgba(0, 0, 0, 0.2));
  color: transparent;
  text-transform: uppercase;
  animation: moveBackground 32s linear infinite;
  margin-bottom: 0px;
}

@keyframes moveBackground {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

.intro-side p {
  font-size: 1.5rem;
  line-height: 1.6;
  max-width: 400px;
  text-align: center;
  opacity: 0.8;
  color: #cf52eb;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.43);
}

.tof {
  width: 55%;
  height: 100vh;
  background-image: url("../images/pola1.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

form {
  background: transparent;
  padding: 20px;
  text-align: left;
}
.error-shake {
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-8px);
  }
  50% {
    transform: translateX(8px);
  }
  75% {
    transform: translateX(-8px);
  }
}

label {
  display: inline-block;
  width: 120px;
  font-weight: bold;
  color: whitesmoke;
  text-align: left;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  text-shadow: 1px 1px 0px black;
}

input {
  width: 180px;
  padding: 6px;
  margin-bottom: 12px;
  border: 1px solid whitesmoke;
  border-radius: 4px;
  box-sizing: border-box;
  background: #cf52eb22;
  color: whitesmoke;
}

.btn {
  display: block;
  margin: 55px 0 0 125px;
  padding: 15px;
  background: #cf52eb;
  color: white;
  border: 1px solid black;
  cursor: pointer;
  width: 180px;
  transition: 0.3s;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 600;
  text-shadow: 1px 1px 0px black;
}

.btn:hover {
  transform: scale(1.1);
  background: #b33dcd;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  box-sizing: border-box;
  z-index: 1000;
}

footer p {
  margin: 0;
  font-size: 0.8rem;
  color: #888;
}

footer span {
  color: #cf52eb;
  font-weight: bold;
}

@media (max-width: 768px) {
  body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    background-color: white;
  }

  .navbar {
    position: relative;
    width: 100%;
    padding: 10px;
    justify-content: center;
    box-sizing: border-box;
    backdrop-filter: none;
  }

  nav ul {
    justify-content: center;
    padding: 0;
  }

  li {
    padding: 5px;
  }

  a,
  a:visited {
    font-size: 14px;
    padding: 8px 12px;
    letter-spacing: 1px;
  }

  .intro-side {
    padding: 10px;
    flex: none;
  }

  .intro-side h1 {
    font-size: 2.2rem;
    margin-top: 10px;
  }

  .intro-side p {
    font-size: 0.9rem;
    max-width: 70%;
    margin-top: 5px;
  }

  .tof {
    width: 100%;
    height: 500px;
    margin: -20px 0;
    background-size: 120%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  form {
    width: 250px;
    margin-left: 30px;
    margin-bottom: 70px;
  }

  label {
    width: 100%;
    font-size: 0.75rem;
    margin-bottom: 2px;
    display: block;
  }

  input {
    width: 100% !important; 
    height: 30px;
    margin-bottom: 8px;
  }

  .btn {
    margin: 15px 0 0 0 !important; 
    width: 100%;
    padding: 0;
    line-height: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  footer {
    position: relative;
    margin-top: auto; 
    padding: 15px;
    text-align: center;
  }
}
