* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Bahnschrift SemiBold";
  box-sizing: border-box;
}
html,
body {
  background-color: #333;
  height: 100%;
}
header {
  background: #424949;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
}
.logo {
  font-size: 28px;
  color: white;
}
.hamburger {
  display: none;
}
.nav-bar ul {
  display: flex;
}
.nav-bar ul li a {
  display: block;
  color: white;
  font-size: 20px;
  padding: 10px 25px;
  border-radius: 50px;
  transition: 0.2s;
  margin: 0 5px;
}
.nav-bar ul li a:hover {
  color: black;
  background: white;
}
.nav-bar ul li a.active {
  color: black;
  background: white;
}
@media only screen and (max-width: 1320px) {
  header {
    padding: 0 50px;
  }
}
@media only screen and (max-width: 1100px) {
  header {
    padding: 0 30px;
  }
}
@media only screen and (max-width: 910px) {
  .logo {
    font-size: 18px;
    color: white;
  }
  .hamburger {
    display: block;
    cursor: pointer;
  }
  .hamburger .line {
    width: 30px;
    height: 3px;
    background: white;
    margin: 6px 0;
  }
  .nav-bar {
    height: 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    background: #424949;
    transition: 0.5s;
    overflow: hidden;
  }
  .nav-bar.active {
    height: 450px;
  }
  .nav-bar ul {
    display: block;
    width: fit-content;
    margin: 80px auto 0 auto;
    text-align: center;
    transition: 0.5s;
    opacity: 0;
  }
  .nav-bar.active ul {
    opacity: 1;
  }
  .nav-bar ul li a {
    margin-bottom: 28px;
  }
}
p {
  padding: 1vh;
}

/* Style for larger screens - text alongside the image */
.headshot {
  float: left;
  width: 15em;
  height: auto;
  border-radius: 50%;
  margin-right: 3vw;
  margin-bottom: 2vh;
}

/* Media query for screens with a max width of x pixels */
@media screen and (max-width: 700px) {
  img {
    float: none;
    display: block;
    margin: 0 auto; /* Center the image */
  }

  /* You might want to adjust the section style as well */
  section {
    padding: 1vw; /* Adjust padding as necessary */
  }

  /* Additional styles to ensure other elements adjust well */
  /* ... */
}

.divider {
  height: 0.3vh; /* or the height you want for your divider */
  background-color: #fff; /* color of the divider */
  width: 90%; /* or the width you prefer */
  margin-top: 3vh;
  margin-bottom: 3vh;
  margin-left: auto;
  margin-right: auto;
}

.container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

.slider {
  width: 25%;
  height: 500px;
  position: absolute;
  margin-right: 20px;
}

.slider img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.slider img:first-child {
  z-index: 1;
}

.slider img:nth-child(2) {
  z-index: 0;
}

.navigation-button {
  margin-top: 510px;
  position: absolute;
  float: left;
  margin-left: 10%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
}

.active,
.dot:hover {
  background-color: #717171;
}

.woodworkingpara {
  margin-left: 30%;
  margin-top: -10px;
}

/* Media Queries */
@media only screen and (max-width: 1320px) {
  .slider {
    width: 30%;
  }
  .woodworkingpara {
    margin-left: 36%;
  }
}

@media only screen and (max-width: 1100px) {
  .slider {
    width: 34%;
  }

  .navigation-button {
    margin-left: 13%;
  }

  .woodworkingpara {
    margin-left: 40%;
  }
}

@media only screen and (max-width: 910px) {
  .container {
    flex-direction: column;
    align-items: center; /* Center items horizontally */
  }

  .slider {
    width: 23rem; /* Take up the full width of the screen */
    display: flex;
    position: relative;
    justify-content: center; /* Center items horizontally within the slider */
    margin: 0 auto; /* Reset margin and center the slider horizontally */
  }

  .navigation-button {
    margin-left: 0;
    text-align: center;
    position: relative;
    margin-top: 10px;
  }

  .woodworkingpara {
    text-align: justify;
    align-self: flex-start; /* Align the paragraph to the start within the container */
    margin-left: 0;
    margin-top: 0;
  }
}
