body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    padding: 0;
    margin: 0;
    color: #d1d0cf;
    background: #141414;
}

.div-form {
    background: #28365b;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 500px;
    height: 500px;
    margin-left: 35%;
}

@media (max-width : 768px){
    .div-form{
        margin-left: -4%;
        width: 104%;
    }
    
}

.form {
    display: none;
}

.form.hidden {
    display: none;
}

.form:not(.hidden) {
    display: block;
}

#form-toggle {
    text-align: center;
    margin-bottom: 20px;
}

#form-toggle button {
    margin: 0 10px;
    padding: 10px 20px;
    cursor: pointer;
}

#login, #register {
    background: #fcc201;
    border: 1px solid #fcc201;
    color: #28365b;
    transition: color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    position: relative;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
}

#login:hover, #register:hover {
    color: #fff;
    cursor: pointer;
}

#show-register, #show-login{
    background: #fcc201;
    border: 1px solid #fcc201;
    color: #28365b;
    transition: color 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    position: relative;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
}

#show-register:hover, #show-login:hover {
    color: #fff;
    cursor: pointer;
}

#register-username, #register-email, #register-password, #login-username, #login-password{
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    margin-top: 7%;
}

#register-username label {
    color: white;
}

h2 {
    text-align: center;
}

#logo-form{
    width: 28%;
    margin-left: 38%;
}

.alert {
    padding: 20px;
    background-color: green;
    color: white;
    opacity: 0;
    position: fixed;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 80%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    transition: top 0.5s ease, opacity 0.5s ease;
    margin-top: 0%;
  }
  
  .alert.show {
    top: 15px;
    opacity: 1;
  }
  
  .closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s;
  }
  
  .closebtn:hover {
    color: #000;
  }