@media all and (max-width: 600px) {
    
    .headernav-list-container {
        flex-direction: column;
        margin: 0;
        left:0;
        }
    
  }

@media all and (min-width: 800px) {
  }


body {
    
    background-color: var(--background);
    margin: 0 ;
    
}

.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: auto;
}

.wrapper > * {
    flex: 1 100%;
}

.main {
    background-color: var(--main-3);

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3vw) );
    padding-bottom: 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;


}

/* headernav or menu dropdown */

header {
    background: var(--accent4);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    
}

.logo {
    padding: .5rem;
}

.headernav {
    display: inline-block;
    color: var(--main-3);
    
    min-width: 6rem;
    text-align: center;
    
    border-radius: 1rem 1rem 0rem 0rem;
    padding: 0rem 1rem 0rem 1rem;
  }

.headernav:hover {
    background-color: var(--accent4-lightest);
    color: var(--main);
}
  
.headernav-content {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    background-color: var(--accent4-lightest);
    border-radius: 0rem 0rem 1rem 1rem;
    width: 100%;
    max-width: var(--navwidth);
    margin: auto;
    z-index: 10;
  }
  
.headernav:hover .headernav-content {
    display: block;
  }

.headernav-list-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

.headernav-list, .headernav ul {
      flex: 1 1 0;
        padding: 0px;
}

.headernav-list :is(li, a, a:visited, a:link) {
    list-style: none;
    text-decoration: none;
    color: var(--main-1);
    text-align: center;
    overflow: auto;
}

.headernav-list :is(a:hover, a:active) {     
    font-weight: bold;
}


.headernav-list-header {
    font-weight: bolder;
    text-align: center;
}

/* Footer */

.footer {
    text-align: center;
}

.footerlinks{
    text-decoration: none;
    color: var(--main-1);
}

.footerlinks:hover, .footerlinks:focus {
    color: var(--accent3);
}