/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain) */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* Global Site Styles */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*:focus {
    box-shadow: none;
}

body {
    background-color: #f0f3f3;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-family: 'Montserrat', sans-serif;
    height: 100%;
    text-align: center;
}

section {
    position: relative;
    padding: 100px 0 0 0;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 10px;
}

a,
a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Global Text Styles */

.section-title {
    position: relative;
    margin: 0 0 60px 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.1em gray;
    text-align: center;
    color: #444444;
}

.section-title:after {
    position: absolute;
    display: block;
    content: "";
    width: 50%;
    height: 2px;
    background: #444444;
    left: 25%;
    bottom: -15px;
    box-shadow: 2px 4px 10px 4px grey;
    border-radius: 100%;
}

.feature-title {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #444444;
    margin: 20px 0 10px 0;
    padding: 0 4px;
    text-shadow: 0.1em 0.1em 0.1em grey;
}


/* ---- Navigation Menu ---- */

.header {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0 25px;
    transition: 0.5s;
    z-index: 9;
}

.logo a img {
    display: block;
    width: 100%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    z-index: 1;
    transition: 0.5s;
}

.menu li {
    list-style-type: none;
}

.menu li a {
    color: #f3f3f3;
    text-decoration: none;
    display: block;
    padding: 30px 25px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    transition: 0.5s;
}

.menu li a:hover {
    box-shadow: 0 -5px 0 #f3f3f3 inset, 500px 0 0 rgba(255, 255, 255, 0.03) inset;
    padding: 25px 25px 35px 25px;
}

.hamburger {
    position: relative;
    width: 30px;
    height: 4px;
    background: #f3f3f3;
    border-radius: 10px;
    cursor: pointer;
    z-index: 2;
    transition: 0.5s;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    height: 4px;
    right: 0;
    background: #f3f3f3;
    border-radius: 10px;
    transition: 0.5s;
}

.hamburger::before {
    top: -10px;
    width: 30px;
}

.hamburger::after {
    top: 10px;
    width: 30px;
}

.toggle-menu {
    position: absolute;
    width: 30px;
    height: 100%;
    z-index: 3;
    cursor: pointer;
    opacity: 0;
}

.hamburger,
.toggle-menu {
    display: none;
}

.navigation input:checked~.hamburger {
    background: transparent;
}

.navigation input:checked~.hamburger::before {
    top: 0;
    transform: rotate(-45deg);
    width: 30px;
}

.navigation input:checked~.hamburger::after {
    top: 0;
    transform: rotate(45deg);
    width: 30px;
}

.navigation input:checked~.menu {
    right: 0;
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.03)
}

/* ---- Banner ---- */

.banner {
    background: url(img/cool-trucks-under-orange-sky.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.banner h1 {
    color: #f3f3f3;
    font-size: clamp(2rem, 6vw, 6rem);
    font-weight: bold;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.1em black;
    margin: 1.7rem auto;
    padding: 30px;
    max-width: 1080px;
    height: auto;
    background: linear-gradient(to right top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25));
    border-radius: 5px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.banner h2 {
    color: #f3f3f3;
    font-size: clamp(1.5rem, 4vw, 4rem);
    font-weight: bold;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.1em black;
    margin: 1.7rem auto;
}

.banner a {
    text-decoration: none;
    font-weight: bold;
    background-color: rgba(0, 0, 0, 0.8);
    color: #f3f3f3;
    padding: 1rem 2rem;
    text-align: center;
    border: 2px solid #f3f3f3;
    border-radius: 10px;
    display: block;
    width: max-content;
    margin: 3vh auto;
}

.banner a:hover {
    color: grey;
    background-color: rgba(0, 0, 0, 1.0);
}

.about-firma {
    display: flex;
    flex-direction: row;
    margin: 5px 0;
}

.about-description {
    flex: 50%;
    padding: clamp(0.4rem, 3vw, 2rem);
    margin: 10px;
}

.about-photo {
    flex: 50%;
    margin: 20px 10px;
    padding: 0 20px;
}

.about-photo>img {
    border-radius: 5px;
    box-shadow: 2px 4px 10px 4px grey;
}

.about p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
    line-height: 1.4rem;

}

.about h1 {
    color: #f3f3f3;
    font-size: clamp(1rem, 6vw, 3rem);
    font-weight: bold;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.1em black;
    margin: 30px auto 0;
    padding: 30px;
    max-width: 95%;
    height: auto;
    background: linear-gradient(to right top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.25));
    border-radius: 5px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

/* ---- Offer ---- */

.features-wrapper {
    display: flex;
}

.feature {
    flex: 27.33%;
    max-width: 27.33%;
    text-align: center;
    margin: 3%;
    background-color: #ffffff;
    box-shadow: 2px 4px 10px 4px grey;
    border-radius: 5px;
}

.feature i {
    width: 150px;
    height: 150px;
    line-height: 150px;
    margin: 30px;
    background: #234670;
    border-radius: 50%;
    box-shadow: 2px 4px 10px 4px grey;
    color: #f3f3f3;
    text-shadow: 0.1em 0.1em 0.1em black;
}

.feature i:hover {
    background-color: #444444;
    animation: faiconsanimation 2s;
}

@keyframes faiconsanimation {
    0% {
        transform: translateY(0);
    }

    15% {
        transform: translateY(-0.75em);
    }

    30% {
        transform: translateY(0.3em);
    }

    45% {
        transform: translateY(-0.15em);
    }

    60% {
        transform: translateY(0);
    }
}

.feature-description {
    padding: 0 10px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 30px 10px 20px 10px;
}

.feature-title {
    position: relative;
}

.feature-title:after {
    position: absolute;
    display: block;
    content: "";
    width: 60%;
    height: 2px;
    background: #444444;
    left: 20%;
    bottom: -10px;
    box-shadow: 2px 4px 10px 4px grey;
    border-radius: 100%;
}

/* ---- Gallery ---- */

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#slider {
    width: 100%;
    height: auto;
    margin: 80px 0;

}

