:root {
  --nav-padding: 5em;
}
#banner {
  background-color: black;
}
#web-hosting {
  background-image: url('./images/alberta-skyline.webp');
}
#process-automation {
  background-image: url('./images/montreal-skyline.webp');
}
#cyber-security {
  background-image: url('./images/niagara-falls.webp');
}
#technology-solutions {
  background-image: url('./images/toronto-aerial.webp');
}
#contact {
  background-image: url('./images/maple-buildings.webp');
}

body {
  background-color: #000;
  overflow-x: hidden;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-padding);
  background-color: black;
  z-index: 50;
}

.header-wrapper {
  display: flex;
  align-content: center;
  border-bottom: 1px solid gray;
  height: var(--nav-padding);
}
img.header-logo {
  height: var(--nav-padding);
}

#desktop-nav {
  margin-left:auto;
  margin-right:auto;
  align-content: center;
  padding-right: 10px;
}
#desktop-nav .nav-item {
  padding: 10px;
}

#mobile-nav .nav-item {
  padding-top: 10px;
  padding-bottom: 10px;
  height: 100%;
  border: 1px solid grey;
  max-width: 220px;
  
}
#mobile-nav .nav-item:hover {
  background-color: rgb(22, 22, 22);
}
#hamburger-btn:hover {
  color: yellow;
}

#mobile-menu {
  background-color: black;
  overflow-x: hidden;
  border: 1px solid gray;
  border-radius: 0 0 10px 10px;  
}
.dropdown-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  min-width: 100px;
  overflow: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index:1;  
}

a.nav-item {
  color: white;
  font-weight:400;
  text-transform: uppercase;
  width: 100%;
  text-align: center;
}


nav a:hover {
color: yellow;
}

a.nav-item:hover {
  color: yellow;
  font-weight:400;
}

/* good here */
main {
padding-top: var(--nav-padding);
}

.section-content img {
  max-width: 100%;
  max-height: 50%;
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}



.section-item {
text-align: center;
color: white;
display: flex;
align-items: center;
justify-content: center;
height: calc(100vh - var(--nav-padding));
}
.section-content {
border-radius: 0.5rem;
padding: .5rem;
background-color: black;
color: white;
text-align: center;
max-height: 100%;
font-size: .75rem;
max-width: 65%;
}
section ul {
font-size: 1rem;
line-height: 1.5rem;
padding: 0;
}

section h2 {
font-size: 1.5rem;
line-height: 2.25rem;
font-weight: 600;
margin: 0;
}


.container {
display: flex;
justify-content: space-between;
align-items: center;
margin-left: auto;
padding-right: var(--nav-padding);

}

#contact a {
  color: yellow;
}
.hidden {
  display: none;
}

@media screen and (max-width: 912px ) {
  #desktop-nav {
    display: none;
  }
  #header-logo {
      margin: auto;
  }
  #mobile-nav {
    min-width: 250px;
    padding-right:1em;
  }
  #hamburger-btn {
      height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 3rem;     
    cursor: pointer;
    color: white;
    align-items: center;

  }
}

@media screen and (max-width: 560px ) {
  section ul {
      font-size:.8rem;
  }
  section h2 {
      font-size: 1.2rem;
  }
  
}