:root {
    --nav-bg: rgb(99, 48, 150);
    --active: rgb(219, 112, 148);
    --bg: rgb(248, 190, 209);
    --active-bg: rgb(33, 7, 73);
    --second-bg: rgb(243, 28, 243);
    --m-white: #fff;
    --white-transparent: rgba(255, 255, 255, 0.7);
    --shadow: rgb(71, 71, 71);
}

body {
    font-size: 20px;
    /* margin: 0; */
    margin: 0 0 -70px;
}

a {
    text-decoration: none;
}

.logo {
    /* text-decoration: none; */
    color: var(--active);
    font-size: 30px;
    margin-left: 20px;
    font-family: 'Edu TAS Beginner', cursive;
}

.social-link .icons {
    color: var(--second-bg);
    margin-right: 20px;
    margin-left: 10px;
}

.link {
    /* text-decoration: none; */
    color: black;
}

.navigation {
    display: flex;
    align-items: center;
    background-color: var(--nav-bg);
}

.menu {
    /* margin-left: 45%;
    margin-right: 10%; */
    margin-left: auto;
    display: flex;
    align-items: center;
}

.menu-item {
    padding: 0 10px;
    transition: all 0.3s ease;
}

.menu>.menu-item:nth-child(-n+2) {
    border-right: 2px solid var(--second-bg);
}

.menu-item:hover ul {
    display: block;
}

.menu-item:hover {
    background-color: var(--active-bg);
    transition: all 0.3s ease;
}

.menu-drop {
    position: absolute;
    z-index: 10;
    padding: 0;
    margin-left: -10px;
    background-color: var(--nav-bg);
    display: none;
}

.menu-drop li {
    margin-top: 10px;
    padding: 5px 20px;
    border-bottom: 1px solid var(--second-bg);
}

.menu-burger {
    display: none;
    width: 20px;
    margin-left: auto;
    margin-right: 20px;
}

ul {
    list-style: none;
}

.carousel-container {
    /* position: absolute; */
    overflow: hidden;
    /* height: 700px; */
    z-index: -1;
}

.carousel {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    animation: slide 16s infinite;
}

.carousel-item {
    min-width: 100%;
    display: flex;
}


@keyframes slide {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(0);
    }

    20% {
        transform: translateX(-100%);
    }

    35% {
        transform: translateX(-100%);
    }

    40% {
        transform: translateX(-200%);
    }

    60% {
        transform: translateX(-200%);
    }

    65% {
        transform: translateX(-300%);
    }

    80% {
        transform: translateX(-300%);
    }

    85% {
        transform: translateX(-400%);
    }

    100% {
        transform: translateX(-400%);
    }
}

.hero {
    padding: 30px 10%;
    text-align: center;
    position: absolute;
    top: 35%;
}

.hero-title {
    font-size: 35px;
    color: var(--active);
    text-shadow: 1px 0 1px var(--second-bg);
}

.hero-text {
    color: var(--m-white);
    text-shadow: 1px 0 5px var(--second-bg), 1px 0 15px var(--shadow);
}

.section-title {
    /* color: var(--active); */
    text-align: center;
    margin-bottom: 20px;
}

.servises {
    padding: 30px;
    text-align: center;
}

.servises-list {
    display: flex;
    margin-top: 50px;
    padding: 0;
    justify-content: space-between;
}

.servis-item {
    height: 230px;
    box-shadow: 5px -5px 10px 5px var(--shadow);
}

.servis-item-capture {
    position: relative;
    background-color: var(--second-bg);
    color: var(--m-white);
    top: -50px;
}

.servises-more,
.works-more,
.testimonials-more {
    display: block;
    margin: 50px auto 0;
    /* margin-left: auto;
    margin-right: auto;
    margin-top: 50px; */
    padding: 1px;
    width: 200px;
    border-radius: 30px;
    text-align: center;
    /* text-decoration: none; */
    color: var(--active);
    background-color: var(--active-bg);
}


.works {
    background-color: var(--bg);
    padding: 30px 20px;
    margin-bottom: -20px;
}

.works-list {
    display: flex;
    flex-wrap: wrap;
}

.works-item {
    width: 550px;
    /* height: 400px; */
    margin: 20px;
}

.testimonials {
    width: 100%;
    height: 800px;
    padding-top: 1px;
    background-size: cover;
    background-image: url("img/Testimonials\ bg.webp");
    text-align: center;
}

.testimonials-list {
    margin-top: 35px;
    padding: 25px;
}

.testimonials-name {
    margin-top: 20px;
    color: var(--second-bg);
}

.testimonials-text {
    width: 35%;
    padding: 25px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50% 20% / 10% 40%;
    background-color: var(--white-transparent);
}

.footer {
    /* text-align: end; */
    display: flex;
    padding: 5px 0;
    background-color: var(--nav-bg);
    color: var(--active-bg);
}

