  body {
      background-color: black;
      display: block;
      padding: 1em;  
         position: absolute;
            margin: 0;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
        max-width: 1040px;
    width: 90%;
    margin: auto;
      font-family: Arial, Helvetica, sans-serif;
  }

.container {
    max-width: 960px;
    width: 96%;
    margin: auto;
}

/* HEADER */

header {
    display: block;
    background-color: #262626;
    margin-bottom:10px; 
    overflow: auto;
    
}

nav {
    float: right;
    line-height: 55px;
    color: white;
    
}

nav li a {
    color: inherit;
    text-decoration: none;
}


/*HOVER*/
nav li:hover{
    
     background-color: gold;
     color: white;
     text-decoration: none;
}


nav li {
    display: inline-block;
    padding: 20px 25px;
    margin-left: 15px;
    background-color: #262626;
    line-height: normal;
    
}

nav li.active {
    background-color: gold;
    color: white;
    text-decoration: none;
}

nav li:hover:not(.active) {
    background-color: gold;
    color: white;
    text-decoration: none;
}

main {
    display: block;
    background-color: #262626;
    margin-bottom:10px; 
    overflow: auto;
    border-style:solid;
    border-width:5px;
    border-color:dimgrey;
    width: auto;
 
}
    
main p {
     text-align: center;
    color: white;
    font-size: 150%;
}

.center {
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 50px;
}

.topic {
    display: block;
    background: #e60000;
    overflow:auto;
    padding: 20px 25px;
    margin-bottom: 10px;
   border-style:solid;
    border-width:3px;
    border-color: black;
    width: auto;
}
    footer {
     display: block;
    background-color: #262626;
    margin-bottom:10px; 
    overflow: auto;
    line-height: normal;
        }

footer p{
    text-align: right;
    color: white;
}



@media only screen and (min-width: 325px) and (orientation: portrait) and (max-width: 768px) {
    .container {
          font-size: 75%;
    }
    .navigation{
       width:400px;
       float:left;
       padding: inherit;
        font-size:70%;
        height: 58px;
        text-decoration: none;
    }
   
    header{
        width: 100%;
        max-block-size: height: 58px;
    }
        
        .center {
          margin-bottom: 1px;
        }
    
    .topic {
        padding: 3%;
        border-width:2px;
      
    }
    
      }


      @media only screen and (min-width: 325px) and (orientation: landscape) and (max-width: 768px) {
    .container {
          font-size: 75%;
    }
    .navigation{
       mix-width:100px;
       padding: inherit;
        font-size:70%;
        height: 58px;
        text-decoration: none;
    }
   
    header{
        width: 100%;
        max-block-size: height: 58px;
    }
        
        .center {
          margin-bottom: 1px;
            width: 100%;
            height: 300px;
        }
    
    .topic {
        padding: 3%;
        border-width:2px;
      
    }
    
      }