#slider #top-row {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slider .slide {
    display: none;
    width: 100%;
    flex: 1;
    border: 2px solid #444444;
    border-radius: 5px;
    box-shadow: 2px 4px 10px 4px grey;

}

#slider .slide.active {
    display: block;
}

#slider #bottom-row {
    display: flex;
    justify-content: center;
}

#dots {
    margin-top: 20px;
    display: inline-flex;
    padding: 5px 10px;
    padding-right: 0;
    border-radius: 2px;
}

#dots .dot {
    width: 12px;
    height: 12px;
    background-color: #000000;
    display: inline-block;
    border-radius: 50%;
    margin-right: 10px;
}

#dots .dot.visible {
    background-color: #444444;
}

.arrow {
    margin: 0 10px;
}

.arrow,
.dot {
    cursor: pointer;
}


/* ---- Contact ---- */

.contacts {
    text-align: center;
}

.contacts-wrapper {
    display: flex;
    flex-direction: row;
    max-width: 100%;
}

.contact {
    flex: 27.333333%;
    max-width: 33.333333%;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.1em black;
    color: #f3f3f3;
    background: #234670;
    border-radius: 5px;
    box-shadow: 2px 4px 10px 4px grey;
    margin: 3%;
    padding: 10px;
}

.contact:hover {
    background-color: #444444;
    transition: all 0.5s;
}

.contact i {
    margin: 30px 0;
    text-shadow: 0.1em 0.1em 0.1em black;
}

.contact i:hover {
    animation: roll 2s;
}

@keyframes roll {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.contact h3 {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0.1em 0.1em 0.1em black;
}

.contacts p {
    font-size: clamp(0.5rem, 6vw, 1rem);
    margin: 20px 0;
    font-weight: bold;
}

iframe {
    border: 2px solid #444444;
    border-radius: 5px;
    box-shadow: 2px 4px 10px 4px grey;
    width: 94%;
    /* takes precedence over the width set with the HTML width attribute */
    height: 30vh;
    margin: 3%;
    text-align: center;
    align-items: center;
}

/* ---- Footer ---- */


.page-footer {
    background-color: #444444;
    text-align: center;
    text-shadow: 0.1em 0.1em 0.1em black;
    font-weight: bold;
    padding: 30px 0;
}

.page-footer .container {
    display: flex;
    justify-content: space-between;
}

.page-footer p {
    color: #f3f3f3;
    font-size: clamp(0.5rem, 6vw, 1rem);
    margin: 0;
}

.page-footer a {
    color: #000000;
    text-shadow: 0.1em 0.1em 0.1em grey;
}

@media screen and (max-width: 834px) {

    .hamburger,
    .toggle-menu {
        display: block;
    }

    .header {
        padding: 10px, 20px;
    }

    .menu {
        justify-content: start;
        flex-direction: column;
        align-items: center;
        position: fixed;
        top: 0;
        right: -200px;
        background: rgba(0, 0, 0, 0.8);
        width: 200px;
        height: 100%;
        padding-top: 65px;
    }

    .menu li {
        width: 100%;
    }

    .menu li a,
    .menu li a:hover {
        padding: 30px;
        font-size: 24px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset;
    }

    .about-firma {
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .features-wrapper {
        display: block;
    }

    .feature {
        flex: 90%;
        max-width: 90%;
        margin: 5%;
    }

    .feature-description {
        padding: 10px;
    }

    #slider {
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0;

    }

    #slider #top-row {
        width: 100%;
        height: auto;
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .contacts-wrapper {
        display: block;
    }

    .contact {
        flex: 100%;
        max-width: 100%;
    }
}