/* Add Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Open+Sans:wght@400;600&display=swap');

:root{
  --green: #537A5A;
  --light-white:#E0E4DD;
  --dark-white: #D5DBD1;
  --navy: #1B2736;
  --dark-blue: #070A0E;

}
/* BASE STYLE */
body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--light-white);
  color: var(--dark-blue);
  line-height: 1.5;
  width: 100%;
}

main {
  margin: 0 auto;
  width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
}

h1 {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
}

h3 {
  font-size: 1.7rem;
  margin-top: 0.75rem;
}

p {
  font-size: 1.1rem;
}

a {
  text-decoration: none;
}

svg{
  height: 1.25rem;
  width: 1.25rem;
}
/* END BASE  */

/* HERO STYLE */
.section-hero {
  background-image: url('images/joshua-michaels-green-river-falls.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 18.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1.25rem;
  position: relative;
}

.content-hero {
  padding: 1.25rem;
  border-radius: 0.75rem;
  font-size: 10rem;
}

.content-hero h1 {
  color: white;
}

/* END HERO */

/* HEADER & NAV STYLE*/
header {
  background-color: var(--navy);
  padding: 1.25rem 2.5rem;
  color: white;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-toggle{
  display: none;
}

.hamburger{
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  user-select: none;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#site-title a {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.nav-left {
  font-family: 'Playfair Display', serif;
}

.nav-center{
  background-image: url('images/LLI_Logo_BlueBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 6.25rem;
  width: 12.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.nav-right {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.nav-right a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-right a:hover {
  color: var(--green);
}
/* END HEADER STYLE*/

/* ABOUT STYLE */
.about-content{
  display:flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 5% 10%;
}

.about-left, .contact-left{
  align-items: flex-start;
  justify-content: left;
  width: 60%
}
.about-right, .contact-right{
  align-items: flex-start;
  justify-content: right;
  width: 35%
}

.about-right img{
  padding-top: 7%;
  max-width: 100%;
  max-height: auto;
  border-radius: 6.25rem;
}

/* END ABOUT STYLE */

/* CONTACT STYLE */
.contact-container{
  display: flex;
  flex-direction: column;
  height:100%;
  align-items: center;
}


.contact-form{
  display: flex;
  flex-direction: column;
  align-items: center; 
  gap: 1.25rem;
}

.contact-container hr{
  border: none;
  width: auto;
  height: 0.1rem;
  background-color: var(--green);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-container a{
  text-decoration: none;
}

.contact-inputs, .preference-container{
  width: 25rem;
  height: 3rem;
  border:none;
  outline:none;
  font-weight:500;
  color:var(--navy);
  padding-left: 1.5rem;
  border-radius: 0.75rem;
}

.contact-form textarea{
  height: 9rem;
  padding-top: 1rem;
  border-radius: 0.75rem;
}

.contact-container p{
  margin: 0.5rem;
}
.contact-container svg{
  color: var(--green);
}

.preference-container{
  display:flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  color: var(--navy);
  background-color: white;
  border:0.1rem solid var(--dark-white);
  border-radius: 0.75rem;
  padding-top: 5%;
  padding-bottom: 5%;
}

.preference-container label{
  align-items: center;
  gap: 2rem;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
}

.preference-container input[type="radio"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border: 0.1rem solid var(--navy);
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.preference-container input[type="radio"]:checked {
  background-color: var(--green);
  border-color: var(--green);
}

.preference-container input[type="radio"]:checked::before {
  background-color: white;
  border-radius: 50%;
}

.contact-inputs:focus{
  border: 0.1rem solid var(--green);
  transition: border-color 0.3s ease;
}

.contact-inputs::placeholder{
  color: #949990;
}


/* END CONTACT STYLE*/

/* MAIN BODY SECTION STYLES */

main section{
  padding: 5% 25%;
} 

main section:nth-child(odd) {
  background-color: var(--light-white); 
}

main section:nth-child(even) {
  background-color: var(--dark-white); 
}

/* .section-poem{
  font-family: 'Courier New', Courier, monospace;
} */

/* END SECTION STYLES */

.btn {
  display: inline-block;
  background-color: var(--navy);
  color: white;
  border: none;
  border-radius: 100%;
  text-decoration: none;
  margin: 2%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.3rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  box-shadow: 0 0.25rem 0.4rem rgba(0, 0, 0, 0.1);
}

.btn:hover {
  background-color: var(--green);
}

address a{
  color: var(--dark-blue);
  text-decoration: none;
}

/* FOOTER STYLES */
.site-footer {
  background-color: var(--green);
  color: white;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.9rem;
}

.site-footer svg{
  color: white;
}

/* .site-footer svg:hover{
  color: var(--dark-blue);
} */

.footer-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  padding-left: 5rem;
  padding-right: 5rem;
}

.footer-logo img {
  width: 10rem;
  height: auto;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
}

.footer-text {
  flex-grow: 1;
  text-align: center;
}

.footer-contact a{
  color: white;
}
.footer-contact a:hover{
  color: var(--dark-blue);
}

/* END FOOTER STYLES */

@media (max-width:800px){

  header {
    position: sticky;
  }
  
  .preference-container{
    width: 80vw;
  }

  .contact-inputs{
    width: 80vw;
  }

   .nav-container {
    /* flex-direction: column; 
    align-items: center;
    gap: 1rem; */

    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .nav-right {
    display: none;
    /* flex-direction: column;
    gap: 1rem;
    align-items: center; */

    flex-direction: column;
    width: 100%;
    background-color: var(--navy);
    padding: 1rem;
  }

  .hamburger{
    display: block;
    position: absolute;
    top: 0.5rem;
    right: 2rem;
    z-index: 1001;
  }

  .nav-toggle:checked + .hamburger + .nav-right {
    display: flex;
  }

  #site-title a{
    font-size: 1rem;
  }

  .nav-center {
    display: none;
  }

  .about-content, .contact-content .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .about-left, .about-right, .contact-left, .contact-right {
    width: 100%;
    text-align: center;
  }

  .about-right img {
    max-width: 70%;
    height: auto;
  }


  .footer-logo{
    display: none;
  }
  .footer-container small{
    display: none;
  }
  .footer-contact svg{
      display: none;
  }

  main section {
    padding: 5% 10%;
  }
}

@media (max-width:360px){
  .section-hero{
    display: none;
  }
}