:root {
    --base-color: #ffffff;
    --back-color: hsl(0, 0%, 93%);
    --contrast-color: #0b4183; /* corp */
    --contrast-middle-color: #0f53a7;
    --contrast-light-color: #1f6ac5;
    --contrast-lighter-color: #287ce1;
    --contrast-extralight-color: #368af0;
    --accent-color: #7f7f7f; /* corp */
    --accent-light-color: #a0a0a0;
    --accent-dark-color: #555555;
    --default-text-color: #222222;
    --header-height: 140px;
    --logo-height: 90px;
    --header-padding: 15px;
    --nav-height: 50px;
    --footer-height: 325px;
}

html, body {
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--back-color);
    color: var(--default-text-color);
    font-family: 'OpenSans', sans-serif;
}

body {
    width: 100%;
    min-height: 100vh;
    min-width: 280px;
    /* display: flex;
    flex-direction: column; */
    /* background-image: url('/images/style/bg_01.jpg'); */
    background-image: url('/images/style/bg_02.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center bottom;
}

div {
    box-sizing: border-box;
}

a {
    color: var(--accent-color);
}

h1 {
    font-weight: 300;
    font-size: 2.5rem;
    font-family: 'Poppins', sans-serif;
    /* color: var(--contrast-color); */
    max-width: 100%;
    word-wrap: break-word;
}

h2 {
    font-weight: 300;
    font-size: 2rem;
    color: var(--default-text-color);
    font-family: 'Poppins', sans-serif;
    text-align: center;
    margin: 0 auto 1.5em;
}

.line-box h1 {
    text-align: center;
    margin-top: 0;
}
.blured-box h1 {
    color: var(--contrast-color);
}
.blured-box h1,
.blured-box h2 {
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4), 0px 0px 3px rgba(255, 255, 255, 0.7), 0px 0px 7px rgba(255, 255, 255, 0.9);
}
.transparent-box h1,
.transparent-box h2 {
    color: var(--base-color);
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5), 0 0 30px rgba(0,0,0,0.9);
}

header {
    width: 100%;
    height: var(--header-height);
    box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--base-color);
    z-index: 10;
}

main {
    min-height: calc(100vh - var(--footer-height));
    padding: var(--header-height) 0 0;
    box-sizing: border-box;
}

footer {
    background-color: var(--accent-dark-color);
    background-image: radial-gradient(at 30% top, transparent, rgba(0,0,0,0.8));
    color: var(--base-color);
    min-height: var(--footer-height);
    padding: 1.2rem 0;
    box-sizing: border-box;
}

.container {
    width: 96%;
    max-width: 1200px;
    margin: 0 auto;
}

section.line-box {
    padding: 4rem 0 6rem;
}

.location-icon {
    mask: url('/images/icons/location.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icons/location.svg') no-repeat center / contain;
}
.call-icon {
    mask: url('/images/icons/call.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icons/call.svg') no-repeat center / contain;
}
.email-icon {
    mask: url('/images/icons/mail.svg') no-repeat center / contain;
    -webkit-mask: url('/images/icons/mail.svg') no-repeat center / contain;
}

.default-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--base-color);
    padding: 0.3em 1em;
    border-radius: 3px;
    text-decoration: none;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    font-weight: 300;
    border: 0;
    cursor: pointer;
    transition: .3s;
}
.default-button:hover {
    background-color: var(--accent-light-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
}

.big-button {
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
}

.rounded-button {
    border-radius: 0.7em / 1.5em;
}

.contrast-button {
    background-color: var(--contrast-color);
}
.contrast-button:hover {
    background-color: var(--contrast-middle-color);
}

.transparent-box {
    box-shadow: inset 0px 6rem 12rem -6rem rgba(0, 0, 0, 0.7);
}

.blured-box {
    background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px);
}

.shaded-box {
    box-shadow: inset 0px 8rem 16rem -8rem rgba(0, 0, 0, 0.8);
}

.blured-box.shaded-box {
    box-shadow: inset 0px 8rem 16rem -8rem rgba(255, 255, 255, 0.8);
}

.basic-box {
    background-color: var(--base-color);
    padding: 1rem 2rem;
    margin: 0.5rem auto;
    font-size: 1.1rem;
    line-height: 1.75em;
    letter-spacing: 0.015em;
    border-radius: 4px;
    box-shadow: 1px 1px 5px 0px rgba(0, 0, 0, 0.2);
}

