.adress_block {
    text-align: right;
}

.social_block {
    display: flex;
}

.social_block-text {
    margin-top: 45px;
    padding-left: 10px;
}

.social_block__link {
    display: block;
    margin: 5px 10px;
    text-decoration: none;
    transition: 0.7s;
}

.social_block__link:hover, .social_block__link:focus {
    opacity: 0.6;
}

.modal {
    display: none;
    position: fixed;
    font-family: 'Roboto', sans-serif;
    left: 50%;
    top: 50%;
    width: 400px;
    height: 390px;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 4px 4px 10px 10px rgba(100, 100, 100, 0.2);
    z-index: 1000;
    border-radius: 20px;
}

.modal-show {
    display: block;
    animation: bounce 0.6s;
    overflow: hidden;
    text-align: center;
}

.modal-flex {
    display: flex;
    justify-content: space-around;
}

.modal-header {
    margin-bottom: 5px;
}

.modal-header-text {
    font-size: 1.2em;
    font-weight: 500;
}

.btn-modal-close {
    position: relative;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    font-size: 0;
    width: 32px;
    height: 32px;
    transition: 0.5s;
    opacity: 0.5;
}

.btn-modal-close::before {
    content: "";
    position: absolute;
    display: block;
    width: 3px;
    height: 24px;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    background-color: #e74246;
}

.btn-modal-close::after {
    content: "";
    position: absolute;
    display: block;
    width: 3px;
    height: 24px;
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
    background-color: #e74246;
}

.btn-modal-close:focus {
    outline: none;
}

.btn-modal-close:hover,
.btn-modal-close:focus {
    opacity: 1;
}

.modal-label {
    display: block;
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
}

.modal-inline-input {
    margin-bottom: 40px;
    width: 100%;
}

.modal-input {
    box-sizing: border-box;
    width: 100%;
    padding: 15px 15px 15px 17px;
    border-style: solid;
    border-radius: 3px;
    border-color: #d7dcde;
}

.modal-input:focus {
    border-color: #000000;
    outline: none;
}

.modal-error {
    border: 2px solid #e74246;
    color: #e74246;
}

.modal-error:focus {
    border: 3px solid #e74246;
    color: #e74246;
    outline: none;
}

.modal_close_block {
    text-align: right;
}

@keyframes bounce {
    0% {
        transform: translate(-50%, -60%);
    }

    70% {
        transform: translate(-50%, 30%);
    }

    90% {
        transform: translate(-50%, -20%);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

.footer_block {
    display: flex;
    justify-content: space-between;
}

@media all and (max-width: 600px) {
    .footer_block {
        flex-direction: column;
        display: none;
    }

    .footer_block-dnone {
        display: none;
    }
}

@media all and (min-width: 600px) {
    .footer_block-mobile {
        display: none;
    }
}