@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

body, html {
    height: 100%;
    margin: 0;
    background-color: rgb(255, 255, 255);
    font-size: 62.5%;
    font-family: 'Inter', helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar */
.navbar {
    width: 100%;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
}

.navbar-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar-menu li {
    margin: 10px;
}

.navbar-link {
    text-decoration: none;
    color: #000;
    font-size: 1.6rem;
    font-family: 'Inter';
}

/* Inlogg */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin-top: 60px;
}

.login-container {
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.logo-section, .form-section {
    text-align: center;
}

.logo {
    max-width: 80%;
    height: auto;
    margin-bottom: 40px;
}

h2 {
    margin-bottom: 40px;
    color: #000;
    text-align: left;
    font-size: 32px;
    font-weight: 600;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #000;
    text-align: left;
    font-size: 16px;
}

input {
    width: calc(100% - 40px);
    padding: 10px;
    margin-bottom: 24px;
    border: 2px solid #ccc;
    border-radius: 16px;
    transition: border-color 0.3s;
}

input:focus,
input:hover {
    border-color: #000;
}

button {
    width: 98%;
    padding: 10px;
    margin-top: 24px;
    background-color: #000;
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;    
}

button:hover {
    background-color: #333;
}

.additional-links {
    margin-top: 20px;
    text-align: center;
}

.additional-links a {
    display: block;
    margin: 5px auto;
    padding: 10px;
    color: #333;
    text-decoration: underline;
    font-size: 16px;
    transition: color 0.3s;
}

.additional-links a:hover {
    color: #666;
}

/* Media queries för responsivitet */
@media only screen and (max-width: 768px) {
    .login-container {
        width: 70%;
    }

    .navbar-menu {
        flex-direction: column;
        align-items: center;
    }

    .navbar-menu li {
        margin: 10px 0;
    }
}

@media only screen and (max-width: 480px) {
    h2 {
        font-size: 24px;
    }
}