
* {
    font-family: 'Josefin Slab', sans-serif;
}
h1 {font-family: 'Josefin Slab';
    font-size: 24px; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 600; 
    line-height: 70px;
    letter-spacing: 1px;
} 
h3 {font-family: "Josefin Slab"; 
    font-size: 14px; 
    font-style: normal; 
    font-variant: normal; 
    font-weight: 700; 
    line-height: 15.4px; 
} 
p   {font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-style: normal;
    font-variant: normal;
} 
.te a:hover, .te a:active{
    color: #F45E59;
}
body.te.background {
    background-color: #F8F8F8;
    margin: 0;
    padding: 0;
    color:#171313;
}
.te .container-fluid{
    margin: 0;
    padding: 20px 0 0 0;
}
.te .container-fluid.dark-backgound{
    background-color: #fff;
}
button.navbar-toggler {
    display: none;
}
.te .desktop-menu{
    margin: 0 5% 0 10%;
    padding: 1rem 0;
}
.te .display-flex {display: flex;}
.te .navbar-nav {
    display: flex;
    flex-direction: row;
}
.te .navbar-nav .nav-item > a:active, .te .navbar-nav .nav-item > a:hover,
.te .navbar-nav .nav-item.active > a {
   text-decoration: underline;
   font-weight: 600;
}
.te .mobile-topmenu .navbar-nav {
    margin: 0;
    padding: 0;
}
.te .mobile-topmenu .navbar-nav .nav-item > a {
    color:#171313;
    align-self: left;
    text-align: left;
}
.te .mobile-topmenu .navbar-nav .nav-item > a:hover, .te .mobile-topmenu .navbar-nav .nav-item.active > a:active{
    color: #171313;
} 
.te .navbar-nav .nav-item.active a{
    color: #171313;
}
.te .mobile-topmenu {
    background-color: #fff;
    z-index: 1;
    width: 100%;
}
.te .general-menu{
    margin: 7% 0 0 auto;
    font-size: 1.25rem;
}
.te .mobile-topmenu .navbar-nav li.nav-item {
    margin-left: 1rem;
    margin-right: 3rem;
    display: flex;
}
.te .logo .logo-lg{
    display: block;
    margin: 0;
}
.te .logo .logo-sm{
    display: none;
}
.te section.stretched-w100{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.te section.stretched-w50{
    width: 70%;
    margin: auto;
    display: flex;
}
.te section.stretched-w50 .about-description{
    margin: 7% 0 0 6%;
    text-align: left;
    font-size: 1.125rem;
}
.te .card{
    display: block;
    border: none;
}
.te .project-images {
    display: flex;
    margin: 7% auto 0 auto;
    flex-direction: column;
}
.te .back-btn{
        display: flex;
        justify-content: space-around;
        width: 100%;
        text-align: center;
        margin: 2rem 0;
        font-size: 1.15rem;
}
.te .project-description{
    display: block;
    text-align: center;
} 
.te .border-grey{
    border: 1px solid #ebe2e2;
}
.te .card-body{
    font-size: 0.8em;
}
.te section.section-bottom-alt{
    color: #fff;
    margin: 2rem 0;
} 
.te .bottom-line{
    height: 1.5rem;
    background-image:url(images/pattern.png)
}

@media (max-width: 800px) {
    .te button.navbar-toggler {
        display: block;
        float: right;
    }
    .te .mobile-topmenu .hamburger-menu{
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        padding: 1rem 0 1rem 1rem;
    }
    .te .desktop-menu{
        display: none;
    }
    .te .navbar-nav {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
    }
    .te .logo .logo-sm{
        display: inline;
    }
    .te .logo .logo-sm img{
        width: 100%;
    }
    .te .navbar-toggler-icon {
        margin: 0 2rem 0 0;
        float: right;
        color: #FFFFFF;
        background-image: url("images/menu.png");
    }
    .te .navbar-toggler-icon i.fas{
        font-weight: 400;
        font-size: 1.6rem;
    }
    .te .mobile-topmenu {
        font-size: 1rem;
        position: fixed;
        display: block;
        top: 0;
        left: 0;;
    }
    .te .sidebar-mainmenu-item > a {
        color: #040707;
        font-size: 1.25rem;
        line-height: 16px;
        display: block;
        padding: 2rem 1rem 2rem 3rem;
        text-decoration: none;
    }
    .te .sidebar-mainmenu-item > a:last-child{
        padding-bottom: 3rem;
    }
    .te .sidebar-mainmenu-item{
        margin: 4rem 0 0 0;
        position: fixed;
        z-index: 100;
        top: 4rem;
        background: #fff;
        width: 100%;
        border-bottom: solid 2px #dee2e6
    }
    .te .sidebar-mainmenu-item > a:active, .te .sidebar-mainmenu-item > a:hover {
        background-color: #D8D8D8;
        text-decoration: underline;
        color: #040707;
    }
    
    .te .sidebar-mainmenu-item > a.active {
        background-color: #D8D8D8;
    }
    .te .general-menu {
        margin: 0;
    }
    .te .top{
        margin-top: 9rem;
    }
    .te .top-7{
        margin-top: 7rem;
    }
    .te .project-images img {
        width: 100%;}

    .te .display-flex{
        flex-direction: column;
    }
    .te section.stretched-w50 {
        flex-direction: column;
        width: 95%;
    }
}

@media (max-width: 767px) {
    .te .top-7{
        margin-top: 5rem;
    }
}
