/* Light mode */
[data-md-color-scheme="default"] {
  --md-default-bg-color: #e6e6e6;
}

.md-typeset{font-size:.7rem;}
nav.md-nav.md-nav--secondary a.md-nav__link{white-space:normal;}
a.md-nav__link{display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}

.md-typeset h1, .md-typeset h2{font-weight: 700;}

/* Grid background */
.md-main {
  #background-image: linear-gradient(rgba(50,0,0,0.05) 1px,transparent 0),linear-gradient(90deg,rgba(50,0,0,0.05) 1px,transparent 0);
  #background-size: 15px 15px;
  background-image: url('../assets/paper-pattern-clean.png');
  #overflow-y: auto; /*会引发左右导航、目录无法固定*/
}

.md-header--shadow {
  box-shadow: unset !important;
}

#rcorners {
  border-radius: 10px;
  background: linear-gradient(to right, rgba(189,224,245),rgba(218,232,241), rgba(238,237,238));
  /* #F0EFEB; F5F4F1*/
  padding: 25px; 
  width: 100%;
  height: 100px;
  text-align: center;
  font-size:14px;
}

/* rounded button */
.rounded-button {
  display: inline-flex; /* Use flexbox for alignment */
  align-items: center; /* Align items vertically */
  justify-content: center; /* Center items horizontally */
  border-radius: 100px; /* Circular corners */
  padding: 9px 18px; /* Padding around the text */
  margin: 0.15em 0;
  border: none; /* Removes default border */
  background-color: #55aea6; /* Background color */
  color: #22272e !important; /* Text color */
  font-size: 0.85em; /* Font size */
  text-align: center; /* Center the text */
  text-decoration: none; /* Remove underline from anchor text */
  cursor: pointer; /* Pointer cursor on hover */
}

.rounded-button:hover {
  background-color: #52bbb1;
}

.rounded-button svg {
  fill: 22272e; /* Fill SVG icon with text color */
  width: 1.2em;
  height: auto;
  margin-right: 0.5em; /* Add some space between the SVG icon and the text */
}

/*友情链接 grid cards*/
.md-typeset .grid.cards.flinks > ul > li {
  background:#fff;
}	
