:root {
    --background: #ffffff;
    --foreground: #171717;
}

/* @media (prefers-color-scheme: dark) {
  :root {
    --background: #0a0a0a;
    --foreground: #ededed;
  }
} */

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    color: var(--foreground);
    background: var(--background);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
html {
    scroll-behavior: smooth;

}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

@media (prefers-color-scheme: dark) {
    html {
        color-scheme: dark;
    }
}

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%;
    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;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.container {
    max-width: 1270px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

.primary-button {
    padding: 20px;
    background-color: #FF6F28;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    border-radius: 5px;
    max-width: 162px;
    width: 100%;
    text-align: center;
    display: block;
    transition: background-color 0.5s, color 0.3s;
    border: 1px solid transparent;
    font-weight: 600;
}

.primary-button:hover {
    background-color: #fff;
    color: #FF6F28;
    border-color: #FF6F28;
}

.section-headline {
    color: #000000;
    font-size: 48px;
    line-height: 48px;
    font-weight: 600;
    text-align: center;
}

.swiper-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9;
    padding: 0 15px;
}

.navigation-button {
    border: 0;
    outline: 0;
    background-color: transparent;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.navigation-button--next {
    transform: rotate(180deg);
}

.swiper-pagination-bullet-active {
    background-color: #FF6F28 !important;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FF6F28;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

@media only screen and (max-width: 1024px) {
    .section-headline {
        font-size: 36px;
        line-height: 38px;
    }
}

@media only screen and (max-width: 992px) {
    .primary-button {
        padding: 8px;
    }

    .hero-section {
        min-height: 530px;
    }
}

@media only screen and (max-width: 576px) {
    .navigation-button {
        width: 40px;
        height: 40px;
    }

    .navigation-button svg {
        width: 100%;
        height: 100%;
    }
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main {
    flex-grow: 1;
}

.hero-section {
    min-height: 662px;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 170px;
}

.hero-section__descs {
    max-width: 734px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-section__headline {
    color: #fff;
    font-weight: 700;
    font-size: 60px;
    line-height: 80px;
    text-align: center;
}

.hero-section__desc {
    color: #fff;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    margin-top: 24px;
}

.hero-section__actions {
    margin-top: 48px;
}

.top-categories {
    margin-top: 140px;
    background-color: #FFF3ED;
    padding: 49px 0 96px;
}

.categories-card {
    min-height: 432px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    max-width: 100%;
    padding: 0 12px 12px 24px;
    display: flex;
    align-items: flex-end;
}

.categories-swiper {
    margin-top: 48px;
}

.category__name {
    font-size: 32px;
    line-height: 32px;
    color: #fff;
}

.scroll--top {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    background-color: #fff;
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 99;
    border: 0;
    outline: 0;
    box-shadow: 0px 0px 50px -12px rgb(0 0 0 / 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll--top svg {
    width: 24px;
    height: 24px;
}

.main-panel__headline {
    font-size: 52px;
    font-weight: 700;
    line-height: 60px;
    color: #333333;
}

.section-about {
    margin-top: 110px;
}

.main-panel {
    display: flex;
    justify-content: space-between;
    padding-top: 60px;

}

.main-panel__descs {
    max-width: 640px;
    width: 100%;
    flex: 1;
    padding-left: 25px;
}

.main-panel__desc {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
    color: #333333;
    margin-top: 24px;
}

.main-panel__actions {
    margin-top: 64px;
}

.main-panel__image {
    width: 498px;
    height: 498px;
    border: 1px dashed #F77E23;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-panel__image img {
    transform: translateY(-60px);
}

.top-candidates .section-headline {
    text-align: left;
}

.top-candidates {
    margin-top: 110px;
}

.candidate-card {
    box-shadow: 0px -1px 8px -3px #CBCBCB;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
}

.candidate-card__image {
    width: 100%;
    max-width: 100%;
    min-height: 380px;
    position: relative;
}

.candidate-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.candidate-slider {
    margin-top: 48px;
}

.candidate-card__name {
    font-size: 20px;
    line-height: 24px;
    color: #333333;
    margin-top: 24px;
}

.candidate-card__position {
    font-size: 16px;
    line-height: 18px;
    color: #09B451;
    margin-top: 12px;
    font-weight: 500;
}

.candidate-slider :global(.swiper-slide) {
    padding: 5px 0;
}

.candidate-slider :global(.swiper-wrapper) {
    padding-bottom: 15px;
}

.candidate-slider :global(.swiper-pagination) {
    bottom: 0 !important
}

@media only screen and (max-width: 1024px) {

    .top-categories,
    .top-candidates {
        margin-top: 50px;
    }

    .main-panel {
        flex-direction: column;
        align-items: center;
    }

    .main-panel__headline {
        font-size: 38px;
        line-height: 42px;
    }

    .main-panel__desc {
        font-size: 16px;
        line-height: 18px;
        margin-top: 12px;
    }

    .main-panel__descs {
        padding-left: 0px;

    }

    .main-panel__actions,
    .candidate-slider {
        margin-top: 24px;
    }

    .hero-section__headline {
        font-size: 48px;
        line-height: 56px;
    }
}


@media only screen and (max-width: 576px) {
    .hero-section__headline {
        font-size: 36px;
        line-height: 46px;
    }

    .main-panel__image {
        width: 320px;
        height: 320px;
    }

    .top-categories {
        padding: 50px 0 50px;
    }

    .categories-swiper {
        margin-top: 25px;
    }

    .categories-card {
        min-height: 350px;
    }
}

.loader {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333333;
    position: absolute;
    width: 100%;
    z-index: 1;
}

.loader p {
    font-size: 68px;
    line-height: 75px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 7px;
}

@media only screen and (max-width: 992px) {
    .loader p {
        font-size: 32px;
        line-height: 36px;
        letter-spacing: 3px;
    }
}