html {
    font-family: Verdana, sans-serif;
}

h1, h2, h3 {
    color: rgb(31,0,57);
}

body {
    margin: 0;
    padding-top: 100px; /* Adjusted for fixed navbar height */
    background-color: #f4f4f4; /* Light background for the whole page */
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ensure the body takes up the full height */
}

.main {
    background-color: rgb(255, 255, 255);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    transition: transform 0.2s;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-sizing: border-box;
    margin: auto; /* Center the main div */
}

label {
    display: block;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 5px;
    text-align: left;
    color: rgb(31,0,57);
    font-weight: bold;
}

button {
    background-color: rgb(31,0,57);
    border: none;
    color: white;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 0;
    cursor: pointer;
    border-radius: 10px;
}

input {
    width: calc(100% - 20px);
    margin: 10px 0;
    padding: 10px;
    box-sizing: border-box;
}

.navbar {
    overflow: hidden;
    background-color: rgb(31,0,57);
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar li {
    margin-left: 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
}

.navbar a:hover {
    background-color: rgb(150,0,226);
}

.logo {
    height: 60px;
    margin-right: auto;
}

@media (max-width: 600px) {
    .main {
        padding: 15px;
        width: 100%;
    }
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar a {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    input {
        width: calc(100% - 10px);
    }
}