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%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  align-items: center;
  z-index: 1000;
}

.navbar ul {
  display: flex;
  justify-content: start;
  align-items: center;
}

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

.navbar a,
.navbar 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);
  display: inline-block;
}

a:hover,
a:visited:hover {
  padding: 16px;
  transform: scale(1.1);
}

.navbar li:first-of-type a {
  color: #cf52eb;
  border: 1px solid #cf52eb;
}

.navbar li:nth-of-type(2) a {
  color: turquoise;
  border: 1px solid turquoise;
}

.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/pola.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 12s 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: turquoise;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.43);
}

.tof {
  margin-top: 150px;
  flex: 1;
  height: 75vh;
  background-image: url("../images/tof6.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;
}

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: 150px;
  padding: 6px;
  margin-bottom: 12px;
  border: 1px solid whitesmoke;
  border-radius: 4px;
  box-sizing: border-box;
  background: rgba(64, 224, 208, 0.184);
  color: whitesmoke;
}

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

.btn:hover {
  transform: scale(1.2);
  background: turquoise;
}

.logo {
  color: turquoise;
  font-weight: bold;
  letter-spacing: 2px;
}

.logout-btn:nth-of-type(1) {
  margin-right: 20px;
  border: 1px solid #b33dcd;
  color: #b33dcd;
  box-shadow: 2px 2px 15px #b33dcd70;
}

.logout-btn {
  background: transparent;
  border: 1px solid turquoise;
  color: turquoise;
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  box-shadow: 2px 2px 15px rgba(64, 224, 208, 0.5);
}

.logout-btn:hover {
  transform: scale(1.1);
  letter-spacing: 0.5px;
  color: turquoise;
}

.logout-btn:nth-of-type(1):hover {
  transform: scale(1.1);
  letter-spacing: 0.5px;
  border: 1px solid #b33dcd;
  color: #b33dcd;
}

.login-footer a {
  color: white;
}

.login-footer p {
  margin-top: 3px;
  text-align: end;
  font-size: 0.9rem;
}

.login-footer .inscri {
  color: turquoise;
  text-decoration: none;
  transform: scale(1.1);
}

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

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

footer span {
  color: turquoise;
  font-weight: bold;
}
@media (max-width: 768px) {
 
   body {
    display: flex; 
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
  }
  .navbar {
    position: relative; 
    flex-direction: column;
    width: 100%;
    padding: 5px 0;
    gap: 5px;
  }

  .navbar ul {
    padding: 0;
    margin: 0;
  }

  .navbar li {
    padding: 5px;
  }

  .navbar a,
  .navbar a:visited {
    font-size: 13px;
    padding: 6px 10px;
    letter-spacing: 0px;
  }

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

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

  .intro-side p {
    font-size: 0.9rem;
    margin: 0;
    max-width: 100%;
  }

   .tof {
    margin: 0;
    height: 420px; 
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1; 
  }

  form {
    width: 170px;
    padding: 0;
    display: flex;
    flex-direction: column;
    transform: translateY(-10px); 
}

   label {
    margin-bottom: 5px; 
    font-size: 0.8rem;
}

 
   input {
    width: 100%;
    margin-bottom: 5px;
}
  .btn {
    margin: 5px 0 0 0;
    margin-top: 40px ;
    width: 100%;
    height: 40px; 
    padding: 0; 
    line-height: 40px; 
    font-size: 0.85rem;
    display: block;
  }

  footer {
    position: relative; 
    padding: 10px;
    margin-top: 20px;
  }
}


