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

/* ================= LAYOUT ================= */
.about-page {
    width: 100%;
    max-width: 1200px;
    height: 2000px;
    margin: 0 auto;
    overflow: scroll;
    box-shadow: 0px 2px 8px rgba(0,0,0,0.05);
    background-color: #f5f4ea;
}

.top-bar {
    width: 100%;
    max-width: 1200px;
    background-color: #0a89f1;
    padding: 1.5rem 5rem 1.5rem 1rem;
    color: #fff;
    height: 6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-right {
    display: flex;
    align-items: center;
}

/* ================= DESKTOP ACTIONS ================= */
.desktop-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* ================= CAB BUTTON ================= */
#CAB {
    height: 50px;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(
        90deg,
        #0a89f1 0%,
        #0a89f1 10%,
        #2e65dd 45%,
        #2e65dd 100%
    );
    border-radius: 5px;
    font-size: large;
    transition: all 0.3s ease;
}

#CAB:hover,
#CAB:focus {
    outline: 2px solid #ffd400;
}

/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

/* ================= MOBILE SLIDE MENU ================= */
.mobile-menu {
    position: absolute;
    top: 0;
    right: 0;

    width: 30%;
    min-width: 260px;
    height: 100%;

    background-color: #2e65dd;
    padding: 2rem 1.5rem;

    display: none;
    flex-direction: column;
    gap: 1rem;

    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;

    z-index: 1000;
}

/* slide in */
.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}

/* menu links */
.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
    text-decoration: underline;
    text-decoration-color: #fff;
    text-underline-offset: 3.5px;
    color: #000;
}

/* close button */
.close-menu {
    align-self: flex-end;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    margin-bottom: 1rem;
    padding-right: 5rem;
}

/* ================= LINK BAR ================= */
.link-box {
    background-color: #fff;
    width: 100%;
    height: 35px;
}

.link {
    display: flex;
    gap: 5.5rem;
    padding: 7px 5rem 0;
}

.link a {
    text-decoration: none;
    font-size: 1.042rem;
    color: rgb(2, 23, 48);
    transition: 0.3s ease;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.link a:hover,
.link a:focus {
    border: none;
    border-radius: 7px;
    background-color: #0a89f1;
    color: #fff;
    padding: 3.5px;
    font-size: 1.05rem;
} 

/* ================= about bar ================= */
.about-bar {
        background-color: #eeeeee;
    width: 100%;
    height: 40px;
}

/* ================= about-droplink ================= */
.about-droplink {
    display: flex;
    padding: 7px 0px 0px 1.3rem;
    gap: 0.5rem;
}

/* ================= about-droplink a ================= */
.about-droplink a {
    text-decoration: none;
    font-size: 1.02rem;
    color: rgb(2, 23, 48);
    transition: all 0.3s ease;
     font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
     
}

/* ================= home a ================= */
#home a{
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(2, 23, 48, 0.5);
}

#home a:hover,
#home a:focus {
      border: none;
    border-radius: 7px;
    background-color: #0a89f1;
    color: #fff;
    padding: 5px;
    font-size: 1.05rem;
    text-decoration: none;
}

/* ================= event a ================= */
#event a {
    text-decoration: none;
}

/* ================= RESPONSIVE RULES ================= */
/* Tablet & Mobile */
@media (max-width: 1024px) {

    /* hide desktop-only items */
    .desktop-actions {
        display: none;
    }

    /* show hamburger */
    .hamburger {
        display: block;
    }

    /* hide link bar */
    .link-box {
        display: none;
    }
}

/* ================= (DESKTOP ONLY) ================= */
@media (min-width: 768px) {

   /* about-droplink */
.about-droplink {
    display: flex;
    padding: 7px 5rem 0;
    gap: 0.5rem;
}
}

/* ================= FADE-UP ANIMATION ================= */
.fade-up {
    opacity: 0;             
    transform: translateY(50px); 
    transition: all 0.8s ease-out; 
}

.fade-up.show {
    opacity: 1;               
    transform: translateY(0); 
}

/* ================= FADE-LEFT ANIMATION ================= */
.fade-left {
    opacity: 0;              
    transform: translateX(-50px); 
    transition: all 0.8s ease-out; 
}

.fade-left.show {
    opacity: 1;            
    transform: translateX(0); 
}