/* Colours for the websites */

:root {
    --active-nav-color: #a22f8c !important;
    --inactive-nav-color: rgba(153, 153, 153, 1) !important;
    --hover-nav-color: rgb(79, 79, 79) !important;
    --back-button-color: rgba(153, 153, 153, 1) !important;
    --forward-button-color: rgb(91, 36, 135) !important;
    --header-image-background: rgb(91, 36, 135) !important;
    --header-tag-background: rgba(0,0,0,.15) !important;

    /* We need to convert the "active-nav-color" to a format that SVG can understand
       Use the link to find the instructions: https://codepen.io/sosuke/pen/Pjoqqp
       We need to always keep the first two parameters - brightness and saturate */
    --header-image-layover-color: brightness(0) saturate(100%) invert(45%) sepia(88%) saturate(484%) hue-rotate(330deg) brightness(90%) contrast(94%);
}

/* Fonts for the website */

.list-bullet {
    font-family: hero-new, sans-serif;
}

.list-item {
    font-family: hero-new, sans-serif;
}

.list-title {
    font-family: hero-new, sans-serif;
}

.list-text {
    font-family: hero-new, sans-serif;
}

.button {
    font-family: hero-new, sans-serif;
}

.font {
    font-family: hero-new, sans-serif;
}


/* Stuff for 'Code your own Data Selfie' */

small {
    font-family: hero-new, sans-serif;
}

h1,
h2 {
    font-size: 51px;
    line-height: 54px;
    font-family: hero-new, sans-serif;
    font-weight: 600;
    color: #313d47;
}

h3,
h4 {
    font-family: hero-new, sans-serif;
    font-size: 28px;
    line-height: 37px;
    font-weight: 600;
    color: #313d47;
}

p {
    font-size: 18px;
    line-height: 32px;
    color: #191919;
    font-family: hero-new, sans-serif;
    font-weight: normal;
    margin-bottom: 20px;
}

.modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #ffffff;
    padding: 50px;
    padding-top: 10px;
    border-color: #08085b;
    border-width: 2px;
    border-style: solid;
}

.hidden {
    display: none;
}

.play {
    color: #ec235e;
}

hr {
    background: url("../img/bar.png") no-repeat top center;
    height: 42px;
    border: none !important;
    background-size: 300px;
}

.photobox {
    background-color: #c7ddc6;
    display: flex;
    justify-content: space-evenly;
    border-radius: 5px;
}

.photoitem p {
    text-align: center;
}

.logo-container {
    display: flex;
    justify-content: space-evenly;
    opacity: 0.7;
}

.logo {
    margin-left: 30px;
    margin-right: 30px
}

#runner_img {
    width: 150px;
}

/* Brings the banner image on top of the header layover and sizes it */
.header_image_style {
    position: relative;
    z-index: 10;
    width: 70%; /* Shrinks the image slightly to leave a gap on the sides */
    margin: 0 auto; /* Centers the image within its container */
    display: block; /* Ensures the centering works properly */
}

/* Floating Report a Bug button */
.report-bug-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 15px;
    border-radius: 50px;
    font-family: hero-new, sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: all 0.2s ease;
    border: 1px solid #f5c6cb;
}

.report-bug-btn:hover {
    background-color: #f1b0b7;
    color: #491217;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

.report-bug-btn i {
    margin-right: 5px;
}

