
/* base */
body {
    background-color: var(--tertiary);
    font-family: 'Clarity City', sans-serif;
}

/* header */
header {
    background-color: var(--tertiary);
}
header .container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
}
header h1 a {
    background-image: url("../images/logo.c1f688b1440c.svg");
    background-position: 0 bottom;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 100px;
    text-indent: -9000px;
    width: 320px;
}
header .submenu {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    align-self: end;
    justify-self: end;
    grid-column: 2;
    grid-row: 1;
}
header .submenu a {
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}
header .submenu a:hover {
    color: var(--secondary);
}
header .submenu a box-icon {
    width: 1rem;
}

/* Nav */
#mainmenu {
    background-color: var(--primary-dark);
    flex-wrap: wrap;
}
#mainmenu .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
}
#mainmenu .nav-link {
    --bs-nav-link-color: var(--white);
    --bs-nav-link-font-weight: 500;
    --bs-nav-link-padding-y: .25rem;
    --bs-nav-link-padding-x: 1rem;
    
    background-color: var(--primary);
    border-radius: var(--border-radius);
    display: flex;
    gap: .5rem;
    text-transform: uppercase;
}
#mainmenu .nav-link:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* main */
main {
    background-color: var(--bs-gray-100);
}
main .overlay {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
main article h1 {
    padding-top: 1rem;
}
main .featured h1 {
    color: var(--primary-dark);
    font-weight: 600;
    padding-top: 1rem;
}

/* footer */
footer {
    background-color: var(--tertiary);
    color: var(--primary-dark);
}
footer dt {
    color: var(--primary-dark);
}
footer dd {
    margin-bottom: .15rem;
}
footer .partners {
    align-items: center;
    gap: 1rem 3rem;
    justify-content: center;
}
footer .partners .flex-item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    flex-basis: 190px;
    flex-grow: 0;
    height: 80px;
    text-indent: -9000px;
    width: 190px;
}
footer .partners .logo-funcitern {
    background-image: url("../images/logo-funcitern.ecc36929198e.png");
}
footer .partners .logo-fja {
    background-image: url("../images/logo-fja.3a5ca66328d1.png");    
}
footer .partners .logo-govrn-seec {
    background-image: url("../images/secult-rn.a8163f878a9e.png");    
}
footer .partners .logo-govrn {
    background-image: url("../images/mc.7f297d9cfc0e.png");    
}

/* Extras */
fieldset {
    background-color: var(--tertiary);
}
.accordion-button,
.accordion-button:not(.collapsed) {
    color: var(--primary);
}
.roll-down {
    background-image: url("../images/chevron-down.195216e25bb0.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 50px auto;
    color: var(--primary);
    display: inline-block;
    font-size: 1.25rem;
    padding-bottom: 3rem;
}

/* Social Links */
.social-link {
    background-color: var(--primary);
    height: 46px;
    width: 46px;
}
.social-link:hover {
    background-color: var(--secondary);
}
.social-instagram {
    background-image: url("../images/icon-instagram.fe47ae3530af.svg");
}
.social-facebook {
    background-image: url("../images/icon-facebook.68349748474b.svg");
}
.social-youtube {
    background-image: url("../images/icon-youtube.1c6204832f02.svg");
}

/* Home */
body.home main {
    background-color: var(--white);
    background-image: url("../images/bg-main-right.87d8ad8ec3c9.svg");
    background-position: right 5rem;
    background-repeat: no-repeat;
    background-size: var(--bg-main-width) auto;
}
body.home main .overlay {
    background-image: url("../images/bg-main-left.d55386bbba4c.svg");
    background-position: 0 bottom;
    background-repeat: no-repeat;
    background-size: 45% auto;
    padding-bottom: var(--main-p-b);
}
body.home main .featured h1 {
    font-size: 5rem;
}
body.home main .featured h2 {
    font-size: 3rem;
}

/* Login */
body.login main {
    background-image: url("../images/bg-login.4d96e38444ae.jpg");
}
body.login main .overlay::before {
    background-color: var(--tertiary);
}
body.login .logo {
    align-items: center;
}
body.login .logo a {
    background-image: url("../images/logo.c1f688b1440c.svg");
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    height: 150px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    text-indent: -9000px;
    width: 370px;
}
body.login .logo a:hover {
    opacity: .8;
}

/* High Contrast */
body.highContrast footer .partners .logo-fja {
    background-image: url("../images/logo-fja-white.8cbd86292178.png");    
}
body.highContrast footer .partners .logo-govrn-seec {
    background-image: url("../images/logo-govrn-seec-white.e5ed97428540.png");    
}
body.highContrast footer .partners .logo-govrn {
    background-image: url("../images/logo-govrn-white.db0359ae92ae.png");    
}
body.highContrast.home main {
    background-color: var(--black);
}

@media screen and (max-width: 992px) {
    header h1 a {
        height: 65px;
        width: 250px;
    }
    body.login .logo {
        align-items: flex-start;
    }
    body.home main .featured h1 {
        font-size: 2.75rem;
    }
    body.home main .featured h2 {
        font-size: 2.25rem;
    }
    body.home main p.featured {
        font-size: 1.5rem;
    }
}
@media screen and (max-width: 767px) {
    main .overlay {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}