.blured-box .basic-box {
    background-color: rgba(255, 255, 255, .9);
}

/* ------------------- */

/* Header */

.header-box {
    display: flex;
    flex-direction: column;
}

.header-logo-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--header-padding) 0px 0px;
}

.header-logo-link {
    display: block;
    height: var(--logo-height);
    padding-bottom: var(--header-padding);
}
.header-logo-link img {
    height: 100%;
    width: auto;
}
.header-logo-link:focus,
.header-logo-link:active {
    outline:  none;
}

.header-menu-box {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: calc(var(--header-height) - var(--header-padding));
}

.header-contact-box {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex: 1 0 auto;
    align-items: center;
}

.header-contact-data-line {
    display: flex;
    align-items: flex-start;
    gap: 0.3em;
    color: var(--accent-dark-color);
    font-size: 0.8rem;
}

.header-contact-data-line a {
    color: currentColor;
    text-decoration: none;
}
.header-contact-data-line a:hover {
    text-decoration: underline;
}

.header-contact-icon {
    width: 1rem;
    height: 1rem;
    background-color: var(--contrast-color);
    transform: translateY(0.15em);
}

#topmenu {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    color: var(--contrast-color);
    padding: 10px 10px 10px 10px;
    box-sizing: content-box;
    background-color: transparent;
    border: 0;
}
#topmenu::before,
#topmenu::after {
    content: '';
    display: block;
    position: absolute;
    width: 30px;
    height: 2px;
    top: 24px;
    left: 10px;
    background-color: currentColor;
    transition: .4s, box-shadow .2s;
}
#topmenu::before {
    box-shadow: 0px 12px 0px 0px currentColor;
}
#topmenu::after {
    box-shadow: 0px -12px 0px 0px currentColor;
}
#topmenu.opened {
    color: var(--contrast-color);
}
#topmenu.opened::before {
    box-shadow: 0px 0px 0px 0px transparent;
    rotate: 45deg;
}
#topmenu.opened::after {
    box-shadow: 0px 0px 0px 0px transparent;
    rotate: -45deg;
}

.top-menu > ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2em;
    height: var(--nav-height);
    margin: 0;
    list-style: none;
    font-size: 1.2rem;
    padding: 0;
    /* font-family: 'OpenSans', sans-serif;
    font-family: 'Roboto', sans-serif;
    font-family: 'Montserrat', sans-serif; */
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}
.top-menu ul li {
    position: relative;
    padding-bottom: 2px;
}
.top-menu ul li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background-color: var(--contrast-color);
    transition: .3s;
}
.top-menu ul li:hover::after {
    width: 100%;
}
.top-menu ul li.active::after {
    width: 100%;
    background-color: var(--accent-color);
}
.top-menu ul li a {
    color: var(--contrast-color);
    text-decoration: none;
}

.top-menu ul li ul {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%);
    display: flex;
    flex-direction: column;
    background-color: var(--base-color);
    margin: 0;
    list-style: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0;
    gap: 0.2em;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    max-height: 0;
    transition: .3s;
}
.top-menu ul li:hover ul {
    /* display: flex; */
    max-height: 2000px;
}
.top-menu ul li ul li {

}
.top-menu ul li ul li::after {
    height: 100%;
    z-index: 1;
}
.top-menu ul li ul li a {
    position: relative;
    z-index: 9;
    transition: .3s;
    display: inline-block;
    padding: 0.5em 1em;
}
.top-menu ul li ul li:hover a {
    color: var(--base-color);
}

/* /Header */

/* Start */

    /* Slider */
.top-slider-box {
    background-color: var(--contrast-color);
}
.top-slider {
    aspect-ratio: 3/1;
}
.swiper-slide.top-slide {
    display: flex;
    /* justify-content: center; */
    overflow: hidden;
}
.top-slide-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding-bottom: 10%;
    padding-left: 5px;
    color: var(--base-color);
    /* flex: 0 0 25%; */
    max-width: 30%;
}
/* .top-title .top-slide-info {
    padding-bottom: 1%;
    flex: 1 0 auto;
}
.top-slide-info h1 {
    font-size: clamp(12px, 2.6vw, 2rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
    color: var(--base-color);
} */
.top-slide-info h3 {
    font-size: clamp(12px, 2.6vw, 2rem);
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}
.top-slide-info .default-button {
    font-size: clamp(13px, 1.3vw, 1rem);
}
.top-slide-img {
    /* clip-path: ellipse(71% 66% at 71% 66%); *//* polygon(10% 0%, 100% 0, 90% 100%, 0% 100%) */
    flex: 0 0 70%;
    position: relative;
    clip-path: ellipse(48% 100% at 51% 50%);
    background-size: cover;
}

