body {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #444;
    font-weight: 300;
}
.main {
    max-width: 1200px;
    padding: 32px;
    margin: 0 auto;
}
.header {
    text-align: center;
}
.footer {
    text-align: center;
}
h1 {
    font-size: 48px;
}
.items {
    border-top: 1px dotted #888888;
    border-bottom: 1px dotted #888888;
    margin-top: 48px;
    padding-top: 48px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    display: flex;
    gap: 64px;
    flex-direction: column;
}
.item {
    width: 100%;
    display: flex;
    gap: 32px;
}
.item-text {
    flex: 1;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.item-image {
    width: 50%;
    position: relative;
}
.item-nn {
    position: absolute;
    top: 32px;
    left: 32px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: darkred;
    font-size: 32px;
    font-weight: 400;
    border-radius: 100%;
    background: #ffffff;
}
.item-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 16px;
    opacity: 0.9;
    transition: all 300ms;
    position: relative;
}
.item:hover .item-img {
    opacity: 1;
}
.item.dir-0 {
    flex-direction: row-reverse;
}
.item.dir-1 .item-text {
    text-align: left;
}

.item-title {
    font-size: 48px;
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

.contacts {
    display: flex;
    gap: 64px;
    justify-content: center;
}
.contacts a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid;
}

p {
    font-size: 26px;
    color: #555555;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

@media (max-width: 1024px) {
    .item.dir-0,
    .item.dir-1 {
        flex-direction: column-reverse;
        position: relative;
    }
    .item-image {
        width: 100%;
    }
    .item-text {
        text-align: left !important;
    }
    .contacts {
        flex-direction: column;
        gap: 16px;
    }
    .item-title {
        font-size: 32px;
    }
    .item-text {
        gap: 24px;
    }
}