:root {
    --light: #ffffff;
    --joensuu-dark-blue: #1259f5;
    --joensuu-light-blue: #bcf2ff;
    --black: #000000;
    --darkgray: #707070;
    --lightgray: #F6F6F6;
    --pink: #ffa0ff;
    --square-up: 0px;

    --card-shadow: 20px 20px 60px var(--lightgray);
}

body {
    font-family: 'IBMPlexSans';
    color: var(--black);
    /* font-size: 20px; */
    transition: all 0.3s ease;
    background-color: var(--light);
}

h1,
h2,
h3 {
    font-family: 'SportingGrotesque';
    font-weight: bold;
    color: var(--joensuu-dark-blue);
}

.smaller {
    font-size: 0.7em;
}

a {
    text-decoration: none;
}

.dark {
    color: var(--dark);
}

.darkbg {
    background-color: var(--dark);
    color: var(--light);
}

.darkbg a {
    color: var(--light);
}

.light {
    color: var(--light);
}

.lightbg,
.lightbg:hover {
    background-color: var(--light);
    color: var(--dark);
}

.darkgray {
    color: var(--darkgray);
}

.darkgraybg {
    background-color: var(--darkgray);
    color: var(--light);
}

.btn {
    border-radius: 0px;
    transition: all 0.3s ease;
}

.btn-outline-secondary,
.btn-outline-secondary:hover {
    border-color: var(--dark);
    color: var(--dark);
    background-color: transparent;
    font-weight: 700;
}

.btn-outline-secondary:hover {
    box-shadow: var(--card-shadow);
}

#addFolder,
#updateFolderSelections {
    border-radius: 0;
    background-color: var(--joensuu-light-blue);
    color: #000000;
    font-weight: 600;
}

#sizeSelector {
    margin: 0px;
    padding: 0px;
    position: relative;
    display: flex;
}

#sizeSelector li {
    float: left;
    list-style: none;
    margin-left: 2px;
    margin-right: 2px;
    margin-top: auto;
}

#sizeSelector button {
    background-color: transparent;
    border: none;
    padding: 0px;
    margin: 0px;
    cursor: pointer;
}

#sizeSelector li#medium {
    font-size: 125%;
    margin-bottom: -3px;
}

#sizeSelector li#large {
    font-size: 150%;
    margin-bottom: -4px;
}

#sizeSelector li.selected-letter button {
    text-decoration: underline;
}

.container.wide {
    width: 90vw;
    max-width: 1600px;
}

/* Navbar */

nav.navbar {
    z-index: 3;
    /* Giving little z-index so it shows from behind a hero video */
    background-color: var(--joensuu-dark-blue);
    color: var(--light);
    height: 120px;
}

nav.navbar li a.nav-link,
nav.navbar li a.nav-link.active {
    color: var(--light);
}

nav.navbar li a.nav-link.active {
    border-bottom: 10px solid var(--pink);
}

nav.navbar .navbar-nav .btn {
    padding: .3rem 2rem;
}

nav.navbar .navbar-brand {
    color: var(--light);
}

#siteLogo {
    max-width: 210px;
    height: 100%;
}

#socialIcons a,
#socialIconsMobile a {
    color: var(--dark);
    font-size: 1.75rem;
    padding: .5rem;
    border: none;
    padding-top: .75rem;
    transition: all 0.3s ease;
}

#socialIcons a:hover {
    color: var(--darkgray);
}

#socialIconsMobile {
    display: none;
    padding: .5rem .75rem;
}

#socialIconsMobile a {
    font-size: 1rem;
    padding: 0px;
}

.navbar-toggler {
    color: var(--light);
    padding: 0px;
    border: none;
    font-size: 3rem;
    border-radius: 0px;
}

.bg-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#toastLand {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
}

.toast {
    border-radius: var(--square-up);
}

/* Hero area */

#pageHero.lazy video.bg-video {
    opacity: 0;
}

#pageHero {
    text-align: center;
    height: 30vh;
    min-height: 20rem;
    position: relative;
    overflow: hidden;
    display: flex;
}

#pageHero.large-hero {
    height: 70vh;
}

#pageHero h2 {
    font-size: 5em;
    font-weight: 900;
}

#pageHero .ccm-block-feature-link-text p {
    font-size: 1.5em;
}

#pageHero .ccm-block-feature-link-text p:first-of-type {
    margin-top: 4rem;
}

#pageHero .container {
    z-index: 2;
}

.bg-video-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
}

.bg-video-wrapper .bg-video {
    opacity: 1;
    /* position: absolute; */
    object-fit: cover;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    max-width: unset;
    transition: all 1.5s ease-out;
}

/* General items */

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

h2.section-header {
    font-size: 5rem;
    font-weight: 900;
}

.form-label {
    font-family: 'SportingGrotesque';
    font-weight: bold;
    color: var(--joensuu-dark-blue);
}

