body {
    background-color: var(--primary-color);
}

#soci {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    transition: 0.2s linear;
    margin-top: 4%;
}

.card_socio {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: calc(10px + 2vw);
    background-color: #fff;
}

.card_socio * {
    color: var(--primary-color);
    display: flex;
    justify-content: center;
}

.card_socio .logo {
    width: 100%;
    border-radius: 10px;
}

@media screen and (orientation : landscape) {

    .card_socio {
        width: 340px;
        height: 200px;
        margin-bottom: 1%;
        padding: 2vw;
    }

    .contacts {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin-top: 2vh;
        width: 100%;
        height: 0px;
        overflow: hidden;
        transition: .1s ease-out;
    }

    .contacts .data {
        width: 100%;
        display: flex;
        justify-content: start;
        align-items: center;
    }

    .contacts .data div {
        overflow: hidden;
        text-overflow: clip;
    }

    .contacts a {
        color: var(--primary-color);
        text-decoration: none;
    }

    .contacts img {
        width: 6%;
        margin-right: 5%;
    }

}

@media screen and (orientation : portrait) {

    .card_socio {
        width: 80%;
        height: 250px;
        margin-bottom: 3%;
        padding: 3vw;
    }

    .contacts {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        margin-top: 2vh;
        width: 100%;
        height: 100%;
        overflow: hidden;
        transition: .1s ease-out;
    }

    .contacts .data {
        width: 100%;
        display: flex;
        justify-content: start;
        align-items: center;
    }

    .contacts .data div {
        overflow: hidden;
        text-overflow: clip;
    }

    .contacts a {
        color: var(--primary-color);
        text-decoration: none;
    }

    .contacts img {
        width: 30px;
        margin-right: 5%;
    }

}