@font-face {
    font-family: "JetBrains Mono";
    src: url('../fonts/JetBrainsMono[wght].ttf') format("truetype");
}

html,
body {
    font-size: 1rem;
    font-family: "JetBrains Mono", "Roboto", "Cascadia Mono", monospace, monospace;
    background-color: rgb(229, 229, 229);
    background-image: url("../images/bg.png");
    background-attachment: fixed ;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
    padding: 0;
    display: block;
}

a {
    text-decoration: none;
    color: black;
}

a:hover {
    text-decoration: underline;
    color: black;
}

.header {
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.8));
    color: #ffffff;
    box-shadow: 0 2px 2px gray;
    margin: 0;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top:3px;
    height:150px;
    z-index: 100;
}


.header-title {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.header-title>img {
    margin: 2px 15px 2px 5px;
}

.header-title>.h2 {
    font-size: 25px;
    font-weight: bold;
}

.header-title>.h2>a {
    color: rgb(255, 255, 255, 0.8);
    text-decoration: none;
}

.header-title>.h2>a:hover {
    text-decoration: underline;
}

.links {
    margin-bottom: 3px;
}

.links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.links a:hover {
    text-decoration: underline;
}


ul.navbar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 2px gray;
}

ul.navbar>li {
    float: right;
}

ul.navbar>li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

ul.navbar>li a:hover {
    background-color: #111;
}

ul.navbar>li>a.active {
    /*background-color: rgba(77, 133, 80, 0.73);*/
    background-color: rgba(65, 100, 112, 0.73);
}

@media (max-width: 700px) {
    ul.navbar {
        font-size: 0.9em;
    }

    ul.navbar>li a {
        display: block;
        color: white;
        text-align: center;
        padding: 14px 10px;
        text-decoration: none;
    }
}
.text-center {
    text-align: center;
}

.text-end {
    text-align: end;
}

.text-start {
    text-align: start;
}

.note {
    text-align: center;
    font-size: 0.8em;
    padding-right: 5px;
}

.border-start {
    border-left: solid 1px gray;
}

.border-start.dark {
    border-left: solid 1px #333;
}

.border-end {
    border-right: solid 1px gray;
}

.border-end.dark {
    border-right: solid 1px #333;
}

.svg-equal-fontsize {
    line-height: 1;
    height: 1em;
    width: 1em;
}

@media (max-width: 350px) {
    .navbar-icon {
        display: none;
    }
}

/* Pulsating image styles */
.pulse-loading {
    height: 32px;
    animation: pulse-loading 1.5s infinite; /* Pulsating animation */
}

.navbar-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Keyframes for pulsating effect */
@keyframes pulse-loading {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}


body > footer {
    position: sticky;
    top: 100vh;
    border-top: solid 1px gray;
    text-align: right;
    padding: 10px;
    font-size: 0.8em;
    color: gray;
}

.cursor-pointer {
    cursor: pointer;
}


.live {
    position: relative;
    top: 4px;
    width: 10px;
    height: 10px;
    z-index: 0;

    &:before {
        content: "";
        position: relative;
        display: block;
        box-sizing: border-box;
        margin-left: -75%;
        margin-top: -75%;
        border-radius: 45px;
        background-color: #cd0707;
        animation: pulse 1.25s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
    }

    &:after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: #cd0707;
        border-radius: 50px;
        animation: circle 1.25s cubic-bezier(0.455, 0.03, 0.515, 0.955) -0.4s infinite;
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.33);
    }
    80%,
    100% {
        opacity: 0;
    }
}

@keyframes circle {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.8);
    }
}

.hint {
    margin-left: 10px;
    font-size: 10px;
    text-align: center;
    align-items: center;
    display: flex;
    justify-content: center;
}

@media (min-width: 800px) {
    .countdown {
        width: 800px;
        font-size: 1.2em;
    }
}

.hidden {
    display: none;
}
