* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #121212;
    background-image: linear-gradient(to bottom, #5c0a0e, #121212 100px);
    background-repeat: no-repeat;
    color: white;
}

p, label, td, th {
    font-size: 16px;
    margin-bottom: 25px; 
}

td, th {
    padding: 10px; 
}

label {
    font-weight: bold;
}

h1 {
    font-size: 48px; 
}

.container {
    display: grid;
    grid-template-areas:
        "header"
        "subbar"
        "content"
        "footer-elements";
    grid-template-rows: auto auto 1fr auto auto;
    min-height: 100vh;
}

.content {
    grid-area: content;
    max-width: 75%;
    margin: 0 auto;
    text-align: center; 
    margin-top: 20px;
    padding: 40px; 
}

.content p {
    width: 75%;
}

.content i {
    font-size: 80px; 
    margin-bottom: 10px;
}

footer {
    grid-area: footer;
}

nav {
    grid-area: header;
    position: sticky;
    top: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 64px;
    padding: 0 24px;
}

nav.scrolled {
    background-image: linear-gradient(to bottom, #5c0a0e, #121212 100px);
}

nav a {
    display: inline-block;
    color: #9197ae;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    margin: 0 25px;
}

nav a:hover,
.dropdown:hover .dropbtn {
    color: #eff6ee;
}

.nav-links a {
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    border-bottom-color: #9197ae;
}

.nav-links a.active {
    color: #eff6ee;
    border-bottom-color: #eff6ee;
}

nav a.title {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
    margin: 0;
    padding: 14px 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    color: white;
}

nav a.title img {
    height: 40px;
    width: auto;
    padding: 3px;
    object-fit: contain;
    background: #f1f1f1;
    border-radius: 6px;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

nav .icon {
    display: none;
}

nav a.login-link {
    justify-self: end;
    margin: 0;
    padding: 8px 20px;
    background-color: #ed1b24;
    color: white;
    font-weight: 600;
    border-radius: 20px;
}

nav a.login-link:hover {
    background-color: #f2575d;
    color: #0b1a1a;
}

.dropdown {
    justify-self: end;
}

.dropdown .dropbtn {
    font-size: 26px;
    border: none;
    outline: none;
    color: #9197ae;
    padding: 10px 0 10px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 16px;
    background-color: #232228;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    overflow: hidden;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.dropdown-content a {
    display: block;
    color: #9197ae;
    padding: 12px 16px;
    margin: 0;
    text-align: left;
    font-size: 15px;
}

.dropdown-content a:hover {
    color: #eff6ee;
    background-color: rgba(79, 209, 197, 0.15);
}

.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content {
    display: block;
}

@media screen and (max-width: 900px) {
    nav {
        grid-template-columns: 1fr auto;
        padding: 0 16px;
    }

    .nav-links,
    .dropdown,
    .login-link {
        display: none;
    }

    nav a.icon {
        display: block;
        grid-row: 1;
        grid-column: 2;
        padding: 14px 0 14px 16px;
    }

    nav.responsive {
        background-color: #1A191E;
    }

    nav.responsive .nav-links {
        display: flex;
        flex-direction: column;
        grid-column: 1 / -1;
    }

    nav.responsive .nav-links a {
        text-align: left;
        padding: 12px 0;
    }

    nav.responsive .login-link {
        display: block;
        grid-column: 1 / -1;
        margin: 8px 0 16px;
    }

    nav.responsive .dropdown {
        display: block;
        grid-column: 1 / -1;
        justify-self: stretch;
    }

    nav.responsive .dropdown .dropbtn {
        width: 100%;
        text-align: left;
        padding: 12px 0;
    }

    nav.responsive .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: transparent;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open:hover .dropdown-content,
    .dropdown.open .dropdown-content {
        display: block;
    }
}

.footer-element {
    grid-area: footer-elements;
}

.watermark-wrap {
    grid-area: watermark;
    margin-top: 10vh;
    position: relative;
    height: 10vw;
    overflow: hidden;
    background-color: transparent;
}

.watermark {
    margin: 0;
    font-size: 12vw;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #262626, #121212);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.watermark-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(to bottom, transparent, #121212);
}

footer {
    padding: 0 20px 20px;
}

footer .columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;    
    width: 100%;
}

footer .column {
    display: flex;
    flex-direction: column;
    align-items: center;         
    justify-content: flex-start;
    width: 30%;
    padding: 0 20px 20px;
    text-align: center;
}

footer .column ul {
    margin: 0;
    padding: 0;
    text-align: left;
}

footer .column a {
    color: #aaaaaa;
    font-size: 16px; 
}

footer .column a:hover {
    color: #ffffff;
}

footer .column h3 {
    margin: 0 0 15px 0;
}

footer .column p {
    margin: 0;
}

footer .copyright {
    margin-top: 20px;
    padding-top: 20px;
    text-align: center;
    font-weight: bold; 
    border-top: 1px solid #444;
}

@media (max-width: 900px) {
    footer .columns {
        flex-wrap: wrap;
    }

    footer .column {
        width: 45%;
    }

    footer .column:first-child {
        width: 100%;
    }
}

@media (max-width: 600px) {
    nav {
        padding: 0 12px;
    }

    nav a.title {
        gap: 8px;
        font-size: 18px;
    }

    nav a.title img {
        height: 32px;
    }

    nav a.icon {
        margin: 0;
        padding: 14px 0 14px 8px;
    }

    footer .columns {
        flex-direction: column;
        align-items: center;
    }

    footer .column {
        width: 100%;
        padding: 10px 0;
    }

    footer .column h2 {
        max-width: 100%;
    }
}

.required {
    color: red; 
    font-size: 18px;
    font-weight: bold;
}

.admin-bar {
    grid-area: subbar;
    position: sticky;
    top: 64px;
    z-index: 90;
    display: flex;
    justify-content: space-between;
    padding: 5px 24px 0;
    background-color: #1A191E;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.admin-links {
    display: flex;
    gap: 28px;
}

.admin-bar a {
    padding: 8px 4px;
    color: #9197ae;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.admin-bar a:hover {
    color: #eff6ee;
    border-bottom-color: #9197ae;
}

.admin-bar a:focus-visible {
    outline: 2px solid #ed1b24;
    outline-offset: -2px;
}

.admin-bar a.admin-title {
    color: #eff6ee;
    font-weight: bold;
}

.admin-links a.active {
    color: #eff6ee;
    border-bottom-color: #ed1b24;
}

@media (max-width: 768px) {
    .admin-bar {
        position: static;
        flex-direction: column;
        padding: 12px 12px 0;
    }

    .admin-links {
        flex-direction: column;
        gap: 0;
    }

    .admin-bar a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .admin-links a.active {
        padding-left: 10px;
        border-left: 3px solid #ed1b24;
    }
}

ul.breadcrumb {
    padding: 10px 16px;
    list-style: none;
}

ul.breadcrumb li {
    display: inline;
    font-size: 18px;
    color: white;
}

ul.breadcrumb li+li:before {
    padding: 8px;
    color: #9197ae;
    content: "/\00a0";
}

ul.breadcrumb li a {
    color: #9197ae;
    text-decoration: none;
}

ul.breadcrumb li a:hover {
    color: #01447e;
    text-decoration: underline;
}