@media screen and (min-width:1280px) {
    html {
        font-size: 1.25vw;
    }
}

@media screen and (max-width:1279px) {
    html {
        font-size: 18px;
    }
}

@media screen and (max-width:480px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Barlow', sans-serif;
    color: #333;
    background-color: #333333;
}

p {
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

p:last-of-type {
    margin-bottom: 0;
}

h1,
h2,
h3 {
    font-family: 'Barlow Semi Condensed', sans-serif;
    line-height: 1.2;
    position: relative;
}

h1 {
    font-size: 2.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

h2 {
    font-size: 2.25rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0 1rem;
    display: inline-block;
    margin-bottom: 1rem;
    color: #fff;
}

#whoWeAre {
    color: #333;
}

#how-we-work .how-we-work-title {
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
    padding: 0 1rem;
}

h2:before {
    content: "";
    display: block;
    width: 100%;
    height: 1rem;
    background: #d4af37;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 3px;
}

h3 {
    font-size: 1.63rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.home h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.home h2 {
    font-size: 2.75rem;
    margin-bottom: 2rem;
}

p+h2,
ul+h2,
ol+h2,
p+ol {
    margin-top: 2rem;
}

#main-content-top h1:before {
    content: "";
    display: block;
    width: 50%;
    height: 100%;
    background: #d4af37;
    position: absolute;
    bottom: 0;
    left: calc(-50% - 1.5rem);
    margin-bottom: 0;
}

.services-content{
    color: #fff;
}

#poziciok-content{
    color: #fff;
    margin: 0 auto;
}

.blockquote{
    width: 50%;
    color: #333;
    background: #f5f5f5;
    padding: 1rem 1rem 1rem 1.5rem;
    border-left: solid #d4af37 0.5rem;
    font-size: large;
    font-weight: 600;
    margin: 0 auto;
    line-height: 1.5;
    text-align: left;
}

a {
    color: #d4af37;
    text-decoration: none;
}

.custom-button {
    display: inline-block;
    background: #333;
    color: #d4af37;
    border: 5px solid #fff;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 1rem;
    padding: 0.5rem 0.7rem;
    border-radius: 4px;
}

.custom-button:hover {
    background: #d4af37;
    color: #333;
    border: 5px solid #fff;
}

.button {
    display: inline-block;
    background: #d4af37;
    color: inherit;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.5rem 0.7rem;
    border-radius: 4px;
}

.button:hover {
    background: #333;
    color: #d4af37;
}

main ul {
    margin-bottom: 1rem;
}

main ul li {
    padding-left: 1.5rem;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    position: relative;
}

main ul li:before {
    content: "";
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: #d4af37;
    position: absolute;
    top: 0.5rem;
    left: 0;
}

main ol {
    margin-bottom: 1rem;
    counter-reset: li-counter;
}

main ol li {
    padding-left: 2.5rem;
    line-height: 1.3;
    margin: 1.5rem auto;
    position: relative;
    color: #fff;
}

main ol li:before {
    content: counter(li-counter);
    counter-increment: li-counter;
    display: block;
    width: 1.5rem;
    height: 1.5rem;
    line-height: 1.5rem;
    background: #d4af37;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
}
