body {
    font-family: 'Open Sans';
    background-color: #27272b;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: white;
    font-size: 14px;
}

.container {
    /*background-color: #fff;*/
    /*padding: 20px;*/
    /*border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);*/
    width: 100%;
    max-width: 290px;
position: relative;
}


/*.form-group {
    margin-bottom: 20px;

}*/

form {
    /*margin-top: 20%;*/
    display: flex;
    flex-direction: column;
    width: 290px;

}

input[type="text"],
input[type="password"] {
    width: 270px;
    /*margin: 10px;*/
    padding: 10px;
    border: none;
    font-size: 14px;
    background-color: #323237;
    caret-color: white;
    font-family: 'Open Sans';
}


.shadows {
    box-shadow: inset 20px 20px 0px 20px #323237;
    color: white;
    -webkit-text-fill-color: #999;
    margin-bottom: 20px;
}

.shadows:focus {
    outline: 1px solid #fff; /* Рамка при получении фокуса */
    border-radius: 3px;
}

.button {
    width: 290px;
    padding: 12px;
    background: #cf295b;
    border: unset;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: white;
    margin-bottom: 25px;
    font-family: 'Open Sans';
}

.button:hover {
    background-color: #D0D0D0;
    color: #cf295b;
    transition: 0.5s;
}



#brand {
    font-size: 30px;
    text-align: center;
    color: #cf295b;
    margin-bottom: 60px;
    user-select: none;
    /*font-weight: bold;*/
    position: relative;
}


#error-message {
    position: absolute;
    top: 5.7%; /* Установите расстояние от верхней границы #brand */
    left: 50%;
    transform: translateX(-50%);

    width: 270px;
    border: 2px solid #cf295b;
    border-radius: 3px;
    padding: 10px;
    text-align: center;
    /*font-weight: bold;*/
    /*margin-top: 10px;*/
    transition: opacity 2s ease-in-out;
    animation: errorAnimation 0.5s ease-in-out;



  /*transform: translate(-50%, -50%);*/


}

@keyframes errorAnimation {
  0%, 100% {
    transform: translateX(-50%);
  }
  15%, 45%, 75% {
    transform: translateX(-51%);
  }
  30%, 60%, 90% {
    transform: translateX(-49%);
  }
}

#footer {
    font-size: 13px;
    text-align: center;
    color: #afafaf;
    margin-top: 25px;
    /*margin-bottom: 30px;*/

}

  .dropbtn {
    background-color: #323237;
    color: #afafaf;
    font-weight: bold;
    padding: 12px 10px;
    width: 290px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    text-align: left;
    font-size: 14px;
    font-family: 'Open Sans';
  }

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #323237;
    width: 290px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 0;
  }

  .dropdown-content a {
    color: #afafaf;
    padding: 12px 10px;
    text-decoration: none;
    display: block;
    font-weight: bold;
  }

  .dropdown-content a:hover {
    background-color: #383842;
    color: white;
}

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown:hover .dropbtn {
    background-color: #323237;
  }

@media screen and (max-width: 990px) {
    .dropdown-content {
        top: +44px;
    }
}