:root {
    --main-color: rgb(178, 57, 57);
    --font-color: rgb(30, 30, 30);
}

body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    color: var(--font-color);
}

nav {
    position: sticky;
    top: 0;
    left: 0;
    background: var(--main-color);
    color: white;
    height: 50px;
    font-weight: bold;
    z-index: 9999;
}

nav, nav ul {
    display: flex;
    justify-content: center;
}

nav ul {
    list-style-type: none;
    margin: 0;
}

nav ul li {
    padding: 15px;
}

nav ul li:hover {
    background: white;
    color: var(--main-color);
}

nav ul a {
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

.content {
    text-align: justify;
    margin-top: 30px;
    margin-bottom: 45px;
}

.content h2, h4 {
    text-align: center;
    margin-bottom: 20px;
}

.content h4 {
    position: relative;
    margin-bottom: 30px;
    font-size: 1.2em;
}

.content h4:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 50px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--main-color);
}

.content .figure {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.content .figure .figure-caption {
    flex-basis: 100%;
    text-align: center;
}

.content .trasy {
    display: flex;
}

.section {
    margin-top: 50px;
    box-shadow: 0 0 10px rgba(47, 47, 47, 0.1);
    padding: 50px;
}

#hero {
    text-align: center;
    position: relative;
    color: white;
    height: calc(100vh - 50px);
    display: flex;
    align-items: center;
}

#hero .btn-group .btn {
    background: var(--main-color);
    color: white;
    font-weight: bold;
    padding: 10px;
    border: 3px var(--main-color) solid;
}

#hero .btn-group .btn:hover {
    border: 3px white solid;
}

#hero .container > * {
    margin-top: 50px;
}

#hero #backgroundImg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -9;
    height: auto;
    width: 100%;
}

#hero #backgroundImg img {
    height: calc(100vh - 50px);
    filter: brightness(0.4);
    width: 100%;
    object-fit: cover;
}

footer {
    padding: 50px 0;
    background: var(--main-color);
    color: white;
}