.gradient-bg {}

.card {
    background-color: var(--joensuu-light-blue);
    border-radius: var(--square-up);
    border: none;
    border-bottom: 1px solid var(--black);
}

.card.edit-mode {
    cursor: pointer;
}

.card.active {
    background-color: var(--joensuu-dark-blue);
}

.card.active h3 {
    color: var(--light);
}

.btn {
    font-family: 'IBMPlexSans';
    font-weight: bold;
}

.btn-info {
    background-color: var(--joensuu-light-blue);
}

.btn-joensuu {
    color: var(--joensuu-dark-blue);
    border: 1px solid var(--joensuu-dark-blue);
    background-color: var(--light);
    padding: 5px 15px;
    box-shadow: var(--joensuu-dark-blue) 2px 2px 0 0;
    margin-bottom: 12px;
}

.btn-joensuu:hover {
    border: 1px solid var(--joensuu-dark-blue);
    background-color: var(--joensuu-dark-blue);
    color: var(--light);
    padding: 5px 15px;
    box-shadow: none;
    margin-left: 2px;
    margin-top: 2px;
    margin-bottom: 10px;
}

.nav.nav-tabs .nav-link {
    font-weight: bold;
    text-transform: uppercase;
    border-radius: var(--square-up);
}

/* Highlight content */

.highlight-content h2 {
    font-size: 5rem;
    font-weight: 900;
}

.highlight-content a {
    text-decoration: none;
}

.highlight-content .ccm-block-feature-link-text .btn {
    margin-bottom: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Footer */

footer a {
    text-decoration: none;
}

/* Inputs*/

input.form-control,
select.form-select {
    background-color: var(--light);
    border-radius: var(--square-up);
}

.label-top-margin {
    /* if we need to line button with inputs with labels */
    margin-top: 32px;
}

.user-card.user-deactivated {
    opacity: 0.5;
}

.user-card .btn-group .btn {
    border-radius: 0px;
}

.user-card .progress {
    border-radius: 0px;
}

/* Back to Top */
#backToTop {
    position: fixed;
    right: -2px;
    bottom: 110px;
    padding: 5px 15px;
    font-size: 2rem;
    background-color: var(--dark);
    color: var(--light);
    border-radius: 0px;
    border: 2px solid var(--light);
    transition: all 0.3s ease;
    z-index: 100;
}

#backToTop:hover {
    padding: 5px 30px 5px 15px;
}

#backToTop.hiding {
    right: -80px;
}

/* Accessability settings */

body.medium {
    font-size: 1.5em;
}

body.large {
    font-size: 2em;
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 13px;
    transition: all 0.3s ease;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--lightgray);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--dark);
    /* border-radius: 5px; */
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: var(--dark);
}

/* Mobile and other different size screen things */

@media (max-width: 1450px) {
    .container.wide {
        width: 100%;
    }
}

@media (max-width: 1350px) {}

@media (max-width: 1200px) {
    nav.navbar .navbar-brand {
        padding: .5rem;
    }
}

@media (max-width: 991px) {
    #socialIcons {
        display: none;
    }

    #socialIconsMobile {
        display: flex;
    }

    nav.navbar .container.wide {
        padding-left: 0px;
        padding-right: 0px;
    }

    nav.navbar .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    nav.navbar .nav-item:first-of-type {
        margin-top: 1rem;
    }

    .navbar-nav .nav-link.active,
    .navbar-nav .show>.nav-link {
        background-color: var(--dark);
        color: var(--light);
    }

    nav.navbar .navbar-nav .btn {
        padding: .5rem 2rem;
        width: 100%;
    }

    #pageHero h2 {
        font-size: 3em;
    }

    #pageHero .ccm-block-feature-link-text p {
        font-size: 1.2em;
    }

    #pageHero {
        height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #pageHero.large-hero {
        height: 60vh;
        min-height: 500px;
    }
}

@media (max-height: 700px) {

    .blue-bg .container,
    .blue-bg .container .row,
    .blue-bg .container-fluid,
    .blue-bg .container-fluid .row {
        height: 100vh !important;
    }

    .wrapper-100 {
        height: 130vh !important;
    }
}

@media (max-width: 500px) {}


/* Fontit / Fonts */

@font-face {
    font-family: 'IBMPlexSans';
    src: url('../fonts/IBMPlexSans-Regular.ttf');
    font-weight: normal;
}

@font-face {
    font-family: 'IBMPlexSans';
    src: url('../fonts/IBMPlexSans-Bold.ttf');
    font-weight: bold;
}

@font-face {
    font-family: 'SportingGrotesque';
    src: url('../fonts/SportingGrotesque-Regular.otf');
    font-weight: normal;
}

@font-face {
    font-family: 'SportingGrotesque';
    src: url('../fonts/SportingGrotesque-Bold.otf');
    font-weight: bold;
}