.contacts-modifier {
    background-color: #f8f5f7;
    max-width: 100%;
    padding: 70px 115px;
}

@media (max-width: 920px) {
    .contacts-modifier {
        padding: 50px 10px;
    }
}

.contacts-header {
    font-weight: bold;
    font-size: 32px;
    color: #5F698A;
    text-align: center;
}

@media (max-width: 1230px) {
    .contacts-header {
        text-align: center;
        font-size: 58px;
    }
}

@media (max-width: 550px) {
    .contacts-header {
        font-size: 32px;
    }
}

.contacts-tab {
    flex-direction: column;
    display: flex;
}

.contacts-items {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

@media (max-width: 700px) {
    .contacts-items {
        flex-direction: column;
    }
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 25%;
    margin-top: 80px;
}

@media (max-width: 1230px) {
    .contact-socials {
        width: auto;
    }
}

@media (max-width: 350px) {
    .contact-socials {
        width: 100%;
    }
}

.contact-item {
    display: flex;
    flex-direction: row;
    border: 3px solid #5f698a;
    border-radius: 45px;
    padding: 20px;
    background-color: white;
}

@media (max-width: 1580px) {
    .contact-item {
        padding: 10px;
    }
}

.social-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    gap: 5px;
}

@media (max-width: 1580px) {
    .social-info {
        width: 70%;
    }
}

.contact-video {
    padding-top: 7%;
}

.social-icon {
    width: 60px;
    height: 60px;
    margin: auto;
}

@media (max-width: 1580px) {
    .social-icon {
        width: 45px;
        height: auto;
    }
}

.text-1 {
    font-size: 22px;
    font-weight: 500;
    width: 250px;
    color: #5f698a;
}

@media (max-width: 550px) {
    .text-1 {
        font-size: 18px;
    }
}

.text-2 {
    padding: 10px 0;
    text-align: center;
    background-color: #df968c;
    color: white;
    border-radius: 20px;
    font-size: 20px;
    text-decoration: none;
}

@media (max-width: 550px) {
    .text-2 {
        font-size: 16px;
    }
}

.contacts-main-video {
    width: 800px;
    height: 600px;
}

@media (max-width: 1330px) {
    .contacts-main-video {
        width: 100%;
    }
}

.contacts-img {
    width: 30%;
    height: fit-content;
}

@media (max-width: 500px) {
    .contacts-img {
        width: 300px;
    }

    .contacts-items {
        gap: 16px;
    }
}