/* Start of CSS Code for background color*/
body {
  background-color: lightblue;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  /* Adjust the 60px to match the height of your navbar */
  padding: 60px 0 0 0;
}

/* End of CSS Code for background color*/

/* Start of CSS Code for text color*/
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif
}

/* End of CSS Code for text color*/
.w3-row-padding img {
  margin-bottom: 12px
}

/* Set the width of the sidebar to 120px */
.bgimg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url('technical_image.jpg');
  min-height: 100%;
}

/* Set black background color, white text and some padding */
h1 {
  color: darkgreen;
  text-align: center;
  text-shadow: 2px 2px 5px darkgreen;
  font-size: 50px;
}

p {
  /* font-size: 25px; */
  color: darkgreen;
  /* text-align: center; */
}

h3 {
  color: darkgreen;
  /* text-align: center; */
  border-bottom: 2px double;
  text-shadow: 2px 2px 5px darkgreen;
}

/* Add a card effect for articles */
ul {
  color: darkgreen;
  text-align: center;
  font-size: 15px;
}

/* Clear floats after the columns */
h1 {
  text-align: center;
}

.main-content {
  p {
    padding-left: 5%;
    padding-right: 5%;
  }

  .details {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/* Style the header */
.logo {
  height: 58px;
  color: white;
  background-color: #333;
  position: fixed;
  top: 0;
  width: 30%;
  float: left;
  
  a {
    float: left;

    img {
      margin-left: 30%;
    }
  }

  .logotag {
    margin-top: 15px;
    margin-left: 30%;

    span {
      color: cyan;
      text-decoration: none;
      font-size: 20px;
      font-family: sans-serif;
      font-weight: bold;
    }
  }
}

.topnav {
  overflow: hidden;
  background-color: #333;
  /* Set the navbar to fixed position */
  position: fixed;
  /* Position the navbar at the top of the page */
  top: 0;
  /* Full width */
  width: 100%;
  /* place the logo and logo text inlined with navbar*/
  margin-left: 300px;
}

/* Style the header */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
  font-family: sans-serif;
  font-weight: bold;
  height: 30px;
  box-sizing: content-box;
  list-style-type: none;
}

/* Change color on hover */
.active {
  background-color: darkgreen;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link */
.dropdown {
  float: left;
  overflow: hidden;
}

/* Style the dropdown button to fit inside the topnav */
.dropdown .dropbtn .fa-caret-down {
  margin-left: 10px;
}

.dropdown .dropbtn {
  font-size: 20px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: sans-serif;
  margin: 0;
}

/* Style the dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  /* position: absolute; */
  background-color: #f9f9f9;
  min-width: 60px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

/* Style the links inside the dropdown */
.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  /* position: relative; */
  transition: opacity 300ms ease;
}

/* Add a dark background on topnav links and the dropdown button on hover */
.topnav a:hover,
.dropdown:hover .dropbtn {
  /* background-color: #555; */
  color: white;
  /* color: #333; */
  background-color: darkgreen;
  border: 0;
}

/* Add a grey background to dropdown links on hover */
.dropdown-content a:hover {
  /* background-color: #ddd;
  color: black; */
  color: white;
  /* color: #333; */
  background-color: darkgreen;
  border: 0;
}

/* Show the dropdown menu when the user moves the mouse over the dropdown button */
.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {

  .topnav a:not(:first-child),
  .dropdown .dropbtn {
    display: none;
  }

  /* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link */
  .topnav a.icon {
    float: right;
    display: block;
  }
}

.topnav a.icon {
  float: right;
  display: block;
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
  }

  /* Hide the link that should open and close the topnav on small screens */
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  /* Add a dark background on topnav links and the dropdown button on hover */
  .topnav.responsive .dropdown {
    float: none;
  }

  /* Add a grey background to dropdown links on hover */
  .topnav.responsive .dropdown-content {
    position: relative;
  }

  /* Show the dropdown menu when the user moves the mouse over the dropdown button */
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

/* End of CSS Code for background color*/
ul {
  text-align: left;
}