/* General styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  max-width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px;
  list-style: none;
}

.background-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: -1;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

buttons {
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

/* Section 1 styles */
#name-section {
  height: 100vh;
  color: white;
  position: relative;
  background-image: url('https://daniel-dillon.com/assets/site-header.JPEG');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
}

#name-section h1 {
  font-size: 5rem;
  margin-top: 0;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(0%, 100%);
}

/* Section 2 styles */
#company-section {
  height: auto;
  color: white;
  position: relative;
  background-image: url('https://www.ammo-alert.com/images/assets/Home-OurMission.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}

#company-section h2 {
  font-size: 3.5rem;
  margin-top: 0;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(0%, 0%);
}

#company-section .description {
  font-size: 2rem;
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
}

#company-section .button {
  display: block;
  margin: 0 auto;
  margin-top: 50px;
  padding: 10px 30px;
  border: 2px solid white;
  border-radius: 30px;
  color: white;
  font-size: 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.5s;
}

#company-section .button:hover {
  background-color: white;
  color: black;
}

/* Section 3 styles */
#bio-section {
  height: auto;
  color: white;
  position: relative;
  background-image: url('https://daniel-dillon.com/assets/mammothrockmacro.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  list-style: none;
}

#bio-section h2 {
  font-size: 3.5rem;
  margin-top: 0;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(0%, 0%);
}

#bio-section .description {
  font-size: 2rem;
  margin: 50px auto;
  max-width: 800px;
}

#bio-section .photos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  list-style-type: none;
  width: 100%;
}

@media screen and (max-width: 2400px) {
  #bio-section .photos li {
  width: 50%;
  height: 800px; /* Adjust the height as needed */
  }
}

@media screen and (max-width: 1300px) {
  #bio-section .photos li {
  width: 50%;
  height: 600px; /* Adjust the height as needed */
  }
}

@media screen and (max-width: 700px) {
  #bio-section .photos li {
  width: 50%;
  height: 400px; /* Adjust the height as needed */
  }
}

@media screen and (max-width: 600px) {
  #bio-section .photos li {
  width: 50%;
  height: 300px; /* Adjust the height as needed */
  }
}

@media screen and (min-width: 2400px) {
  #bio-section .photos li {
  width: 50%;
  height: 1000px; /* Adjust the height as needed */
  }
}

#bio-section .photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Section 4 styles */
#projects-section {
  height: auto;
  color: white;
  position: relative;
  background-image: url('https://daniel-dillon.com/assets/CAC_Porter.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
}

#projects-section h2 {
  font-size: 3.5rem;
  margin-top: 0;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%);
}

#projects-section ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-bottom: 20px;
}

#projects-section li {
  margin: 0 10px;
}

#projects-section a {
  display: block;
  padding: 10px 30px;
  border: 2px solid white;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 2rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.5s;
}

#projects-section a:hover {
  background-color: black;
  color: white;
}

/* Section 5 styles */
#photography-section {
  height: auto;
  color: white;
  position: relative;
  background-image: url('https://daniel-dillon.com/assets/photography_pannel.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

#photography-section h2 {
  font-size: 3.5rem;
  margin-top: 0;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(0%, -50%);
}

#photography-section ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-bottom: 20px;
}

#photography-section li {
  margin: 0 10px;
}

#photography-section a {
  display: block;
  padding: 10px 30px;
  border: 2px solid white;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.2);
  color: white;
  font-size: 2rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.5s;
}

#photography-section a:hover {
  background-color: black;
  color: white;
}

.photos {
  height: auto;
  width: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  }

.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-links li {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #FFFFFF;
  text-decoration: none;
  border-radius: 50%;
  font-size: 24px;
  color: #941B1B;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #941B1B;
  color: #FFFFFF;
}
