#Ellipse {
    position: relative;
    visibility: visible;
    z-index: 1;
    width: 700px;
    height: 80px;
    border: none;
    margin-top: 250px;
    margin-bottom: 100px;
}

:root {
    --color_1: #c4B994;
    --main-color: #b89a5c;
}

.box {
    font-family: 'Niramit', sans-serif;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.box:before,
.box:after,
.box-content:before,
.box-content:after {
    content: '';
    background: linear-gradient(transparent, #007bff);
    height: 100%;
    width: 25%;
    transform: translateY(-100%);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all 0.3s;
}

.box:hover:before,
.box:hover:after,
.box:hover .box-content:before,
.box:hover .box-content:after {
    transform: translateY(0);
}

.box:after {
    left: 24.8%;
}

.box .box-content:before {
    left: 49.8%;
}

.box .box-content:after {
    left: 74.4%;
    width: 25.8%;
}

.box:hover:before {
    transition-delay: 0.225s;
}

.box:hover:after {
    transition-delay: 0.075s;
}

.box:hover .box-content:before {
    transition-delay: 0.15s;
}

.box:hover .box-content:after {
    transition-delay: 0s;
}
.imgBox{
    width: 100%;
    height: 280px;
    text-align: center;
    /* border:1px solid #c29a5d; */
}
.box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    transition: all 0.3s ease 0s;
}

.box:hover img {
    filter: grayscale(100%);
}

.box .box-content {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: all 0.2s;
}

.content {
    width: 100%;
    padding: 7px 0;
    opacity: 0;
    position: absolute;
    left: 0;
    bottom: -30px;
    z-index: 2;
    transition: all 0.3s ease 0.1s;
}

.box:hover .content {
    opacity: 1;
    bottom: 5px;
}

.box .title {
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.box .title1 {
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}
.box .post {
    color: var(--main-color);
    font-size: 16px;
    font-style: italic;
    text-transform: capitalize;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.box .icon {
    padding: 0;
    margin: 0;
    list-style: none;
    transform: translateX(-50%);
    position: absolute;
    top: 15px;
    right: -10px;
    z-index: 2;
    transition: all 0.5s ease 0.3s;
}

.box .icon li {
    opacity: 0;
    transform: scale(0) rotate(360deg);
    transition: all 400ms;
}

.box:hover .icon li {
    opacity: 1;
    transform: scale(1) rotate(0);
}
.box:hover .title1{
    display: none;
}
.box .icon li a {
    color: var(--color_1);
    background-color: var(--main-color);
    font-size: 20px;
    line-height: 40px;
    height: 40px;
    width: 40px;
    margin-bottom: 10px;
    border-radius: 50%;
    display: block;
    position: relative;
    transition: all 0.3s;
}

.box .icon li a:hover {
    text-decoration: none;
    color: var(--main-color);
    background-color: var(--color_1);
    border-radius: 0 20px 0 20px;
}

@media only screen and (max-width:990px) {
    .box {
        margin-bottom: 30px;
    }
}

@media only screen and (max-width:479px) {
    .box .title {
        font-size: 20px;
        display: block;
    }
}