.footer-logo {
    margin: 25px 30px 0 auto;
    /* margin-left: auto;
    margin-right: 30px;
    margin-top: 10px; */
}

.footer-text {
    margin-left: 30px;
}

.address {
    margin-left: 30px;
}

.about-hero {
    padding: 50px 75px;
    background-color: var(--bg);
    position: relative;
}

.about-hero-title {
    text-align: center;
    color: var(--second-bg);
}

.about-hero-text {
    width: 55%;
    line-height: 130%;
    padding-top: 30px;
}

.our-team {
    background: linear-gradient(90deg, rgba(46, 8, 62, 1) 0%, rgba(107, 9, 121, 1) 35%, rgba(222, 0, 255, 1) 100%);
    padding-top: 1px;
    padding-bottom: 1px;
}

.about-head-image {
    position: absolute;
    top: 25%;
    right: 35px;
}

.team-cuption {
    text-align: center;
}

.team-list {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.03em;
    text-align: center;
    justify-content: center;
    padding-left: 2%;
    display: flex;
}

.team-list li {
    margin-right: 30px;
}

.team-list>li {
    background-color: var(--second-bg);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.12), 0px 1px 1px rgba(0, 0, 0, 0.14), 0px 2px 1px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 4px 4px;
}

.team-list-person_link {
    color: var(--active-bg);
}

.team-list .title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.2;

    margin-top: 30px;
    color: var(--nav-bg);
}

.socials {
    padding-left: 0;
    margin: 15px 32px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.socials li {
    margin-right: 10px;
    padding: 0;
}

.socials .link:hover>.icons,
.socials .link:focus>.icons {
    color: var(--nav-bg);
}

.socials .link:hover,
.socials .link:focus {
    background-color: var(--active);
}

.socials .link {
    /* padding: 12px; */
    border-radius: 100%;
    height: 44px;
    width: 44px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.socials .icons {
    font-size: 20px;
}

.socials a {
    color: var(--active);
}

.about-person,
.contact {
    padding: 1px;
    background-color: var(--m-white);
}

.about-person-block {
    display: flex;
}

.about-person-title {
    text-align: center;
}

.about-person-discription {
    width: 45%;
    line-height: 1.3;
    text-indent: 1.5em;
    margin-left: 30px;
    margin-right: 100px;
    display: none;
}

.about-person-img {
    margin-top: 50px;
}

.contact {
    min-height: 75vh;

    display: flex;
}

.contact-title {
    padding-top: 80px;
    margin-left: 50px;
}

.contact-list-utem {
    margin-top: 20px;
    margin-left: 50px;
}

.contact-list-utem h3,
.contact-list-utem p {
    margin-bottom: 0;
    margin-top: 0;
}

.contact-map {
    margin-left: 250px;
}

.servis-list-item {
    margin-bottom: 50px;
    margin-left: 70px;
    padding-bottom: 20px;
    display: flex;
}

.servis-list-item img {
    margin-left: 20%;
    margin-top: 20px;
}

.servis-list>li:nth-child(odd) {
    background-color: var(--bg);
}

.servis-list>li:nth-child(even) {
    background-color: var(--second-bg);
    /* padding-left: 50%; */
}


.servis-list-item-table {
    border-spacing: 50px 10px;
    text-align: center;
}

@media (max-width:767px) {

    .menu {
        display: none;
        position: absolute;
        top: 17px;
        width: 100%;
        padding: 10px 30px;
        background-color: var(--nav-bg);
    }

    .menu.activeburger {
        display: block;
    }

    .menu-burger.activeburger::before,
    .menu-burger.activeburger::after {
        transform: scaleX(0.7);
    }

    .menu-item {
        margin-bottom: 20px;
    }

    .menu-burger {
        display: block;
        position: relative;
        width: 30px;
        height: 20px;
    }

    .menu-burger::before,
    .menu-burger::after {
        content: '';
        background-color: var(--m-white);
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
    }

    .menu-burger span {
        position: absolute;
        background-color: var(--m-white);
        left: 0;
        width: 100%;
        height: 2px;
        top: 9px;
    }

    .menu-burger::before {
        top: 0;
    }

    .menu-burger::after {
        bottom: 0;
    }

    .servises-list {
        display: inline-block;
    }

    .servis-item {
        margin-bottom: 15%;
        box-shadow: 5px 10px 10px 5px var(--shadow);
    }

    .hero {
        padding: 30px 10%;
        text-align: center;
        position: absolute;
        top: 15%;
    }

    .testimonials {
        width: 100%;
        height: 900px;
        padding-top: 1px;
        background-size: cover;
        background-image: url("img/Testimonials\ bg.webp");
        text-align: center;
    }

    .testimonials-list {
        margin-top: 5px;
        padding: 0;
    }

}