html {
    box-sizing: border-box;
    font-size: 62.5%;
    scroll-behavior: smooth;
}

*,
*::before *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

body {
  font-family: 'Barlow', sans-serif;
    color: #000;
    font-weight: 500;
    font-size: 1.6rem;
    margin: 0;
    background-color: #E4E5E4;
}

.container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

.ab-container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

.aeu-container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

.link-container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

.stewards-container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

.contact-container{
    display: grid;
    grid-template-columns:repeat(8, 1fr);
    grid-template-rows: min-content min-content min-content min-content 14vh;
}

nav {
  grid-column: 1/-1;
  grid-row: 1/2;
  position: fixed;
  top: 0;
  background-color: #A2224B;
  width: 100%;
  z-index: 1000; /* Adjust as needed */
}

.bar {
  list-style-type: none;
  padding: 0;
  overflow: hidden;
  text-align: center;
  height: 4rem;
  font-size: 14.2px;
}

.bar li {
  display: inline-block; 
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}

.bar li a {
  display: block;
  color: white;
  text-align: center;
  padding: 5px 15px;
  text-decoration: none;
}

.bar li a:hover {
background-color: #7d1536;
}

.bar li a:hover:not(.active) {
  background-color: #7d1536;
}

.active {
  background-color: #7d1536;
}

nav.scrolled {
  background-color: #A2224B; /* Adjust as needed */
}

.info-top{
    display: grid;
    grid-template-columns: min-content 1fr;
    height: 9rem;
}

.hero{
  margin-right: 1rem;
}

.main_img_btn{
    border: none;
    cursor: pointer;
    background-color: #A2224B;
}

#callButton {
    float: right;
    grid-column: 2/3;
    grid-row: 1/2;
    width: 15rem;
    height: 5rem;
    font-size: 15px;
    cursor: pointer;
    background-color: #A2224B;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: none;
    text-decoration: none;
    padding: 0;
  }

  #callButton:hover{
    background-color: #7d1536;
}

#callButton a {
  color: white; /* Sets the link text color to white */
  text-decoration: none; /* Removes underline */
}

.main_img {
    margin-left: 2rem;
    width: 300px;
    height: auto;
    display: block;
}



  .french{
    float: right;
    grid-column: 4/-1;
    grid-row: 1/2;
    width: 10rem;
    height: 5rem;
    font-size: 15px;
    cursor: pointer;
    background-color: #A2224B;
    border: none;
    color: #fff;
    font-weight: 600;
    padding: none;
    text-align: center;
  }

  .french:hover{
    background-color: #7d1536;
}

header{
    grid-column: 1/-1;
    grid-row: 2/3;
    background-color: #e8e8e8;
}

.section-2{
    grid-column: 1/-1;
    grid-row: 3/4;
    background-color: #bfbfbf;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    text-transform: capitalize;
}

.tt{
    margin: .5rem;
}

.home-section-3 {
    position: relative;
    margin-top: 11rem;
    grid-column: 1/-1;
    grid-row: 4/5;
    background-color: #e8e8e8;
    background-image: url('images/1000_F_635883308_5fFjkn2XFsOUWuugIjupkoID2r2fPTq8.jpg'); 
    background-position: center;
    background-size: cover;
}

.home-section-3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(232, 232, 232, 0.8); /* Adjust the last value (0.5) for the desired opacity */
}

.home_info{
    margin: 10rem;
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: 1fr 1fr;
}

.home-li:not(:last-child){
  margin-bottom: 2rem;
}


.recent_news{
  grid-column: 1/2;
  margin-top: 10rem;
  margin-left: 10rem;
  width: 60%;
  height: 50%;
  transition: all .3s;
  position: relative;
  background-color: #ffffff;
  border-radius: 0rem 0rem;
  padding: 2.5rem;
  border-radius: 15px;
  transition: all .3s;
}

.recent_news:hover{
  border: 1px solid black;
  transform: scale(1.05);
}

.recent_news-tt{
  font-size: 3rem;
  font-weight: 700;
  color:#000;
  margin: 0;
}

.recent_news-txt{
  font-size: 1.8rem;
  font-weight: 500;
  color:#000;
}

