* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
  }
  
/* layover beggining */
/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: rgb(0,0,0); /* Black fallback color */
  background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 45px;
  font-size: 60px;
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/* layover end */

/* The navigation menu */
.navbar {
  overflow: hidden;
  background-color: #333;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: white;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

/* Add a red background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: rgb(22, 22, 148);
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  left: 0;
  background-color: rgb(22, 22, 148);
  width: 50%;
  z-index: 1;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: #eee;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
  display: block;
}
/* the navbar end */


body {
    position: relative;
}

header {
    /* background-image: url(/images/a.png); */
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 170px;
    width: auto;
    position: relative;
  }
  
  h1 {
    float: right;
    color: white;
    text-align: top;
    padding: 20px;
    height: -80px;
    text-shadow: 3px 3px 2px white;
    text-shadow: 2px 2px 2px black;
  }


  header img {
      width: 170px;
      height: 170px;   
      float: left;
  }

  span {
    font-size: .85em;
  }

h2 {
    margin: 20px;   
}

h3 {
    margin:5px;
    margin-left: 20px;
}

p {
    text-align: left;
    margin-left: 30px;  
}

 /* width */
 ::-webkit-scrollbar {
    width: 7px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #c0bbb9;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: rgb(83, 80, 80);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: rgb(43, 2, 138);
  }
    
  /*footer start*/
  .col-container {
    display: table; /* Make the container element behave like a table */
    width: 100%; /* Set full-width to expand the whole page */
    background-color: black;
    color: white;
    padding: 40px;
    padding-left: 270px;
    font-size: 1.27em;
  }
  
  .col-container a {
    text-decoration: none;
    color:white;
    
  }
  
  .col-container a:hover {
    background-color: white;
    color: black;
  }
  .col {
    display: table-cell; /* Make elements inside the container behave like table cells */
    padding: 30px;
  }
  
  .copyright {
    color: black;
    padding: 0px;
  }
  /*footer end*/

  @media screen and (max-width: 1200px) {

    body {
        width: 100vw;
    }
    header {
      /* background-image: url(/images/a.png); */
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 130px;
      width: auto;
      position: relative;
    }
    
    h1 {
      font-size: 1.7em;
      float: right;
      color: white;
      text-align: top;
      padding: 20px 20px;
      height: 80px;
      text-shadow: 3px 3px 2px white;
      text-shadow: 2px 2px 2px black;
    }

  
    header img {
        width: 130px;
        height: 130px;   
        float: left;
    }
  
    
    nav a h2 {
        text-align: center;
        color: grey;
        text-decoration: none;
        text-shadow: 1px 1px 1px black;
    }
    
    
    article {
        width: 98vw;
    }
    
    article img {
        width: 78vw;
        height: auto;
        
    }
    
    article h2{
        color: grey;
        text-shadow: 1px 1px 1px black;
        text-align: center;
    }
    
    aside {
        display:none;
    }
    
    /*footer start*/
.col-container {
    display: table; /* Make the container element behave like a table */
    width: 100%; /* Set full-width to expand the whole page */
    background-color: black;
    color: white;
    padding: 40px;
    padding-left: 0px;
    font-size: 1.27em;
  }
  
  .col-container a {
    text-decoration: none;
    color:white;
    
  }
  
  .col-container a:hover {
    background-color: white;
    color: black;
  }
  .col {
    display: table-cell; /* Make elements inside the container behave like table cells */
    padding: 30px;
  }
  
  /*footer end*/

}

@media screen and (max-width: 640px){
  
    body {
      width: 100vw;  
  }

  header {
    /* background-image: url(/images/a.png); */
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 60px;
    width: auto;
    position: relative;
  }
  
  h1 {
    float: right;
    text-align: top;
    text-shadow: 3px 3px 2px black;
    text-shadow: 2px 2px 2px black;
    font-size: .9em;
    padding: 5px 5px;
    height: 60px;
  }

  header img {
      width: 60px;
      height: 60px;   
      float: left;
  }
}


@media screen and (max-width: 600px){

    body {
        width: 100vw;   
    }
  
    header {
      /* background-image: url(/images/a.png); */
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 60px;
      width: auto;
      position: relative;
    }
    
    h1 {
      float: right;
      text-align: top;
      text-shadow: 3px 3px 2px black;
      text-shadow: 2px 2px 2px black;
      font-size: .9em;
      padding: 5px 5px;
      height: 60px;
    }
  
    header img {
        width: 60px;
        height: 60px;   
        float: left;
    } 
    
    nav {
        justify-content: center;
        text-align: center;
    }


    nav a h2 {
        text-align: center;
        color: grey;
        text-decoration: none;
        text-shadow: 1px 1px 1px black;
    }
    
    
    article {
        position: relative;
        width: 98vw;
        justify-content: center;
    }
    
    article img {
        width: 90vw;
        height: auto;
        margin: 1px;
        
    }
    
    article h2{
        color: grey;
        text-shadow: 1px 1px 1px black;
        text-align: center;
    }

    aside {
        display:none;
    }

/* footer start */
.col {
    display: block;
    width: 100%;
  }
  /* footer end*/
  }
  


@media screen and (max-width: 280px){

    header {
      /* background-image: url(/images/a.png); */
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 60px;
      width: auto;
      position: relative;
    }
    
    h1 {
      float: right;
      text-align: top;
      text-shadow: 3px 3px 2px black;
      text-shadow: 2px 2px 2px black;
      font-size: .7em;
      padding: 5px 5px;
      height: 40px;
    }
  
    header img {
        width: 60px;
        height: 60px;   
        float: left;
    }
}  

@media screen and (max-width: 240px){

    header {
      /* background-image: url(/images/a.png); */
      background-repeat: no-repeat;
      background-size: cover;
      min-height: 45px;
      width: auto;
      position: relative;
    }
    
    h1 {
      float: right;
      text-align: top;
      text-shadow: 3px 3px 2px black;
      text-shadow: 2px 2px 2px black;
      font-size: .7em;
      padding: 5px 5px;
      height: 40px;
    }
  
    header img {
        width: 41px;
        height: 41px;   
        float: left;
    }
}  
