body {
  background-color: #191919;
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  font-style: normal;
  margin: 0;
}

header {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  padding: 20px;
  color: #B0B1B1;
}

.menu-item {
  list-style: none;
  font-weight: 500;
}

.mobilemenu {
  display: none;
  color: #B0B1B1;
}

.mobilemenu a {
  color: #B0B1B1;
}

.logo img {
  height: 140px;
  margin: 20px;
}

nav ul {
  display: grid;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  grid-template-columns: 200px 1fr;
  text-align: center;
}

nav li {
  margin: 20px 100px;
}

nav a {
  text-decoration: none;
  color: #B0B1B1;
  font-size: 1.65rem;
}

nav a:hover {
  color: #666;
}

.menuToggle {
  display: none;
}

.homeimages1 {
  display: grid;
  grid-template-columns: repeat(2, .34fr);
  grid-gap: 40px;
  justify-content: center;
}

.homeimages1 img {
  width: 100%;
}

.image-link {
  position: relative;
  display: inline-block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.overlay-content {
  color: #fff;
  font-size: 36px;
  text-align: center;
  font-family: "futura-pt", sans-serif;
}

.image-link:hover .overlay {
  opacity: 1;
  object-fit: contain;
}

.homeimages2 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-gap: 40px;
  overflow: hidden;
  padding-top: 40px;
  width: 69%;
  margin: 0 auto;
}

.homeimages2 img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.headerimage img {
  width: 1273px;
  display: block;
  object-fit: cover;
  overflow: hidden;
  margin: 0 auto;
  padding-bottom: 25px;
}

.projectcontent {
  display: grid;
  grid-template-columns: 363px 1fr;
  gap: 9em;
  max-width: 1273px;
  margin: 0 auto;
  color: #B0B1B1;
}

.projectcontent h2 {
  border-bottom-style: solid;
  border-width: 3px;
  padding-bottom: 4px;
}

.projecttext {
  font-size: 24px;
  color: #B0B1B1;
}

.projectcontent img {
  max-width: 100%;
  margin: 0 auto;
}

.projectcontent p {
  padding-bottom: 5px;
}

.portfoliocontent {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 83%;
  margin: 0 auto;
  color: #B0B1B1;
}

.mobilelayout {
  display: none;
}

.portfolioimg {
  width: 80%;
  margin: 0 auto;
  display: grid;
  gap: 40px;
}

.portfoliotext {
  font-size: 18px;
  color: #B0B1B1;
}

.portfoliotext>p:last-child {
  font-size: 18px;
  color: #FFFFFF;
  background-color: #B0B1B1;
  border: 15px solid #B0B1B1;
}

.portfoliocontent img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  justify-content: center;
}

/* Start contact content*/
.contactcontent {
  max-width: 1273px;
  margin: 0 auto;
  color: #B0B1B1;
}

.contactcontent img {
  max-width: 283px;
  padding: 10px;
}

.contacttext {
  text-align: center;
}

.contactcontent h3 {
  font-size: 40px;
}

.contacttextrow1 {
  padding-bottom: 54px;
  padding-top: 53px;
}

.imgrow1 {
  width: 986px;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: center;
  gap: 22px;
  padding: 8px 136px 8px 139px;
  flex-wrap: wrap;
}

.imgrow1>div {
  text-align: center;
}


.contactcontent>div {
  text-align: center;
  font-size: 25px;
}
.contacttextrow2 {
  padding-top: 40px;
  }
.imgrow1 .bretthall .hover-image {
  width: 300px;
  height: 300px;
  background: url("img/StaffPhotos_04.png") no-repeat;
}

.imgrow1 .bretthall .hover-image:hover {
  background: url("img/StaffPhotos_09.png") no-repeat;
}

.imgrow1 .fred .hover-image {
  width: 300px;
  height: 300px;
  background: url("img/StaffPhotos_11.png") no-repeat;
}

.imgrow1 .fred .hover-image:hover {
  background: url("img/StaffPhotos_08.png") no-repeat;
}