.swiper-pagination.top-slider-pagination {
    width: calc(100% - 70px) !important;
    left: 35px !important;
}
.top-slider-pagination .swiper-pagination-bullet {
    background-color: var(--base-color);
    opacity: 1;
    transition: .3s;
    border-radius: 4px;
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
}
.top-slider-pagination .swiper-pagination-bullet-active {
    width: 24px;
}

.top-slider .swiper-button-next,
.top-slider .swiper-button-prev {
    top: auto;
    bottom: 6px;
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.2));
}
.top-slider .swiper-button-next {
    background-image: url('/images/icons/arrow_r_white.png');
}
.top-slider .swiper-button-prev {
    background-image: url('/images/icons/arrow_l_white.png');
}
.top-slider .swiper-button-next:hover,
.top-slider .swiper-button-prev:hover {
    /* opacity: 0.9; */
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.4));
}
.top-slider .swiper-button-next::after,
.top-slider .swiper-button-prev::after {
    /* font-size: 1.7rem;
    color: var(--base-color); */
    content: none;
}

    /* /Slider */

.customers-box {
    background-color: var(--base-color);
}

.customers {
    display: flex;
    align-items: center;
    /* flex-wrap: wrap; */
    gap: 1em;

}

.customer {
    flex: 1 1 20%;
    display: flex;
    justify-content: center;
}
.customer img {
    max-width: 100%;
    max-height: 120px;
    border-radius: 3px;
}

.about-box {
    /* background-color: var(--accent-light-color); */
    /* padding: 4rem 0 6rem; */
    /* background-image: url('/images/style/schaum3.png'); */
    /* background-repeat: no-repeat; */
    /* background-repeat: repeat-x;
    background-position: left top;
    background-size: 60%; */
    /* background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px); */
}
.about-box h2 {
    /* color: var(--base-color);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4); */
    /* padding: 3rem 0 1rem; */
    /* text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4), 0px 0px 5px rgba(255, 255, 255, 0.7); */
    /* background-color: rgba(255, 255, 255, .5);
    backdrop-filter: blur(2px); */
}

.about-content,
.contact-content,
.page-content {
    margin: 0 1rem;
    padding: 1.7em 2em;
    background-color: rgba(255, 255, 255, .9);
    border-radius: 4px;
    /* backdrop-filter: blur(8px); */
    font-size: 1.1rem;
    line-height: 1.7em;
    letter-spacing: 0.03em;
    font-family: 'OpenSans', sans-serif;
    /* text-shadow: 0px 0px 6px rgba(255, 255, 255, .9); */
}

.team {
    max-width: 900px;
    margin: 0 auto;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 5rem;
}

.card-item {
    width: 90vw;
    max-width: 320px;
    aspect-ratio: 4/5;
    overflow: hidden;
    background-color: var(--contrast-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: .3s;
}
.card-item-photo {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    clip-path: ellipse(85% 75% at 50% 25%);
}
.card-item-photo img {
    height: 100%;
    object-fit: cover;
}
.card-item-title {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--base-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    text-align: center;
}

a.card-item {
    text-decoration: none;
}
a.card-item:hover {
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.4);
}

.card-description-box {
    margin-top: 4rem;
    padding: 0.5rem 2rem;
}

/* Gallery */

.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 5rem;
}

.gallery-item {
    position: relative;
    width: 90vw;
    max-width: 320px;
    aspect-ratio: 1/1;
    overflow: hidden;
    background-color: var(--contrast-color);
    display: flex;
    flex-direction: column;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    transition: .3s;
}

