.contacts-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts-content-image-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
}

.contacts-img {
    width: 154px;
}

.contacts-content-wrapper {
    width: 100%;
}

.contacts-wrapper {
    padding: 40px;
    background-color: #fff;
    width: 75vw;
    max-width: 832px;
    border-radius: 10px;
    box-shadow: 2px 2px 3px 0 rgb(0 0 0 / 16%),
                0 3px 4px 0 rgb(0 0 0 / 16%),
                0 1px 5px 0 rgb(0 0 0 / 16%);
}

.contacts-title {
    font-size: 2.5em;
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center
}

.contacts-section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
}

.contacts-item {
    width: 30%;
    padding-bottom: 24px;
}

.contacts-subtitle {
    font-size: 1.2em;
    font-weight: 500;
    margin-bottom: 16px;
}

address {
    display: flex;
    flex-direction: column;
    color: rgba(0, 0, 0, 0.56);
}

address .contacts-email {
    color: rgb(41, 121, 255);
}

address .contacts-phone-wrapper > span {
    color: black;
}

.contacts-nav-menu {
    display: flex;
    -webkit-flex-direction: column;
    align-items: start;
    justify-content: center;
    color: rgba(0, 0, 0, 0.56);
}

.contacts-nav-menu-btn {
    display: flex;
    align-items: center;
    justify-content: start;
    height: 40px;
    list-style-type: none;
    border-radius: 4px;
}

.contacts-nav-menu-btn:before,
.contacts-nav-menu-btn:focus {
    background-color: rgba(236, 240, 241, .3);
}

.nav-menu-btn-link {
    color: rgba(0, 0, 0, 0.56);
}

.contacts-nav-menu-btn:hover {
    color: rgb(64, 112, 244);
    transition: all 0.4s;
    cursor: pointer;
}

.contacts-btn {
    color: rgb(64, 112, 244);
}

/*Adaptive layout for Contacts page*/
@media (max-width: 580px) {
    .contacts-section {
        flex-direction: column;
        text-align: center;
    }
    
    .contacts-item {
        width: 100%;
    }
}

@media(max-width: 640px) {
    .contacts-wrapper {
        background-color: transparent;
        width: 96vw;
        box-shadow: none;
    }
}

@media(min-width: 581px) and (max-width: 767px) {
    .contacts-item {
        width: 40%;
    }
}

@media(max-width: 960px) {
    .contacts-wrapper {
        width: 85%
    }
}
