* {
  margin: 0;
  padding: 0;
}

html {
  /* want 1 rem = 10 px */
  /* default browser font size 16 px */
  /* 10 / 16 = 0.625 */
  font-size: 62.5%;
}

@font-face {
  font-family: "OPTIAmway";
  src: url("OPTIAmway.ttf.woff") format("woff"),
    url("OPTIAmway.ttf.svg#OPTIAmway") format("svg"), url("OPTIAmway.ttf.eot"),
    url("OPTIAmway.eot?#iefix") format("embedded-opentype");
}

@font-face {
  font-family: "asulregular";
  src: url('asul-regular-webfont.woff2') format('woff2'),
       url('asul-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: "marcellus_scregular";
  src: url('marcellussc-regular-webfont.woff2') format('woff2'),
       url('marcellussc-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.container {
  /* width: 1400px; */
  width: 97%;
  margin: 0 auto;
}

.logo {
  display: block;
  margin-top: 0.5rem; /* 5px */
  margin-left: auto;
  margin-right: auto;
  width: 6rem; /* 60px */
  height: auto;
}

.mcmaster {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  height: auto;
}

.name {
  margin-top: 1rem; /* 10px */
  text-align: center;
}

.container {
  display: grid;
  grid-template-columns: 15rem 1fr;
  grid-template-rows: 10rem 1fr;
  align-items: start;
  margin-top: 1.5%;
  row-gap: 1rem;
  column-gap: 5rem;
}

.main-header {
  /* display: grid; */
  /* align-items: center; */
  /* justify-content: space-between; */
  /* justify-content: left; */
  grid-column: 1;
  grid-row: 1;
  justify-self: left;
  /* row-gap: 10px; */
}

article {
  margin-bottom: 0.5rem;
  grid-column: 2;
  grid-row: 2;
}

.menu {
  font-size: 1.8rem;
  text-align: left;
  grid-column: 1;
  grid-row: 2;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
}

.menu a:link {
  /* margin-right: 4rem; */
  /* margin-top: 5px; */
  margin-bottom: 1.5rem;
  display: block;
}

.menu a:link:last-child {
  margin-right: 0;
}

a:link {
  color: black;
  text-decoration: none;
}

a:visited {
  color: black;
}

a:hover {
  color: #0006ce;
  /* font-weight: bold; */
  text-decoration: underline #0006ce;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* a:active {
  font-style: italic;
} */

.name {
  letter-spacing: 0.2rem;
}

.main-header {
  /* background-color: #f5f5f4; */
  padding: 0rem 0rem 0rem 0rem;
  /* font-family: "Bellefair"; */
  font-family: "marcellus_scregular";
  font-size: 4.4rem;
  font-weight: 550;
  line-height: 100%;
}

.custom-y {
  font-family: "OPTIAmway";
  font-size: 4.125rem; /* 3/3.2 times */
}

/* .custom-e {
  font-family: "OPTIAmway";
  font-size: 3rem;
} */

a.name:link {
  color: black;
  text-decoration: none;
}

a.name:visited {
  color: black;
}

a.name:hover {
  color: #0006ce;
  /* font-weight: bold; */
  /* text-decoration: underline #0006ce; */
  /* text-decoration-thickness: 1px; */
  /* text-underline-offset: 4px; */
}

@media only screen and (max-width: 768px) {
  .container {
    width: 100%;
    grid-template-columns: 15% 85%;
    /* 20.5% 79.5% */
    grid-template-rows: auto;
    margin-top: 0px;
    margin-left: 4px;
  }

  .main-header {
    transform: scale(0.8);
    transform-origin: top left;
    justify-self: left;
    text-align: left;
  }

  .menu {
    text-align: left;
    margin-top: 20px;
    font-size: 1.44rem; /* 20% smaller than 1.8rem */
    /* max-width: 68px; */
  }

  .mcmaster {
    margin-top: 20px;
    margin-left: 0;
    justify-self: left;
  }
}