body{
    background-color: rgb(201, 138, 23);
   
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #d9a441, #f5d08a);

}
.BG {
    background-color: white;
    height: 80px;
    position: sticky;
    top: 0;
    box-shadow: 0 25px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 20px;
    width: 1400px;
    margin: 20px auto;


    
}



nav
{
    justify-content: center;
    display: flex;
}

.Menü
{
    margin: 20px;
    width: 150px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    transition: background-color 0.3s ease-in;
    
}

.Menü:hover
{
    background-color: rgba(227, 227, 227, 0.866);
}

a
{
    font-size: 25px;   
    text-decoration: none;
    color: black;
}


.regisztracio-wrapper
{
    animation: berepules 1.5s ease-out forwards;
}

#regisztracio
{
    border-radius: 20px;
    height: 50px;
    width: 200px;
    background-color: orange;
    border: none;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.3s ease-in;
    font-size: 17px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

#regisztracio:hover
{
    cursor: pointer;
    transform: scale(1.2);
}

@keyframes berepules
{
  0%
  {
    transform: translateY(-100px);
    opacity: 0;
  }

  100%
  {
    transform: translateY(0);
    opacity: 1;
  }
}



main {
    background-color: white;
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    animation: fadeIn 0.6s ease;
}
label{
      display: block;
      margin-top: 10px;
    }
input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

input:focus {
    border-color: #d9a441;
    outline: none;
    box-shadow: 0 0 5px rgba(217,164,65,0.5);
}
button {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background-color: #d9a441;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #b88b2f;
    transform: translateY(-2px);
}
.error {
    color: red;
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}