* {
  box-sizing: border-box;
}

body {
  font-family: 'Indie Flower', cursive;
  font-family: 'Yellowtail', cursive;
  background: rgb(252, 248, 232);
}

.container {
  margin: 0 auto;
}

header {
  min-height: 70px;
  background:rgba(88, 112, 115, 0.918);
  font-weight: 700;
  font-size: large;
  position: sticky;
  z-index: 999;
  top: 0;
  left: 0;
}

header a{
  text-decoration: none;
}

header a h4{
  margin-top: 8px;
  font-size: 1em;
  color: #333;
}

header a h5{
  font-size: 0.8em;
  color: #333;
}

header ul{
  list-style: none;
  min-height: 70px;
}

header ul li{
  padding: 16px;
}

header ul li a{
  color:rgb(107, 8, 38);
  display: block;
  padding-right:24px;
  width: 80px;
}



nav a::after {
  content: " ";
  height: 2px;
  width: 0%;
  display: block;
  background: rgb(107, 8, 38);
  transition: 1000ms;
  margin: 0 auto;
}

nav a:hover:after {
  width: 100%;
}

header ul li a:hover {
  color: rgb(107, 8, 38);
}

main {
  min-height: 650px;
  background:rgb(228, 220, 207);
}

main h2 {
  color: rgb(55, 69, 71);
}

.accordion{
  padding: 0 !important;
}
.accordion-item .accordion-header .accordion-button {
  background: rgba(112, 56, 44, 0.952);
  color: White;
}

.accordion-item .accordion-body {
  background-color: rgb(88, 112, 115);
}

.accordion-item .accordion-header .accordion-button.collapsed {
  background: rgba(112, 56, 44, 0.952);
  color: black;
}

footer {
  min-height: 50px;
  background: rgb(161, 160, 160);
  color: rgb(30, 64, 82);
  border-top: solid 2px rgb(105, 105, 105);
}

footer ul li {
  padding-left: 32px;
}

footer .container ul li a .icon {
  font-size: 1.5em;
  min-height: 50px;
  color: rgb(30, 64, 82);
  width: 30px;
}

footer .container ul li a .icon :hover {
  font-size: 2em;
  color: rgba(105, 45, 31, 0.822);
}


@media (max-width:768px) {
  body {
    font-family: sans-serif;
  }
  header a h5{
    font-size: 0.4em;
    color: #333;
  }
  header a h4{
    margin-top: 8px;

    font-size: 0.7em;
    color: #333;
  }
      header .burger {
        display: block;
        font-size: 2em;
      }

  header .burger {
    display: block;
    font-size: 2em;
  }

  header nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: rgba(105, 45, 31, 0.918);
    width: 100%;
    max-width: 260px;
    transform: translate(0, -200%);
    transition: 1000ms;
    padding: 0 !important;
  }

  header .nav_open {
    transform: translate(0, 0);
  }

  header nav ul {
    flex-direction: column;
  }

  header nav ul li {
    text-align: center;
    border-bottom: 1px solid grey;
    height: 70px;
  }

  header nav ul li:hover {
    background: rgba(170, 152, 134, 0.548);
  }
  header nav ul li a {
    color: rgba(255, 255, 255, 0.918);
    width: 200px;
  }

  header nav ul :nth-child(6) {
    border: none;
  }

  header nav ul li a:hover {
    color: rgba(255, 255, 255, 0.918);
  }
  nav a::after {
    display: none;
  }
}