:root {
    --blue: #307C8E;
    --yellow: #FDD32F;
    --green: #308e38;
    --red: #d64947;
    --top-margin: 124px;
}

* {
    font-family: Public Sans, Public Sans-fallback, sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

button {
    border: 3px solid var(--blue);
    border-radius: 8px;
}

button:hover {
    filter: grayscale(50%);
    cursor: pointer;
}

input, select, textarea {
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border: 1px solid var(--blue);
}

#main-container {
    display: flex;
    flex-direction: column;

    text-align: center;
    justify-content: center;
    align-items: center;

    width: 1024px;
    border-radius: 8px;

    margin-top: var(--top-margin);
    padding-top: 20px;
    padding-bottom: 20px;
}

.navbar {
    background-color: white;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    border-bottom: 3px solid var(--blue);
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.logo {
    height: 100px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li {
    display: flex;
}

.nav-links a {
    color: black;
    font-size: 18px;
    padding: 20px 20px;
    border-radius: 5px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background: var(--blue);
    color: white;
}

#error-container {
    width: 100%;
    height: 80px;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: var(--red);
    color: white;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 10px;
}

.backBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.backBtn svg {
    width: 20px;
    margin: 3px 0 0 0;
    color: black;
}

.backBtn:hover svg {
    color: white;
}

@media screen and (max-width: 600px) {
    .logo {
        height: 60px;
    }
    
    .nav-links {
        gap: 5px;
    }

    .nav-links a {
        font-size: 14px;
    }
}