/* Global styling */

/* Default color for text */
.navbar .nav-link {
    /* Default color */
    color: white;
    background-color: rgb(0, 0, 116);
    border-radius: 10px;
    padding: 0;
    margin-top: 20px;
    --bs-navbar-active-color: white;
}

/* Styling: Activated Navbar dropdown menu*/
.dropdown-toggle.show {
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    color: white;
}

.nav-link-dark {
    color: black;
}

/* Offcanvas mode text color */
.offcanvas.show .navbar-nav .nav-link {
    
    /* Change color in offcanvas mode */
}

.secondaryNavbar {
    padding-top: 56px;
    font-size: 20px;
    font-family: "RobotoLight";
    color: #FB8500;
}

.second-navbar-text {
    color: #FB8500;
}

.navbar-brand {
    font-family: "RobotoBold";
}

.nav-item {
    font-family: "RobotoMedium";
    font-size: 30px;
}

.dropdown-menu {
    --bs-dropdown-bg: #ffffffdd !important;
    --bs-dropdown-border-color: none !important;
    --bs-dropdown-link-color: #686868 !important;
    /**--bs-dropdown-link-hover-bg: #d8d8d87d !important;*/
    --bs-dropdown-link-hover-bg: #ffffff !important;
    --bs-dropdown-link-hover-color: #000000 !important;

    --bs-dropdown-item-border-radius: 10px !important;
    border-top-left-radius: 0%;
    border-top-right-radius: 0%;
    width: 100%;
}

.dropdown-item {
    font-family: "RobotoMedium";
    font-size: 20px;
}

/******************
Offcanvas 
*******************/
.offcanvas {
    --bs-offcanvas-bg: rgb(0, 0, 116);
}

.offcanvas-item {
    color: #DEE2E6;
    font-size: 20px;
    font-family: 'RobotoMedium';
    text-decoration-line: none;
}

/******************
Gallery two styling 
*******************/

.imageContainer {
    padding-top: 65px;
    padding-left: 20%;
    padding-right: 20%;
}

/*
hr {
    position: relative;
    top: 20px;
    border: none;
    height: 12px;
    background: black;
    margin-bottom: 50px;
}
*/

.img-overview-top {
    /*background-color: #79A9F5;*/
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.img-overview {
    /*background-color: #79A9F5;*/
}

.img-overview-bottom {
    /*background-color: #79A9F5;*/
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/******************
Landing page 
*******************/

.carousel-item {
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 100%;
}



.highlight-text {
    font-family: "RobotoBold";
    font-size: 25px;
    color: white;
}

.gallery-overlay {
    position: absolute;
    top: 40%;
    left: 2%;
}

.gallery-overlay p,
.gallery-overlay a {

    font-size: 13px;
    /* Default font size, is overwritten by breakpoints */
    font-weight: bold;
    display: inline-block;
    /* Reduces container size to that of the content */
    text-decoration: none;
}

/******************
* Kategorien styling
*******************/

.preview-image {
    width: 75%;
    height: auto;
}

.category-heading {
    font-family: "RobotoBold";
    font-size: 25px;
    color: #ff6715;
}

.gallery-heading {
    font-family: "RobotoLight";
    font-size: 50px;
    text-align: center;
}

/**************
* Hover effect - portfolio sites
***************/

.preview-container {
    position: relative;
    padding: 0%;
}

.preview-image-overlay {
    display: block;
    position: relative;

}

.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.3);
}

.preview-text {
    color: white;
    font-size: 15px;
    font-family: "RobotoMedium";

    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.preview-text-year {
    color: white;
    font-size: 20px;
    font-family: "RobotoLightItalic";

    position: absolute;
    top: 60%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}

.gallery-container {
    margin-top: 65px;
}

/**
* Only apply hover effect on Devices with a cursor
**/

@media (hover: hover) {

    .preview-image-overlay:hover {
        transform: scale(1.1);
    }

    .preview-container:hover .overlay {
        opacity: 1;
    }

    .preview-container:hover .preview-text {
        opacity: 1;
    }

}

@media (hover: none) {
    
    .preview-container .overlay {
        opacity: 1;
    }

    .preview-container .preview-text {
        opacity: 1;
    }
}

/******************
Breakpoints styling
*******************/

.teaser-image {
    /*padding: 40px;*/
}

@media (min-width: 0px) {

    .gallery-overlay p,
    .gallery-overlay a {
        font-size: 35px;
    }

    .overlay a {
        font-size: 20px;
    }

    .overlay p {
        font-size: 10px;
    }

    .imageContainer {
        padding-left: 0%;
        padding-right: 0%;
    }
}

@media (min-width: 576px) {

    .gallery-overlay p,
    .gallery-overlay a {
        font-size: 35px;
    }

    .overlay a {
        font-size: 20px;
    }

    .overlay p {
        font-size: 10px;
    }

    .imageContainer {
        padding-left: 0%;
        padding-right: 0%;
    }

    .highlight {
        height: 250px;
    }
}

@media (min-width: 768px) {

    .gallery-overlay p,
    .gallery-overlay a {
        font-size: 40px;
    }

    .overlay a {
        font-size: 25px;
    }

    .overlay p {
        font-size: 13px;
    }

    .imageContainer {
        padding-left: 10%;
        padding-right: 10%;
    }

    .highlight {
        height: 350px;
    }
}

@media (min-width: 992px) {

    .gallery-overlay p,
    .gallery-overlay a {
        font-size: 45px;
    }

    .overlay a {
        font-size: 30px;
    }

    .overlay p {
        font-size: 15px;
    }

    .highlight {
        height: 550px;
    }
}

@media (min-width: 1200px) {

    .gallery-overlay p,
    .gallery-overlay a {
        font-size: 60px;
    }

    .overlay a {
        font-size: 40px;
    }

    .overlay p {
        font-size: 20px;
    }
}