*{
  margin: 0;
  padding: 0;
}

body {
      font-family: 'Roboto', sans-serif;
      font-size: 22px;
      font-weight: 400;
      line-height: 1.4;
      color: black;
      text-align: center;
      font-family: 'Roboto' monospace;
  }

#header{
  position: fixed;
  top:0;
  left: 0;
  z-index: 11;
  width: 100%;
  margin: 0;
  height: 75px;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bolder;
  font-variant: small-caps;
  box-shadow: rgba(0,0,0,.33) 0 4px 16px;
  color: black;
  background-color: white;
}
#logo{
  margin-left: 5px;
  width: 30vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 100%;
}
#logo > img{
  margin-right: 5px;
  height:3vw;
  width: 3vw;
}
.nav-list{
  list-style: none;
  display: flex;
  flex-direction: row;
  margin-right: 15px;
}
.nav-link{
  text-decoration: none;
  color: inherit;
  margin-left: 10px;
}

/* index page */
main{
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin: 90px 20px 20px 20px;
}
.info-wrapper{
  display: flex;
  flex-direction: column;
}
#quotes{
  margin-top: 70px;
  margin-right:50px;
}
#quotes > p{
  max-width: 400px;
  margin-top: 20px;
}
#intro-section, #more-section{
  display: flex;
  flex-direction: row;
  margin:50px;
  max-width: 600px;
  color: black;
  font-family: 'Roboto',Arial,sans-serif;
  padding: 12px;
}
#intro-section{
  border:2px solid black;
}
h2{
  margin-bottom: 4px;
  font-size: 36px;
  font-weight: 600;
}
.bottom{
  height:4px;
  width: 40px;
  border-bottom: solid black 3px;
  margin-bottom: 20px;
}
.intro-malbolge{
  max-width: 500px;
  text-align: justify;
}
.code{
  background-color: #dfdfe2;
  font-size: 14px;
  padding: 10px;
  margin-bottom: 20px;
}
section > img {
  width: 100%;
  height:100%;
}
@media(max-width:900px){
  #quotes{
    margin-left: 15px;
  }
  #intro-section{
    margin: 50px 10px 10px 10px;
  }
}

.opinion{
  font-style: italic;
  text-align: justify;
}
.author{
  text-align: right;
  margin-top: 5px !important;
}
.code-sample{
  margin-top: 40px;
  margin-right: 20px;
  border: 2px solid black;
  padding: 10px;
}
.code-sample > img{
  width:400px;
  height:250px;
}
@media (max-width:819px){
  main{
    flex-direction: column;
  }
  #quotes > p{
    max-width: 90%;
    }
  section{
    max-width:82vw;
  }
  .intro-malbolge{
    max-width: 90%;
  }
  #more-section{
    margin: 10px;
  }
  .code{
    word-break: break-all;
  }
}

@media(max-width:496px){
  p{
    font-size: 1.2rem;
  }
  .nav-link{
    font-size: 1rem;
  }
  .code-sample > img{
    width:97%;
    height:80%;
  }
}
footer{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  height:80px;
  color:rgba(255,255,255,.8);
  background-color: black;
  font-size: 0.9rem;
  font-weight: 30;
  letter-spacing: 2px;
}
