* {
  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;

}

html {
  overflow: hidden;
}

h2 {
  font-size: 26px;
  margin-bottom: 10px;
  font-weight: 400;
}

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

.logo {
  display: block;
  margin-top: 5px;
  margin-left: auto;
  margin-right: auto;
  width: 60px;
  height: auto;
}

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

.name {
  margin-top: 10px;
  text-align: center;
}

.container {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: 100px 700px;
  /* max-height: 570px; */
  align-items: start;
  margin-top: 1.5%;
  row-gap: 10px;
  column-gap: 50px;
}

.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: 5px; */
  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: 40px; */
  /* margin-top: 5px; */
  margin-bottom: 15px;
  display: block;
}

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

.menu a:link:nth-child(1) {
  font-weight: bolder;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  row-gap: 5%;
  margin-left: 10%;
  margin-right: 10%;
  height: 86%;
  overflow-y: scroll;
  overflow-x: hidden;
}

.edu-table ul li {
  margin: 0;
  padding: 6px 0 6px 36px;
  list-style: none;
  background-image: url("img/ed.png");
  background-repeat: no-repeat;
  background-position: left top;
  padding-top: 0px;
  background-size: 25px;
  /* font-size: 18px; */
}

.edu-table ul li {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.school {
  color: #6b7280;
}

.ri-table ul li {
  margin-left: 18px;
  padding-top: 0px;
  padding-bottom: 6px;
  /* font-size: 18px; */
}

.ri-table {
  margin-bottom: 0px;
}

.me {
  margin-bottom: 10px;
}

.pic-and-text {
  display: flex;
  align-items: center;
  gap: 30px;
}

.me-text {
  height: 100%;
  width: 75%;
}

.me-text p {
  text-align: justify;
}

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

a:visited {
  color: black;
}

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

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

/* text font size */
p,
li {
  font-size: 18px;
  line-height: 1.5;
}

.name {
  letter-spacing: 0.2rem;
}

.main-header {
  /* background-color: #f5f5f4; */
  padding: 0px 0px 0px 0px;
  /* 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;
}

/* .custom-e {
  font-family: "OPTIAmway";
  font-size: 30px;
} */

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%;
    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;
  }

  .content {
    max-height: 800px;
    max-width: 80%;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
    padding-right: 100px; /* Add some inner spacing */
  }

  .pic-and-text {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .me-pic {
    margin: 0 auto;
  }

  .me-text {
    width: 100%;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  p,
  li {
    font-size: 16px;
  }

  .interest {
    margin-bottom: 110px;
  }
}
