/*Primary Color: #57BDF7

Use this as your main highlight color for key call-to-actions, links, and headings.
Secondary Color: #F24638 (Red)

This can be an accent color used for urgent or secondary call-to-actions, warning messages, or to draw attention to special offers.
Tertiary Color: #345d7e

A darker blue for a more subdued contrast; good for footer backgrounds, less prominent buttons, and text headings.
Accent Color: #f2a365

A softer contrast to both the primary and secondary colors, this can be used for less urgent call-to-actions or highlights.
Neutral Dark: #303030

A dark gray suitable for primary text, providing good readability against lighter backgrounds.
Neutral Light: #f4f4f4

A light gray for section backgrounds or as an offset against the more vibrant primary and secondary colors.
Background Color: #ffffff

Maintains a clean and professional backdrop for your content, ensuring the vibrant colors stand out.
*/
:root {
 --primary-color: #57BDF7;
 --secondary-color: #F24638;
 --tertiary-color: #345d7e;
 --accent-color: #F24638;
 --secondary-accent-color: #f2a365;
 --neutral-dark: #303030;
 --neutral-light: #f4f4f4;
}

body{
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
    top: 0;
}
#top{
    background: url("img/cover.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    min-height: 800px;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.text-box{
    display: flex;
    flex-flow: column;
    text-align: justify;
    margin-left: 2em;
    width: 50%;
    align-self: flex-start;
}
.text-box h2{
    padding-left: 2em;
}
.text-box img{
    width: 80%;
}
.parent{
    height: 100%;
    width: 100%;
    display: flex;
}
#menu{
    /*padding-top: 2em;
    padding-left: 2em;*/
    
    display: flex;
    flex-flow: row;
    width: 80%;  
}
#menu ul{
    padding-top: 0;
    margin-top: 0;
    padding-inline-start: 0px;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    height: 100px;
    background: rgba(64, 64, 64, 0.4);
    border-top-right-radius: 0.15em;
    border-top-left-radius: 0.15em;
    box-shadow: 0px 10px 50px -10px rgba(0,0,0,0.75);

}
#menu ul li{
    list-style-type: none;
    border-bottom: 1px solid #fb4439;
    padding-bottom: 1em;
    transition: all .2s ease-in-out;

}
#menu .no-line{
    border-bottom: none;
    padding-bottom: 0;
}
#menu a{
    color: white/*#50a4e3 #56bdf7*/;
    text-decoration: none;
    font-weight: normal;
    font-size: 1em;
    padding: 1em 1em;
    transition: all .2s ease-in-out;

}
#menu a:hover{
    color: var(accent);
}
#menu ul li:hover{
    border-bottom: 3px solid var(accent);

}
#menu .no-line:hover{
    border-bottom: none;
    padding-bottom: 0;
}
.content-box{
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 4em;
    padding-bottom: 4em;
}
.content-box p, h2{
    width: 80%;
}
.content-box p{
    font-size: 1.15em;
}
#logo{
    width: 150px;
    height: 100%;
    /*margin-top: -8em;*/
}
#first-box{
    background: url("img/first_bg_2.jpg") no-repeat center center fixed;
    background-size: cover;
    -webkit-box-shadow: 0px -14px 69px -30px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -14px 69px -30px rgba(0,0,0,0.75);
    box-shadow: 0px -14px 69px -30px rgba(0,0,0,0.75);
}
#first-box h2::after, #first-box h2::before{
    content: "";
    width: 80%;
    height: 0px;
    display: block;
    position: relative;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 1em;
    background: #fb4439;
}
#oferta{
    min-height: 500px;
    flex-flow: row wrap;
    padding-top: 0;
}
#oferta h2{
    width: 100%;
}
.title-box{
    color: white;
    margin-left: 2em;
    text-align: justify;
    font-size: 2em;
    width: 100%;
}
.title-box::after{
    content: "";
    width: 20%;
    height: 2px;
    display: block;
    background: #fb4439;
}
.card{
    width: 40%;
    min-height: 300px;
    -webkit-box-shadow: 0px 0px 80px -20px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 80px -20px rgba(0,0,0,1);
    box-shadow: 0px 0px 80px -20px rgba(0,0,0,1);
    display: flex;
    align-items: flex-end;
    cursor: pointer;
    background: 100% 100%;
    margin: 1em;
    border-radius: 0.15em;
    transition: all .2s ease-in-out;
}
.card:hover{
    transform: scale(1.05);
    -webkit-box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
    box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
}
/*.card h2{
    width: 100%;
    color: white;
    background: rgba(251, 68, 57, 0.9);
    font-size: 2em;
    text-align: center;
    margin-left: 0;
    transition: all .2s ease-in-out;

}*/
.card-h2{
    width: 100%;
    min-height: 400px;
    color: rgba(251, 68, 57, 1);
    text-align: center;
    margin-left: 0;
    margin-bottom: 0;
    border-bottom-left-radius: 0.15em;
    border-bottom-right-radius:  0.15em;
    transition: all .2s ease-in-out;

}
.card:hover > .card-h2{
    color: white;
    background: rgba(251, 68, 57, 0.9);
}
#first-card{
    background: url("img/cards/turbo.jpg") no-repeat center center;
    background-size: cover;
}
#second-card{
    background: url("img/cards/pumps.png") no-repeat center center;
    background-size: cover;
}
#third-card{
    background: url("img/cards/engines.jpg") no-repeat center center;
    background-size: cover;
}
#fourth-card{
    background: url("img/cards/diag.jpg") no-repeat center center;
    background-size: cover;
}
#fifth-card{
    background: url("img/cards/dpf.jpg") no-repeat center center;
    background-size: cover;
}
#sixth-card{
    background: url("img/cards/additive.jpg") no-repeat center center;
    background-size: cover;
}
#o-nas{
    min-height: 400px;
    background: url("img/sec_bg.jpg") no-repeat bottom center fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: white;
    flex-flow: row wrap;
    align-content: flex-start;
}
#o-nas::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);

}
#kontakt{
    clear: both;
    min-height: 300px;
    flex-flow: row wrap;
    justify-content: center;
}
#kontakt p, #kontakt a{
    text-decoration: none;
    font-size: 1.25em;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}
