* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", Verdana, sans-serif;
  background-color: #fff;
}

main {
  background-color: #fff;
  min-height: 80vh;
  padding: 1em 0;
  width: 100%;
  max-width: 1300px;
  margin: auto;
  min-height: 600px;
  padding: 15px;
}

.container {
  margin: 0 auto;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  border: 0px solid rgb(14, 29, 28);
  background-color: rgb(241, 234, 236);
}

iframe {
  width: 100%;
}

.screens {
  width: 45%;
}

.info {
  width: 55%;
  padding: 1%;
  padding-left: 2%;
  text-align: left;
  box-sizing: border-box;
}

article {
  border-radius: 4px;
  width: 100%;
  margin: 1em auto;
  margin-bottom: 6rem;
  padding: 1rem;
  padding-top: 0;
  position: relative;
  box-sizing: border-box;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  background-color: #fff;
}

.flex {
  display: flex;
  flex-direction: row;
}

section {
  position: relative;
  padding: 1rem;
  background-color: white;
  margin: 0rem 2rem 2rem 2rem;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
}

#skills {
  padding: 1em;
  display: block;
}

.banners {
  position: absolute;
  top: 20%;
  left: 82%;
  width: 22%;
}

.banner {
  color: white;
  background-color: rgb(109, 9, 34);
  padding: 8px;
  height: 1.5em;
  font-weight: bold;
  border: 2px solid rgb(228, 67, 106);
  margin: 1em;
  text-align: justify;
  border-radius: 4px;
  font-size: 0.8em;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  transition: background-color 1s, translate 1s;
}

.banner:hover {
  translate: 4px 0px;
  background-color: rgb(255, 136, 166);
}

.bannered {
  padding-right: 10%;
}

img {
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
img.hori {
  max-width: 100%;
}

#social {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  margin-top: 1rem;
}

#resume {
  color: rgba(255, 243, 220, 1);
  background-color: rgb(14, 29, 28);
  border-radius: 0.9rem;
  margin-left: 1rem;
  margin-top: 1rem;
  padding: 0.5rem;
  height: 3em;
  transition: background-color 1s, translate 1s;
  text-align: center;
  color: white;
  background-color: rgb(109, 9, 34);
  padding: 8px;
  font-weight: bold;
  border: 2px solid rgb(228, 67, 106);
  margin: 1em;
  text-align: justify;
  font-size: 0.8em;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.item {
  color: rgba(255, 243, 220, 1);
  background-color: rgb(14, 29, 28);
  border-radius: 0.9rem;
  margin: 0.1rem;
  padding: 0.5rem;
  height: 5rem;
  width: 5rem;
  transition: background-color 1s, translate 1s;
}

.item:hover,
#portfolio:hover,
#resume:hover {
  translate: 0px -4px;
  background-color: rgb(109, 9, 34);
}

#resume:hover {
  translate: 0px -4px;
  background-color: rgb(255, 136, 166);
}

.item > a {
  color: white;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

#resume > a {
  color: white;
  height: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}

.item img {
  margin: 8px;
  height: 100%;
  width: 4rem;
  object-fit: contain;
}

.skill {
  display: inline-block;
  font-weight: bold;
  background-color: rgb(255, 136, 166);
  border: 2px solid white;
  padding: 0.5em;
  margin: 0.1em;
  text-align: justify;
  border-radius: 4px;
  font-size: 0.8em;
  box-shadow: 0px 0px 0px 2px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  transition: translate 1s;
}

.skill:hover {
  translate: 0px -4px;
}

li {
  margin: 0em 1em;
}

ul {
  margin-bottom: 1em;
  padding-left: 1rem;
}

.gametitle {
  position: relative;
  left: -1rem;
  background-color: rgb(228, 67, 106);
  margin-bottom: 1.5em;
  font-size: 0.9rem;
  display: block;
  padding-bottom: 0.2rem;
  margin-right: -2rem;
}

.gametitle > span {
  font-size: 0.9rem;
  width: 100%;
  padding: 0rem 3rem;
  margin-left: -1rem;
  margin-bottom: 1em;
  margin-right: -1rem;
}

#mobile {
  opacity: 0.5;
  line-height: 2.5rem;
  visibility: hidden;
  font-size: 2.5rem;
  box-sizing: border-box;
  position: fixed;
  padding: 0.5rem 0.5rem;
  top: 1.5%;
  right: 1.5%;
  background-color: white;
  border-radius: 4px;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  z-index: 2;
  text-align: left;
}

#mobile:hover {
  opacity: 1;
}
#mobile span {
  display: none;
  font-size: 1.5rem;
}

p,
table {
  padding: 0 1rem;
}
hr,
p {
  margin-bottom: 1em;
}

nav {
  position: fixed;
  top: 25%;
  right: 0;
  background-color: beige;
  width: 10%;
  min-width: 150px;
  padding: 1em;
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  background-color: white;

  margin: 1em;
  border: 6px solid rgb(14, 29, 28);
}

h1,
h2,
h3 {
  background-color: rgb(14, 29, 28);
  color: white;
  display: block;
  max-width: 100%;
  font-family: "Roboto Mono", Verdana, sans-serif;
  padding: 0.25rem 2rem;
}

h1 {
  font-size: 1.9rem;
  font-family: "Copperplate Gothic", Verdana, sans-serif;
  padding-bottom: 1em;
}
h2 {
  font-size: 1.25rem;
}
h3 {
  font-size: 1.1rem;
  margin-left: -1rem;
  margin-bottom: 1em;
  margin-right: -1rem;
  background-color: rgba(14, 29, 28, 0.85);
}

a {
  color: rgb(228, 67, 106);
  text-shadow: 1px 1px 2px rgba(175, 1, 48, 0.5);
  transition: color 0.75s;
}
a:hover {
  color: white;
  color: rgb(109, 9, 34);
}

.banners > a,
nav a,
#resume > a,
#mobile a {
  text-decoration: none;
}

figcaption {
  font-size: 0.8em;
  margin-top: 0.5em;
  max-width: 100%;
  text-align: center;
}

figure {
  background-color: rgba(14, 29, 28, 0.85);
  color: white;
  box-shadow: 1px 1px 5px 2px rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0;
  margin-bottom: 1rem;
}
figcaption {
  padding: 0.25em 0.5em 1em 0.5em;
}

footer {
  background-color: rgb(14, 29, 28);
  text-align: center;
  padding: 1em;
  font-size: 0.8rem;
  color: rgb(255, 255, 255, 0.9);
}

.info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

table {
  margin-bottom: 1rem;
}

@media (max-width: 1600px) {
  nav {
    visibility: hidden;
  }
  #mobile {
    visibility: visible;
  }

  #mobile:hover span {
    display: inline;
  }
}

@media (max-width: 1100px) {
  .banners {
    position: relative;
    left: 0;
    width: 40%;
  }

  .bannered {
    padding-right: 0;
  }
}

@media (max-width: 800px) {
  nav {
    display: none;
  }

  iframe {
    max-width: 100%;
  }

  main {
    width: 100%;
    padding: 0;
    margin: 0;
  }
  article {
    width: 100%;
    padding: 1rem 0;
  }
  .flex {
    flex-direction: column;
  }

  figure {
    width: 100%;
    margin-bottom: 20px;
  }
  .screens {
    width: 100%;
  }
  .info {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  nav {
    visibility: hidden;
  }

  section {
    margin: 0rem 0.5rem 0.5rem 0.5rem;
  }

  .gametitle {
    margin-top: -1rem;
    margin-right: -1rem;
  }

  .item {
    height: 4rem;
    width: 4rem;
  }
}
