@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #ffffff;
    font-family: "Roboto", sans-serif;
}

.container {
    margin: auto;
    padding: 0 15px;
    max-width: 1200px;
}

.title {
    margin: 0;
    font-weight: 700;
}

.title_white {
    color: #ffffff;
}

.title_md {
    font-size: 42px;
    margin-bottom: 40px;
}

.section {
    padding: 180px 0;
}

.section_sm {
    padding: 50px 0;
}

.section_center {
    text-align: center;
}

.section_gray {
    background: #f0f0f0;
}

.section_black {
    background: #242424;
}

.descr {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
}

.descr_white {
    color: #fff;
}

.descr_lg {
    margin-top: 30px;
    font-size: 36px;
}

.descr_sm {
    font-size: 16px;
}
.hero {
    min-height: 100vh;
    padding: 0 15px;
    z-index: 1;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: url("./img/hero-bg.png") no-repeat center / cover;
}

.hero:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: .8;
    z-index: -1;
    background: #000;
}

.hero__title {
    margin-bottom: 40px;
    font-size: 72px;
}

.about {
    padding-top: 100px;
    display: flex;
}

.about__item {
    padding: 0 15px;
    width: calc(100% / 3);
}

.about__icon {
    max-width: 80px;
    margin-bottom: 10px;
}

.about__descr {
    display: block;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 300;
}

.services {
    gap: 25px;
    padding-top: 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.service-card {
    padding: 25px;
    max-width: 570px;
    align-content: center;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.service-card__title {
    font-size: 20px;
    margin: 0 0 10px;
}

.service-card__descr {
    margin: 0;
    line-height: 1.5;
    font-weight: 300;
}

.team {
    gap: 15px;
    display: flex;
    justify-content: center;
}

.team-item {
    padding: 35px;
    max-width: 450px;
    z-index: 5;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    border-radius: 15px;
    background: #242424;
}

.team-item__icon {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    z-index: -1;
    object-fit: cover;
}

.notification {
    position: fixed;
    left: 50%;
    bottom: 30px;
    padding: 8px 16px;
    width: 100%;
    max-width: 405px;
    gap: 15px;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    background: #ffffff;
    transform: translateX(-50%);
    box-shadow: 0 5px 10px 0 rgba(150, 144, 162, 0.1);
}

.notification__btn {
    border: 0;
    cursor: pointer;
    background: transparent;
}

.notification__btn svg {
    width: 12px;
    height: 12px;
    fill: #000000;
}

.privacy-link {
    margin-top: 15px;
    display: inline-block;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px;
    gap: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: rgba(0, 0, 0, 0.7);
}

.nav__link {
    color: #ffffff;
    text-decoration: none;
}

.nav__link:hover {
    text-decoration: underline;
}

.nav__link:last-child {
    padding: 10px 20px;
    border-radius: 5px;
    background: #ff4c7c;
    transition: background 200ms, color 200ms;
}

.nav__link:last-child:hover {
    color: #ff4c7c;
    background: #ffffff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .hero__title {
        margin-bottom: 20px;
        font-size: 40px;
    }

    .section {
        padding: 80px 0;
    }

    .title_md {
        font-size: 30px;
    }

    .descr {
        font-size: 20px;
    }

    .services {
        padding-top: 50px;
    }
}

@media (max-width: 767px) {
    .about {
        gap: 50px;
        padding-top: 50px;
        flex-wrap: wrap;
    }

    .about__item {
        width: 100%;
    }

    .about__descr {
        margin: auto;
        max-width: 400px;
    }

    .services {
        padding-top: 50px;
        grid-template-columns: 1fr;
    }

    .service-card {
        max-width: 400px;
        margin: auto;
    }
}

@media (max-width: 576px) {
    .team {
        flex-wrap: wrap;
    }

    .team-item {
        max-width: 100%;
    }

    .notification {
        max-width: calc(100% - 30px);
    }
}