/* General Style */

/* Style for 4 column block for irr/ind/mun/plu */

.representation {
    text-align: center;
    align-content: center;
    margin-top: 5%;
}

.logo_group {
    transition: all .3s;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8%;
    background: white;
    border-style: solid;
    border-width: 1px;
    border-color: #0000001c;
    border-radius: 5px;
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06);
    transform: perspective(48cm);
}

.logo_group:hover {
    box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.15), 0 6.7px 5.3px rgba(0, 0, 0, 0.162), 0 12.5px 10px rgba(0, 0, 0, 0.176);
    transform: perspective(48cm) rotate3d(1, 0, 0, 10deg);
}

.logo_border {
    border-bottom: 1px solid #0000001c;
    background-color: #7979790a;
}

/* Style shared between each icon */

.logo_icon {
    height: 80px;
    width: 250px;
    object-fit: scale-down;
    margin-bottom: 1%;
    background-size: contain;
    border-radius: 0px 0px 10px 10px;
    border: 1px solid #0000000a;
    border-width: 0px 1px 1px 1px;
    padding: 10px;
    background-color: white;
}

.logo_text {
    padding: 5%;
}

@media screen and (min-width: 1024px) {
    /* Style of six content blocks */
    .representation {
        display: flex;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        flex-wrap: wrap;
    }
    /* Sets two blocks per row */
    .logo_group {
        flex: 0 0 40%;
        height: auto;
        transition: all .3s;
    }
}

@media screen and (max-width: 1023px) {
    /* Sets 2 blocks per row */
    .logo_group {
        flex: 0 0 100%;
        height: auto;
        transition: all .3s;
    }
}

/* Large View */

@media screen and (min-width: 769px) {
    /* Style of six content blocks */
    .representation {
        display: flex;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        height: auto;
        flex-wrap: wrap;
    }
}

/* Mobile View */

@media screen and (max-width: 768px) {
    .representation {
        display: block;
        float: none;
    }
    /* Style shared between six content blocks */
    .logo_group {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10%;
        width: 70%;
        /* background: white; */
        border-style: solid;
        border-width: 1px;
        /* border-color: #0000001c; */
        border-radius: 5px;
        transition: all .5s;
        box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06);
    }

    .logo_icon {
        height: 40px;
    }

    .logo_text {
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .logo_group {
        margin-left: auto;
        transition: all .3s;
        margin-right: auto;
        margin-bottom: 15%;
        width: 330px;
        background: white;
        border-style: solid;
        border-width: 1px;
        border-color: #0000001c;
        border-radius: 5px;
        box-shadow: 0 2.8px 2.2px rgba(0, 0, 0, 0.034), 0 6.7px 5.3px rgba(0, 0, 0, 0.048), 0 12.5px 10px rgba(0, 0, 0, 0.06);
    }

    .logo_border {
        /* background: none; */
    }

    .logo_icon {
        /* border: none; */
        width: 222px;
        border-radius: 5px;
    }
}