
/*WHAT WE DO*/
.we-do
{
    padding: 20px;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 40px auto;
}

.we-do h2
{
    font-size: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
    color: var(--background-color);
}

.we-do p
{
    width: 80%;
    font-size: 20px;
    margin-bottom: 20px;
}

.we-do ul
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.we-do ul li
{
    list-style: none;
    background: var(--background-color);
    color: white;
    padding: 12px 20px;
    margin: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}


.we-do ul li.active,
.we-do ul li:hover
{
    background: var(--on-hover);
    color: white;
}

.we-do .product
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.we-do .product .itemBox
{
    position: relative;
    width: 350px;
    height: 250px;
    margin: 5px;
    display: block;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .8);
    background: var(--background-color);
    overflow: hidden;
}

.we-do .product .itemBox::before
{
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    box-sizing: border-box;
    transition: all 0.3s ease-in;
    transform: scaleX(0);
    opacity: 0;
    z-index: 2;
}

.we-do .product .itemBox:hover::before
{
    transform: scaleX(1);
    opacity: 1;
}

.we-do .product .itemBox::after
{
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-left: 1px solid white;
    border-right: 1px solid white;
    box-sizing: border-box;
    transition: all 0.3s ease-in;
    transform: scaleY(0);
    opacity: 0;
    z-index: 2;
}

.we-do .product .itemBox:hover::after
{
    transform: scaleY(1);
    opacity: 1;
}

.we-do .product .itemBox.hide
{
    display: none;
}

.we-do .product .itemBox img
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease-in;
}

.we-do .product .itemBox:hover img
{
    opacity: .2;
    transform: scale(1.2);
}

.we-do .product .itemBox .content
{
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 3;
}

.we-do .product .itemBox .content h2
{
    width: 80%;
    margin: 0 0 10px;
    padding: 0;
    color: white;
    transition: all 0.3s ease-in-out;
    font-size: 20px;
    transform: translateY(-50px);
    opacity: 0;
    visibility: hidden;
}

.we-do .product .itemBox .content p
{
    text-align: center;
    margin: 0 0 10px;
    padding: 0;
    color: white;
    transition: all 0.3s ease-in-out;
    width: 80%;
    font-size: 15px;
    transform: translateY(50px);
    opacity: 0;
    visibility: hidden;
}

.we-do .product .itemBox .content a
{
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    color: white;
    background: var(--on-hover);
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    transform: translateY(-50px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.we-do .product .itemBox:hover .content h2,
.we-do .product .itemBox:hover .content p,
.we-do .product .itemBox:hover .content a
{
    transform: translateY(0px);
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s;
}