/* general */
html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    font-family: "Raleway", sans-serif !important;
}

#size-debug{
    display: none;
}

/* text colors */

.text-dark, .bg-light, .carousel-control-prev, .carousel-control-next {
    color: #312F2C !important;
}

.text-light, a.text-light:focus, .bg-dark, .bg-lightdark, .bg-primary, .parallax, .bg-dark-trans {
    color: #fafafa !important;
}

a.text-light:hover, a.bg-dark-trans:hover {
    color: #e5e5e5 !important;
}

.text-primary, a.text-primary:focus {
    color: #ec811a !important;
}

a.text-primary:hover {
    color: #ab5b0e !important;
}

/* background colors*/

.bg-dark, .carousel-indicators .active, a.bg-dark:focus, button.bg-dark:focus {
    background-color: #312F2C !important;
}

.bg-dark-trans {
    /*background-color: rgba(42, 40, 38, 0.95) !important;*/
    background: linear-gradient(rgba(42, 40, 38, 1), rgba(42, 40, 38, 0.9));
}

@media (max-width: 992px) {
    .bg-dark-trans .bg-dark-trans:not(.dropdown-menu):not(.navbar-collapse) {
        background-color: transparent !important;
        background:none;
    }
}

@media (min-width: 992px) {
    .bg-dark-trans .bg-dark-trans:not(.dropdown-menu) {
        background-color: transparent !important;
        background: none;
    }
}

a.bg-dark:hover, button.bg-dark:hover {
    background-color: #242321 !important;
}

.bg-lightdark {
    background-color: #4a4743 !important;
}

.bg-primary, a.bg-primary:focus {
    background-color: #ec811a !important;
}

a.bg-primary:hover {
    background-color: #ab5b0e !important;
}

/* button borders*/
a.bg-primary:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(236, 129, 26, 0.56);
}

button.bg-dark:focus {
    outline: 0;
    box-shadow: none;
    border: none;
}

/* font */
.jumbotron p {
    font-size: 1.5rem;
}

badge {
    font-weight: 300 !important;
}

p.card-text {
    font-weight: 400 !important;
}

.btn, .nav-link.active {
    font-weight: 600 !important;
}

.display-3, .display-4 {
    font-weight: 300;
}

b, h2, .card-title {
    font-weight: 700;
}


/* xs- */
@media (max-width: 576px) {
    .display-3 {
        font-size: 2.75rem;
    }

    .jumbotron p {
        font-size: 1.25rem;
    }

    .display-4 {
        font-size: 2.75rem;
    }
}

/* border */

.fully-rounded, .btn, .badge {
    border-radius: 50rem !important;
}

.rounded, .gallery-card, .gallery-image, .gallery-shadow, img, iframe {
    border-radius: 0.5rem !important;
}

.btn {
    border: 0;
}

/*.bg-light img, .bg-light iframe,*/ .gallery-card {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* parallax */

.parallax-utopia {
    background: linear-gradient( rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../images/ctf-utopia-banner.jpg");
}

.parallax-formula {
    background: linear-gradient( rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../images/formula-banner.jpg");
}

.parallax-warfair {
    background: linear-gradient( rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../images/warfair-banner.jpg");
}

.parallax-homebrew {
    background: linear-gradient( rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../images/hmbrw.png");
}

.parallax-gamejams {
    background: linear-gradient( rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("../images/gamejams-banner.png");
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 0;
    border-radius: 0;
}

/* button */

.btn:not(.gallery-card) {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    min-width: 4rem;
    margin-right: 0.1rem;
    margin-left: 0.1rem;
}

/* navbar */

.navbar-collapse {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar {
    height: 4rem;
}

/*.navbar-brand {
    font-size: 1.5rem;
}*/

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

/* Up button */

#up {
    position: fixed;
    right: 1.5rem;
    bottom: 3rem;
}

/* sm+ */

@media (min-width: 576px) {
    #up {
        position: fixed;
        right: 3rem;
        bottom: 3rem;
    }
}

/* cards */

.gallery-card {
    padding: 0;
    text-align: start !important;
}

.gallery-image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}

.gallery-text {
    transition: .5s ease;
    opacity: 1;
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 80%;
}

.gallery-shadow {
    opacity: 1;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 1rem;
    height: 50%;
    background: linear-gradient(rgba(10, 10, 10, 0.00), rgba(10, 10, 10, 1));
}

.gallery-card:hover .gallery-image {
    opacity: 0.4;
}

.gallery-card:hover .gallery-text {
    opacity: 1;
}

/* other */

#skills {
    padding-top: 10vh;
    padding-bottom: 10vh;
    height: inherit;
}

.badge {
    padding: 0.35em 0.6em;
}

/* video */
.videoWrapper {
    position: relative;
    width: 100%;
    padding-bottom: 28.125%; /* 16:9 */
    padding-top: 28.125%;
    height: 0;
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* collapsing*/

@media (min-width: 768px) {
    .collapse-sm {
        display: block !important;
        height: unset !important;
        transition: none !important;
    }
}

.text-toggle[aria-expanded=false] .text-expanded {
    display: none;
}

.text-toggle[aria-expanded=true] .text-collapsed {
    display: none;
}

/* test styles */
.bb {
    border: solid 1px blue;
}

.br {
    border: solid 1px red;
}

.bg {
    border: solid 1px green;
}

#project-intro {
    padding-top: 15vh;
    padding-bottom: 10vh
}

#project-intro > div {
    padding-top: 2.5vh;
    min-height: 540px
}

.max-width {
    max-width: 1280px
}

.contribution {
    padding-top: 5vh;
    padding-bottom: 5vh;
    min-height: 540px;
}