  .sidebar {
    display:flex;
    gap:10px;
    flex-direction: column;
    position:sticky;
    top:10px;
    height:95%;
  }
  .sidebar a {
    width:200px;
    height:200px;
    padding:10px;
    display:block;
    border:3px solid black;
    box-sizing: border-box;
        border-radius: 5px;
        justify-content: center;
    display: flex;
    align-items: center;
    text-decoration:none;
    paint-order: stroke fill;
    text-shadow: 2px 2px 2px black;
    font-size: 1.2em;
    transition:0.5s;
  }
  .sidebar a:hover {
  box-shadow: inset 0px 0px 20px 8px black;
  transition:0.5s;
  }
  main.towhite {
    background:linear-gradient(var(--mainbg), white);
  }
  .world {
    background-image:url('/webmastry/grapics/art/world.jpg');
    -webkit-text-stroke-color: #33464b;
    -webkit-text-stroke-width: 5px;
    color:#80b7b5;
  }
  .religion {
    background-image:url('/webmastry/grapics/art/religion.jpg');
    -webkit-text-stroke-color: #332b1e;
    -webkit-text-stroke-width: 5px;
    color:#e8d7bc;
  }
  .igos {
    background-image:url('/webmastry/grapics/art/igos.jpg');
    -webkit-text-stroke-color: #75280e;
    -webkit-text-stroke-width: 5px;
    color:white;
  }
  .ideology {
    background-image:url('/webmastry/grapics/art/ideology.jpg');
    -webkit-text-stroke-color: #ccc196;
    -webkit-text-stroke-width: 5px;
    color:#fff6d1;
  }
  #africa {
    filter: invert(87%) sepia(13%) saturate(397%) hue-rotate(9deg) brightness(96%) contrast(91%);
  }
  #asia {
    filter: invert(97%) sepia(5%) saturate(3378%) hue-rotate(188deg) brightness(100%) contrast(103%);
  }
  #europe {
    filter: invert(95%) sepia(49%) saturate(6464%) hue-rotate(178deg) brightness(107%) contrast(105%);
  }
  #namerica {
    filter: invert(94%) sepia(18%) saturate(381%) hue-rotate(335deg) brightness(93%) contrast(95%);
  }
  #samerica {
    filter: invert(97%) sepia(21%) saturate(6250%) hue-rotate(297deg) brightness(130%) contrast(101%);
  }
  #oceania {
    filter: invert(99%) sepia(22%) saturate(832%) hue-rotate(173deg) brightness(96%) contrast(101%);
  }
  #antarctica {
    filter: invert(90%) sepia(2%) saturate(2443%) hue-rotate(193deg) brightness(108%) contrast(105%);
  }
  footer {
    text-align:center;
    font-size:0.8em;
    color:var(--link);
  }
  footer a {
    text-decoration:none;
  }
  footer a:hover {
    text-decoration:underline;
  }
  body {
    font-size:1.2em;
    font-family:'Verdana';
    
    --mainbg:#e9f5ea;
    --border:#5a8a72;
    --darkerborder:#3b6650;
    
    --navlink:white;
    --navlinkhover:lightgrey;
    
    --link:#17597a;
    --linkhover:#0f3141;
    
background-color: #d0e9d6;
background-image:  linear-gradient(135deg, #e8f5e9 25%, transparent 25%), linear-gradient(225deg, #e8f5e9 25%, transparent 25%), linear-gradient(45deg, #e8f5e9 25%, transparent 25%), linear-gradient(315deg, #e8f5e9 25%, #d0e9d6 25%);
background-position:  40px 0, 40px 0, 0 0, 0 0;
background-size: 40px 40px;
background-repeat: repeat;
    }
    nav {
      display:flex;
      max-width:800px;
      padding:10px;
      margin-top: -4px;
      flex-wrap:wrap;
      gap:10px;
      justify-content: space-evenly;
      background:linear-gradient(#45755d, var(--border));
    }
    a {
      color:var(--link);
      transition:0.1s;
    }
    main a:hover {
      color:var(--linkhover);
      transition:0.1s;
    }
    nav > a {
      color:var(--navlink);
      text-decoration:none;
      transition:0.1s;
    }
    nav > a:hover {
      color:var(--navlinkhover);
      text-decoration:underline;
      transition:0.1s;
    }
   .box {
    padding:10px;
    border:3px solid var(--border);
    margin-bottom:10px;
  }
  .contentmain {
    padding:10px;
    border-radius:5px;
  }
  main, .newbox {
    max-width:800px;
    background:var(--mainbg);
    border:3px solid var(--border);
    margin-bottom:10px;
    border-radius:5px;
  }
  .newbox {
        padding: 10px;
    box-sizing: border-box;
    background: linear-gradient(var(--mainbg), white);
  }
  .flexcontainer {
    justify-content: center;
    display: flex;
    gap:10px;
    flex-wrap:wrap;
  }
  .bannerimg {
    width:100%;
    max-height:176px;
    max-width:800px;
    border-radius:2px 2px 0 0;
    margin-bottom:-5px;
  }
  .bannerimg.main {
  background:#4d8c43;
  transition:0.5s;
  }
  .bannerimg.main:hover {
    background:#17597a;
    transition:0.5s;
  }
  ::selection {
    background:var(--border);
    color:var(--navlink);
  }
  blockquote {
    background:#d0e9d6;
    padding:10px;
    border-left:3px solid var(--border);
    font-size:0.9em;
  }
  ::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px var(--mainbg); 
}
::-webkit-scrollbar-thumb {
  background: var(--border); 
}
::-webkit-scrollbar-thumb:hover {
  background: var(--darkerborder); 
}
@media (max-width: 1450px) {
  .sidebar {
     flex-direction: row;
     place-content: center;
     flex-wrap:wrap;
  }
}

@media (max-width: 500px) {
  body {
     margin:0;
     margin-bottom:10px;
  }
  main {
    border:none;
    border-radius:unset;
    border-bottom:3px solid var(--border);
  }
}