@font-face {
    font-family: "Kobe";
    src: url("fonts/KOBE11-REGULAR-8uKhi31.ttf") format('truetype');
    font-display: swap;
}

:root {
    --color-blue: #2231ef;
}

body {
    --bs-body-color: var(--bs-black);
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

.nav-link,
.navbar-toggler-icon-line {
    --bs-nav-link-color: var(--bs-black);
    --bs-nav-link-font-weight: 200;
}

.nav-link:focus, .nav-link:hover {
    --bs-nav-link-hover-color: var(--bs-black);
}

.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.navbar-toggler {
    border: none;
    box-shadow: none !important;
}

.navbar-toggler-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 3px;
    background-image: none;
}

.navbar-toggler-icon-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--bs-nav-link-color);
}

.navbar-collapse .navbar-nav {
    /*height: 62.5vh;*/
    margin-top: 2rem;
    background-color: var(--bs-white);
}

.navbar-collapse .nav-link {
    /*color: var(--bs-black);*/
    transition: all ease .2s;
}

.navbar-collapse .nav-link::before {
    content: attr(data-label);
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    font-weight: 900;
}

.navbar-collapse .nav-link.active,
.navbar-collapse .nav-link:focus,
.navbar-collapse .nav-link:hover {
    font-weight: 900;
}

.navbar .navbar-logo {
    position: absolute;
    /*top: 50%;*/
    top: 0;
    left: 50%;
    /*transform: translate(-50%,-50%);*/
    transform: translate(-50%,-3%);
}

.page__covered h1.card-title,
.page__covered .navbar-toggler-icon-line,
.page__covered .navbar-icons .nav-link
{
    --bs-nav-link-color: var(--bs-white);
    --bs-card-title-color: var(--bs-white);
    --bs-navbar-active-color: var(--bs-white);
    --bs-nav-link-hover-color: var(--bs-white);
}

.navbar-icons {
    position: absolute;
    /*top: 0.5rem;*/
    top: 0;
    right: 0;
    display: flex;
}

.navbar-icons .navbar-nav {
    flex-direction: row;
}

.navbar-icons .navbar-nav .dropdown-menu {
    position: absolute;
}

.navbar-icons .navbar-nav .nav-link {
    line-height: 1;
    padding-right: var(--bs-navbar-nav-link-padding-x);
    padding-left: var(--bs-navbar-nav-link-padding-x);
    transition: all ease .2s;
}

.navbar-icons .nav-link.active,
.navbar-icons .nav-link:focus,
.navbar-icons .nav-link:hover {
    color: var(--color-blue);
}

.dropdown-menu {
    min-width: auto;
}

.cover {
    position: relative;
    overflow: hidden;
    min-height: 100px;
}
.cover--big {
    height: 80vh;
    max-height: 1080px;
    background-color: var(--bs-black);
}

.background__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*z-index: -1;*/
}

.cover .card-img-overlay {
    top: 50%;
    left: 50%;
    bottom: unset;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
}

.home .cover .card-img-overlay {
    max-width: 500px;
}

.card {
    border: none;
}

.card a {
    color: var(--bs-heading-color);
    text-decoration: none;
}

.card-img-top {
    border-bottom-left-radius: var(--bs-card-inner-border-radius);
    border-bottom-right-radius: var(--bs-card-inner-border-radius);
}

.card-body {
    padding-left: 0;
    padding-right: 0;
}

.home__project .card-title {
    font-family: "Kobe", "Lexend", sans-serif;
    position: relative;
}

.home__project .card-title::after {
    content: "";
    width: 10%;
    height: 3px;
    display: block;
    background-color: var(--bs-black);
    /*margin-top: 5px;*/
    transition: all ease .3s;
}

.home__project:hover .card-title::after {
    width: 100%;
}

.home__project .card-img-top__wrapper {
    position: relative;
    overflow: hidden;
}

.home__project .thumbnail {
    transform: scale(1);
    transition: all ease .5s;
}

.home__project:hover .thumbnail,
.home__project:focus .thumbnail {
    transform: scale(1.1);
}

.home__project .preview {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all ease .3s;
}

.home__project:hover .preview,
.home__project:focus .preview {
    opacity: 1;
}

body.home h1,
body:not(.page__covered) h1 {
    font-weight: 900;
}

body:not(.page__covered) h2,
.project__desc {
    font-weight: 200;
}

.project__video {
    padding: 56.25% 0 0 0;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.project__img img {
    width: 100%;
    height: auto;
    display: block;
}

.contact__list, footer ul {
    padding-left: 0;
    list-style-type: none;
}

.contact__list .nav-link {
    font-weight: 400;
    font-size: 2rem;
}

.contact__list .nav-item:hover .nav-link,
.contact__list .nav-item:focus .nav-link {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

footer {
    font-weight: 200;
    margin-top: 7rem;
}

footer .nav-link {
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

footer .nav-link span {
    display: block;
}

@media (min-width: 450px) {
    footer .nav-link span {
        display: inline;
    }
}

@media (min-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .navbar-collapse .navbar-nav {
        /*height: auto;*/
        background-color: transparent;
        margin-top: 0;
    }

    .page__covered .navbar-nav .nav-link,
    .page__covered .navbar-nav .nav-link.active,
    .page__covered .navbar-nav .nav-link.show,
    .page__covered .navbar-nav .nav-link:focus,
    .page__covered .navbar-nav .nav-link:hover
    {
        --bs-nav-link-color: var(--bs-white);
        --bs-card-title-color: var(--bs-white);
        --bs-navbar-active-color: var(--bs-white);
        --bs-nav-link-hover-color: var(--bs-white);
    }

    .navbar .navbar-logo {
        top: 50%;
        transform: translate(-50%,-50%);
    }

    .cover {
        min-height: 200px;
    }
}

@media (min-width: 992px) {
    .project__desc {
        padding: 0 13rem;
    }
}
