@import url('https://fonts.bunny.net/css?family=Nunito');

/* Сброс стилей */

* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

/* img {
  min-width: 300px;
  min-height: 400px;
} */

svg {
    display: block;
    width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

/* --- Main ---

widths including portrait and landscape
mobile: 320-720
tablet: 720-1280
desktop: 1280-1920
big-desktop: 1920-max

breakpoints: 480 720 1024 1280 (optional 1440 1600 1920)
or minimum: 320 720 1200

paddings: mobile-10px tablet-15px desktop-20px/auto
content-width without paddings:
320 -> 300w
480 -> 460w
720 -> 690w
1024 -> 994w
1280 -> 1240w/auto

picture set according to content width
*/

/* @font-face {
  font-family: "MyPoppins";
  src: url("http://192.168.31.29/font/Poppins/Poppins-Regular.ttf") format("ttf");
  font-weight: 400;
}

@font-face {
  font-family: "MyPoppins";
  src: url("/font/Poppins/Poppins-SemiBold.ttf") format("ttf");
  font-weight: 600;
} */

:root {
    scroll-behavior: smooth;
}

body {
    background: rgb(0, 0, 0);
    color: rgb(255, 255, 255);
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Start from mobile 320w --- */

.container {
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 10px;
}


h1 {
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
    margin-bottom: 16px;
}

h2 {
    font-size: 26px;
    line-height: 33px;
    font-weight: 600;
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    line-height: 25px;
    font-weight: 600;
}

.p1 {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.6);
}

.p0 {
    font-size: 20px;
    line-height: 25px;
}

.mt4 {
    margin-top: 16px;
}

.mt3 {
    margin-top: 32px;
}

.mt2 {
    margin-top: 56px;
}

.mt1 {
    margin-top: 80px;
}

.mb4 {
    margin-bottom: 16px;
}

.btns {
    display: flex;
    gap: 16px;
}

.btn,
.btn2 {
    max-width: 200px;
    padding: 0 12px;
    height: 64px;
    background: rgb(193, 6, 103);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    border-radius: 10px;
}

.btn2 {
    background: #ffffff18;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* --- Header --- */

.header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.logo {
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff9c;
    text-transform: uppercase;
}

.nav-link.active {
    color: #fff;
}

.nav-list {
    display: none;
}

.nav-btn {
    display: block;
    height: 34px;
    width: 34px;
    position: relative;
    z-index: 150;
}

/* --- Open mobile menu --- */

.nav.open .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 10px;
}

.nav.open .nav-btn {
    position: relative;
}

/* --- Switch mobile menu icons --- */

.nav-btn-icon-close {
    display: none;
}

.nav.open .nav-btn-icon-open {
    display: none;
}

.nav.open .nav-btn-icon-close {
    display: block;
}

/* --- Hero --- */

.card {
    display: flex;
    gap: 16px;
    flex-wrap: wrap-reverse;
    align-items: center;
}

.card-thumb {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.card-content {
    flex: 1 1 300px;
}

/* --- Services --- */

.accordion {
    background-color: transparent;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    text-align: left;
    border: none;
    /* border-bottom: 1px #161616 solid; */
    outline: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fa0985;
    padding: 16px 0 8px 0;
}

.services-icon-open,
.services-icon-close {
    width: 20px;
    height: 20px;
}

.services-icon-close {
    display: none;
}

.accordion.active .services-icon-open {
    display: none;
}

.accordion.active .services-icon-close {
    display: block;
}

.accordion.active,
.accordion:hover {
    background-color: #161616;
}

.panel {
    height: 0;
    overflow: hidden;
    transition: all 0.5s ease-out;
}

.panel.p1  {
    color: #fff;
    margin-bottom: 0;
}

.panel table {
    width: 100%;
    padding: 15px 0;
}

.panel tr {
    display: flex;
    justify-content: space-between;
}

.panel tr td {
    margin-bottom: 15px;
}

.panel tr td:last-child {
    min-width: 66px;
}

.accordion.active .panel {
    padding: 18px 0;
}

/* --- Portfolio --- */

.portfolio .modal-window {
    background: transparent;
    box-shadow: none;
}

.portfolio .modal-close-btn {
    color: #fff;
}

.slider {
    max-width: 100%;
    margin: auto;
    margin-top: 30px;
    position: relative;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 20px;
}

.slider-group {
    flex-shrink: 0;
    display: flex;
    gap: 20px;
    justify-content: space-around;
    min-width: 100%;
}

.slider-img {
    height: 200px;
    width: 200px;
    object-fit: cover;
}

.slider-img:hover {
    transform: scale(1.02);
}

.animation-running-line {
    animation: scroll 20s linear infinite;
}

.slider:hover .animation-running-line {
    animation-play-state: paused;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc( -100% - 20px ));
    }
}

