.loginbox {
    margin-left: 22%;
    margin-right: 22%;
    padding: 20px;
    align-content: center;
    margin-top: 5%;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.loginbox h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    font-weight: bold;
}

.loginbox form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.navn form {
    display: flex;
    flex-direction: row;
    row-gap: 5px;
    margin: auto;
}
.loginbox input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.loginbox input:focus {
    border-color: #D34F4F;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.3);
}

.loginbox button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #D34F4F;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.loginbox button:hover {
    background-color: #A13C3C;
}
.Registrer{
    padding: 10px;
    margin-bottom: -2%;
}
.Registrer a{
    text-decoration: none;
    color: #D34F4F;
    align-items: center;
    justify-items: center;
    height: 10%;
}
.Registrer a:hover{
    text-decoration: underline;
    color: #A13C3C;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    display: flex;
    flex-direction: column;
    color: #333;
    background-color: #F4f4f4;
    font-family: "Rubik";
    justify-content: space-between;
}

.footer {
    text-align: center;
    background: #D34F4F;
    color: #F4F4F4;
    padding: 5px;
    margin-top: 10px;
    width: 100%;
}
@media (max-width: 900px) {
    .loginbox{
        margin-left: 10%;
        margin-right: 10%;
        padding: 20px;
        align-content: center;
        margin-top: 5%;
        background-color: #ffffff;
        border: 1px solid #ddd;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
}