/* Theming */
:root{
  --white: #f9f9f9;
  --black: #36383F;
  --main: #252360;
  --green: #2aafab;
}

/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  color: var(--black);
  background-color: var(--white);
  font-family: "Montserrat", sans-serif;
}

main {
  flex: 1;
}

article {
  max-width: 60em;
  vertical-align: middle;
  margin: 0 auto;
}

p {
  margin-bottom: 1em;
}

a{
  text-decoration: none;
}

header h3 {
    margin-bottom: 0;
}

/* Navigation */
.navigation{
  background-color: var(--main);
  box-shadow: 1px 1px 5px 0 var(--main);
  position: sticky;
  top: 0;
  width: 100%;
  height: 3em;
}

/* Logo */
.logo{
  display: inline-block;
  color: var(--white);
  font-size: 60px;
  margin-left: 10px;
}
header {
  padding-top: 1em;
  background-color: var(--main);
  vertical-align: middle;
  text-align: center;
  color: var(--green);
  line-height: 1.5em;
}

main {
  padding: 1em 1em 0 1em;
}

.footer {
  background-color: var(--main);
  width: 100%;
  padding: 0.75em;
  color: var(--white);
}
.footer a {
  color: var(--white);
}

.footer a:hover {
  color: var(--green);
}

/* Nav menu */
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: var(--main);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: var(--green);
  padding: 1em;
}

.menu {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0 auto;
  padding: 0;
}

.menu > li a {
  color: var(--white);
}

.menu > li a:hover {
  color: var(--green);
}

.menu > li {
  margin: 0 1rem;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #fff;
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 700px) {
  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 235px;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: 1px solid #333;
    height: 2.5em;
    padding: 0.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: var(--green);
    background-color: var(--black);
  }
  .menu > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}

.row-center {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}

.column-center {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  text-align: center;
  padding: 0 1em;
  width: 250px;
}

.row img {
  width: 200px;
  border: 1px solid #606c76;
}

/* Responsiveness */

@media (min-width: 768px) {
  .hamb{
    display: none;
  }
  .menu {
      overflow: visible;
  }
}
