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


body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  
  background: url("../media/wallpaper.jpg") no-repeat center center fixed;;
  background-size: cover;

  min-height: 100vh;
  margin: 0;
  
}

header {
  animation: slideInTop 1s ease-out forwards;
  display: flex;
  background-color: #3DAAC2;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;  
  width: 100%;
  padding: 1rem;
  justify-content: center;  
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 10px rgba(0,0,0,0.1);
}

header h1 {
  animation: slideInBot 1.2s ease-out backwards;
  color: whitesmoke;
  font-size: 40px;
}

nav {
  background: whitesmoke;
  padding: 15px;
  margin-bottom: 8px;
  border-radius: 8px;
  box-shadow: 10px 20px 7px rgba(0,0,0,0.1);
  min-width: 20vw;
}
nav a {
  margin: 15px;
  text-decoration: none;
  color: #0077cc;
}

nav a:hover {
  text-decoration: underline;
}

button {
  background-color: #0077cc;   
  color: white;              
  border: none;
  padding: 10px 20px 10px 20px;   
  margin-bottom: 2%;      
  cursor: pointer;             
  border-radius: 4px;         
  transition: background-color 0.3s ease; 
  font-size: 15px;
}

button:disabled {
  background-color: #d4d4d4;
  cursor: not-allowed;
}

button:disabled:hover {
  background-color: #d4d4d4;
  cursor: not-allowed;
}
.errormsg {
  display: none;
  color:red;
}

button:hover{
  background-color: #005fa3;  
}

/*sliding animation*/

@keyframes slideInLeft {
  from {
    transform: translateX(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInTop {
  from {
    transform: translateY(-200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInBot {
  from {
    transform: translateY(+200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}