@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

body {
    background-color: #EEE;
    font-size: 16px;
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-size: 14px;
}


.about-image {
    background: #FFF;
    width: 300px;
    padding: 30px;
    font-family: "Caveat", cursive;
}

.about-image img {
    width: 100%;
}

.header-menu ul {
    margin-bottom: 0px;
}

.main-header img {
    width: 108px;
    height: 108px;
}

.main-header {
    display: grid;
    grid-template-columns: 100px auto 100px;
    align-items: center;
    padding-top: 12px;
    padding-bottom: 10px;
}

.header-banner {
    background-color: var(--primary-color);
    color: #FFF;
    font-size: 12px;
    padding: 8px 0px;
}

.header-banner span {
    padding-right: 8px;
}

.main-tagline {
    color: var(--primary-color);
    font-size: 20px;
    font-family: "Merriweather", serif;
    font-weight: 700;
}

.sub-tagline {
    font-size: 16px;
    font-family: "Merriweather", serif;
    font-weight: 700;
    margin-top: 8px;
}

.header-menu {
    background: #667db6;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #667db6, #0082c8, #0082c8, #667db6);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #667db6, #0082c8, #0082c8, #667db6); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #000;
}

.header-menu nav ul li {
    display: inline-block;
    margin-right: 8px;
    padding: 12px 4px;
    font-size: 14px;
}

.header-menu nav ul li a{
    text-decoration: none;
    color: white;
    position: relative;
    display: inline-block;
}

.header-menu nav ul li a.active::after {
    content: '';
    width: 20px;
    height: 3px;
    background-color: orange;
    display: block;
    position: absolute;
    border-radius: 8px;
    left: 0px;
}

.header-menu nav ul {
    margin-top: 0px;
    padding-top: 0px;
}

.hero {
    height: auto;
    overflow: hidden;
}

.hero .slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-section {
    margin-top: 60px;
    position: relative;
}

.section-head {
    font-size: 20px;
    font-family: "Merriweather", serif;
    font-weight: 600;
    color: #226CA2;
    padding-bottom: 12px;
    display: inline-block;
    border-bottom: 5px dotted #226CA2;
    margin-bottom: 12px;
}

.section-head-aside {
    position: absolute;
    transform: rotate(-90deg);
    background: orange;
    left: -74px;
    top: 60px;
    padding: 3px 20px;
    font-family: "Caveat", cursive;
    font-size: 20px;
}

.section-body {
    color: rgba(0, 0, 0, 0.688);
}

.news-item {
    border: 1px dashed #ccc;
    padding: 12px 12px;
    margin-bottom: 8px;
    border-radius: 6px;
}

.news-item:hover {
    cursor: pointer;
    font-weight: 600;
}

.text-muted {
    color: #6c757d !important;
}

.small {
    font-size: 11px;
}

.news-item-action a {
    display: inline-block;
    background-color: #226CA2;
    padding: 8px 16px;
    text-decoration: none;
    color: #FFF;
    font-size: 13px;
}


.news-item-action a:hover{
    background-color: var(--primary-color);
}

footer {
    background: #232526;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to bottom, #414345, #232526);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to bottom, #414345, #232526); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    margin-top: 64px;
    color: #EEE;
    padding-top: 64px;
}

.footer-title {
    margin-bottom: 8px;
    color: orange;
}

.footer-content {
    color:rgb(184, 188, 191);
     font-size: 14px;
}

.credit {
    background-color: #232526; 
    color: orange;
    padding: 16px;
    text-align: center;
    margin-top: 64px;
    font-size: 13px;
}

.link {
    color:rgb(184, 188, 191);
    text-decoration: none;
}

.dimmed-form {
    opacity: .3;
}

.dimmed-form:focus {
    opacity: .8;
}

.view-more-link {
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.mobile_only {
    display: none;
}

.welcome {
    font-family: "Caveat", cursive;
    font-size: 44px;
}

@media only screen and (max-width: 768px) {
    .navbar-brand {
        font-weight: 600;
    }
    
    #menu_about {
        padding-top: 30px;    
    }
    
    .nav-section {
        margin-top: 30px;    
    }
    
    .mobile_only {
        display: block;
    }
    
    #main-menu {
        display: none;
    }

    #menu_hero {
        display: none;
    }

    #useless-dots {
        display: none;
    }

    .about-image,
    .section-head-aside {
        display: none;
    }

    .welcome-message {
        background-color: #FFF;
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 0;
        width: 100%;
        padding-right: calc(var(--bs-gutter-x) * .5);
        padding-left: calc(var(--bs-gutter-x) * .5);
        padding-top: calc(var(--bs-gutter-x) * .5);
        padding-bottom: calc(var(--bs-gutter-x) * .5);
        margin-right: auto;
        margin-left: auto;
    }
}
