html {
  scroll-behavior: smooth;
}


@media screen and (min-width: 700px) {
  body {
    min-width: 700px;
    background-color: #eee;
    margin: 0;
    font-size: large;
  }

  header {
    position: absolute;
    top: 0;
    left: 0;
    display: grid;
    grid-template-rows: 100px;
    grid-template-columns: 100px 1fr;
    padding: 8px;
    opacity: 0.8;
  }

  header > div {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-row: 1/2;
    grid-column: 1/2;
    width: 100px;
    height: 100px;
    background-color: #ffffffff;
    border-radius: 50%;
    border-bottom-right-radius: 0;
  }

  header > div.logo > a {
    display: flex;
  }

  header > div.logo img {
    width: 89.44px;
    height: 44.72px;
  }

  header > img {
    display: none;
  }

  header > nav {
    display: block;
    grid-row: 1/2;
    grid-column: 2/3;
  }

  header > nav > ul {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    justify-content: flex-start;
    height: 100px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  header > nav > ul > li {
    display: block;
    background-color: #ffffffff;
  }
  header > nav > ul > li:hover {
    background-color: #aaffaaaa;
  }


  header > nav > ul > li > a  {
    padding: 8px 16px;
    color: #000000;
    text-decoration: none;
  }
}

@media screen and (max-width: 700px) {
  body {
    max-width: 700px;
    background-color: #eee;
    margin: 8px;
    font-size: large;
  }

  header {
  }

  header > div.logo {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 74px;
    height: 74px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
    opacity: 0.8;
  }


  header > div.logo > a {
    display: flex;
  }

  header > div.logo img {
    width: 60px;
    height: 30px;
  }


  header > img {
    display: block;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 2;
    background-color: #eeeeee;
  }

  header > nav {
    background-color: #ccc;
    position: fixed;
    top: 0px;
    right: 0px;
    transform: translateX(100%);
    transition: ease 250ms;
    padding-top: 90px;
    z-index: 1;
    border-end-start-radius: 8px;
  }

  header > nav[data-opened='true'] {
    transform: translateX(0px);
  }

  header > nav > ul {
    margin: 0px;
    padding: 0px;
  }

  header > nav > ul > li {
    list-style: none;
    padding: 8px;
    border-top: #aaa 1px solid;

  }

  header > nav > ul > li > a  {
    text-decoration: none;
    color: #000;
  }
}

footer {
  text-align: right;
}



div.to_top {
  display: flex;
  align-content: space-around;
  justify-content: space-around;
  align-items: center;
  font-size: xx-large;
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #006E4F;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

div.to_top > a {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: 500ms ease;
  transform: rotateY(0deg);
}

div.to_top > a:hover {
  transform: rotateY(360deg);
}