.gallery-item-photo {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    clip-path: ellipse(300% 75% at 50% 26%);
    transition: .3s;
}
.gallery-item:hover .gallery-item-photo {
    clip-path: ellipse(100% 75% at 50% 7%);
}
.gallery-item-photo img {
    height: 100%;
    object-fit: cover;
}
.gallery-item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 0;
    text-align: center;
    color: var(--base-color);
    padding: 0;
    opacity: 0;
    overflow: hidden;
    transition: .3s;
}
.gallery-item:hover .gallery-item-title {
    opacity: 1;
    padding: 1em;
    max-height: 300px;
}

a.gallery-item {
    text-decoration: none;
}
a.gallery-item:hover {
    box-shadow: 0px 5px 9px 0px rgba(0, 0, 0, 0.4);
}

.lightbox-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    z-index: 100;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    display: none;
    opacity: 1;
    transition: opacity .3s;
}

.lightbox-wrapper.faded {
    opacity: 0;
}

.lightbox-wrapper.showed {
    display: flex;
}

.lightbox {
    max-width: calc(100vw - 5rem);
    max-height: calc(100vh - 3rem);

}
.lightbox .swiper-wrapper {
    padding: 1em 0;
}
/* .lightbox-item {
    max-width: 100%;
    max-height: 100%;
} */
.swiper-slide.lightbox-item {
    width: calc(100vw - 5rem);
    height: calc(100vh - 5rem);
    display: flex;
    justify-content: center;
    /* overflow: hidden; */
    position: relative;
}
.lightbox-item-title-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    justify-content: center;
}
.lightbox-item-title {
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--default-text-color);
    text-align: center;
    border-radius: 4px;
}
.lightbox-item-title-name {
    font-size: 1.4rem;
}
/* .swiper-slide .lightbox-item-photo {
    width: calc(100vw - 4rem);
    height: calc(100vh - 4rem);
} */
.swiper-slide.lightbox-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* border-radius: 5px; */
    /* box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.4); */
    filter: drop-shadow(0px 0px 12px rgba(0, 0, 0, 0.4));
}

.lightbox .swiper-button-next,
.lightbox .swiper-button-prev {
    /* top: auto; */
    /* bottom: 6px; */
    height: 30px;
    width: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.2));
}
.lightbox .swiper-button-next {
    background-image: url('/images/icons/arrow_r_white.png');
}
.lightbox .swiper-button-prev {
    background-image: url('/images/icons/arrow_l_white.png');
}
.lightbox .swiper-button-next:hover,
.lightbox .swiper-button-prev:hover {
    /* opacity: 0.9; */
    filter: drop-shadow(3px 3px 4px rgba(0, 0, 0, 0.4));
}
.lightbox .swiper-button-next::after,
.lightbox .swiper-button-prev::after {
    /* font-size: 1.7rem;
    color: var(--base-color); */
    content: none;
}
.lightbox .swiper-pagination.top-slider-pagination {
    width: 100% !important;
    bottom: 2rem;
    left: 0 !important;
}

.lightbox-close {
    position: absolute;
    right: 2rem;
    top: 1rem;
    font-size: 2rem;
    color: var(--base-color);
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 0, 0, 0.7);
    z-index: 25;
    cursor: pointer;
}
.lightbox-close::before {
    content: "\2A09";
}


/* About v2 */

.about-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}
.about-card {
    padding: 1rem 2rem;
    width: clamp(200px,25%,260px);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    color: var(--base-color);
    opacity: 1;
    transition: opacity .5s, transform .3s;
}
.about-card.hidden {
    opacity: 0;
    transform: translateX(-50%);
}
.about-card:nth-child(1).hidden {
    transform: translateX(0);
}
.about-card h3 {
    margin-top: .7em;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.about-card:nth-child(1) {
    background-color: var(--contrast-color);
    border-radius: 4px 0 0 4px;
    transition-delay: .4s;
}
.about-card:nth-child(2) {
    background-color: var(--contrast-middle-color);
    transition-delay: .6s;
    z-index: -1;
}
.about-card:nth-child(3) {
    background-color: var(--contrast-light-color);
    transition-delay: .8s;
    z-index: -2;
}
.about-card:nth-child(4) {
    background-color: var(--contrast-lighter-color);
    transition-delay: 1.0s;
    border-radius: 0 4px 4px 0;
    z-index: -3;
}
/* .about-card:nth-child(5) {
    background-color: var(--contrast-extralight-color);
} */

.contact {
    display: flex;
    justify-content: center;
}
.contact .contact-content {
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
}

.contact-contact-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    background-color: var(--contrast-color);
    transform: translateY(0.15em);
}

