@import url('https://fonts.googleapis.com/css?family=Oswald|Roboto|Slabo+27px');

.notice-all-body {
  padding-top: 9vh;
  color: var(--secondary-color);
  background-color: var(--secondary-color);
}

.section-heading {
  color: var(--primary-color);
  font-size: 2rem;
  text-align: center;
  margin-top: 3rem;
}

.notice-img h1 {
  font-size: 32px;
  margin-top: 30px;
  font-family: 'Oswald', sans-serif;
  text-align: center;
}

.notice-items {
  /* background: #ececec; */

  padding: 15px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.notice-items .notice-item {
  width: 28vw;
  transition: 0.3s;
  margin: 15px;
  background: var(--tertiary-color);
  border: 1px solid var(--tertiary-color);
  /* background: var(--primary-color);
  border: 1px solid var(--primary-color); */
  text-align: center;
  border-radius: 0.5rem;
  overflow: hidden;
}

.notice-items .notice-item:hover {
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.1);
}

.notice-items .notice-item:hover .notice-img img {
  opacity: 0.8;
}

.notice-items .notice-item .notice-img {
  position: relative;
  text-align: center;
  background: var(--primary-color);
}

.notice-items .notice-item .notice-img img {
  transition: 0.3s;
  max-height: 15rem;
  width: 100%;
  border-bottom: 4px solid var(--primary-color);
  object-fit: cover;
}

.notice-items .notice-item .notice-img:before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  margin-left: -10px;
  width: 0;
  height: 0;
  border-top: solid 10px var(--primary-color);
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
}

/* .notice-items .notice-item .notice-img h1 {
  position: absolute;
  margin: 0;
  font-size: 42px;
  bottom: 15px;
  width: 100%;
  color: var(--secondary-color);
  font-family: 'Slabo 27px', serif;
} */

.notice-items .notice-item .notice-details {
  margin-top: 30px;
  font-family: 'Roboto', sans-serif;
  color: var(--secondary-color);
  font-size: 1.5rem;
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  color: orangered;
  font-family: 'Slabo 27px', serif;
}

.notice-items .notice-item .card-text {
  padding: 2rem 1rem;
  font-family: 'Roboto', sans-serif;
  line-height: 22px;
  color: var(--primary-color);

  /* color: var(--secondary-color); */
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.6rem;
}

.notice-items .notice-item .card-text p {
  height: 10vh;
  overflow: hidden;
}

.notice-items .notice-item .read-more {
  /* transition: 0.3s; */
  display: inline-block;
  width: auto;
  text-align: center;
  text-transform: uppercase;
  background: orangered;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-family: 'Oswald', sans-serif;
  cursor: pointer;
  border: none;
  border-radius: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.notice-items .notice-item .read-more:hover {
  font-size: 1.6rem;
  transition: var(--transition-btn);
}

.notice-item .read-more a {
  list-style: none;
  color: var(--primary-color);
}

/* Tablet Screen */
@media (max-width: 880px) {
  .notice-items .notice-item {
    width: 40vw;
  }
}

/* Mobile Screen */
@media (max-width: 550px) {
  .notice-items .notice-item {
    width: 75vw;
  }
}
