/* ========================================
   IMPORTS & VARIABLES
   ======================================== */
@import url("variables.css");

/* ========================================
   BASE STYLES
   ======================================== */
html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: rgb(90, 238, 209);
    min-height: 100vh;
}

#full-content {
    min-height: 100vh;
      padding-bottom: 60px;
}

/* ========================================
   SCROLLBAR CUSTOMIZATION
   ======================================== */
:root {
    ::-webkit-scrollbar {
        height: 10px;
        width: 10px;
    }

    ::-webkit-scrollbar-track {
        background: #efefef;
        border-radius: 6px;
    }

    ::-webkit-scrollbar-thumb {
        background: #d5d5d5;
        border-radius: 6px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: #c4c4c4;
    }
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar.is-white {
    background: #F0F2F4;
}

.navbar-brand .brand-text {
    font-size: 1.11rem;
    font-weight: bold;
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero-body {
    background-image: url(../assets/pictures/map_preview.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 30em;
}

/* ========================================
   ARTICLES & CONTENT
   ======================================== */
/* Header Section  */
.header-section {
    margin-bottom: 1.5rem;
}

.header-content {
    margin-top: 1rem;
}
.articles {
    margin: 5rem 0;
    margin-top: -28em;
}

.articles .content p {

    margin: 15px 0;
}

.article, .promo-block {
    margin-top: 6rem;
}

div.column.is-8:first-child {
    padding-top: 0;
    margin-top: 0;
}

.article-title {
    font-size: 2rem;
    font-weight: lighter;
    line-height: 2;
}

.article-subtitle {
    color: #909AA0;
    margin-bottom: 3rem;
}

.article-body {
    line-height: 1.6;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.article-body p.subtitle {
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.article-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.promo-block .container {
    margin: 1rem 5rem;
}

/* ========================================
   MEDIA & AUTHOR
   ======================================== */
.author-image {
    position: absolute;
    top: -30px;
    left: 50%;
    width: 60px;
    height: 60px;
    margin-left: -30px;
    border: 3px solid #ccc;
    border-radius: 50%;
}

.media-center {
    display: block;
    margin-bottom: 1rem;
}



/* ========================================
   LINKS
   ======================================== */
a:link {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: black;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: #5aeed1;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: black;
    background-color: transparent;
    text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
#footer {
    position: fixed;
    z-index: 999;
    padding: 0 !important;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #eeeeee;
    border-top: 1px solid rgba(94, 88, 88, 0.1);
}

/* ========================================
   BUTTONS & COMPONENTS
   ======================================== */

.notification.is-info {
    padding: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .article-body {
        padding: 0 1.5rem;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .custom-navbar-menu {
        gap: 0.5rem;
    }
}

/* Mobile and Small Tablets */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .article-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .article-body {
        font-size: 16px;
        line-height: 1.5;
        padding: 0 1rem;
    }

    .article-subtitle {
        font-size: 1rem;
    }


}

/* Small Mobile */
@media (max-width: 480px) {

    .article-title {
        font-size: 1.25rem;
    }

    .article-body {
        padding: 0 0.75rem;
    }

    .article-body p.subtitle {
        font-size: 1rem;
    }
}

/* ========================================
   COOKIE MODAL RESPONSIVE
   ======================================== */
#cookieModal .modal-card {
    position: relative;
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    #cookieModal .modal-card {
        margin: 10px !important;
        max-height: calc(100vh - 20px) !important;
        width: calc(100vw - 20px) !important;
        max-width: none !important;
    }

    #cookieModal .modal-card-head,
    #cookieModal .modal-card-body {
        padding: 15px !important;
    }

    #cookieModal .modal-card-foot {
        padding: 15px !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    #cookieModal .modal-card-foot .button {
        width: 100% !important;
        margin: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    #cookieModal .modal-card {
        margin: 5px !important;
        width: calc(100vw - 10px) !important;
        max-height: calc(100vh - 10px) !important;
    }

    #cookieModal .modal-card-head,
    #cookieModal .modal-card-body,
    #cookieModal .modal-card-foot {
        padding: 12px !important;
    }
}