.contact-data h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    margin-top: .5em;
}

/* Default page */


.page-box {
    min-height: calc(100vh - var(--footer-height) - var(--header-height));
    box-sizing: border-box;
}
/* .page {
    display: flex;
    justify-content: center;
}
.page .page-content {
    min-width: 280px;
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
} */

/* Footer */

.footer-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2rem;
}

.footer-data {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}
.footer-data h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
}

.footer-data a {
    color: var(--base-color);
    text-decoration: none;
}
.footer-data a:hover {
    text-decoration: underline;
}

.footer-contact-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: var(--base-color);
    transform: translateY(0.15em);
}

.footer-line {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
}

.footer-line nav ul {
    display: flex;
    gap: 2em;
    margin: 0;
    padding: 0;
    list-style: none;
}
.footer-line nav ul a {
    color: var(--accent-light-color);
}
.footer-line nav ul a:hover {
    color: var(--base-color);
}

.footer-dev-data img {
    height: 1.5em;
    transform: translateY(.29em);
}

/* Inner pages */

.bottom-image-box {
    background-color: var(--contrast-color);
}
.bottom-image {
    aspect-ratio: 3/1;
    clip-path: ellipse(50% 125% at 50% 50%);
    background-position: center;
    background-size: cover;
}

.map-box {
    background-color: var(--contrast-color);
}
.map-container {
    width: 100%;
    aspect-ratio: 3/1;
    clip-path: ellipse(50% 125% at 50% 50%);
}
.map-container .leaflet-left {
    left: 55px;
}
.map-container .leaflet-bottom.leaflet-right {
    display: none;
}

.form-box {
    display: flex;
    justify-content: center;
}

.form-box form {
    padding: 2rem;
    background-color: var(--base-color) !important;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-radius: 4px;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
    position: relative;
}

.form-input-wrapper {
    position: relative;
    background-color: var(--base-color);
    border: 1px solid var(--accent-color);
    border-radius: 4px;
    padding: 1px;
}

.form-input-wrapper input,
.form-input-wrapper textarea {
    width: calc(100% - 4px);
    background-color: var(--base-color);
    border: 0;
    resize: none;
    padding: 0.7em 0.5em 0.3em;
    box-sizing: border-box;
    font-size: 1em;
}

.form-input-wrapper input:focus,
.form-input-wrapper textarea:focus,
.form-input-wrapper input:active,
.form-input-wrapper textarea:active {
    outline: none;
}

.form-input-wrapper label {
    position: absolute;
    top: -1.1em;
    left: 0.3rem;
    font-size: 0.9rem;
    display: block;
    padding: 0.5em;
    line-height: 1em;
    background-color: var(--base-color);
}

.form-button-wrapper {
    text-align: center;
}
.form-button-wrapper button {
    padding: .3em 3em;
}

.form-checkbox-box {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    position: relative;
    border: 1px solid var(--accent-dark-color);
    box-sizing: content-box;
    border-radius: 3px;
    transform: translateY(2px);
}
.form-checkbox-box input {
    position: relative;
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    opacity: 0;
    z-index: 9;
    cursor: pointer;
}
.form-checkbox-box i {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}
.form-checkbox-box input:checked + i::after {
    content: '\2714';
    font-style: normal;
    font-size: 2em;
    line-height: 0.5em;
    color: var(--contrast-color);
}

.form-sended-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--base-color);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--default-text-color);
    text-align: center;
}

.form-sended-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
}

.form-sended-text {
    font-size: 1.3rem;
}

.form-sended-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 1em;
    height: 1em;
    padding: .1em;
    font-size: 2rem;
    background-color: var(--contrast-color);
    color: var(--base-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.form-sended-close::after {
    content: '\2A09';
    margin-top: -0.3em;
}

.form-sended-box.hidden {
    display: none;
}

/* ----------- */

.gallery-box h2 {
    margin-top: 2em;
    margin-bottom: 0;
}

.ba-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.5rem;
    row-gap: 2rem;
    margin: 0 1rem;
    padding: 1.7em 2em;
    font-size: 1.1rem;
    line-height: 1.7em;
    letter-spacing: 0.03em;
    font-family: 'OpenSans', sans-serif;
}

