@charset "utf-8";
/* CSS Document */

/* Home Page Styles */

/* Section 1 */
body {
  background-color: #f5deb3;
}

.section1 {
  background-image: url("brew-devils-supplemental/images/americano.jpg");
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section1 h2 {
  font-size: 8rem;
  color: #fff;
  margin-bottom: 1rem;
}

.tagline {
  font-size: 2rem;
  color: #fff;
}

/* Section 2 */
.section2 {
  background-color: #f2f2f2;
  padding: 4rem 0;
}

.section2 h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.section2 p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Section 3 */
.section3 {
  background-image: url("../images/home_section3_bg.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.section3 h3 {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

.section3 p {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 1.5rem;
}

/* Section 4 */
.section4 {
  background-color: #fff;
  padding: 4rem 0;
}

.section4 h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.section4 p {
  font-size: 1.2rem;
  line-height: 1.5;
}

/* Button Styles */
.btn {
  display: inline-block;
  background-color: #4e4e4e;
  color: #fff;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 0.25rem;
  text-transform: uppercase;
  transition: background-color 0.2s ease-out;
}

.btn:hover {
  background-color: #666;
}

/* Media Queries */
@media only screen and (max-width: 1024px) {
  /* Section 1 */
  .section1 h2 {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.5rem;
  }
  
  /* Section 2 */
  .section2 h3 {
    font-size: 2rem;
  }
  
  .section2 p {
    font-size: 1rem;
  }
  
  /* Section 3 */
  .section3 h3 {
    font-size: 3rem;
  }
  
  .section3 p {
    font-size: 1rem;
  }
  
  /* Section 4 */
  .section4 h3 {
    font-size: 2rem;
  }
  
  .section4 p {
    font-size: 1rem;
  }
  
  /* Button Styles */
  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }
}

/* Navigation bar styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #333;
  color: #fff;
  font-size: 1.2rem;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* Header styles */
header {
  background-image: url('../images/header-bg.jpg');
  background-size: cover;
  background-position: center;
  height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-bottom: 2rem;
}

header h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px #000;
}

header p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Section styles */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

section p {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* Footer styles */
footer {
  background-color: #333;
  color: #fff;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

footer p {
  margin-bottom: 0;
}

/* Media query for screens up to 1024px */
@media (max-width: 1024px) {
  header {
    height: 20rem;
  }

  header h1 {
    font-size: 3rem;
  }

  section {
    padding: 1rem;
  }

  section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  section p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* Media query for screens up to 480px */
@media (max-width: 480px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  nav a {
    margin: 0;
    margin-top: 1rem;
  }

  header {
    height: 15rem;
  }

  header h1 {
    font-size: 2.5rem;
  }

  section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  section p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  footer {
    padding: 1rem;
  }
}

 