.archive-btn{
  font-size: 1.6rem;
  color: #000000;
  display: inline-block;
  text-decoration: none;
  border: 1px solid #000000;
  padding: 3px;
  padding-left: 6px;
  transition: .2s;
  border-radius: 10px;
}

.archive-btn:hover{
  background-color: #d8d8d8;
  color: #000;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.archive-btn:active{
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  transform: translateY(0);
}

.welcome-txt{
  grid-column: 2/-1;
  grid-row: 1/-1;
  align-self: center;
  color: #000;
  z-index: 1;
  line-height: 3.8rem;
  font-size: 2.3rem;
}
  
  .img-container {
    display: grid;
    border-radius: .5rem 2rem;
    height: 270px;
    overflow: hidden;
  }

  .ab-section-3{
    grid-column: 1/-1;
    grid-row: 4/5;
    place-items: center;
    background-image: linear-gradient(rgba(232, 232, 232, 0.85), rgba(232, 232, 232, 0.85)), 
    url('images/1000_F_635883308_5fFjkn2XFsOUWuugIjupkoID2r2fPTq8.jpg');
  background-position: center;
  background-size: cover;

  }


  .about_info{
    margin: 20rem 0 14rem 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    place-content: center; /* Center both horizontally and vertically */
  }

  .ab-tt{
    grid-column: 1/-1;
    grid-row: 1/5;
    font-family: 'Barlow', sans-serif;
    font-size: 1.8rem;
    line-height: 3rem;
    margin-bottom: 3rem;
  }

  .ab_constitution-text{
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    column-gap: 8.5rem;
    align-items: center;
    font-size: 3rem;
    color: #000000;

}

.ab_constitution-text::before,
.ab_constitution-text::after {
  content: "";
  display: inline-block;
  width: 44rem; /* Adjust the width of the lines as needed */
  height: 2px; /* Adjust the height of the lines as needed */
  background-color: black; /* Adjust the color of the lines as needed */
  margin: 0 5px; /* Adjust the spacing between the lines and the word */
}

.constitution-link-1{
  display: block;
  margin-left: 1rem;
  grid-column: 1/-1;
  font-size: 2.3rem;
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.constitution-link-2{
  display: block;
  margin-left: 1rem;
  grid-column: 1/-1;
  font-size: 2.3rem;
}


  .collective-section-3{
    margin: 21rem 10rem 12rem 10rem;
    grid-column: 1/-1;
    grid-row: 4/5;
  }

  .collective_info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    background-color: transparent;
    gap: 7rem;
  }
  
  .collective_info li {
    list-style-type: none;
    text-decoration: none;
  }

  .collective_info:hover{
    background-color: transparent;
  }

  .aeu-card {
    border-radius: 15px;
    text-align: center;
    background: 
      linear-gradient(rgba(149, 47, 75, .5), rgba(149, 47, 75, .5)),
      url(Logos/Logos/collective.png);
    background-position: center;
    background-size: cover;
    width: 100%;
    padding: 8.5rem 2rem;
    color: #ffffff;
    font-size: 2.6rem;
    font-weight: 650;
    text-decoration: none;
}

  .links-section-3{
    margin: 40rem 20rem;
    grid-column: 1/-1;
    grid-row: 4/5;
  }
  
  .links_info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
    background-color: transparent;
    gap: 20rem;
  }
  
  .links_info:hover{
    background-color: transparent;
  }

  .link-tt{
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    gap: 20rem;
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .links-links{
    color: #fff;
    text-align: left;
    font-size: 20px;
    font-size: 2.5rem;
    text-align: center;
    border-radius: 15px;
    height: 70rem;
  }

  .links-links-1{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url(images/facts.png);
    background-position: center;
    background-size: cover;
  }

  .links-links-2{
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url(images/steweards.ing.webp);
    background-position: center;
    background-size: cover;
  }

.stewards-section-3{
  margin: 35rem 10rem 35rem 10rem;
  grid-column: 1/-1;
  grid-row: 4/5;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4,1fr);
  gap: 2.5rem;
  text-align: center;
  font-size: 3rem;
  color: #000;
  cursor: pointer;
}

.stewards-link {
  color: black; /* Makes text black */
  text-decoration: none; /* Removes underline */
  z-index: 1000;
}