.ba-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    text-shadow: 0px 0px 3px rgba(255, 255, 255, .5), 0px 0px 20px rgba(255, 255, 255, .9);
    margin-bottom: -1rem;
}

.ba-item {
    display: flex;
    justify-content: center;
    align-items: center;
}
.ba-item a {
    display: block;
}

.ba-item-photo img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 4px;
}


.ba-item-photo img {
    width: 320px;
    height: 320px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.2);
    transition: .3s;
}
.ba-item-photo:hover img {
    box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.4);
}

/* ----------- */

/* Preloader */
.preloader-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .2);
    /* backdrop-filter: blur(2px); */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 300;
}
.preloader-background.hidden {
    display: none;
}

.preloader-box {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
}

.preloader-item {
    border-radius: 50%;
    border-width: 4px;
    border-style: solid;
    border-top-color: var(--contrast-color);
    border-right-color: var(--contrast-color);
    border-bottom-color: var(--accent-color);
    border-left-color: var(--accent-color);
}
.preloader-item:nth-child(1) {
    width: 100%;
    height: 100%;
    animation: 2s linear 0s infinite preloaderOne;
}
.preloader-item:nth-child(2) {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    animation: 1.6s linear 0s infinite preloaderTwo;
}

@keyframes preloaderOne {
    0% {
        rotate: 0deg;
    }
    25% {
        rotate: 90deg;
    }
    50% {
        rotate: 180deg;
    }
    75% {
        rotate: 270deg;
    }
    100% {
        rotate: 360deg;
    }
}

@keyframes preloaderTwo {
    0% {
        rotate: 0deg;
    }
    25% {
        rotate: -90deg;
    }
    50% {
        rotate: -180deg;
    }
    75% {
        rotate: -270deg;
    }
    100% {
        rotate: -360deg;
    }
}


@media (max-width: 850px) {
    .header-logo-link {
        --logo-height: 80px;
    }
    .top-menu > ul {
        gap: 1rem;
        font-size: 1rem;
    }
.about-card.hidden {
    opacity: 0;
    transform: translateX(0);
}
    .about-card {
        width: clamp(200px, 50%, 350px);
    }
    .about-card:nth-child(1) {
        border-radius: 4px 0 0 0;
    }
    .about-card:nth-child(2) {
        border-radius: 0 4px 0 0;
    }
    .about-card:nth-child(3) {
        border-radius: 0 0 0 4px;
    }
    .about-card:nth-child(4) {
        border-radius: 0 0 4px 0;
    }
    .contact .contact-content {
        gap: 2rem;
    }
    .ba-box {
        column-gap: 2rem;
        padding: 1.7em 0;
    }
    .ba-item-photo img {
        width: 240px;
        height: 240px;
    }
    .lightbox {
        max-width: 100%;
        max-height: calc(100vh - 3rem);
    }
}

@media (max-width: 600px) {
    .header-box {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .header-logo-line {
        flex: 1 0 auto;
    }
    .header-menu-box {
        justify-content: center;
    }
    .header-contact-box {
        /* flex: 1 0 auto;
        justify-content: center; */
        display: none;
    }
    #topmenu {
        display: block;
    }
    .top-menu > ul {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2rem;
        font-size: 1.2rem;
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 0;
        height: calc(100vh - var(--header-height));
        padding: 20px 0 0;
        background-color: var(--base-color);
        overflow: hidden;
        transition: .3s;
        box-sizing: border-box;
    }
    .top-menu #topmenu.opened + ul {
        width: 100%;
    }
    .top-menu ul > li {
        text-align: center;
    }
    .top-menu ul li ul {
        max-height: 2000px;
        position: relative;
        top: auto;
        margin-top: 1em;
        box-shadow: none;
        display: none;
    }
    main {
        padding: var(--header-height) 0 0;
    }

    .footer-line nav ul {
        margin-top: 2rem;
    }
    .ba-box {
        column-gap: 0.5rem;
        padding: 1.7em 0;
        margin: 0;
    }
    .ba-item-photo img {
        width: 210px;
        height: 210px;
    }
}

