
/* =========================================
   RITECS
   Academic Editorial Website
   ========================================= */


/* GLOBAL */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #344054;
    background: #ffffff;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1600px;
    margin: auto;
    padding: 18px 6.5%;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* BRAND */

.brand {
    display: flex;
    align-items: center;
    gap: 14px;

    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.brand-text h2 {
    color: #14263D;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: 3px;

    margin: 0;
}

.brand-text p {
    color: #7A8490;
    font-size: 12px;
    letter-spacing: 1px;

    margin: 5px 0 0;
}


/* =========================================
   NAVIGATION
   ========================================= */

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #344054;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #344054;
}


/* CONTACT BUTTON */

.nav-contact {
    background: #14263D;
    color: #ffffff;

    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    padding: 12px 23px;

    transition: 0.3s;
}

.nav-contact:hover {
    background: #315B7D;
    color: #ffffff;
}


/* =========================================
   MOBILE MENU
   ========================================= */

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
}

.menu-button span {
    display: block;

    width: 25px;
    height: 2px;

    margin: 5px 0;

    background: #14263D;
}


/* =========================================
   HERO BANNER
   ========================================= */

.hero-banner {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #F8F7F4;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
    background: #101E30;
    color: #ffffff;

    padding: 25px 6.5%;
}

.footer-container {
    max-width: 1600px;
    margin: auto;
}

.footer-container p {
    margin: 0;
    font-size: 13px;
}


/* =========================================
   RESPONSIVE DESIGN
   ========================================= */

@media (max-width: 1000px) {

    .header-container {
        padding: 16px 5%;
    }

    .main-navigation {
        gap: 18px;
    }

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text h2 {
        font-size: 23px;
    }

    .nav-link,
    .nav-contact {
        font-size: 12px;
    }

}


@media (max-width: 768px) {

    .header-container {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-text h2 {
        font-size: 22px;
    }

    .brand-text p {
        font-size: 10px;
    }

    /* HAMBURGER BUTTON */

    .menu-button {
        display: block;
        margin-left: auto;
    }

    /* MOBILE NAVIGATION */

    .main-navigation {
        display: none;

        width: 100%;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding-top: 18px;
    }

    #menu-toggle:checked ~ .main-navigation {
        display: flex;
    }

    .nav-link {
        padding: 13px 5px;
        border-top: 1px solid #eeeeee;
    }

    .nav-contact {
        display: block;
        text-align: center;
        margin-top: 12px;
    }

}