.imgrow1 .fhett .hover-image {
  width: 300px;
  height: 300px;
  background: url("img/StaffPhotos_03.png") no-repeat;
}

.imgrow1 .fhett .hover-image:hover {
  background: url("img/StaffPhotos_07.png") no-repeat;
}

.imgrow1 .brettskate .hover-image {
  width: 300px;
  height: 300px;
  background: url("img/StaffPhotos_01.png") no-repeat;
}

.imgrow1 .brettskate .hover-image:hover {
  background: url("img/StaffPhotos_06.png") no-repeat;
}

.imgrow1 .trebb .hover-image {
  width: 300px;
  height: 300px;
  background: url("img/StaffPhotos_05.png") no-repeat;
}

.imgrow1 .trebb .hover-image:hover {
  background: url("img/StaffPhotos_10.png") no-repeat;
}

.imgrow2 {
  width: 986px;
  height: 746px;
  display: flex;
  flex-direction: row;
  align-items: start;
  justify-content: start;
  padding: 8px 136px 8px 139px;
  flex-wrap: nowrap;
}

a {
  text-decoration: none;
}

a img:hover {
  transition: all 0.3s ease-in-out;

}

.button a {
  font-size: 27px;
  border: 8px solid #B0B1B1;
  margin-right: -3px;
  margin-top: 29px;
  background-color: #B0B1B1;
  cursor: pointer;
  padding: 10px 20px;
  color: black;
}

.button a:hover {
  background-color: #191919;
  color: #B0B1B1;
  transition: all 0.2s ease-in-out;
  border: 8px solid #B0B1B1;
}

.contacttextrow2>p:nth-child(2) {
  padding-bottom: 5%;
}

imgrow1>div>p:nth-child(3) {
  font-weight: 200;
}

/* end contact content*/
footer {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: center;
  align-items: center;
  padding-top: 100px;
  color: #B0B1B1;
  margin: 7px;
}

footer .copyright {
  grid-column: 2 / 3;
  padding-top: 40px;
  text-align: center;
}

/* Styles for screens smaller than 1300 px */

@media screen and (max-width: 1300px) {
  body {
    max-width: 1300px;
  }

  header {
    width: 90%;
    padding-bottom: 50px;
  }
  nav ul {
    grid-template-columns: 1fr 1fr;
  }

  nav li {
    margin: 0 auto;
  }

  nav a {
    text-decoration: none;
    color: #B0B1B1;
    font-size: 1.4rem;
  }

  .logo img {
    width: 20px;
    padding-left: 35px;
    margin: 0;
  }

  .homeimages1 {
    grid-template-columns: repeat(2, .398fr);
  }

  .homeimages2 {
    display: grid;
    grid-template-columns: repeat(1, .8fr);
    grid-gap: 40px;
    padding-top: 40px;
    width: 100%;
    height: 2em;
    margin: 0 auto;
    height: auto;
    justify-content: center;
  }

  .logo img {
    height: auto;
    width: 14em;
  }

  /* end header styles */
  /* start contact styles */
  .contactcontent {
    max-width: 75%;
    margin-top: -49px;
  }

  .imgrow1 {
    width: 100%;
    align-items: center;
    padding: 0;
  }

  /* end contact styles */

  /* start portfolio styles */
  .projectcontent {
    display: grid;
    grid-template-columns: 350px .9fr;
    gap: 3em;
    margin: 16px;
    justify-content: center;
  }

  .projectimg img {
    padding-bottom: 17px;
  }

  /* end portfolio styles */

  .headerimage img {
    width: 90%;
  }

  .mobilelayout {
    display: none;
  }
}

