.main-box{
    height: 100vh;
    width: 100vw;
    display: flex;
    justify-content: end;
    align-items: center; 
    background-image: url("../img/bg/haycarb_bg.svg");
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    background-color: #fff;
}
.white-box-div {
    height: 90vh;
    width: 90vw;
    padding: 0px 50px;
    margin: auto;
    /* position: relative;
    box-shadow: -1px 3px 10px -4px #0003;
    background: white;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px; */
    z-index: 1;
}
.icon-div{
    height: 15%;
    display: flex;
    -webkit-display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: center;
}
.icon-div svg{
    font-size: 40px;
    color: #0a794a;
    margin-bottom: 0;
}
.topic-div{
    height: 10%;
    display: flex;
    -webkit-display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.topic-div h1{
    font-family: 'Poppins', sans-serif;
}
.topic-div p{
    font-family: 'Poppins', sans-serif;
    margin-top: 1.2rem;
    font-size: 20px;
    color: #000 !important;
    font-weight: 300;
}
.all_box-div{
    height: 75%;
    overflow: hidden;
    z-index: 10;
}
.img-four-mt {
    display: flex;
    -webkit-display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    height: 100%;
}
.img_box {
    position: relative;
    margin: 0 1%;
    padding: 10px 15px;
    flex-grow: 1;
    width: 25%;
    
    cursor: pointer;
    box-shadow: -1px 6px 10px 1px #00000014;
    border-radius: 30px;
    margin: 25px;
    -webkit-filter: unset;
    filter: grayscale(0%); 
    transition: 0.5s all ease-in-out;
    background-color: #fff;
}
.img_box:hover{
    transform: scale(1.1);
    -webkit-filter: grayscale(100%);
    filter: grayscale(90%);
    transition: 0.5s all ease-in-out;
}

.img_box a{
    display: flex;
    justify-items: center;
    align-items: center;
    justify-content: space-evenly;
    position: relative;
    flex-wrap: wrap;
    position: relative;
    width: 100%;
    height: 100%;
    align-content: space-between;
}

.img_box img{
    width: 100%;
    margin: 3% 0;
}
.img_box p{
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    text-align: center;
    margin-top: 25px;
    color: #686767;
    letter-spacing: 1px;
}
.img_box p span{
    color: #2ec082;
    text-shadow: none;
    font-weight: 500;
}

.img_box h3{
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: #061702;
    text-align: center;
    font-weight: 300;
    margin: 7% 0;
}
.img_box .md-msg{
    font-size: 20px;
}
.img_box a:hover{
    text-decoration: none;
}
.icon-div #app{
    margin-right: 50px;
}
.logout-icon{
   width: 40px;
   height: auto; 
}
.img-box-3{
    margin-bottom: 20px !important;
}

.img-four-mt .img_box :hover h3::before{
    background-color: #0a794a;
    content: "";
    display: block;
    height: 4px;
    position: absolute;
    width: 33%;
    margin: auto;
    text-align: center;
    bottom: 15px;
    margin-top: 10px;
    left: 0;
right: 0;
}


/* // Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) { 
    .img-four-mt {
        flex-wrap: wrap;
    }
    .img_box {
        flex-grow: 1;
        width: 50%;
        height: 40%;
        /* padding: 10px; */
    }
    .all_box-div {
        height: unset;
    }
    .white-box-div {
        height: auto;
        width: auto;
        padding: 75px 0;
        border-radius: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .topic-div h1 {
        font-family: 'Poppins', sans-serif;
        text-align: center;
        margin-bottom: 0;
    }
}

/* // Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 768px) { 
    .img-four-mt {
        flex-wrap: wrap;
    }
    .white-box-div{
        height:auto;
        padding: 50px 0;
    }
    .topic-div h1 {
        font-family: 'Poppins', sans-serif;
        text-align: center;
    }
    .icon-div svg {
        font-size: 40px;
        color: #0a794a;
        margin-left: auto;
        margin-bottom: 0;
    }
    .img_box {
        padding: 10px 15px;
        flex-grow: unset;
        width: 40%;
        cursor: pointer;
        box-shadow: -1px 6px 10px 1px #00000014;
        border-radius: 30px;
        margin: 25px;
        -webkit-filter: grayscale(100%);
        filter: grayscale(90%);
        transition: 0.5s all ease-in-out;
        background-color: #fafafa;
    }
}

/* // Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) { 
    .img-four-mt {
        flex-wrap: wrap;
    }
    .white-box-div{
        height:auto;
        padding: 50px 0;
    }
    .topic-div h1 {
        font-family: 'Poppins', sans-serif;
        text-align: center;
    }
    .icon-div svg {
        font-size: 26px;
        color: #0a794a;
        margin-left: auto;
        margin-bottom: 24px;
    }
    .img_box {
        padding: 10px 15px;
        flex-grow: unset;
        width: 40%;
        cursor: pointer;
        box-shadow: -1px 6px 10px 1px #00000014;
        border-radius: 30px;
        margin: 25px;
        -webkit-filter: grayscale(100%);
        filter: grayscale(90%);
        transition: 0.5s all ease-in-out;
        background-color: #fafafa;
    }

}

/* // Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) { 
    .icon-div svg {
        font-size: 40px;
        color: #0a794a;
        margin-left: auto;
        margin-bottom: 0px;
    }
}

/* // Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1500px) { 
    .img-box-3{
        margin-bottom: 50px !important;
    }
 }
 @media (max-width: 1500px) { 
    .img-four-mt .img_box :hover h3::before {
        background-color: #0a794a;
        content: "";
        display: block;
        height: 4px;
        position: absolute;
        width: 33%;
        margin: auto;

        text-align: center;
        bottom: 8px;
        margin-top: 10px;
        left: 0;
        right: 0;
    }
 }