.stewards-link:hover {
  color: black; /* Ensures hover color stays black */
  text-decoration: none; /* Prevents underline on hover */
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  height: min-content;
}

.carousel-track {
  display: grid;
  grid-template-columns: repeat(6,15rem);
  gap: 1rem;
  transition: transform 0.5s ease;
}

.contact-section-3{
  grid-column: 1/-1;
  grid-row: 4/5;
  background-image: linear-gradient(rgba(232, 232, 232, 0.85), rgba(232, 232, 232, 0.85)),
  url('images/1000_F_635883308_5fFjkn2XFsOUWuugIjupkoID2r2fPTq8.jpg');
background-position: center;
background-size: cover;
}

.contact_info{
  margin: 15rem 50rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 2.5rem;
  place-items: center;
}

.contact-tt{  
  font-size: 4.2rem;
}

.top-info{
  grid-column: 1/-1;
  font-size: 2.6rem;
  font-weight: 600;
  text-align: center;
}

.mid-info{
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 5rem;
  margin: 3rem 0;
}

.personal-info{
  margin-bottom: 3rem;
}

.conatact-p{
  margin: -1.2rem 0;
  font-size: 2.9rem;
}

.conatact-n{
  margin: -1.2rem 0;
  font-size: 2.3rem;
}

.conatact-e{
  margin: -1.2rem 0;
  font-size: 1.8rem;
}

.conatact-c{
  margin: -2.3rem 0 -1.2rem 0;
  font-size: 1.8rem;
}

.contacts{
  color: #A2224B;
}

.news-section-3{
  grid-column: 1/-1;
  grid-row: 4/5;
  place-items: center;
}

.news_info{
  margin: 10rem 0;
  display: grid;
  grid-template-columns: repeat(8,16rem);
  grid-template-rows: repeat(4,1fr);
  place-content: center; /* Center both horizontally and vertically */
}

.headline{
  text-align: center;
  font-size: 4rem;
  line-height: 4rem;
  font-weight: 700;
  letter-spacing: .3rem;
}

.news-tt {
  grid-column: 1/-1;
  grid-row: 1/5;
  text-align: justify;
  text-justify: newspaper;
  font-size: 1.6rem;
  line-height: 4rem;
  font-weight: 400;
}

footer{
    grid-column: 1/-1;
    grid-row: 5/6;
    background-color: #83B8BD;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(3,1fr);
}

.footer-logo{
    grid-column: 2/-1;
    grid-row: 1/-1;
    width: 7%;
    height: auto;
    align-self: center;
}

.copyright {
    grid-column: 8/-1;
    grid-row: 1/-1;
    color: #575757;
    padding: 2rem 2rem;
    align-self: center;
}

#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    border-radius: 30%;
    outline: none;
    background-color: #A2224B;
    color: white;
    cursor: pointer;
    padding: 15px;
    opacity: .5;
    transition: all.2s;
  }
  
  #myBtn:hover {
    background-color: #A2224B;
    opacity: 1;
  }

  .active-1{
    background-color: #861f3f;
  }




/* Media queries */

@media only screen and (max-width: 1700px) {

  .collective_info {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: min-content;
  }

  .contact_info{
    margin: 15rem 30rem;
  }
}

@media only screen and (max-width: 1500px) {
  .recent_news{
    height: min-content;
  }

  .contact_info{
    margin: 15rem 20rem;
  }

}


@media only screen and (max-width: 1354px) {
  .recent_news{
    margin-left: 3rem;
    width: 73%;
  }

  .about_info{
    margin: 20rem 20rem 14rem 20rem;
    display: grid;
}

  .ab_constitution-text::before,
  .ab_constitution-text::after {
    width: 33rem; /* Adjust the width of the lines as needed */
}

.collective-section-3{
  margin: 21rem 5rem;
}

  .collective_info {
    grid-template-columns: repeat(3, 1fr);
}

}

@media only screen and (max-width: 1200px) {
  .home_info{
    margin: 6rem 2rem;
  }

  .about_info{
    grid-template-columns: 1fr;
    margin: 20rem 10rem;
    display: grid;
  }

  .ab-title{
    line-height: 3.6rem;
  }

  .ab_constitution-text::before,
  .ab_constitution-text::after {
    width: 22rem;
}

.collective-section-3{
  margin: 21rem 8rem;
}

  .collective_info {
    grid-template-columns: repeat(2, 1fr);
}

.contact_info{
  margin: 15rem 1rem;
}
}

