@media screen and (max-width: 1000px) {
  .headbuttoncontainer {
    border: 6px solid transparent;
  }
  .headbutton, .headbutton:visited, .headbutton:hover {
    opacity: 0.7;
    background-color: #FFFFFFFF;
    text-align: center;
    font-size: 18px;
    border-radius: 12px;
    color: black;
    padding: 14px 20px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 6px 6px rgba(0,0,0,0.6);
    display: block;
    height: auto;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1001px) {
  headbuttoncontainer {
    visibility: hidden;
  }
  .headbutton, .headbutton:visited, .headbutton:hover {
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
  }
}
