.cardContainer{
    background-image: url("../../admin/uploads/background/dwitohs.jpeg");
    background-repeat: no-repeat;
    background-size: cover;
    width:50%;
    /* height:75%; */
    z-index:0;
    border-radius: 20px;
    margin-top: 3rem;
    padding: 2rem 0;
}
.notice-ribbon .notice-text{
    font-size: 1.2rem;
    font-weight: 700;
}
.notice-ribbon .notice-time{
    font-weight: bold;
}
.notice-ribbon p{
    text-align: center;
    background-color: #0f5288;
    padding: 0.8rem;
    color: white;
    border-radius: 20px 20px 0 0;
    font-size: 1.15rem;
}
.heading-container{
    text-align: center;
    margin-bottom: 1rem;
}
.headingOHS{
    color: #0f5288;
    line-height: 3.51rem;
    font-size: 3rem;
}
.subheadingOHS{
    font-size: 1.3rem;
    color: black;
    margin: 0;
}
.subCardsOHS{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5rem;
}
.linkCardsOHS{
    margin: 0;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.subCardsHeading{
    color: black;
    margin-top: 1rem;
    text-align: center;
}
.linkCardOHS{
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* width:15rem;
    height:15rem; */
    text-decoration: none !important;
    font-style: bold;
    
}

.cardText{
    font-size: 1.2rem;
    margin-bottom: 0;
}
.ohsitems{
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding:8px;
    cursor: pointer;
    background-color: white;
    transition: all 0.6s;
    border:3px solid #0f5288;
}
.icon-wrapper,.cardcaption{
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-wrapper img {
    color: white;
    width:8.5vw;
    transform: translateY(0px);
    transition: all 0.6s;
  }
  .icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .cardcaption {
    width: 100%;
    justify-self: center;
    align-self: start;
  }
.cardcaption p{
    background-color: white;
    color:#0f5288;
    font-size: 1.4rem;
    font-weight: bold;
    transform: translateY(0px);
    transition: all 0.5s;
    margin-bottom: 7px;
    letter-spacing: 0.5;
}

.ohsitems:hover {
    background-color: #0f5288;
    
    & .cardcaption p {
      transform: translateY(-10px);
      background-color: #0f5288;
      color: white;
    }
    & .icon-wrapper i {
      transform: translateY(5px);
    }
    
  }


  @media screen and (max-width:1300px) {
    .cardContainer{
        width: 75%;
        margin: 0;
        margin-top: 5px;
        padding: 2rem 0
    }
}
@media screen and (max-width:800px) {
    .subCardsOHS{
        display: flex;
        flex-direction: column;
        gap:0;
        justify-content: center;
        align-items: center;
    }
    .headingOHS{
        text-align: center;
        color: #0f5288;
        line-height: 2.2rem;
        font-size: 2rem;
    }
    .subheadingOHS{
        font-size: 1.5rem;
        color: black;
    }
    .linkCardOHS{
        display: flex;
        justify-content: center;
        margin:0;
        
    }
    .linkCardsOHS{
        margin: 0;
    }
    /* .ohsCardImg{
        width:100%;
        height:100%;
    } */
    .ohsitems{
        border-radius: 5px;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding:8px;
        cursor: pointer;
        background-color: white;
        transition: all 0.6s;
        border:3px solid #0f5288;
    }
}
@media screen and (max-height:700px){
    
}