a {
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  color: inherit;
  outline: none;
}

u {
  text-decoration: none;
  opacity: 0.75;
  border-radius: 0.25em;
  background-color: rgba(127, 127, 127, 0.25);
  padding: 0 0.25em;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Arial, Tahoma;
  font-size: 1.25vw;
  /* font-size: calc(16px + (24 - 16) * (100vw - 640px) / (1920 - 640)); */
}

img, svg {
  width: auto;
  height: 2em;
  padding: 0;
  margin: 0;
  border-radius: 100%;
  vertical-align: middle;
  margin-right: 0.5em;
}

.yc-page {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 50% 50% 1fr;
  grid-template-rows: 1fr min-content min-content min-content min-content min-content min-content 1fr min-content;
}

h1 {
  font-size: 5vw;
  font-weight: bold;
  margin: 0;
}

h2 {
  font-size: 2vw;
  font-weight: normal;
  margin: 0;
}

h3 {
  font-size: 1.5vw;
  font-weight: normal;
  margin: 0;
  opacity: 0.6;
}

section {
  display: inline-block;
  max-width: 23vw;
  /* opacity: 0.75; */
  /* text-align: left; */
}

.yc-1 {
  background-color: black;
  color: white;
  text-align: right;
  padding-right: 2.4vw;
}

.yc-bg-1 {
  grid-row: 1 / span 9;
  grid-column: 1 / span 2;
}

.yc-name-1 {
  grid-row: 2;
  grid-column: 2;
  margin-top: 3em;
  /* padding-right: 1.2vw; */
  padding-top: 0;
  /* color: red; */
  /* color: #FFFFF5A0; */
}

.yc-title-1 {
  grid-row: 3;
  grid-column: 2;
  margin-top: 2em;
}

.yc-title-1 > h1 {
  white-space: nowrap;
}

.yc-subtitle-1 {
  grid-row: 4;
  grid-column: 2;
}

.yc-bullets-1 {
  grid-row: 5;
  grid-column: 2;
}

.yc-bullets-1 section {
  opacity: 0.8;
}

.yc-contact-1 {
  grid-row: 9;
  grid-column: 2;
  opacity: 0.25;
  margin: 3em 0;
  line-height: 1.5;
}

.yc-2 {
  background-color: white;
  color: black;
  text-align: left;
  padding-left: 2vw;
}

.yc-bg-2 {
  grid-row: 1 / span 9;
  grid-column: 3 / span 2;
}

.yc-name-2 {
  grid-row: 2;
  grid-column: 3;
  margin-top: 3em;
  /* color: #07101eA0; */
  padding-top: 0;
  /* padding-left: 1vw; */
  /* color: red; */
}

.yc-title-2 {
  grid-row: 3;
  grid-column: 3;
  margin-top: 2em;
}

.yc-title-2 > h1 {
  white-space: nowrap;
}

.yc-subtitle-2 {
  grid-row: 4;
  grid-column: 3;
  padding-top: 0;
}

.yc-bullets-2 {
  grid-row: 5;
  grid-column: 3;
}

.yc-bullets-2 section {
  opacity: 0.9;
}

.yc-tags {
  opacity: 0.6;
  font-weight: normal;
  padding-top: 1.25em;
  padding-bottom: 2em;
  font-size: smaller;
}

.yc-contact-2 {
  grid-row: 9;
  grid-column: 3;
  opacity: 0.25;
  margin: 3em 0;
  line-height: 1.5;
}

.yc-extra {
  grid-row: 6;
  grid-column: 2 / span 2;
  text-align: center;
  margin-top: 3em;
}

.yc-extra > section {
  padding: 2em 4em;
  background-color: #D0D0C7;
}

.yc-extra > section p {
  margin: 0.35em;
}

.yc-dim {
  opacity: 0.6;
}

/* tablet */
@media only screen and (max-width: 1279px) {
  body {
    font-size: 4vw;
  }
  h1 {
    font-size: 7vw;
  }
  
  h2 {
    font-size: 5vw;
  }
  
  h3 {
    font-size: 4vw;
  }
  section {
    max-width: initial;
  }

  .yc-matel {
    display: inline-block;
    position: absolute;
    transform: translate(-0.75ch, 0.5ch) rotate(-80deg);
    transform-origin: top left;
  }
}

/* phone */
@media only screen and (max-width: 760px) {
  body {
    font-size: 4vw;
  }
  h1 {
    font-size: 7vw;
  }
  
  h2 {
    font-size: 5vw;
  }
  
  h3 {
    font-size: 4vw;
  }
  section {
    max-width: initial;
  }
}

::-webkit-scrollbar
{
  width: 0.25em;
  height: 0.25em;
}

::-webkit-scrollbar-button
{
  width: calc(0.25em + 1px);
  height: calc(0.25em + 1px);

  background-color: rgba(127, 127, 127, 0.25);
}

::-webkit-scrollbar-button:vertical
{
  height: calc(0.25em + 2px);
}

::-webkit-scrollbar-button:vertical:increment
{
  border-top: 1px solid transparent;
}

::-webkit-scrollbar-button:vertical:decrement
{
  border-bottom: 1px solid transparent;
}

::-webkit-scrollbar-button:horizontal
{
  width: calc(0.25em + 2px);
}

::-webkit-scrollbar-button:horizontal:increment
{
  border-left: 1px solid transparent;
}

::-webkit-scrollbar-button:horizontal:decrement
{
  border-right: 1px solid transparent;
}

::-webkit-scrollbar-button:hover
{
  background-color: rgba(127, 127, 127, 0.6);
}

::-webkit-scrollbar-button:active
{
  background-color: rgba(127, 127, 127, 0.8);
}

::-webkit-scrollbar-thumb
{
  background-color: rgba(127, 127, 127, 0.4);
}

::-webkit-scrollbar-thumb:hover
{
  background-color: rgba(127, 127, 127, 0.6);
}

::-webkit-scrollbar-thumb:active
{
  background-color: rgba(127, 127, 127, 0.9);
}

::-webkit-scrollbar-track
{
  background-color: rgba(64, 64, 64, 0.25);
}

::-webkit-scrollbar-track:hover
{
  background-color: rgba(64, 64, 64, 0.4);
}

::-webkit-scrollbar-track:active
{
  background-color: rgba(64, 64, 64, 0.4);
}

::-webkit-scrollbar-corner
{
  background-color: rgba(64, 64, 64, 0.4);
}

/* ::selection
{
  background: black;
  border-radius: .25em;
} */
