@import "navbarstyle.css";
@import "banner.css";

/* 153, 180, 212*/

html {
    scroll-behavior: smooth;
    background-color: white;
    -ms-overflow-style: none;
    color: rgb(0, 0, 0);
  }

h1 {
  font-family: 'Montserrat', sans-serif;
}

p {
  font-family: 'Open Sans', sans-serif;
}

#body {
    margin: 0%;
    height: auto;
}

a:link {
    text-decoration: none;
    color: rgb(212, 215, 216);
}

a:visited {
    text-decoration: none;
    color: rgb(212, 215, 216);
}

a:hover {
    text-decoration: underline;
    color: rgb(206, 87, 18);
}

/* 9.jpg, bgpos: bottom | 95.jpg, bgpos: center | 110.jpg, bgpos: bottom */
.header {
    padding-top: 1rem;
    background-image: url("homebg.webp");
/*    background-color: rgb(228, 230, 231); */
    background-position: center;
    background-size: cover;
    height: 30rem;
    margin: 0%;
}

/* #hindsight {     THIS GOES WITH 110.jpg
  color:steelblue;
  font-family:'Times New Roman', Times, serif;
} */

/*
.inside-header {

}
*/

.title { /* Title */
    margin: 1%;
    height: 6rem;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 1.3em
}

#logo { /* Logo */
    text-align: center;
}

#logo-img {
    width: 10rem;
}


section {
    padding: 40px, 30%;
    padding-top: 4%;
    padding-bottom: 4%;
}


#about {
  display: flex;
  font-size: 1.5em;
  flex-direction: row;
  flex-wrap: wrap;
}

/* ‼ Preferrably use PADDING rather than margin to adjust images and text because having margin: auto helps when resizing the window/screen ‼*/
/* Setting → margin-left/right: auto ← perfectly centers the element when the window is too small to fit on one line.*/

#about-txt {
  width: 45%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  flex-grow: 3;
  text-align: left;
  /*
  margin-left: 1rem;
  margin-right: 3%;
  margin-top: 2%;
  */
}

#about-h {
  text-align: center;
}


#aboutCarousel {
  width: 50rem;
  height: 35rem;
  border-radius: 4%;
  margin-right: auto;
  margin-left: auto;
}


.mySlides {
  width: 50rem;
  height: 35rem;
  border-radius: 40px;
  margin-right: auto;
  margin-left: auto;
}


#history {
  background-color: rgb(228, 230, 231);
  display: flex;
  font-size: 1.5em;
  flex-direction: row-reverse;
  flex-wrap: wrap;
}

#history-txt {
  width: 45%;
  margin-right: auto;
  margin-left: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: right;
  flex-grow: 3;
}

#history-h {
  text-align: center;
}

#historyCarousel {
  width: 50rem;
  height: 35rem;
  border-radius: 4%;
  margin-right: auto;
  margin-left: auto;
}

.mySlides2 {
  width: 50rem;
  height: 35rem;
  border-radius: 40px;
  margin-right: auto;
  margin-left: auto;
}

#join {
  display: flex;
  font-size: 1.5em;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: center;
  font-size: 1.5em;
  justify-content: center;
}

#contactlink:visited {
  color: brown;
}

#contactlink:link {
  color: brown;
}

#footer-txt {
  text-align: center;
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
}


@media screen and (max-width:900px) {

  #about-txt {
    text-align: center;
  }

  #aboutCarousel {
    width: 90%;
    height: 50%;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  
  }

  .mySlides {
    width: 90%;
    height: 50%;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #historyCarousel {
    width: 90%;
    height: 50%;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  
  }
  .mySlides2 {
    width: 90%;
    height: 50%;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  #history-txt {
    text-align: center;
  }

  #history-img {
    width: 90%;
    height: 50%;
    margin-left: auto;
    margin-right: auto;

  }

  #join-txt {
    margin-left: 3%;
    margin-right: 3%;
  }

  #yeet {
    height: 50rem;
  }

  .map {
    margin-left: auto;
    margin-right: auto;
    width: 75%;
    height: 50%;
  }
}

@media screen and (max-width: 750px) {
  #nav-abt {
    display: none;
  }

  #nav-hist {
    display: none;
  }

  #nav-join {
    display: none;
  }
}

@media screen and (max-width:400px) {
  #logo { /* Logo */
    padding-top: 5rem;
    text-align: center;
  }

  .navbar li {
    padding: 0 15px;
  }

  .dropdown-content {
    min-width: 6rem;
  }
}
