@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

:root {
  --bg_color: #252c42;
  --menu_color: #24A022;
  --footer_color: #800080;
  --text_color: rgb(217, 217, 217);
  --title_color: orange;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Ubuntu";
  font-weight: 500;
  background-color: var(--bg_color);
  color: var(--text_color);
}

header {
  margin: 0;
  position: fixed;
  width: 100%;
  z-index: 100;
  background: var(--menu_color);
  text-align: right;
}

.logo {
  color: var(--footer_color);
  padding-right: 10px;
}

header .menu-button{
  position: absolute;
  left: 10px;
  top: 15px;
  width: 50px;
  height: 50px;
  /* background-color: aqua; */
  display: flex;
  justify-content: center;
  align-items: center;    
  font-size: 1.5em;
  font-weight: bold;
  /* border: 3px solid var(--text_color);
  border-radius: 5px; */
}

nav {    
  display: none;
}

nav.menu-show{
  position: absolute;
  margin: 0;
  padding: 0;
  background: var(--menu_color);
  width: 100%;
  text-align: center;
  display: block;
}

nav ul {
  list-style: none;
}

nav ul li {
  margin-top: 15px;
  text-decoration: none;
}

nav li a{
  text-decoration: none;
  font-size: 1.3rem;
  color: var(--text_color);
}


@media screen and (min-width: 800px) {
  header .menu-button{
      display: none;
  }

  header{
      /* margin: 0;
      padding: 0; */

      display: grid;
      grid-template-columns: .1fr 1fr auto 1.2fr;

  }
  .logo {
      margin-right: 5%;
      grid-column: 4 / 5;
      grid-row: 1;
      color: var(--footer_color);
  }
  
  nav {
      all: unset;
      display: flex;        
      grid-column: 2 / 3;
      grid-row: 1;
  }

  nav ul{
      display: flex;
      gap: 10px;
  }
  nav ul li a:hover{
      color: var(--footer_color);
  }
}

/**/

.footer {
  height: 30px;
  bottom: 0;
  padding: 2rem;
  background: purple;
  color: white;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
}
