@import "normalize.css";

:root {
    /* Color */
    --white: #FFFFFF;
    --dark-green: #2b6777;
    --light-blue: #c8d8e4;
    --light-gray: #f2f2f2;
    --bright-green: #52ab98;

    /* Font */
    --font-size: 16px;
    --font-size-small: 14px;
}

body {
    background-color: var(--dark-green);
    color: var(--light-gray);
    display: flex;
    font-family: Courier;
}

nav {
    flex: 0;
    width: 50px;
    height: 50px;
}

main {
    display: flex;
    flex: 1;
    justify-content: center;
}

.icon {
    width: 24px;
    height: 24px;
}

.heading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.title {
    display: flex;
    align-items: center;
}

.logo-wrench {
    background-color: var(--light-gray);
    -webkit-mask: url(../resources/wrench.svg) no-repeat center;
    mask: url(../resources/wrench.svg) no-repeat center;
    margin-left: 5px;
}


.subheader {
    align-self: center;
}


#menuToggle {
    display: block;
    position: relative;
    top: 50px;
    left: 50px;  
    z-index: 1;  
    -webkit-user-select: none;
    -moz-user-select: none;
     -ms-user-select: none;
         user-select: none;
  }
  
  #menuToggle a {
    text-decoration: none;
    color: var(--dark-green);
    -webkit-transition: color 0.3s ease;
    -o-transition: color 0.3s ease;
    transition: color 0.3s ease;
  }
  
  #menuToggle a:hover {
    color: var(--bright-green);
  }
  
  
  /* The hamburger button hidden inside an input element */
  #menuToggle input {
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    top: -7px;
    left: -5px;  
    padding: 0;
    cursor: pointer;  
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */  
    -webkit-touch-callout: none;
  }
  
  #menuToggle label {
    position: relative;
    display: block;
    width: 30px;
    height: 30px;
  }
  #menuToggle label span {
    display: none;
  }
  
  /*
   * Hamburger
   */
  #menuToggle label div {
    display: block;
    width: 30px;
    height: 2px;
    margin-bottom: 6px;
    position: relative;
    background: var(--light-gray);
    border-radius: 3px;  
    z-index: 1;  
    -webkit-transform-origin: 4px 0px;  
        -ms-transform-origin: 4px 0px;  
            transform-origin: 4px 0px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  
  #menuToggle label div:first-child {
    -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
            transform-origin: 0% 100%;
  }
  
  #menuToggle label div:nth-child(2) {
      -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  
  /* 
   * Change the color of the hamburger when toggled
   */
  #menuToggle input:checked + label div {
    background: var(--dark-green);
  }
  
  /*
   * Use absolute positioning to place the menu off-screen
   */
  #menu {
    position: absolute;
    width: 150px;
    margin: -100px 0 0 -50px;
    padding: 50px;
    padding-top: 125px;
    background: var(--light-gray);
    list-style-type: none;
    /* Hide the menu off-screen to the left */
    left: -250px;
    -webkit-transition: left 0.3s ease;
    -o-transition: left 0.3s ease;
    transition: left 0.3s ease; 
    border-bottom-right-radius: 5px;
  }
  
  #menu li {
    padding: 10px 0;
    font-size: 22px;
  }
  
  /*
   * Slide the menu in from left when the input is checked
   */
  #menuToggle input:checked ~ ul {
    left: 0;
  }