/* .main {
    padding: 0 5em;
} */

.website_title {
    position: relative;
    padding: 10px;
    border: 1px solid #428d5a;
    width: 20%;
    text-align: center;
    color: #438D5A;
}

.website_title:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: #428d5a;
    width: 7%;
    height: 100%;
}

.website_list {
    display: flex;
    flex-wrap: wrap;
    padding: 2rem 0;
    margin-bottom: 80px;
}

.website_link {
    color: unset;
    max-height: 165px;
    min-height: 165px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.website_link:hover {
    transform: translate(-2px, -3px);
    transition: all 0.2s ease-in;
}

.website_link>div {
    max-height: 85%;
    width: 100%;
    text-align: center;
}

.logo_img {
    padding: 10px;
    flex: 1;
    display: flex;
    background: #eee;
}

.website_link img {
    max-height: 100%;
    margin: auto;
}

.website_link:hover {
    color: unset;
}

.website_list>div:hover {
    box-shadow: 0 0 5px #d7d7d7;
}

.website_name {
    background: #fff;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0 0 5px 5px;
    text-align: center;
    font-weight: bold;
    color: unset;
}

@media (max-width: 1440px) {
    .website_link {
        max-height: 185px;
        min-height: 185px;
        /* margin-bottom: 6.5rem; */
    }
}

@media (max-width: 900px) {
    .website_title {
        width: 40%;
    }

    .website_list {
        padding: 1em 1em;
    }
}

@media (max-width: 768px) {
    .website_list {
        gap: 1rem;
    }

    .website_link {
        width: 100%;
        /* margin-bottom: 5rem; */
    }
}

@media (max-width: 540px) {
    .main {
        padding: 0 2rem;
    }

    .website_title {
        width: 65%;
    }
}