/* GO TO TOP BTN  */

#myBtn {
  font-size: 1rem;
  display: none;
  position: fixed;
  bottom: 120px;
  right: 45px;
  z-index: 99;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px 22px;
  border-radius: 50%;
  background-color: rgb(20, 20, 20);
  border: none;
  font-weight: 600;
  box-shadow: 0px 0px 0px 6px rgba(39, 153, 229, 0.253);
  cursor: pointer;
}

/*#goToTopButton {*/
/*  width: 50px;*/
/*  height: 50px;*/
/*  border-radius: 50%;*/
/*  background-color: rgb(20, 20, 20);*/
/*  border: none;*/
/*  font-weight: 600;*/
/*  display: flex;*/
/*  align-items: center;*/
/*  justify-content: center;*/
/*  box-shadow: 0px 0px 0px 6px rgba(39, 153, 229, 0.253);*/
/*  cursor: pointer;*/
/*  overflow: hidden;*/
/*  position:absolute;*/
/*  color: white;*/
/*  top: 80%;*/
/*  left:93.5%;*/
/*  position: fixed;*/
/*  transition: transform .2s ease-out;*/
/*}*/
/*#gotop{*/
/*  text-decoration: none;*/
/*  color: white;*/
/*}*/
/*#goToTopButton:hover{*/
/*  transform: scale(1.30); */
/*}*/

/*1*/

#list-wrap{
  padding: 0 2rem;
}
#list-wrap h3{
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  word-spacing: 10px;
  color: rgb(81, 81, 81);
  font-family: monospace;
}
#list-wrap h3 span{
  color: rgb(0, 145, 255);
}
#list-wrap ul{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding-left:0;
}
#list-wrap ul li{
  padding: 10px;
  margin: 0 0 10px 10px;
  text-align: center;
  color: #aba9a9;
  font-size:17px;
  position: relative;
}

#list-wrap ul li a{
  color: #aba9a9;
  text-decoration: none;
}
#list-wrap #active-topic{
  font-size: 17px;
  color: rgb(255, 255, 255);
  background-color: rgb(39, 133, 255);
  font-weight: 600;
  border-radius: 25px;
  padding: 10px 20px;
}
#list-wrap ul li::after{
  content:'';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color:rgb(39, 133, 255);
  transform-origin: bottom center;
  transition: transform 0.25s ease-out;
}
#list-wrap ul li:hover::after{
  transform: scaleX(1);
  transform-origin: bottom center;
}

/*2*/

.main-blog-heading{
  text-align: center;
  margin-bottom: 3rem;
  margin-top:3rem;
  padding: 1rem 0;
}
.main-blog-heading h1{
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-family: monospace;
}
.main-blog-heading p{
  font-size: 1.5rem;
}

/*3*/

.current-topics{
  background-color: rgb(0, 6, 75);
  padding: 1rem 3rem;
  margin-bottom:4rem;
}
.current-topics ul{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom:0;
  padding-left:0;
}
.current-topics ul li{
  padding: 20px;
  text-align: center;
  font-size: 18px;
  position: relative;
}
.current-topics ul li a{
  text-decoration: none;
  color: white;
}
.current-topics ul li::after{
  content:'';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0px;
  left: 0;
  background-color:rgb(39, 133, 255);
  transform-origin: bottom center;
  transition: transform 0.25s ease-out;
}
.current-topics ul li:hover::after{
  transform: scaleX(1);
  transform-origin: bottom center;
}


/* HSRP PAGE CONTENT */
.hsrp-content {
  color: #000000;
  font-size: 20px;
  line-height: 1.6;
  text-align: justify;
}

.hsrp-content p {
  margin-bottom: 1.5rem;
}

.hsrp-content h2,
.hsrp-content h3 {
  color: rgb(1, 115, 255);
  font-weight: bold;
}

.hsrp-content h2 {
  font-size: 2rem;
}

.hsrp-content h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.hsrp-content ul {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  padding-left: 2rem;
}

.hsrp-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  padding-left: 2rem;
}

.hsrp-content li {
  margin-bottom: 0.4rem;
}

.hsrp-content .content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.5rem auto;
}

.hsrp-content .content-image.hsrp-diagram {
  width: 60%;
}

.hsrp-content .content-image.packet-capture {
  width: 70%;
}

.hsrp-content .command-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 2rem;
  color: #000000;
}

.hsrp-content .command-table th,
.hsrp-content .command-table td {
  border: 1px solid #333333;
  padding: 10px;
  vertical-align: top;
  text-align: left;
}

.hsrp-content .command-table th {
  font-weight: bold;
  background-color: #f5f5f5;
}

.hsrp-content .command-table pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 16px;
}

.hsrp-content .note {
  margin: 1rem 0;
  padding: 12px 16px;
  border-left: 4px solid rgb(1, 115, 255);
  background: #f5f5f5;
}

.hsrp-content .command-block {
  background: #f5f5f5;
  border: 1px solid #dddddd;
  padding: 15px;
  margin: 1rem 0 1.5rem;
  overflow-x: auto;
}

.hsrp-content .command-block pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 16px;
  color: #000000;
}

@media (max-width: 768px) {
  .hsrp-content {
    font-size: 18px;
  }

  .hsrp-content h2 {
    font-size: 1.7rem;
  }

  .hsrp-content h3 {
    font-size: 1.3rem;
  }

  .hsrp-content .content-image.hsrp-diagram,
  .hsrp-content .content-image.packet-image {
    width: 100%;
  }

  .hsrp-content .command-table {
    font-size: 15px;
  }

  .hsrp-content .command-table th,
  .hsrp-content .command-table td {
    padding: 7px;
  }
}
