﻿/* Global */
html {
    font-size: 62.5%;
    background: #fff;
    padding: 0;
    margin: 0;
}

body, a, h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: #111;
    letter-spacing: .05rem;
    line-height: 2.4rem;
    padding: 0;
    margin: 0;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: #ff5400;
}

::selection {
    background: #ff5400;
    color: #2e3192;
}

::-moz-selection {
    background: #ff5400;
    color: #2e3192;
}

strong, b {
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    padding-bottom: 15px;
}

h1 {
    font-size: 5rem;
    line-height: 6rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    padding: 70px 20px 20px;
    text-align: center;
}

h2 {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 700;
    color: #efefef;
    text-transform: uppercase;
    padding: 0 20px 40px;
    text-align: center;
}

h2.top-contact {
    font-size: 2rem;
    color: #111;
    background: #ff5400;
    padding: 20px 10px;
}

h2.top-contact span.tel a {
    font-size: 3.7rem;
    padding-top: 10px;
    display: block;
    font-weight: 700;
}

h2.top-contact span.tel a:hover {
    color: #111;
}

h2.header {
    font-size: 3rem;
    color: #2e3192;
    font-weight: 900;
    padding: 70px 0 10px;
    border-bottom: 10px solid #efefef;
    margin: 0 50px 40px;
}

#oferta h2.header, #kruszywa h2.header, #kontakt h2.header{
    border-bottom: 10px solid #fff;
}

#kontakt h2.header {
    color: #fff;
}

h3 {
    font-weight: 700;
    padding-top: 30px;
    text-align: center;
}

#sprzet h3 {
    padding-top: 0;
}

#kontakt h3 {
    color: #fff;
    padding-top: 0;
}

h4 {
    font-size: 2rem;
    font-weight: 900;
    color: #2e3192;
    text-transform: uppercase;
}

header h4 {
    padding-bottom: 10px;
}

#kontakt h4 {
    color: #fff;
    text-align: center;
}

p {
    padding: 20px 0;
}

.orange{
    color: #ff5400;
}

@media only screen and (min-width: 768px) {

    h1 {
        font-size: 6.5rem;
        line-height: 7.5rem;
        padding: 100px 20px 20px;
    }

    h2 {
        font-size: 2.5rem;
        line-height: 3.5rem;
    }
    
    h2.header {
        margin: 0 250px 40px;
    }
    
    h2.top-contact span.tel a {
        display: inline;
        padding-left: 15px;
    }
    
}

@media only screen and (min-width: 1024px) {

    h1 {
        font-size: 8rem;
        line-height: 10rem;
        padding: 75px 20px 20px;
    }

    h2 {
        font-size: 3.6rem;
        line-height: 5rem;
    }

    h2.header {
        margin: 0 350px 40px;
    }

}

@media only screen and (min-width: 1200px) {
    
    h1 {
        padding: 90px 20px 20px;
    }

    h2.header {
        margin: 0 400px 40px;
    }

}

/* Header */
.logo {
    padding-right: 30px;
}

.logo span {
    display: block;
    text-align: center;
    font-weight: 700;
}

.logo span:last-of-type {
    padding-bottom: 10px;
}

.logo a img {
    margin: 10px auto 0;
    display: block;
}

.a-nav {
    position: relative;
    z-index: 1000;
    background: #fff;
    padding: 20px 0 10px;
}

.a-menu li.nav-item a.nav-link {
    color: #111;
    font-weight: 700;
    font-size: 1.4rem;
    padding: 10px 30px 20px 0;
    transition: all 0.27s ease-in-out;
    text-transform: uppercase;
}

.a-menu li.nav-item a.nav-link:hover, .a-active {
    color: #ff5400;
}

.a-menu li.nav-item a.nav-link:first-child {
    padding-left: 0;
}

/* Mobile menu */
#toggle-label:before {
    display: none;
}

#toggle + #toggle-label {
    position: fixed;
    height: 40px;
    width: 40px;
    z-index: 5;
    margin: 0;
    max-width: 40px;
    top: 20px;
    right: 25px;
    border: 2px solid #fff;
    border-radius: 0;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 4px 0;
}

#toggle:checked + #toggle-label {
    background: transparent;
    border: 2px solid transparent;
}

#toggle + label span {
    width: 70%;
    height: 2px;
    top: 50%;
    left: 0;
    display: block;
    background: #07165F;
    transition: .5s;
    margin: 0 auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#toggle + label span:nth-of-type(1){
    top: 7px;
}

