.text-justify {
    text-align: justify;
}

.exhibition-hall {
    color: #333;
}

.card {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    border:none;
    border-radius: 5px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    transition: box-shadow 500ms, transform 500ms;
}

.card:hover {
    box-shadow: 5px 10px 10px rgba(0,0,0,0.3);
    transform: translateY(-5%);
    transition: 500ms;
}

.logo-box {
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-box img {
    width: 70%;
}

.content-box {
    width: 80%;
    padding: 20px 20px 10px 20px;
}

.content-box p {
    margin-bottom: 1.1rem;
    text-align: justify;
}

.company {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.company h4 {
    margin-top: 0;
}

.level {
    padding: 5px 8px;
    margin-right: 20px;
    background-color: #ecc94b;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.level-ex {
    padding: 5px 8px;
    margin-right: 20px;
    background-color: #52abe9;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.links {
    display: flex;
}

.link {
    margin-right: 20px;
    color: #7d7d7d;
}

.link i {
    margin-right: 10px;
}

.link a:hover {
    color: #5c5c5c;
    font-weight: bold;
}

@media (max-width: 768px) {
    .card {
        display: block;
    }

    .logo-box {
        width: 50%;
        max-height: 300px;
        margin: 0 auto;
        padding-top: 30px;
        align-items: flex-start;
    }

    .logo-box img {
        width: 80%;
        object-fit: contain;
    }

    .content-box {
        width: 100%;
        padding: 30px 15px;
    }

    .company {
        display: block;
        text-align: center;
    }

    .level {
        display: block;
        max-width: 200px;
        margin: 0 auto 30px auto;
        padding: 10px;
    }

    .level-ex {
        display: block;
        max-width: 200px;
        margin: 0 auto 30px auto;
        padding: 10px;
    }

    .link {
        margin-bottom: 10px;
    }
}

@media (max-width: 500px) {
    .logo-box {
        width: 60%;
        max-height: 160px;
        
    }

    .logo-box img {
        width: 70%;
        object-fit: contain;
    }

    .level {
        max-width: 150px;
        padding: 8px;
    }

    .level-ex {
        max-width: 150px;
        padding: 8px;
    }

    .links {
        flex-direction: column;
    }
}
