body {
  margin: 0;

  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

/************************/
/*                      */
/*    Страница входа    */
/*                      */
/************************/

.login {
  display: flex;
  height: 100vh;
  width: 100%;

  justify-content: center;
}

.login__button {
  display: block;
  margin: auto;

  padding: 10px 20px;
  border-radius: 5px;

  color: white;
  text-decoration: none;

  background-color: blue;
}



/* Боковое меню */
.header {
  width: 300px;
  height: 100%;

  /* position: fixed; */

  color: white;
  background-color: rgb(3, 3, 58);
}

.greeting {
  border-bottom: 1px solid black;
  text-align: right;
  padding: 10px;
}

.user_photo {
  border-radius: 50%;
  margin-left: 20px;
}




.main {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 960px;

  /* padding-left: 300px; */
}


.form {
  width: 600px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.form__field {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  margin-bottom: 20px;
}

.form__field input[type="text"] {
  width: 300px;
}

.group-info {
  position: absolute;
  right: 0px;

  max-width: 280px;

  padding: 10px 10px 0px 35px;

  text-align: right;
  background-color: rgb(236, 236, 236);
}

.group-info img {
  border-radius: 50%;
  margin-left: 10px;
}




.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal {
  position: fixed;
  display: inline-block;
  
  top: 50%;
  left: 50%;
  
  width: 600px;
  height: 80%;
  
  box-sizing: border-box;
  padding: 30px;
  
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  
  background-color: white;
  z-index: 1;
  overflow-y: auto;
}

@media (max-width: 750px) {
  .modal {
    top: 10px;
    height: 95%;
    padding: 20px;
    -webkit-transform: translateX(-50%) translateY(0);
    transform: translateX(-50%) translateY(0);
  }
}


/* UTILS */

.hidden {
  display: none;
}



/* Loading-animation */
.loading {
  display: inline-block;

  width: 64px;
  height: 64px;

  background-image: url(../img/eraser.png);
  background-position: center 6px;
  background-size: 100%;
  background-repeat: no-repeat;

  animation-name: loading-animation;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes loading-animation {
  0% {
    transform: translateX(-10px);
  }
  30% {
    transform: translateX(50px);
  } 
  50% {
    transform: translateX(0px);
  }
  70% {
    transform: translateX(50px);
  } 
  100% {
    transform: translateX(-10px);
  }
}