﻿<style >
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background: #f8f9fb;
    color: #111;
}


nav {
    background: white;
    border-bottom: 1px solid #ddd;
    padding: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #1a3c7e;
}

main {
    margin-top: 70px;
    padding: 1rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.event-header {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.event-logo {
    width: 50px;
    height: 50px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a3c7e;
    border-radius: 6px;
    flex-shrink: 0;
}

.event-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    background: #1a3c7e;
    color: white;
}

.btn-outline {
    border: 1px solid #1a3c7e;
    color: #1a3c7e;
    background: transparent;
}

.event-header p {
    color: #797979;
    line-height: 20px;
}

.event-card div h3 {
    margin-bottom: 0.5rem;
}

.event-card div {
    margin-bottom: 0.5rem;
}

main > div > h1 {
    margin-bottom: 1.5rem;
}

.btn-primary {
    background: #1a3c7e;
    color: white;
    transition: background 0.3s, transform 0.2s;
}

    .btn-primary:hover {
        background: #345089;
        transform: translateY(-2px);
    }

.btn-outline {
    border: 1px solid #1a3c7e;
    color: #1a3c7e;
    background: transparent;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

    .btn-outline:hover {
        background: #1a3c7e;
        color: white;
        transform: translateY(-2px);
    }


.past {
    background: #f1f1f1;
    padding: 1rem;
    border-radius: 8px;
    max-height: 800px;
    overflow-y: auto;
}

.past-event {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.8rem;
    margin-bottom: 10px;
}

.past h2 {
    margin-bottom: 1.5rem;
}

.past-event h3 {
    font-weight: 500;
    margin-bottom: 0.7rem;
}

.past-event span {
    font-size: 16px;
    color: rgb(133, 133, 133);
}

.past-event div {
    font-size: 14px;
    color: rgb(133, 133, 133);
    line-height: 20px;
}


.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 5px;
}

.event-meta {
    margin: 4px 0;
    font-size: 14px;
    color: #333;
}

    .event-meta i {
        margin-right: 6px;
        color: #1a3c7e;
    }

.btn-primary, .btn-outline {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 8px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}


.btn-primary {
    background: #1a3c7e;
    color: white;
    padding: 10px;
    width: 120px;
    text-align: center;
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.btn-primary {
    max-width: 100%;
}


    .btn-primary:hover {
        background: #345089;
        transform: translateY(-2px);
    }


.btn-outline {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    width: 250px;
    border: 1px solid #1a3c7e;
    border-radius: 4px;
    color: #1a3c7e;
    background: transparent;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, transform 0.2s;
}

    /* Hover effect */
    .btn-outline:hover {
        background: #1a3c7e;
        color: white;
        transform: translateY(-2px);
    }






.past::-webkit-scrollbar {
    width: 8px;
}

.past::-webkit-scrollbar-thumb {
    background: #1a3c7e;
    border-radius: 4px;
}

.past::-webkit-scrollbar-track {
    background: #f1f1f1;
}

@media (max-width: 900px) {
    main {
        grid-template-columns: 1fr;
    }

    .past {
        max-height: 400px;
        margin-top: 20px;
    }
}

@media (max-width: 500px) {
    nav .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .event-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-actions {
        flex-direction: column;
    }

    button {
        width: 100%;
    }
}

</style >
