* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    align-items: center;
    background-color: #0e4985;
    background-image: linear-gradient(120deg, #0e4985, 50%, #69c);
    background-attachment: fixed;
    display: grid;
    font-family: "Raleway", Verdana, sans-serif;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
    grid-template-columns: 1fr;
    grid-template-rows: 75px 1fr;
    height: 100vh;
    justify-content: center;
}

header.main {
    background-color: #fff;
    box-shadow: 0 0 15px #0e4985;
    color: #0e4985;
    display: flex;
    font-size: 20px;
    height: 100%;
    justify-content: center;
    position: sticky;
    top: 0;
    width: 100%;
}

header.main .wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

header.main .logo {
    align-items: center;
    color: #0e4985;
    display: flex;
    gap: 20px;
    height: 100%;
    max-width: 1200px;
    padding-inline: 20px;
    text-decoration: none;
}

header.main .logo img {
    height: 40px;
}

header.main .logo span {
    font-size: 14px;
}

.toggle-menu {
    background-color: transparent;
    border: none;
    padding: 0 15px;
}

.toggle-menu svg {
    height: 35px;
    width: 35px;
}

.menu-icon line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

body.show-menu .menu-icon .top {
    transform: translateY(9px) rotate(45deg) translateX(-7px);
}

body.show-menu .menu-icon .middle {
    opacity: 0;
}

body.show-menu .menu-icon .bottom {
    transform: translateY(-9px) rotate(-45deg) translateX(-7px);
}

header.main nav {
    background-color: #fff;
    box-shadow: 0 15px 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid #0e4985;
    bottom: 0;
    padding-inline: 15px;
    position: fixed;
    right: 0;
    top: 75px;
    transition: 0.25s transform ease-out;
    transform: translateX(100%);
    min-width: 150px;
}

body.show-menu header.main nav {
    transform: translateX(0);
}

header.main nav ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

header.main nav a,
header.main nav button {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #0e498566;
    color: #0e4985;
    display: block;
    font-size: 20px;
    padding: 15px 5px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.alert {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 40px;
    max-width: 600px;
    padding: 20px 40px;
}

.alert h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.login-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 400px;
    padding: 20px;
    width: 100%;
}

.login-container h1 {
    text-align: center;
}

.login-container p {
    line-height: 1.4;
    margin-bottom: 15px;
}

h1 {
    color: #0e4985;
    font-size: 1.8em;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

label {
    color: #333;
    display: block;
    font-size: 1em;
    margin-bottom: 5px;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #abc;
    border-radius: 4px;
    font-size: 1em;
}

input:focus-visible {
    border: 2px solid #0e4985;
}

.button {
    background-color: #0e4985;
    color: white;
    padding: 10px 20px;
    font-size: 1.1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.9;
    width: 100%;
    transition: 0.25s opacity;
}

.button:hover {
    opacity: 1;
}

.button:focus-visible {
    outline: 3px solid #0e4985;
    outline-offset: 2px;
    opacity: 1;
}

.forgot-password {
    margin-top: 10px;
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.dashboard {
    align-self: flex-start;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
    padding: 20px 15px;
}
.dashboard .box {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
}
.dashboard .box h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.box .empty {
    align-items: center;
    color: #666;
    display: flex;
    justify-content: center;
    min-height: 7rem;
}

@media (min-width: 768px) {
    body {
        grid-template-rows: 100px 1fr;
    }

    .dashboard {
        grid-template-columns: 1fr 1fr;
        padding: 30px;
    }

    header.main .wrapper {
        padding-inline: 20px;
    }

    header.main .logo img {
        height: 60px;
    }

    header.main .logo span {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .dashboard {
        grid-template-columns: 1fr 1fr 1fr;
        margin: 0 auto;
        max-width: 1200px;
        width: 100%;
    }
}
