/* -------------- navigation section --------------- */

.name-title{
  color: white;
  float: left;
  margin-left: 0.5em;
  margin-top: auto;
  margin-bottom: auto;
}
.name-container{
      align-self: center;
}
.main-nav{
  background-color: black;
  height: 3em;
  text-align: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr 50% 1fr;
  justify-content: center;
  gap:3em;
  z-index: 10;


}
.nav-list{
  display: flex;
  justify-content: center;
  gap:1em;
  height: 100%;
  margin: 0;
}
.nav-theme{
    color: white;
    font-size: 1em;
    margin-top: auto;
    margin-bottom: auto;
    list-style-type: none;
}
.nav-theme:hoverm+{
  color: black
}


.nav-button{
  height: 100%;
  padding-left: 0.5em;
  padding-right: 0.5em;
}
.nav-button:hover{
  background-color: white;
}
.nav-link{
  position: relative;
  top: 25%;
  align-self: center;
}


}
li{
  display: inline-block;

}


/* -------------- Titlesection --------------- */

header{
  width: 100%;
  text-align: center;
  display: block;
  padding-top:5em;
}

.main-title{
  width: 25em;
}
.blog-title{
  margin-bottom: 0
}
.title-caption{
  font-size: 0.85em;
  margin-top: 0;
}


/* -------------- Picture section --------------- */

.blog-pic-container{
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 60%;
  height: 25em;
  outline: black solid 0.1em;
  margin-bottom: 0.5em;

}
.blog-pic{
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  max-width: 100%;
}
/* --------------- blog section -------------------*/

.blog-post{
  width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.blog-text{
  font-size: 1.2em;
  line-height: 1.8em;
}
.section-header{
  font-size: 1.5em;
}

/* ---------------- code section -------------------*/
.code-title{
  color:white;
  text-align: center;
  padding-left: 0.5em;
  padding-top: 0.5em;
  margin-top: 0;
}
.code-box{
  background-color: #212a30;

}
code{
  color:white;
}
.code-tag{
  margin: 0;
  background-color: #212a30;

  width: 10%;
  padding: 0.2em;
  color: white;
  text-align: center;
  border-radius: 10% 10% 0 0;
  }

/* ------------- link section -----------------------*/
.helpful-links-box{
  background-color: #212a30;
  text-align: center;
  padding-bottom: 1em;

}

.link-title{
  padding-top: 1em;
  color: white;
}

.helpful-link{
  color: white;
}
.helpful-link:hover{
  color: blue;
}

/* ------------- Arrows ----------------------------------------- */
.next-blog-slection{
  display: flex;
  justify-content: center;
  gap: 7em;
  margin-top: 1em;
  text-align: center;
}