@media (max-width: 450px) {
    body {
        background-image: url('/images/style/bg_03.webp');
    }
    h1 {
        font-size: 1.7rem;
    }

    h2 {
        font-size: 1.4rem;
        word-wrap: break-word;
    }

    section.line-box {
        padding-top: 2rem;
    }

    .header-contact-box {
        display: none;
    }
    .top-slider-box .container {
        width: 100%;
    }
    .top-slider {
        aspect-ratio: 1/1;
    }
    .swiper-slide.top-slide {
        flex-direction: column-reverse;
        justify-content: space-between;
    }
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    .top-slide-img {
        clip-path: ellipse(75% 58% at 50% 41%);
    }
    .top-slide-info {
        padding-bottom: 2rem;
        padding-left: 0;
        max-width: 100%;
        align-items: center;
    }
    .top-slide-info h3 {
        font-size: 1.3rem;
        margin-top: 0;
        text-align: center;
    }
    .top-slide-info .default-button {
        font-size: 0.9rem;
    }
    .customers {
        flex-wrap: wrap;
    }
    .customer {
        flex: 1 0 30%;
    }

    .about-card {
        width: 100%;
    }
.about-card.hidden {
    opacity: 1;
    transform: translateX(0);
}
    .about-card:nth-child(1) {
        border-radius: 4px 4px 0 0;
        transition-delay: .2s;
    }
    .about-card:nth-child(2) {
        border-radius: 0 0 0 0;
        transition-delay: .2s;
    }
    .about-card:nth-child(3) {
        border-radius: 0 0 0 0;
        transition-delay: .2s;
    }
    .about-card:nth-child(4) {
        border-radius: 0 0 4px 4px;
        transition-delay: .2s;
    }

    /* .lightbox {
        width: calc(100vw - 2rem);
    }
    .swiper-slide.lightbox-item {
        width: calc(100vw - 2rem);
        height: auto;
        aspect-ratio: 1;
    }
    .lightbox .swiper-pagination.top-slider-pagination {
        left: 0 !important;
    } */
    /* .lightbox-wrapper {
        display: none !important;
    } */

    /* .lightbox-image-wrapper {
        width: 100%;
    } */

    .footer-dev-data {
        font-size: 0.9rem;
    }
    .map-box .container,
    .bottom-image-box .container {
        width: 100%;
    }
    .bottom-image {
        aspect-ratio: 1/1;
        clip-path: ellipse(85% 75% at 50% 20%);
    }
    .map-container {
        aspect-ratio: 1/1;
        clip-path: ellipse(85% 75% at 50% 20%);
    }
    .map-container .leaflet-left {
        left: 0;
    }
    .ba-box {
        column-gap: 2px;
    }
    .ba-title {
        font-size: 1rem;
    }
    .ba-item-photo img {
        width: calc((96vw - 2px) / 2);
        height: calc((96vw - 2px) / 2);
    }
    .ba-item:nth-child(odd) .ba-item-photo img {
        border-radius: 4px 0 0 4px;
    }
    .ba-item:nth-child(even) .ba-item-photo img {
        border-radius: 0 4px 4px 0;
    }
}

@media (max-width: 340px) {
    .customers {
        flex-direction: column;
    }
    .customer {
        max-width: 200px;
    }
    .footer-dev-data {
        font-size: 0.7rem;
    }
}


.checkbox-switch-wrapper {
    display: flex;
    align-items: center;
    padding: 0px 10px;
}

.checkbox-switch {
    position: relative;
    width: 36px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #575757;
}
.checkbox-switch.green {
    color: #09b57c;
}
.checkbox-switch.blue {
    color: #1e90ff;
}
.checkbox-switch.darkblue {
    color: #074ca5;
}
.checkbox-switch.red {
    color: v#ff6347;
}
.checkbox-switch > input[type="checkbox"] {
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.checkbox-switch > input[type="checkbox"] + i {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #d3d3d3;
    border: 1px solid #ffffff;
    border-radius: 12px;
    box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}
.checkbox-switch > input[type="checkbox"] + i::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    position: absolute;
    top: 1px;
    left: 1px;
    background-color: #ffffff;
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.3),
        inset -3px -3px 3px 0px rgba(0, 0, 0, 0.1);
    transition: 0.1s;
}
.checkbox-switch > input[type="checkbox"]:checked + i {
    background-color: currentColor;
}
.checkbox-switch > input[type="checkbox"]:checked + i::after {
    left: calc(100% - 21px);
}
