@font-face
{
    font-family: "Halo";
    src: url("/fonts/Halo.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}


body
{
    margin: 0;
    background-color: #111;
    color: white;
    font-family: Arial, sans-serif;

    overflow-x: hidden;
}

a {
    color: #ff3333;
    text-decoration: none;
}

a:hover {
    color: #ff8888;
    text-decoration: underline;
}


.banner
{
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
}


.banner img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.banner-image
{
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.banner-text
{
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%) scaleY(1.3);

    color: rgb(255, 0, 0);

    text-shadow:
        3px 3px 5px black;

    font-family: "Halo";

    font-weight: 400;

    font-size: clamp(32px, 8vw, 120px);

    font-style: normal;

    white-space: nowrap;

    text-align: center;
}


.navbar
{
    display: flex;

    justify-content: center;

    gap: 20px;

    padding: 15px;

    background-color: #222;
}


.navbar a
{
    color: white;

    text-decoration: none;

    padding: 10px 25px;

    border: 2px solid white;

    border-radius: 5px;
}


.navbar a:hover
{
    background-color: white;
    color: black;
}


.content
{
    padding: 40px;


    max-width: 1200px;

    margin: auto;

    line-height: 2;
}

.image-grid {
    width: 90%;
    max-width: 1400px;
    margin: 50px auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}


.image-grid img {
    width: 100%;
    height: auto;
    display: block;
}

.main-image
{
    display: block;

    width: 600px;
    max-width: 90%;

    margin: 30px auto 15px auto;
}


.image-link
{
    display: block;

    text-align: center;

    color: white;

    font-size: 20px;

    text-decoration: none;
}


.image-link:hover
{
    color: red;
    text-decoration: underline;
}

.footer-spacing
{
    height: 300px;
}

.site-footer
{
    margin-top: 60px;

    padding: 40px 20px;

    background-color: #151515;

    border-top: 2px solid #444;

    text-align: center;
}


.footer-header h2
{
    font-family: "Halo";

    font-weight: 400;

    color: red;

    margin: 0;

    font-size: 40px;
}


.footer-header p
{
    color: #aaa;

    margin-top: 10px;
}



.footer-links
{
    display: flex;

    justify-content: center;

    gap: 20px;

    margin: 30px 0;
}


.footer-links a
{
    color: white;

    text-decoration: none;

    border: 2px solid white;

    padding: 10px 25px;

    border-radius: 5px;
}


.footer-links a:hover
{
    background-color: white;

    color: black;
}



.footer-panels
{
    display: flex;

    justify-content: center;

    gap: 30px;

    margin-top: 40px;
}



.footer-panel
{
    width: 180px;

    color: white;

    text-decoration: none;

    border: 2px solid #555;

    padding: 15px;

    background-color: #222;
}



.footer-panel img
{
    width: 120px;

    height: 120px;

    object-fit: contain;

    display: block;

    margin: 0 auto 15px auto;
}



.footer-panel span
{
    font-family: "Halo";

    font-size: 22px;
}



.footer-panel:hover
{
    border-color: white;
}



.footer-bottom
{
    margin-top: 40px;

    color: #777;

    font-size: 14px;
}

.about-text {

    width: 80%;
    max-width: 900px;

    margin: 50px auto;

    padding: 40px;

    text-align: center;

    font-size: 1.3rem;

    line-height: 1.8;

}

/* =========================
   ADMIN PAGE
========================= */


.admin-title
{
    text-align: center;

    font-family: "Halo";

    color: red;

    font-size: clamp(45px, 8vw, 100px);

    text-shadow:
        3px 3px 5px black;

    margin: 50px 0;
}



.admin-container
{
    width: 90%;

    max-width: 1200px;

    margin: auto;
}



.admin-panel
{
    background-color: #151515;

    border: 2px solid #444;

    border-radius: 8px;

    padding: 30px;

    margin-bottom: 40px;

    box-shadow:
        0 0 15px black;
}



.admin-panel h2
{
    font-family: "Halo";

    font-weight: 400;

    color: red;

    text-align: center;

    font-size: 35px;

    margin-top: 0;

    margin-bottom: 25px;
}



.admin-buttons
{
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    flex-wrap: wrap;
}



.admin-buttons button,
.commission-actions button
{
    background-color: #222;

    color: white;

    border: 2px solid white;

    border-radius: 5px;

    padding: 12px 30px;

    font-size: 18px;

    cursor: pointer;

    transition: 0.2s;
}



.admin-buttons button:hover,
.commission-actions button:hover
{
    background-color: white;

    color: black;
}



.admin-table-container
{
    background-color: #111;

    border: 2px solid #333;

    border-radius: 6px;

    overflow-x: auto;

    padding: 10px;
}



.admin-table
{
    width: 100%;

    border-collapse: collapse;

    color: white;

    min-width: 700px;
}



.admin-table th
{
    font-family: "Halo";

    color: red;

    font-size: 22px;

    background-color: #222;
}



.admin-table th,
.admin-table td
{
    border: 1px solid #444;

    padding: 14px;

    text-align: center;
}



.admin-table tr:nth-child(even)
{
    background-color: #191919;
}



.admin-table tr:hover
{
    background-color: #333;
}

.status-on
{
    text-align: center;

    color: red;

    font-family: "Halo";

    font-size: 28px;

    margin: 20px;
}



.status-off
{
    text-align: center;

    color: #00ff66;

    font-family: "Halo";

    font-size: 28px;

    margin: 20px;
}

.login-panel
{
    max-width: 500px;

    margin: auto;

    text-align: center;
}



.login-form
{
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 20px;
}



.login-form input
{
    width: 80%;

    max-width: 350px;

    padding: 12px;

    background-color: #222;

    color: white;

    border: 2px solid #555;

    border-radius: 5px;

    font-size: 18px;

    text-align: center;
}



.login-form input:focus
{
    outline: none;

    border-color: red;
}



.login-form button
{
    background-color: #222;

    color: white;

    border: 2px solid white;

    border-radius: 5px;

    padding: 12px 40px;

    font-size: 18px;

    cursor: pointer;
}



.login-form button:hover
{
    background-color: white;

    color: black;
}

/* =========================
   COMMISSIONS PAGE
========================= */


/* =========================
   COMMISSION VIEWER
========================= */


.commission-information
{
    background-color:#111;

    border:2px solid #333;

    border-radius:6px;

    padding:20px;

}



.commission-information p
{
    color:white;

    font-size:18px;

    margin:12px 0;

    line-height:1.5;
}

.commission-list
{
    display:flex;

    flex-direction:column;

    gap:20px;
}



.commission-card
{
    display:flex;

    justify-content:space-between;

    align-items:center;

    background-color:#222;

    border:2px solid #555;

    border-radius:8px;

    padding:25px;

    color:white;

    text-decoration:none;

    transition:0.2s;
}

.commission-details
{
    flex:1;
}


.commission-actions
{
    display:flex;

    gap:15px;

    margin-left:20px;
}

.commission-card h2
{
    font-family:"Halo";

    color:red;

    font-size:30px;

    margin:0 0 10px 0;

    text-align:left;
}



.commission-card p
{
    color:#aaa;

    margin:0;

    font-size:18px;
}



.commission-card:hover
{
    border-color:red;

    background-color:#292929;

    transform:scale(1.02);
}

@media (max-width: 600px)
{
    .banner
    {
        height: 160px;
    }

    .commission-card
{
    flex-direction:column;

    align-items:stretch;

    gap:20px;
}


.commission-actions
{
    margin-left:0;

    justify-content:center;
}

    .banner-text
    {
        width: 100%;

        left: 50%;
        top: 50%;

        font-size: clamp(22px, 9vw, 45px);

        white-space: normal;

        text-align: center;

        line-height: 0.85;

        transform: translate(-50%, -50%) scaleY(1.15);
    }


    .navbar
    {
        flex-direction: column;

        align-items: center;

        gap: 10px;

        padding: 10px;
    }


    .navbar a
    {
        width: 80%;

        text-align: center;

        padding: 10px;
    }


    .content
    {
        padding: 20px;
    }

    .footer-links
    {
        flex-direction: column;

        align-items: center;
    }


    .footer-links a
    {
        width: 70%;
    }


    .footer-panels
    {
        flex-direction: column;

        align-items: center;
    }


    .footer-panel
    {
        width: 75%;
    }


    .footer-header h2
    {
        font-size: 28px;
    }

    .image-grid
    {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .about-text
    {

        width: 85%;

        padding: 20px;

        font-size: 1.1rem;

    }

}