/* --- Location --- */

.google-map {
    width: 300px;
    height: 300px;
}

/* --- Cta --- */

.cta-icon {
    height: 30px;
    width: 30px;
    margin-right: 10px;
}

.tel {
    display: block;
    margin-top: 10px;
    color: #fff;
}

a.tel {
    text-decoration: underline;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: -1;
    transition: all 0.3s ease-out;
    background: rgba(0, 0, 0, 0.8);
}

.modal.show {
    opacity: 1;
    z-index: 100;
}

.modal-window,
.modal-window-img {
    position: relative;
    z-index: 200;
    min-width: 300px;
    background: #161616;
    box-shadow: 0 5px 15px rgba(20, 20, 20, 0.5);
    padding: 40px;
    border-radius: 10px;
}

.modal-window-img {
    padding: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.modal-close-btn {
    display: block;
    position: absolute;
    top: 40px;
    right: 40px;
    width: 30px;
    height: 30px;
    color: #fff;
}

.modal-img {
    display: block;
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* --- Footer --- */

.footer-wrap {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

footer .p1 {
    margin-bottom: 0;
}

.not-found {
    color: #fa0985;
}

/* --- Media --- */

@media (min-width: 480px) {
    h1 {
        font-size: 36px;
        line-height: 45px;
        margin-bottom: 24px;
    }

    .p1 {
        margin-bottom: 24px;
    }

    .p0 {
        font-size: 22px;
        line-height: 28px;
    }

    h2 {
        font-size: 30px;
        line-height: 38px;
        margin-bottom: 24px;
    }

    .mt4 {
        margin-top: 24px;
    }

    .mt3 {
        margin-top: 40px;
    }

    .mt2 {
        margin-top: 64px;
    }

    .mt1 {
        margin-top: 96px;
    }

    .mb4 {
        margin-bottom: 24px;
    }
}

@media (min-width: 720px) {
    .container {
        padding: 0 15px;
    }

    header {
        padding: 0 15px;
    }

    footer {
        padding: 0 15px;
    }

    .btns {
        gap: 24px;
    }

    .card-thumb {
        flex: none;
    }

    .hero-img {
        width: 350px !important;
        height: auto !important;
    }

    .slider-img {
        width: 300px !important;
        height: 300px !important;
    }

    .google-map {
        width: 400px;
        height: 400px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 48px;
        line-height: 60px;
    }

    .p1 {
        font-size: 18px;
        line-height: 27px;
    }

    h2 {
        font-size: 40px;
        line-height: 50px;
    }

    .mt4 {
        margin-top: 24px;
    }

    .mt3 {
        margin-top: 40px;
    }

    .mt2 {
        margin-top: 72px;
    }

    .mt1 {
        margin-top: 128px;
    }

    .mb4 {
        margin-bottom: 24px;
    }

    .center {
        max-width: 768px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .btn,
    .btn2 {
        font-size: 18px;
        line-height: 27px;
        padding: 0 24px;
    }

    /* Header */
    .nav-btn {
        display: none;
    }

    .nav-list {
        display: flex;
        list-style: none;
        gap: 36px;
    }

    .nav-link {
        font-weight: 400;
    }

    /* Services */

    .accordion {
        font-size: 50px;
        padding: 0 0 18px 0;
    }

    .services-icon-open,
    .services-icon-close {
        width: 22px;
        height: 22px;
    }

    .google-map {
        width: 550px;
        height: 500px;
    }
}

@media (min-width: 1280px) {
    .container {
        padding: 0 20px;
    }

    h1 {
        font-size: 80px;
        line-height: 90px;
    }

    h2 {
        font-size: 60px;
        line-height: 75px;
    }

    h3 {
        font-size: 44px;
        line-height: 55px;
    }

    .p0 {
        font-size: 24px;
        line-height: 30px;
    }

    .mt4 {
        margin-top: 24px;
    }

    .mt3 {
        margin-top: 48px;
    }

    .mt2 {
        margin-top: 72px;
    }

    .mt1 {
        margin-top: 128px;
    }

    .mb4 {
        margin-bottom: 24px;
    }

    .hero-img {
        width: 500px !important;
        height: auto !important;
    }

    .services-icon-open,
    .services-icon-close {
        width: 34px;
        height: 34px;
    }

    .slider-img {
        width: 400px !important;
        height: 400px !important;
    }
}
