@keyframes containerExpand {
    0% {
	width: 1000px;
        height: 500px;
    }
    100% {
	width: 350px;
        height: 300px;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


  @keyframes blink {
    0% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }

  .cursor {
    color: #ffffff;
    animation: blink 1s infinite;
  }

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    position: relative;
}

.logo-container {
    position: absolute;
    bottom: calc(50% + 150px); 
    left: 50%;
    transform: translate(-50%);
    opacity: 0;
    text-align: center;
    transition: opacity 1s;
}	
.logo {
    width: 250px;
    height: auto;
    margin-right: 10px;
}


body {
    font-family: Arial, sans-serif;
    background-color: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    background-color: #2e2e2e;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 350px;
    height: 300px;
    position: relative;
    animation: containerExpand 0.5s forwards;
}

.login-container h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
}


.login-container h2,
input[type="text"], input[type="email"], input[type="password"],
input[type="submit"],
.register-container {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s; /* задержка анимации на 1 секунду */
}



input[type="text"], input[type="email"], input[type="password"] {
    background-color: #3d3d3d;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
}

input[type="text"]::placeholder, input[type="email"]::placeholder, input[type="password"]::placeholder {
    color: #a0a0a0;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    background-color: #4a4a4a;
}

input[type="submit"] {
    background-color: #4caf50;
    border: none;
    border-radius: 3px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    bottom: 20px;
    left: 20px;
    right: 20px;
    margin-top: 10px;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
}

input[type="submit"]:hover {
    background-color: #3e8e41;
}

.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-bottom: 10px;
    display: none;
    position: absolute;
    top: 75px;
    left: 20px;
    right: 20px;
}

.register-container {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 5px;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.5s;
}

.create-account {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
}

.create-account:hover {
    text-decoration: underline;
}