#toggle + label span:nth-of-type(2){
    top: 50%;
    transform: translateY(-50%) translateX(-50%);;
}

#toggle + label span:nth-of-type(3){
    top: 27px;
}

#toggle-label:hover {
    cursor: pointer;
}

#toggle:checked + #toggle-label span {
    opacity: 0;
    top: 50%;
    position: absolute;
    left: 5px;
}

#toggle:checked + #toggle-label span:first-child {
    opacity: 1;
    transform: rotate(405deg);
    background: #fff;
}

#toggle:checked + #toggle-label span:last-child {
    opacity: 1;
    transform: rotate(-405deg);
    position: absolute;
    background: #fff;
}

#toggle {
    display: none;
}

#toggle:checked ~ .hamburger-menu-container {
    position: fixed;
    background-color: rgba(7, 22, 95, 0.9);
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 3;
    transition: .5s;
    transition-delay: .5s;
    overflow: hidden;
}

#toggle ~ .hamburger-menu-container > ul {
    text-align: center;
    position: absolute;
    top: 10%;
    left: 20%;
    right: 20%;
    list-style-type: none;
    padding: 0;
}

#toggle ~ .hamburger-menu-container > ul > li {
    opacity: 0;
    transition: .5s;
    transition-delay: 0s;
}

#toggle ~ .hamburger-menu-container > ul > li > a {
    text-decoration: none;
    color: #ffffff;
    display: block;
    padding: 1.2rem;
    font-weight: 500;
}

#toggle ~ .hamburger-menu-container > ul > li > a.special {
    color: #ffffff;
    font-size: 20px;
}

#toggle ~ .hamburger-menu-container > ul > li > a.special-xs {
    display: inline;
    color: #ffffff;
    font-size: 20px;
}

#toggle:checked ~ .hamburger-menu-container {
    height: 110%;
    display: block;
    transition-delay: 0s;
}

#toggle:checked ~ .hamburger-menu-container > ul > li {
    opacity: 1;
    transition-delay: .5s;
}

.hamburger-menu-container {
    background: transparent;
    display: none;
}

#toggle + #toggle-label {
    display: flex;
}

.hamburger-menu-container ul {
    justify-content: center;
}

.hamburger-menu-container li {
    display: block;
    width: 100%;
}

.hamburger-menu-container a {
    text-align: center;
    color: #fff;
}

.hamburger-menu-container a:hover {
    text-align: center;
    color: #fff;
}

.hamburger-image {
    display:none;
}

/* Content */
#start {
    background: url('../img/baner.jpg') no-repeat;
    height: 519px;
    background-size: cover;
}

#info {
    padding-bottom: 50px;
}

#oferta {
    background: #efefef;
    padding-bottom: 70px;
}

#oferta img {
    display: block;
    margin: 0 auto;
}

.information {
    background: #fff;
    padding: 20px;
}

#sprzet {
    padding-bottom: 50px;
}

.containers {
    padding: 30px 0;   
}

.containers img {
    padding-top: 10px;
    display: block;
    margin: 0 auto;
}

#kruszywa {
    background: #efefef;
    padding-bottom: 50px;
}

#kruszywa img {
    display: block;
    margin: 0 auto;
}

#kontakt {
    background: url('../img/footer-bg.jpg') no-repeat;
    height: 735px;
    background-size: cover;
}

.contact-data {
    background: #fff;
    padding: 20px;
    margin: 30px 0;
}

.copy {
    font-size: 1.2rem;
    padding: 15px 0;
    text-align: center;
}

.copy a {
    font-size: 1.2rem;
    font-weight: 700;
}

@media only screen and (min-width: 1024px) {

    #oferta img {
        border: 15px solid #efefef;
    }
    
    #oferta img:nth-of-type(2) {
        position: absolute;
        right: 15px;
        top: 200px;
    }
    
    #oferta img:nth-of-type(3) {
        position: absolute;
        left: 15px;
        top: 500px;
    }
    
    .containers img {
        display: inline-block;
        padding-right: 20px;
    }
    
    #kruszywa p {
        padding: 0;
    }
    
    .contact-data {
        width: 420px;
        margin: 30px auto;
    }

}

@media only screen and (min-width: 1200px) {

    .information {
        margin-top: 40px;
    }

}
