.navx {
    /* background-color: rgb(19, 82, 30) !important; */

    /* background: rgb(51,186,60) !important;; */
    /* background: radial-gradient(circle, rgb(47, 150, 54) 42%, rgb(10, 53, 14) 49%, rgb(15, 94, 15) 82%) !important;; */

    background: rgb(32, 128, 37) !important;
    background: radial-gradient(
        circle,
        rgba(32, 128, 37, 1) 42%,
        rgba(21, 102, 29, 1) 49%,
        rgba(9, 60, 9, 1) 82%
    ) !important;

    color: white !important;
    padding: 0 !important;
}

.navx a {
    color: white !important;
}

.navx a:hover {
    background-color: white !important;
    color: black !important;
}

.navx .dropdown-menu {
    border-radius: 0;
    background-color: green;

    /* background: rgb(32, 128, 37) !important;
    background: radial-gradient(
        circle,
        rgba(32, 128, 37, 1) 42%,
        rgba(21, 102, 29, 1) 49%,
        rgba(9, 60, 9, 1) 82%
    ) !important; */
}

.card {
    border-radius: 0;
}

/* .card .card-header{
    padding: 0 !important;
} */

/*for the new articles*/
/* .padding0{
    padding: 0 !important;
} */

.card-img-top {
    border-radius: 0px;
    text-align: center;
    max-width: 400px;
}

.fourboxes {
    width: 100%;

    /* max-width: 375px; */
    /* max-height: 200px; */

    text-align: center;
    max-width: 375px;
    max-height: 200px;

    /* position: relative; */
    /* display: inline-block; */
}

.fourboxes .text h1 {
    /* font-size: 2.5rem; */
    font-size: 1.8rem;
    /* width: 100%; */ /* Set the width of the positioned div */
    position: absolute;
    z-index: 999;
    /* margin: 0 auto; */
    margin-left: 0.5em;
    margin-right: 0.5em;
    margin-top: 10px;
    margin-bottom: 0px;

    left: 0;
    right: 0;
    text-align: center;
    /*top: 40%;*/ /* Adjust this value to move the positioned div up and down */
    bottom: 0%;
    background: rgba(0, 0, 0, 0.8);
    font-family: Arial, sans-serif;
    color: #fff;
}

/*responsive image grid begin*/
.rsrow {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.rscolumn25 {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}
.rscolumn50 {
    flex: 50%;
    max-width: 50%;
    padding: 0 4px;
}

.rscolumn25,
.rscolumn50 img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
    border-width: 1px;
    border-style: solid;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
    .rscolumn25,
    .rscolumn50 {
        flex: 50%;
        max-width: 50%;
    }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
    .rscolumn25,
    .rscolumn50 {
        flex: 100%;
        max-width: 100%;
    }
}
/*responsive image grid end*/




/* link hover */
.linkhovercontainer {
    position: relative;
    width: 50%;
}

.linkhovercontainerimage {
    display: block;
    width: 100%;
    height: auto;
  }
  

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0b0d0e44;
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: 0.5s ease;
}

.linkhovercontainer:hover .overlay {
    height: 100%;
  }
  

  .overlaytext {
    color: white;
    font-size: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
  }






  