:root {
  /* Set sans-serif & mono fonts */
  --sans-font: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir,
    "Nimbus Sans L", Roboto, "Noto Sans", "Segoe UI", Arial, Helvetica,
    "Helvetica Neue", sans-serif;
  --mono-font: Consolas, Menlo, Monaco, "Andale Mono", "Ubuntu Mono", monospace;
}

.background {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), /* Grid horizontal lines */
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent 1px), /* Grid vertical lines */
    linear-gradient(to right, rgba(255, 0, 0, 0.07), rgba(0, 0, 255, 0.07)); /* Full-page gradient */
  background-size: 10px 10px, 10px 10px, cover; /* Different sizes for each layer */
  background-color: rgb(33, 33, 33); /* Base color */
  margin: 0;
  font-family: sans-serif;
  color: rgb(220, 220, 220);
}

.menu-button {
  background-color: #111;
  width: 62px;
  height: 62px;
  float: left;
  border-radius: 50%;
  margin-left: 10px;
  border: 0;
}

.menu-button:hover {
  background-color: rgb(66, 66, 66);
}

.menu-button svg {
  width: 25px;
  height: 25px;
}

.header-image {
  float: left;
  margin-left: 15px;
  border-radius: 25px;
}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s ease;
  padding-top: 0;
  text-align: left;
  opacity: 0;
}

.sidenav a {
  text-decoration: none;
  font-size: 46px;
  color: rgb(220, 220, 220);
  display: block;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  margin-left: 10px;
}

.sidenav a:hover {
  color: rgb(255, 165, 11);
  background-color: rgba(255, 255, 255, 0.1);
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  font-size: 46px;
  left: 326px;
  width: 62px;
  height: 62px;
  text-align: center;
  vertical-align: middle;
}
.sidenav .closebtn:hover {
  background-color: red;
  color: rgb(220, 220, 220);
}

.myHeader {
  background-color: rgb(17, 17, 17);
  width: 100%;
  display: inline-block;
  font-size: 46px;
  padding-top: 0;
  top: 0;
  left: 0;
  margin: 0;
}

.textBlock {
  width: 50%;
  float: left;
  font-size: 1.15rem;
}

a {
  color: orange;
}

.leftBuffer {
  width: 25%;
  height: 1px;
  float: left;
  color: rgb(33, 33, 33);
}

* {
  box-sizing: border-box;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.content-image {
  margin-left: 20px;
  width: 60%;
  border-radius: 15px;
}

.content {
  width: 100%;
  display: inline-block;
  font-family: var(--sans-font);
}

.blogpost {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 15px;
  padding-top: 0;
  margin-bottom: 20px;
  border-radius: 15px;
  border: 1px solid black;
}

.blogpost h1 {
  margin-top: 5px;
}

.tool-textarea {
  width: 100%;
  height: 400px;
  border-radius: 5px;
  font-size: 16px;
}

.tool-button {
  font-size: 16px;
  height: 38px;
  padding: 6px;
  padding-left: 12px;
  padding-right: 12px;
  margin-top: 10px;
  color: #fff;
  background-image: linear-gradient(to right, #2b5876 0%, #4e4376  51%, #2b5876  100%);
  background-size: 200% auto;
  border-radius: 10px;
  border-width: 1px;
  border-color: #111;
  text-transform: uppercase;
  transition: 0.5s;
}

.tool-button:hover{
  background-position: right center; /* change the direction of the change here */
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 800px) {
  .textBlock {
    width: 100%;
    padding: 20px;
    padding-top: 0;
  }
  .leftBuffer {
    height: 0;
    width: 100%;
    padding: 0;
    top: 0;
  }
  .content-image {
    width: 90%;
  }
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1.25rem;
  }
}
