body {
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-style: normal;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: unset;
    color: white;
}

p {
    font-weight: 400;
    line-height: 26px;
    font-size: 18px;
}

header {
    padding: 20px;
    text-align: center;
    color: #fff;
}

nav {
    display: flex;
    justify-content: space-between;
}

.nav-back {
    background-color: black;
}

nav a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 1.3rem;
    transition: background-color 0.3s ease;
    font-weight: 500;
    border-radius: 12px;
}

nav a:hover {
    background-color: #717171ce;
}

.container {
    width: 1200px;
}

.recruiting {
    margin-top: 5rem;
    display: flex;
    justify-items: center;
    margin-bottom: 10rem;
    gap: 50px;
    margin-inline: 1rem;
}
.recruiting > div {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.center {
    display: flex;
    justify-content: center;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    /* position: fixed; */
    width: 100%;
    bottom: 0;
}

.recruiting > div > h1 {
    font-size: 64px;
}

.recruiting > div > p {
    font-size: 19px;
}
.perevagi {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    justify-content: center;
    margin-bottom: 6rem;
    margin-inline: 1rem;
}
.perevagi > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}
.services {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    justify-content: center;
    margin-bottom: 5rem;
    margin-inline: 1rem;
}
.services > div > div {
    display: flex;
    gap: 20px;
    border: 1px solid;
    padding-inline: 20px;
    background-color: white;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    height: 70px;
    align-items: center;
}

.services > div {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.name--category {
    margin-bottom: 6rem;
    font-size: 2.5rem;
    text-align: center;
    padding-top: 60px;
}

.name--category__services {
    margin-bottom: 5rem;
    font-size: 2.5rem;
    text-align: center;
    padding-top: 60px;
}
.contact {
    display: flex;
    color: white;
    padding: 50px;
}

.contact--insta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: 400;
}
.contact--insta > img {
    width: 40px;
}

.service--img {
    width: 100%;
    max-width: 500px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 248px;
}

.services > div:hover {
    transform: scale(1.05);
    cursor: pointer;
}
.contact > div > div {
    display: flex;
    align-items: center;
}

.content {
    color: white;
    display: flex;
    padding: 60px;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.content > h3 {
    font-size: 28px;
}

@media (max-width: 1163px) {
    .recruiting {
        flex-direction: column;
        align-items: center;
    }
    .service--img {
        max-width: unset;
        height: 276px;
    }
    .services {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .perevagi {
        grid-template-columns: 1fr 1fr;
    }
    .services {
        grid-template-columns: 1fr;
        width: fit-content;
        margin-inline: auto;
    }
    .services > div {
        margin-inline: 1rem;
    }
    .content {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 464px) {
    .recruiting {
        margin-bottom: 5rem;
    }

    .recruiting > img {
        display: none;
    }
    .recruiting > div > h1 {
        font-size: 30px;
    }

    nav > a {
        font-size: 16px;
    }
    .perevagi {
        grid-template-columns: 1fr;
    }
    .services > div > div > p {
        font-size: 16px;
    }
    .contact--insta {
        text-align: center;
    }
}
