@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@800&display=swap');

html {
    box-sizing: border-box;
    font-family: "roboto";
}

*,
*::before,
*::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

:root {
    font-size: 10px;
    --main-color: #fff;
    --nav-color: #707070;
    --font: "Roboto", sans-serif;
}

body {
    background-color: #fff;
    font-size: "roboto";
    overflow-x: hidden;
}

.menu {
    position: relative;
    display: flex;
    width: 100vw;
    height: 8vh;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.hamburger {
    position: fixed;
    padding: 10px;
    display: inline-block;
    cursor: pointer;
    background-color: transparent;
    border: 0;
    margin: 0;
    z-index: 99;
}

.hamburger,
.navigation {
    transition: transform 0.3s 0.1s ease-in-out;
}

.hamburger--active {
    transform: translatex(250px);
}

.hamburger__box {
    width: 35px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.hamburger__inner {
    width: 100%;
    height: 3px;
    background-color: #e4312d;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.1s 0.2s ease-in-out;
}

.hamburger__inner::before,
.hamburger__inner::after {
    width: 100%;
    height: 3px;
    background-color: black;
    position: absolute;
    content: "";
    left: 0;
    transition: transform 0.2s 0.2s ease-in-out;
}

.hamburger__inner::before {
    top: -10px;
}

.hamburger__inner::after {
    top: 10px;
}

.hamburger--active .hamburger__inner {
    background-color: transparent;
}

.hamburger--active .hamburger__inner:before {
    transform: translateY(10px) rotate(45deg);
}

.hamburger--active .hamburger__inner:after {
    transform: translateY(-10px) rotate(-45deg);
}

.navigation {
    height: 100vh;
    width: 250px;
    background-color: white;
    position: absolute;
    top: 0;
    left: 0;
    transform: translateX(-270px);
    z-index: 99;
}

.navigation--active {
    position: fixed;
    transform: translateX(0px);
}

.navigation__list {
    margin-top: 50px;
    list-style: none;
}

.navigation__item {
    margin-bottom: 20px;
    margin-top: 2.5rem;
}

.navigation__item a {
    text-decoration: none;
    color: #171717;
    margin: 20px;
    font-weight: bold;
    font-size: 1.6rem;
}

.navigation__item a.red {
    color: #e4312d;
    text-transform: uppercase;
}

.gg {
    width: 100vw;
    text-align: center;
    font-size: 4rem;
    margin-top: -0.5rem;
    font-size: 50px;
    margin-right: 2rem;
    font-weight: 800;
    font-family: "Poppins", sans-serif;
    color: #e3342f;
}

.phone {
    display: none;
    width: 100vw;
    text-align: center;
    font-size: 4rem;
    /*     margin-left: 10rem; */
    margin-top: -0.5rem;
    font-weight: bold;
    color: white;
    font-size: 50px;
    text-shadow: -1px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000,
        -1px -1px 0 #000;
}

.logo {
    width: 50px;
    height: 50px;
    position: absolute;
    right: 0;
    margin-right: 1.5rem;
    background-image: url("logo.jpg");
    background-size: contain;
    border-radius: 10%;
}

.banner {
    position: relative;
    width: 100vw;
    height: 91vh;
    border-bottom: 2px solid #e4312d;
}

.banner .img {
    width: 100vw;
    height: 90.7vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid black;
    filter: brightness(85%);
}

.banner .img1 {
    background-image: url('./narzedziaDlaHydraulikow1.jpg');
}

.banner .img2 {
    background-image: url('./narzedziaDlaHydraulikow2.jpg');
}



.banner h1 {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 45%;
    font-weight: bold;
    transform: translateY(-50%);
    font-size: 6rem;
    color: white;
    text-shadow: -2px 2px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000,
        -1px -1px 0 #000;
}


.table {
    font-family: "roboto";
}

h2 {
    text-align: center;
    margin: 3rem 0;
    color: black;
    font-weight: 700;
    text-transform: uppercase;
}

th {
    font-size: 1rem;
    text-align: left;
}

td {
    font-size: 1rem;
    text-align: left;
}

/*FOOTER */
.footer {
    border-top: 3px solid #e4312d;
    position: relative;
    width: 100vw;
    bottom: 0;
    height: 23vh;
    margin-top: 12rem;
    background: rgb(43, 39, 39);
}

.footer .contact-icon {
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    display: flex;
    left: 0;
    flex-direction: column;
}

.footer .contact-icon i {
    font-size: 1rem;
    vertical-align: 10%;
    color: white;
    margin-right: 2rem;
}

.footer .contact-icon h4 {
    font-size: 1.2rem;
    color: white;
    margin: 0.3rem 2rem 0.7rem 2rem;
}

.footer .contact-icon a {
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.footer .logo {
    top: 50%;
    transform: translateY(-50%);
    margin-right: 4rem;
}

@media (min-width: 700px) and (orientation: portrait) {
    .menu {
        height: 5vh;
    }



    .banner {
        height: 94vh;
    }

    .banner .img {
        height: 93.8vh;
    }

    .banner h1 {
        position: absolute;
        width: 100%;
        text-align: center;
        top: 45%;
        font-weight: bold;
        transform: translateY(-50%);
        font-size: 10rem;
        color: white;
        text-shadow: -4px 3px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000,
            -1px -1px 0 #000;
    }

    h2 {
        font-size: 3rem;
    }

    th {
        font-size: 1.8rem;
    }

    td {
        font-size: 1.8rem;
    }

    /*FOOTER */
    .footer {
        height: 17vh;
    }

    .footer .contact-icon {
        left: 5%;
    }

    .footer .contact-icon i {
        font-size: 1.5rem;
    }

    .footer .contact-icon h4 {
        font-size: 1.7rem;
    }

    .footer .logo {
        top: 50%;
        transform: translateY(-50%);
        margin-right: 8rem;
        width: 90px;
        height: 90px;
    }
}

@media (min-width: 600px) and (orientation: landscape) {
    .menu {
        height: 14vh;
    }

    .banner {
        position: relative;
        width: 100vw;
        height: 85vh;
        border-bottom: 2px solid #e4312d;
    }

    .banner .img {
        height: 84.5vh;
    }

    th {
        font-size: 1.5rem;
    }

    td {
        font-size: 1.5rem;
    }

    /*FOOTER */
    .footer {
        height: 37vh;
    }

    .footer .contact-icon {
        left: 5%;
    }

    .footer .logo {
        top: 50%;
        transform: translateY(-50%);
        margin-right: 15%;
        width: 70px;
        height: 70px;
    }

    @media (min-width: 1023px) and (orientation: landscape) {
        .menu {
            height: 8vh;
        }

        .banner {
            height: 92vh;
        }

        .banner .img {
            height: 91.6vh;
        }

        .hamburger {
            padding: 20px;
        }

        .logo {
            width: 60px;
            height: 60px;
        }



        .phone {
            display: inline;
            margin-top: 1.5rem;
            text-shadow: -2px 1px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000,
                -1px -1px 0 #000;
            font-size: 2.8rem;
            margin-right: 4rem;
        }

        .banner h1 {
            font-size: 9rem;
        }

        h2 {
            font-size: 3.5rem;
            margin-top: 4rem;
            margin-bottom: 5rem;
        }

        /*FOOTER */
        .footer {
            height: 23vh;
        }

        .footer .contact-icon {
            left: 10%;
        }

        .footer .logo {
            margin-right: 15%;
            width: 90px;
            height: 90px;
        }

        .footer .contact-icon i {
            font-size: 1.7rem;
        }

        .footer .contact-icon h4 {
            font-size: 1.5rem;
        }
    }

    @media (min-width: 1279px) and (orientation: landscape) {
        .menu {
            height: 8vh;
        }

        .hamburger {
            padding: 15px;
        }

        .logo {
            margin-right: 1.5rem;
        }

        .banner h1 {
            font-weight: 12px;
            text-shadow: -5px 4px 0 #000, 1px 1px 0 #000, 1px -1px 0 #000,
                -1px -1px 0 #000;
        }

        .banner {
            border-bottom: 3px solid #e4312d;
        }

        .banner .pictureBanner {
            filter: brightness(75%);
        }

        .tableWrapper {
            margin: 0 10rem;
        }

        th {
            font-size: 1.5rem;
        }

        td {
            font-size: 1.5rem;
        }
    }

    @media (min-width: 1400px) and (orientation: landscape) {
        .logo {
            margin-right: 3em;
        }
    }

    @media (min-width: 1600px) and (orientation: landscape) {
        .menu {
            height: 6vh;
        }
    }
}