*{
    padding: 0px;
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
}

body, html {
  overflow-x: hidden;
  background-image: url("img/личкаб.jpg");
  background-size: cover;
}

main {
  margin: 0 auto;
  max-width: 1200px; 
}

.user-card {
  border: 1px solid #ccc;
  padding: 10px;
  max-width: 400px;
  margin: 0 auto;
  padding: 30px;
}

.user-card p {
  margin: 20px;
  padding: 10px;
  font-weight: 900;
} 
.user-card h2 {
  margin: 20px;
  padding: 10px;

} 
.user-card img {
  float: center;
  margin-right: 10px;
  max-width: 200px;
}

.user-card .edit-button {
  margin-top: 10px;
  padding: 5px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.user-card .edit-button:hover {
  background-color: #3e8e41;
} 

form label {
  display: block;
}

form input,
form textarea {
  width: 100%;
  margin-bottom: 10px;
}

form button {
  display: block;
  margin-top: 10px;
}


nav{
    margin: 0 auto;
    max-width: 1400px;
    width: 100%;
    font-weight: 700;
}
#checkbox-menu,
.toggle{
    display: none;
}

.menu li:not(:first-child) {
  display: none;
}

.menu{
    padding: 0;
    margin: 0;
    height: 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
    color: #ffcc09;
   
}
.menu li class="active"{
    color: #000;
    text-decoration: none;
    align-self: center;
    font-size: 15px;
    padding: 3px 3px;
    transition: background .2s linear;
    color: #ffcc09;}
.menu li a{
    color: #000;
    text-decoration: none;
    align-self: center;
    font-size: 15px;
    padding: 3px 3px;
    transition: background .2s linear;
    color: #ffcc09;
   

}
.menu li class="active"{
    background: #0000ff;
    border-radius: 3px;
}
.menu li a:hover{
    background: #0000ff;
    border-radius: 3px;

}

#welcome-message {
    color: yellow;
    font-size: 20px;
    position: fixed;
    top: 0;
    left: 0;
}

.logout-button {
    position: fixed; 
    top: 0;
    right: 0;
    background-color: 
    blue;
    font-size: 15px;
    border-radius: 30%;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  overflow: auto;
}

.modal form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 600px;
    height: 1280px;
    padding-top: 150px;
    background-color: #fff;
    border-radius: 10px;
    overflow: auto;
}

.modal input {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    border: none;
}

.register-button, .login-button { 
    display: inline-block; 
    padding: 10px; 
    margin: 10px; 
    border-radius: 5px; 
    background-color: #3498db; 
    color: #fff; 
    font-size: 16px; 
    text-decoration: none; 
    cursor: pointer; 
}

.register-button:hover, .login-button:hover { 
    background-color: #2980b9; 
}


.close-button {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 24px;
  cursor: pointer;
  color: white;
  background-color: transparent;
  border: none;
  padding: 5px;
  margin: 5px;
}

.close-button:hover {
  color: #bbb;
}