@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');

:root[data-bs-theme="light"] {
    --text: #09131a;
    --white: #F2F2F2;
    --background: #e9f0f7;
    --primary: #569bd7;
    --secondary: #f9e939;
    --accent: #cb5620;
    --inv-text: #d8e6ef;
    --gray: #dee2e6;
    --overlay: rgba(255,255,255,0.6);
    --theme-primary: #125EA9;
    --theme-secondary: #01a3dc;
}
:root[data-bs-theme="dark"] {
    --text: #e4eff6;
    --background: #080f16;
    --primary: #286da9;
    --secondary: #c6b606;
    --accent: #df6a34;
    --inv-text: #09131a;
    --gray: #495057;
    --overlay: rgba(25,25,25,0.6);
    --theme-primary: #01a3dc;
    --theme-secondary: #125EA9;
}

:root {
    --bg: var(--background);
}

html[data-bs-theme="light"] .theme-text-dark,
html[data-bs-theme="dark"] .theme-text-light {
    display: none;
}
html[data-bs-theme="light"] .dark-line,
html[data-bs-theme="dark"] .light-line  {
    display: none;
}

html[data-bs-theme="dark"] .bg-info-subtle {
    background-color: #00a8e1 !important;
}

body {
    background-color: var(--background) !important;
    color: var(--text);
    font-family: "Roboto Slab", serif;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    background-color: var(--primary);
    margin-top: auto;

    .footer-links {
        font-size: 35px;
    }
}

.invert {
    filter: invert(100%);
}

.navbar {
    background-color: var(--inv-text) !important;
    min-height: 10vh;

    img {
        max-height: 7vh;
    }

    .theme-switcher {
        font-size: 24px;
        color: var(--text);
        cursor: pointer;
    }
}

.hero {
    .hero-image {
        height: 70vh;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;

        img {
            height: 20vmax;
        }
    }

    .latest-info {
        height: 20vh;

        .badge {
            font-size: 14px;
        }
    }
}

.card-img-top {
    aspect-ratio: 3/2 !important;
    object-fit: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* BOOTLEG BOOTSTRAP */

.bg-accent {
    background-color: var(--accent) !important;
}

.bg-nav {
    background-color: var(--bg);
}

.bg-theme-primary {
    background-color: var(--theme-primary);
}

.bg-theme-secondary {
    background-color: var(--theme-secondary);
}

.yp-btn {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text);
    transition-duration: 0.3s;
}

.yp-btn-primary {
    background-color: var(--primary);
}

.yp-btn:hover {
    box-shadow: inset 0 -50px 0 0 var(--text);
    color: var(--inv-text);
}

.text-text {
    color: var(--text);
}

.text {
    color: var(--text);
}

.text-inverse {
    color: var(--inv-text);
}

.w-15 {
    width: 15%;
}

.wrap {
    float: right;
    margin: 15px;
    width: 50%;
}

.appbtns {
    max-width: 20%;
}

.social-icons {
    font-size: 35px;
}

@media (max-width: 992px) {
    .appbtns {
        max-width: 100%;
        width: 90% !important;
    }

    .social-icons {
        font-size: 35px !important;
        justify-content: space-between;
    }
}

@media (min-width: 768px) {
    .w-md-15 {
        width: 15% !important;
    }
}

@media only screen and (max-width: 768px) {
    .daily-program-border-md-max {
        border-left: none !important;
        border-top: 3px solid var(--gray) !important;
    }

    .wrap {
        width: initial;
    }

    .w-15 {
        width: initial;
    }
}

@media screen and (max-width: 576px) {
    .daily-program-border-sm-max {
        border-left: none !important;
        border-top: 3px solid var(--gray) !important;
    }
}

.country-flag-small {
    width: 40px;
    height: 25px;
    margin-bottom: 10px;

}
.country-flag-medium {
    width: 59px;
    height: 37px;
    margin-bottom: 10px;
}
.swiss-flag {
    border: none !important;
}

.sticky-scroll {
    display: block !important;
    position: sticky !important;
    top: 0 !important
}

.text-wrap-balance {
    text-wrap: balance;
}