/* Misc */

body {
    position: relative;
}

.container {
    max-width: 1040px;
}

a:hover {
    text-decoration: underline;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

*:hover,
*:focus,
*:active {
    outline: none;
    box-shadow: none !important;
    -webkit-appearance: none;
}

/* Light/dark mode */

.bi-sun,
.bi-moon {
    color: #ccc;
}

#darkModeSwitch {
    display: none;
    cursor: pointer;
}

#sun {
    display: block;
    cursor: pointer;
}

#moon {
    display: none;
    cursor: pointer;
}

#darkModeSwitch:checked~#sun {
    display: none;
}

#darkModeSwitch:checked~#moon {
    display: block;
}

[data-bs-theme="light"] #logo {
    display: block;
}

[data-bs-theme="light"] #logo-dark {
    display: none;
}

[data-bs-theme="dark"] #logo {
    display: none;
}

[data-bs-theme="dark"] #logo-dark {
    display: block;
}

/* Landing sections */

#home {
    padding-top: 75px;
}

#job,
#faq,
#contacts {
    padding-top: 50px;
}

/* Swiper slider */

.swiper {
    width: 100%;
}

@media (min-width: 720px) {
    .swiper {
        width: 80%;
    }
}

.swiper-slide {
    display: flex;
    width: fit-content;
    text-align: center;
    font-size: 18px;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

[data-bs-theme=light] .swiper-button-prev,
[data-bs-theme=light] .swiper-button-next {
    color: black;
}

[data-bs-theme=dark] .swiper-button-prev,
[data-bs-theme=dark] .swiper-button-next {
    color: white;
}

/* accordion */

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #000
}


[data-bs-theme="dark"] .accordion-button::after {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cccccc '%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cccccc '%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

[data-bs-theme="light"] .accordion-button::after {
    --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529 '%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23cccccc '%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

/* reCaptcha badge */

.grecaptcha-badge {
    bottom: 25px !important;
}

/* Dev */

#developer {
    position: absolute;
    left: -999px;
    top: 0px;
}

/* Cookie alert */

.cookiealert {
    padding: 1.25rem 1.25rem !important;
}

/* Flags */

.dropdown-item:focus,
.dropdown-item:hover {
    background: rgba(0,0,0,0.0) !important;
}

.dropdown-menu {
    border: 0px !important;
}