/* Styles for screens smaller than 740px */
@media screen and (max-width: 740px) {
  body {
    max-width: 800px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  main {
    max-width: 750px;
    padding-top: 78px;
  }

  header {
    max-width: 389px;
    height: 151px;
    margin-bottom: -7px;
    text-align: center;
    margin: 0 auto;
    background-color: #191919;
    position: fixed;
    max-width: 100%;
    height: 12px;
    width: 100%;
    display: flex;
  }

  .mobilemenu {
    display: flex;
    top: -66%;
    right: 29%;
    margin: 0 auto;
    max-width: 98%;
    margin-left: 1%;
  }

  .mobilemenu h1 {
    max-width: 360px;
    height: 67px;

  }

  .logo img {
    width: 63%;
    margin: 5%;
  }

  .menu {
    display: none;
  }

  .overlay {
    display: none;
  }

  .image-link {
    position: inherit;
  }

  header .logo {
    display: none;
  }

  nav ul {
    padding-top: 4px;
    display: block;
  }

  nav .menu {
    display: none;
  }

  .homeimages2 img {
    height: 100%;
    width: 100%;
  }

  .homeimages1 {
    display: grid;
    grid-template-columns: repeat(1, .8fr);
    grid-gap: 40px;
    justify-content: center;
  }

  .projectcontent {
    display: none;
  }

  .mobilelayout {
    display: block;
  }

  .mobilelayout h2 {
    text-align: center;
    border-top: 2px solid #B0B1B1;
    border-bottom: 2px solid #B0B1B1;
    padding: 20px;
    color: #B0B1B1;
  }

  .logo img {
    margin: 20px;
  }

  .headerlogo {
    display: none;
  }

  .headerimage {
    display: none;
  }

  .projectimg {
    text-align: center;
  }

  .mobilelayout img {
    width: 90%;
    padding-left: 2%;
  }

  .projecttext2 {
    font-size: 20px;
    display: grid;
    grid-template-columns: .89fr;
    justify-content: center;
    color: #B0B1B1;
    gap: 17px;
  }

  .projecttext img {
    margin: 4%;
  }

  .homeimages2 {
    display: grid;
    grid-template-columns: repeat(1, .8fr);
    grid-gap: 40px;
    padding-top: 40px;
    width: 100%;
    height: 2em;
    margin: 0 auto;
    height: auto;
    justify-content: center;
  }

  .menuToggle {
    display: block;
    position: absolute;
    margin-bottom: -7px;
    text-align: center;
    margin: 0 auto;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
    top: 21%;
    right: 66px;
    margin-left: 25%;

  }

  .menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    top: -7px;
    left: -5px;
    position: absolute;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
    -webkit-touch-callout: none;
  }

  .menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #B2B2B2;
    border-radius: 3px;

    z-index: 1;

    transform-origin: 4px 0px;

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
      opacity 0.55s ease;
  }

  .menuToggle span:first-child {
    transform-origin: 0% 0%;
  }

  .menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }


  .menuToggle input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #B0B1B1;
  }


  .menuToggle input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }


  .menuToggle input:checked~span:nth-last-child(2) {
    opacity: 1;
    transform: rotate(-45deg) translate(0, -1px);
  }

  .menunew {
    position: absolute;
    width: 318px;
    margin: -100px 0 0 0;
    padding: 84px;
    padding-top: 140px;
    right: -34px;
    transform: none;
    opacity: 0;
    background: #191919;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    transform-origin: 0% 0%;
    transform: translate(100%, 0);
    transition: opacity 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  }

  .menunew li {
    padding: 32px;
    font-size: 33px;
  }

  .menuToggle input:checked~ul {
    transform: none;
    opacity: 1;
  }

  header {
    font-size: 23px;
    padding-bottom: 23px;
    font-weight: 400;
  }

  footer {
    padding-top: 167px;
  }

  footer .logo img {
    margin: -41px;
    width: 98%;
  }
}

/* Styles for screens smaller than 580px */
@media screen and (max-width: 580px) {
  /*  .menuToggle {
    top: 14%;
    right: 9%;
  }*/


  .contactcontent {
    margin-top: -59px;
  }

}

/* Styles for screens smaller than 490px */
@media screen and (max-width: 490px) {
  .menuToggle {
    right: 51px;
  }
}