@font-face {
  font-family: 'TsunagiGothic';
  src: url(../font/TsunagiGothic.woff2) format("woff2"),
    url(../font/TsunagiGothic.woff) format("woff"),
    url(../font/TsunagiGothic.ttf) format("truetype"),
    url(../font/TsunagiGothic.otf) format("otf");
}

body {
  font-family: 'TsunagiGothic';
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #85bc2a, #cade45);
  color: #fff;
}

header {
  background-color: #eaffd8;
  /* padding: 1rem; */
  text-align: left;
}

h1 {
  padding: 0 0 0 20px;
}

h2 {
  padding: 0 0 0 40px;
}

p {
  padding: 0 0 0 60px;
}

ol {
  padding: 0 0 0 80px;
}

ul {
  padding: 0 0 0 80px;
}


a {
  text-decoration: none;
}

.navigator{
  padding: 0 0 0 10px;
  font-size: 0.7rem;
}

.top {
  background-color: #eaffd8;
  padding: 0.5rem;
}

.toppagespace {
  height: 500px;
  background-color: #eaffd8;
}

.space {
  height: 2px;
  background-color: #eaffd8;
}

.toppagelogo {
  position: absolute;
}

.toppagelogo img {
  height: 80px;
  margin: -20px 0 0 0;
}

.logo img {
  height: 80px;
}

nav ul {
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* justify-content: center; */
  list-style: none;
  margin: 100px 0 0 40px;
  padding: 0;
  gap: 1rem;
}

nav ul li {
  margin: 10px 0 10px 0;
}

.menu-flex {
  display: flex;
}

nav a {
  text-decoration: none;
  color: #9ec934;
  font-weight: bold;
  text-shadow:
           1px 1px 0px #fff, -1px -1px 0px #fff,
          -1px 1px 0px #fff,  1px -1px 0px #fff,
           1px 0px 0px #fff, -1px  0px 0px #fff,
           0px 1px 0px #fff,  0px -1px 0px #fff;
}

li {
  vertical-align: middle;
}

.toppagemenu {
  position: absolute;
  color: #9ec934;
}

.menu-line{
  position: absolute;
}

.menu-icon {
  width: 30px;
  height: 30px;
}

.hero {
  /* padding: 2rem; */
  /* background: #dcf5ff; */
  background: #eaffd8;
  /* position: relative; */
  position: absolute;
}

.hero-image {
  /* background-image: url('../images/hero-image.png'); */
  /* background-size: cover; */
  /* height: 100px; */
  /* max-width: 100%; */
  width: 100%;
  height: auto;
  margin: -20px 0 0 0;
}

.hero-text {
  position: absolute;
  right: 10%;
  top: 20%;
  writing-mode: vertical-rl;
  font-size: 1.5rem;
  color: #9ec934;
  text-shadow:
           1px 1px 0px #fff, -1px -1px 0px #fff,
          -1px 1px 0px #fff,  1px -1px 0px #fff,
           1px 0px 0px #fff, -1px  0px 0px #fff,
           0px 1px 0px #fff,  0px -1px 0px #fff;
}

.about {
  padding: 2rem;
  /* background: #f0fff0; */
  text-align: center;
  margin-top: 20px;
}

.about h2 {
  padding: 0 0 0 0;
}

.magnifier {
  height: 40px;
  width: 40px;
}

.about-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.monitor {
  border:8px solid #fff;
  /* width: fit-content; */
  padding: 5px 10px 5px 10px;
}

.monitor-top {
  text-align: right;
}

.monitor-top-image {
  height: 25px;
  width: auto;
}

.search-box {
  margin-top: 1rem;
}

.search-box input {
  padding: 0.5rem;
  width: 60%;
  max-width: 400px;
}

.search-box button {
  padding: 0.5rem 1rem;
  background: #9ec934;
  color: #fff;
  border: none;
  cursor: pointer;
}

.more-next {
  height: 20px;
  width: auto;
}

.h-image {
  height: 40px;
  width: 40px;
}

.h-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.news-background img {
  width: 400px;
}

.news-background {
  /* position: absolute;
  justify-content: center;
  align-items: center; */
  text-align: center;
}

.news {
  padding: 2rem;
  /* background: #fff; */
  position: relative;
}

.news h2 {
  padding: 0 0 0 0;
}

.liver-list {
  padding: 2rem;
  /* background: #fff; */
}

.liver-list h2 {
  padding: 0 0 0 0;
}

.news-cards {
  position: absolute;
  text-align: center;
  top: 160px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 0 0 27px;
  /* left: 112px; */
  display: grid;
  /* grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); */
  gap: 1rem;
  /* margin-top: 1rem; */
  justify-content: center;
  align-items: center;
}

.liver-cards {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.news-card, .liver-card {
  /* background: #fff4e1; */
  /* padding: 1rem; */
  /* border-radius: 10px; */
  text-align: center;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

.liver-card img {
  width: 150px;
  height: auto;
}

.image-placeholder {
  /* background: #ffa066; */
  /* padding: 2rem; */
  background: #fff;
  color: #000;
  font-weight: bold;
  /* margin-bottom: 0.5rem; */
}

.image-placeholder img {
  width: 300px; 
  border-radius: 10px;
}

.title-space {
  height: 46px;
}

.more {
  /* display: block; */
  text-align: right;
  /* margin-top: 1rem; */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 400px;
}

.title {
  color: #000;
  /* background: #fff; */
  margin: -1px 0 0 0;
  background-image: url("../images/news-title-background.png");
  background-repeat: no-repeat;
  background-size:contain; 
  width: 300px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height:14px;
}

footer {
  background: #eaffd8;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
  color: #9ec934;
}

.waveform-harf {
  text-align: right;
  position: absolute;
  right: 0;
  margin: -25px 0 0 0;
}

.waveform-harf img {
  width: 500px;
  height: auto;
}

@media (max-width: 1000px) {
  .monitor-base img {
    width: 300px;
    height: auto;
  }
  .about {
    margin-top: 60px;
  }
  .container {
    display: block;
  }
  .more {
    margin: 0 0 0 300px;
  }
}

@media (max-width: 720px) {
  .news-background img {
    width: 300px;
  }
  .image-placeholder img {
    width: 220px; 
  }
  .news-cards {
    font-size:1em;
  }
  .news-card {
    font-size:0.7em;
  }
  .title {
    width: 220px;
    height: 30px;
    line-height:10px;
  }
  .title-space {
    height: 26px;
  }
  .liver-card img {
    width: 100px;
    height: auto;
  }
  .liver-cards {
    grid-template-columns: repeat(3, 100px);
  }
  .more {
    margin: 0 0 0 200px;
  }
}