@media only screen and (max-width: 1000px) {
  .home_info{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    margin: 10rem 5rem;
  }

  .welcome-txt{
    grid-column: 1/-1;
    grid-row: 1/-1;
  }

  .recent_news{ 
    margin-left: 0rem;
    margin-top: 2rem;
    width: 94%;
  }
}

@media only screen and (max-width: 950px) {

  .info-top{
    grid-template-columns: min-content 1fr;
}

.main_img_btn{
    width: 200px;
    background-color: transparent;
}

.main_img {
  width: 280px;
}

.mail_btn {
  width: 13rem;
  font-size: 1.3rem;
}

#callButton {
  width: 13rem;
  font-size: 1.3rem;
  }

.contact{
    width: 13rem;
    font-size: 1.3rem;
  }

  .french{
    width: 13rem;
    font-size: 1.3rem;
  }

  
  .ab_constitution-text::before,
  .ab_constitution-text::after {
    display: none;
}

.collective-section-3{
  margin: 21rem 3rem;
}
}


@media only screen and (max-width: 850px) {

  .info-top{
    grid-template-columns: min-content 1fr;
}

.main_img {
  width: 255px;
  margin-left: 0rem;
}

.mail_btn {
  width: 13rem;
  font-size: 1.3rem;
}

#callButton {
  width: 13rem;
  font-size: 1.3rem;
  }

.contact{
    width: 13rem;
    font-size: 1.3rem;
  }

  .french{
    width: 13rem;
    font-size: 1.3rem;
  }

  .about_info{
    margin: 20rem 5rem;
  }
  .collective-section-3{
    margin: 21rem 9rem;
  }

  .collective_info {
    grid-template-columns: repeat(1, 1fr);
}

.aeu-card{
  height: 12rem;
  padding-top: 5rem;
}

.aeu-card span {
  display: block;  /* Allows margin-top to work */
  margin-top: 4.5rem; /* Adjust as needed */
}

.contact_info{
  grid-template-columns: 1fr;
  grid-template-rows: min-content;
  gap: 3rem;
}
}

@media only screen and (max-width: 640px) {

  nav {
    position: absolute;
  }

  .bar {
    height: min-content;
    padding-bottom: 1rem;
    width: 40%;
    font-size: 14.2px;
    top: 50%;
    left: 50%;
    transform: translate(70%, 0%);
  }
  
  .bar li {
    display: block; 
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
  }

  .welcome-txt{
    margin-top: 5rem;
  }

  .about_info{
    margin-top: 25rem;
  }

  .collective_info {
    grid-template-columns: repeat(1, 1fr);
    margin-top: 10rem;
}

.collective-section-3{
  margin: 21rem 4rem;
}

.aeu-card span {
  display: block;  /* Allows margin-top to work */
  margin-top: 4.5rem; /* Adjust as needed */
}

.contact_info{
  margin-top: 23rem;
}
}

@media only screen and (max-width: 530px) {

  .info-top{
    grid-template-columns: 1fr;
    grid-template-rows:  1fr;
    float: none;
    place-items: center
  }

  .hero{
    grid-column: 1/-1;
    grid-row: 2/-1;
    margin-top: -1rem;
  }

  #callButton, .french {
    float: none;
}

  .main_img {
    width: 380px;
    margin-left: -11rem;
  }

  .bar {
    margin-top: 7rem;
    width: 55%;
    transform: translate(45%, 0%);
  }

  .welcome-txt{
    margin-top: 11rem;
  }

  .about_info{
    margin-top: 30rem;
  }

  .collective-section-3{
    margin: 21rem 2rem;
  }

  .contact_info{
    margin-top: 28rem;
  }

}

@media only screen and (max-width: 400px) {

  .main_img {
    width: 320px;
    margin-left: -7rem;
  }

  .bar {
    margin-top: 5rem;
  }

  .welcome-txt{
    margin-top: 9rem;
  }

  .aeu-card{
    font-size: 1.8rem;

  }

}