#kontakt a{
    font-size: 1em;
}

#kontakt p:first-child{
    font-size: 1.75em;
}
.quote-box{
    width: 80%;
    border-top: 2px solid #fb4439;
    border-bottom: 2px solid #fb4439;
    padding-top: 1em;
    padding-bottom: 1em;
    margin-top: 1em;
    background: rgba(64, 64, 64, 0.5);
    border-radius: 0.15em;
    -webkit-box-shadow: 0px 0px 40px -20px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 40px -20px rgba(0,0,0,1);
    box-shadow: 0px 0px 40px -20px rgba(0,0,0,1);
}
#quote-box-diesel{
    margin-top:2em;
}
#quote-box-diesel h2{
    color: white;
    font-style: italic;
    font-weight: lighter;
}
.offer-button{
    border: 2px solid var(--accent-color);
    background: var(--accent-color);
    color: var(--neutral-light);
    font-size: 1.25em;
    transition: all .2s ease-in-out;
    border-radius: 0.15em;
}
.offer-button:hover{
    transform: scale(1.1);
    background: #c53030;
    color: white;
    border: 2px solid white;
    -webkit-box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
    -moz-box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
    box-shadow: 0px 0px 40px -5px rgba(0,0,0,1);
    cursor: pointer;
}
.half{
    width: 45%;
    text-align: left;
    color: white;
    padding: 0;
}

#mapid { 
    height: 500px;
}
#footer-box{
    height: 80px;
    background: #345d7e;
    justify-content: center;
    align-items: center;
}
.icon{
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
}
.company-name{
    font-size: 1.75em;
    color: #fb4439;
}
.icon-circle-down{
    stroke: white;
    stroke-width: 1px;
    fill: #fb4439;
    width: 50px;
    height: 50px;
    transform: scale(2);
    animation: pulse 3s infinite;
}
#logo_center {
    display: none;
}
.bg-dark-blue {
    background-color: #345d7e;
}
.primary-blue {
    color: var(--primary-color);
}
.bg-primary-blue {
    background-color: var(--primary-color);
}
.dark-blue{
    color: rgb(52, 93, 126);
}
.neutral-light{
    color: #f4f4f4;
}
.accent{
    color: var(--accent-color);
}
.nav-link:focus, .nav-link:hover{
    color: var(--neutral-dark);
}
.bg-dark-lite-transparent{
    background-color: rgba(0,0,0,0.6);
}
.bg-neutral-dark-lite-transaprent{
    background-color: rgba(48, 48, 48, 0.6);
}
.bg-light-grey{
    background-color: #e1e1e1 ;
}
.bg-neutral-light{
    background-color: var(--neutral-light);
}
.bg-accent{
    background-color: var(--accent-color);
}
.tertiary{
    color: #345d7e;
}
.neutral-dark{
    color: rgb(48, 48, 48);
}
.border-accent{
    border-color: #F24638;
}
.border-right-accent{
    border-right: 2px solid #f24638;
}
.border-top-accent{
    border-top: 2px solid #f24638;
}
.border-bottom-accent{
    border-bottom: 2px solid #f24638;
}
.border-right-neutral-light{
    border-right: 2px solid #f4f4f4;
}
.border-top-neutral-light{
    border-top: 2px solid #f4f4f4;
}
.border-bottom-neutral-light{
    border-bottom: 2px solid #f4f4f4;
}
.dropdown-item:active, dropdown-item.active {
    background-color: var(--accent-color);
    color: var(--neutral-light);
}

@media only screen and (max-width:768px){
    .border-sm-right-no {
        border-right: 0!important;
    }
}

.menu-item-box:hover > p, .menu-item-box:hover > p > a {
    color: var(--accent-color) !important;
}
#kontakt .contact-item:hover{
    color: var(--accent-color);
}
#kontakt p:hover > a{
    color: var(--accent-color);
}
@keyframes pulse{
    0%{
        transform: scale(2);
    }
    50%{
        transform: scale(2.5);
    }
    100%{
        transform: scale(2);
    }
}

@media only screen and (max-width: 1700px) {
    .menu-item-box > p {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 1200px){

    .menu-item-box > p {
        font-size: .55rem;
    }
    
}
@media only screen and (max-width: 1000px){
    .card{
        width: 80%;
    }
    .half{
        width: 80%;
    }
    #logo_center{
        display: block;
    }
    #menu{
        display: none;
    }
    #logo{
        margin-top: -4em;
    }
    #pointer-down{
        display: none;
    }
    #contact-left{
        padding-bottom: 1em;
    }
    .text-box img{
        width: 100%;
    }
    #top{
        min-height: 500px;
    }
}
@media only screen and (max-width: 990px) {
    .menu-item-box > p {
        font-size: 1rem;
    }
}
@media only screen and (max-width: 500px){
    #top{
        background: url(img/cover.png) no-repeat right top fixed;
        background-size: cover;
    }
    .text-box{
        width: 80%;
    }
    #third-box{
        background: url(img/sec_bg.jpg) no-repeat center center;
    }
}