/* * ---- Table of Contents ----
 *
 * 1.0 - Layout
 *    1.1 - Heading
 *    1.2 - Centering
 *    1.3 - Main
 *    1.4 - Footer
 *
 * 2.0 - Object
 *    2.1 - Component
 *
 * 3.0 - Responsive
 *
 */

/* =====================================================
  1.0 - Layout
===================================================== */

/*
1.1 - Heading
-----------------------------------------------------*/
.l-heading {
  width: 100%;
  margin: 0 auto;
  background: linear-gradient(to right, #13a0db, #04358a);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}


/*
  1.2 - Main
-----------------------------------------------------*/
.heading {
  padding: 10px 12px;
  letter-spacing: 1px;
  font-size: clamp(0.8rem, 0.509rem + 1.45vw, 1.6rem);
  border-top: 6px double #000;
  border-bottom: 6px double #000;
  margin-left: 15%;
  margin-right: 15%;
}
.scroll-list {
  max-height: 140px;
  overflow-x: auto;
  margin-left: 15%;
  margin-right: 15%;
  margin-bottom: 30px;
  list-style-type: none;
}
.scroll-list .scroll-item a{
  display: block;
  padding: 10px 15px;
  color: #333333;
  font-size: 0;
  transition: background-color 0.1s;
}
.scroll-list .scroll-item:nth-of-type(even) a {
  background:#c6e7f5;
}
.scroll-list .scroll-item a:hover {
  background-color: #38b9f0;
}
.scroll-list .date {
  display: inline-block;
  width: 19%;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: clamp(0.6rem, 0.455rem + 0.73vw, 1rem);
}
.scroll-list .category {
  display: inline-block;
  width: 8%;
  border-radius: 5px;
  background-color: #4a4289;
  color: #ffffff;
  text-align: center;
  letter-spacing: 1px;
  font-size: clamp(0.6rem, 0.455rem + 0.73vw, 1rem);
  line-height: 16px;
}
.scroll-list .title {
  display: inline-block;
  width: 73%;
  padding-left: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(0.6rem, 0.455rem + 0.73vw, 1rem);
}
.scroll-list .category.news {
  background-color: #4d3cd0;
}
.clearfix {
  margin-left: 15%;
  margin-right: 15%;
  height: 350px;
  overflow-y: scroll;
}
.note-embed {
  position: relative;
  display: block;
  width: 440px;
  height: 180px;
  transition: opacity 0.15s;
}
.note-embed:hover {
  opacity: 0.7;
}
/* .note-embed:nth-of-type(odd) {
  float: left;
}
.note-embed:nth-of-type(even) {
  float: right;
} */


/* =====================================================
  3.0 - Responsive
===================================================== */
@media screen and (min-width: 768px) {
  /*
3.1 - Heading
-----------------------------------------------------*/
  .l-heading {
    padding: 3.5rem 0;
    font-size: 2rem;
  }

}
@media screen and (max-width: 800px) {
/*
  1.2 - Main
-----------------------------------------------------*/
  .heading {
    margin-left: 8%;
    margin-right: 8%;
  }
  .scroll-list {
    max-height: 120px;
    margin-left: 8%;
    margin-right: 8%;
    margin-bottom: 20px;
  }
  .scroll-list .date {
    width: 25%;
  }
  .scroll-list .category {
    width: 13%;
  }
  .scroll-list .title {
    width: 62%;
    text-overflow: clip;
    padding-left: 10px;
  }
  .clearfix {
    margin-left: 8%;
    margin-right: 8%;
    height: 400px;
  }
  .note-embed {
    position: static;
    width: 100%;
    min-height: 200px;
  }
  /* .note-embed:nth-of-type(odd) {
    float: none;
  }
  .note-embed:nth-of-type(even) {
    float: none;
  } */
}
@media screen and (min-width: 1024px) {
.note-embed:nth-of-type(odd) {
  float: left;
}
.note-embed:nth-of-type(even) {
  float: right;
}
}
