/*
Theme Name: TWBN
Text Domain: twbn
Author: Step 3 Digital
Version : 1.0.0
*/

body{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px; /* 150% */
    margin: 0;
}

.container{
    max-width: 1280px ;
    margin: 0 auto ;
    padding: 0 60px ;
}
.container-morepadding{
    max-width: 1280px ;
    margin: 0 auto ;
    padding: 0 100px ;
}
.container-nopadding{
    max-width: 1280px;

    margin: 0 auto;
}

.desktop-nav{
    display: flex;
    flex-direction: row;
    padding: 18px 60px;

    justify-content: space-between;
}

header{   
    z-index: 1001;
    width: 100%;
    background: var(--White, #FFF);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.05);
    top: 0;
    position: sticky;
}

#site-logo{
    width: auto;
    height: auto;
}

.horizontal-menu{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    
    gap: 50px;
    list-style: none;
    margin: 0;
}

.horizontal-menu a{
    text-decoration: none;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 15px;
    font-weight: 400;
}

.horizontal-menu a:hover{
    color: var(--Teal, #326C85);
    text-decoration: underline;
}

nav {
    align-content: flex-end;
}

.visit-button a{
    color: var(--Teal, #326C85);
    border-radius: 99px;
    border: 1px solid var(--Teal, #326C85);
    padding: 6px 24px;

}

.current_page_item span, .current-menu-item span{
    color: var(--Teal, #326C85) !important;
    font-size: 15px;
    text-decoration-line: underline;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

#footer-content{
    display: flex;
    flex-direction: row;
    padding: 20px 34px;
    gap: 20px;
    justify-content: space-between;
    flex-shrink: 0;

}

.footer-menu{
    list-style: none;
    padding: 0;
    margin: 0;
}

#yellow-shape-footer{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/yellow-bottom.svg);
    width: 100%;
    height: 96px;
    background-size: cover;
    background-position: top;
}
.load-more{
    cursor: pointer;
}
.home-bottom-image img{
    z-index: -2;
    margin-bottom: -160px;
    border-radius: 100px 0 0 0;
    object-fit: cover;
    object-position: center;
    width: 788px;
    height: 510px;
}
.home-bottom-image{
    display: flex;
    justify-content: flex-end;
    margin-top: 156px;

}
#blue-shape-footer{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/blue-shape-members-footer.svg);
    width: 100%;
    height: 662px;
    background-size: cover;
    background-position: top;
    margin-bottom: -96px;
}

#blue-shape-footer-members{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/blue-bottom.svg);
    width: 100%;
    height: 375px;
    background-size: cover;
    background-position: top;
    margin-bottom: -96px;
}

#footer-content div{
    margin: 0;
    color: var(--Teal, #326C85);
    display: flex;
    gap: 5px;
    flex-direction: row;
    align-items: center;
}


#footer-content div a{
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px; /* 150% */
    text-decoration-line: underline;
    text-underline-position: from-font;
}

.fa-brands, .fa-sharp{
    font-family: FontAwesome;
    font-style: normal;
}

#footer-content a{
    color: var(--Teal, #326C85);
    font-size: 16px;
}

#linkedin{
    
    display: flex;
    text-decoration: none;
    gap: 20px;
}

#footer-content a span{
    align-content: center;
}

#footer-content a span span{
    color: var(--Teal, #326C85);
    font-weight: 700;
    line-height: 24px;
    text-decoration-line: underline;
    text-underline-position: from-font;
}

#footer-content a i{
    font-size: 32px;
}

#footer-text{
    display: flex;
    flex-direction: row;
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 32px;
    font-weight: 300;
    gap: 20px;
    width: 100%;
    line-height: normal;
    padding: 180px 0 74px 0;
}

#footer-text p{
    margin:0;
}

#bottom-footer-text-members{
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 18px;
    font-weight: 300;
    line-height: 26px; /* 144.444% */
    margin: 0;
    width: 50%;
    padding: 115px 0 0 61px;
}

.single-page{
    font-family: Inter;
    justify-items: center;
}

.yellow{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/yellow-top.svg);
}

.blue{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/blue-rectangle.svg);
}

.teal{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/light-teal-shape-top.svg);
}

#half-circle{
    position: relative;
    z-index: -3;
    margin-top: -300px;
    margin-right: -80.8%;

}

.hero-svg{
    height: 100px;
    aspect-ratio: auto/1;
    background-position: bottom;
    background-size: cover;
    width: 100%;
    z-index: 1;
    position: relative;
}

.hero{
    display: flex;
    justify-content: flex-end;
}

.hero-image{
    width: 75%;
    height: 600px;
    z-index: -2;
    align-content: flex-end;

    
    margin-top: -135px;
    flex-shrink: 0;
    border-radius: 0 0 0 100px;
}
#cmplz-document{
    justify-self: center;
}
.hero-title{
    width: auto;
}
.members-title{
    text-align: center;
}

.hero-title h1{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 48px;
    width: auto;
    font-style: normal;
    display: inline-block;
    font-weight: 200;
    line-height: 52px; /* 108.333% */
    margin: 0;
}
.members-title h1{
    margin-left: -670px;
}
.quote{
    display: flex;
    flex-direction: row;
    gap: 20px;
    color: white;
    margin-bottom: 39px;
    margin-left: 126px;
    width: auto;
}

.quote p{
    width: 100%;
    margin: 0;
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.quote-extra{
    color: var(--White, #FFF);

    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px; /* 144.444% */
    width: 50%;
    margin-bottom: 24px !important;
}
.quote-text{
    width: 80%
}

.footer-button{
    border-radius: 99px;
    background: var(--Green, #00A19A);
    padding: 8px 22px;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    color: white;
    border: 2px solid #00A19A;
    transition: all 0.3s ease;
    text-decoration: none;
}
.footer-button:hover{
    background-color: transparent;
}
.footer-bottom-text p{
    margin: 0;
}
.footer-bottom-text{
    padding: 0 50px;
}

.members-home{
    padding: 0 120px;
}

.members-items-home{
    display: flex;
    flex-direction: row;
    justify-self: center;
    justify-content: flex-end;
    margin-top: 50px;
    gap: 20px;
    flex-wrap: wrap;
    width: 1060px;
}

.extra-content{
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
    width: 1060px;
    justify-self: center;
}

.extra-content a{
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    padding: 8px 22px;
    justify-content: center;
    align-items: center;
    border: 2px #00A19A solid;
    border-radius: 99px;
    background: var(--Green, #00A19A);
    transition: all 0.3s ease;
    text-decoration: none;

}

.extra-content a:hover{
    background: transparent;
    color: #00A19A;
}


.members-and-button{
    display: flex;
    flex-direction: column;
}

#yellow-circle-home{
    margin-top: -470px;
    margin-bottom: -50px;
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/yellow-circle.svg);
    width: 505px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 489.786px;
    flex-shrink: 0;
}

#yellow-circle-members{
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/circle-right.svg);
    width: 341px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 489.786px;
    position: relative;
    justify-self: flex-end;
    margin-bottom: -300px;
    margin-top: -190px;
    flex-shrink: 0;
    z-index: -2;
}

/* Members page */

.members-top{
    justify-items: center;
}
.members-top.container{
    padding: 0 50px;
}

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  justify-items: center;
  align-items: start;
  padding: 0 60px;
  box-sizing: border-box;
}

.member-info {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-decoration: none;
}

.member-info i{
    align-content: center;
}

@media (max-width: 1075px) {
  .members {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .members {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
  }
}

@media (max-width: 468px) {
  .members {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
  }
  .member-info{
    font-size: 4vw;
  }
}


.member-card a{
    text-decoration: none;
}

.member-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures the image fills the box without distortion */
  transition: transform 0.3s ease;
}




.quote-right {
    display: flex;
    flex-direction: row;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 32px;
    font-weight: 300;
    gap:20px;
    margin-left: 500px;
    margin-bottom: 40px;
    width: auto;
    margin-right: 70px;

}

.quote-right p{
    margin: 0;
    width: 100%;
    line-height: normal;
}

/* Member single page */

.hero-single{
    margin-top: -45px;
    display: flex;
    flex-direction: row;
    gap: 71px;
    
}
.hero-single .hero-image-single img{
    width: 394px;
    height: 364px;
    object-fit: cover;
    border-radius: 60px 0 60px 0;
    z-index: 2;
    position: relative;
   
}
.hero-image-single{
     padding-left: 60px;
}
.hero-single div .hero-title{
    margin: 0;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 36px;
    font-weight: 200;
    line-height: 44px; /* 122.222% */
}
.site-link a{
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}
.hero-single div{
    align-content: center;
}
.job-title {
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 150% */
}
.black{
    margin:  0;
}
.black p{
    color: var(--Black, #10131E) !important;
    font-family: Inter;
    font-size: 32px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.paragraph p{
    margin-top: 0;
}
.current-page{
    color: var(--Teal, #326C85) !important;
    text-decoration-line: underline !important;
    text-decoration-style: solid !important;
    text-decoration-skip-ink: auto !important;
    text-decoration-thickness: auto !important;
    text-underline-offset: auto !important;
    text-underline-position: from-font !important;
}
.member-name a{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 133.333% */
    text-decoration: none;
    gap: 5px;
}
.member-name p{
    margin: 0 0 5px 0;
}
.member-name a:hover{
    color: var(--Teal, #326C85) ;
    text-decoration-line: underline ;
    text-decoration-style: solid ;
    text-decoration-skip-ink: auto ;
    text-decoration-thickness: auto ;
    text-underline-offset: auto ;
    text-underline-position: from-font ;
}
.members-names{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.member-content{
    gap: 90px;
    display: flex;
    flex-direction: row;
    padding: 61px 0;   
}
.member-content-text{
    display: flex;
    flex-direction: column;
    width: 70%;
    padding: 0 60px;
}
.member-content-othermembers{
    width: 30%;
}
.member-content-othermembers h2{
    font-weight: 500;
    margin: 0;
    margin-bottom: 34px;
}

/* Topics & Agenda */
.smaller-title h2{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 32px;
    font-weight: 300;
    line-height: normal;
    margin: 0;
}
.smaller-title{
    width: auto;
}

.upcoming-events{
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding: 35px 60px 35px 60px;
    width: auto;
}
.upcoming-event{
    display: flex;
    flex-direction: row;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 24px;
    font-weight: 500;
    line-height: 24px;
}
.upcoming-event-box1{
    width: 65%;
}
.upcoming-event-box2{
    width: 35%;
}
.upcoming-event-link{
    text-decoration: none;
}
.upcoming-event-box2 span{
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    border: 1px solid #326C85;
    padding: 6px 24px;
    border-radius: 99px;
    transition: all 0.3s ease;
}
.upcoming-event-box2 span:hover{
    background-color: #326C85;
    color: white;
}
.summary-text{
    margin: 0;
    font-size: 16px;
}

.past-events{
    padding: 25px 0 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}
.past-event-top-div{
    width: 45%;
}
.past-event-link{
    text-decoration: none;
    color: var(--Black,#10131E);
}
.past-event{
    display: flex;
    flex-direction: column;
}
.past-event img{
    object-fit: cover;
    height: 230px;
    width: 100%;
}

.past-event-date {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}
.past-event-title{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 100% */
    margin-bottom: 5px ;
    margin-top: 10px;
}
.summary-text-past-event p{
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    margin-bottom: 10px;
    
}
.past-event span{
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
    padding: 10px 24px;
    border-radius: 99px;
    border: 1px solid var(--Teal, #326C85);
    transition: all 0.3s ease-in-out;
    text-align: center;
    width: 88px;
}
.past-event span:hover{
    background-color: #326C85;
    color: white;
}
.more-events{
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
    margin-top: 51px;
}
.more-events a{
    color: white;
    text-decoration: none;
    text-align: center;
    justify-self: center;
    align-self: center;
    border-radius: 99px;
    border: 1px solid var(--Teal, #326C85);
    background: var(--Teal, #326C85);
    display: inline-flex;
    padding: 10px 24px;
    gap: 10px;
    transition: all 0.3s ease-in-out;
}
.more-events a:hover{
    background-color: transparent;
    color: #326C85;
}

/* single event page */
.hero-events, .hero-visit{
    display: flex;
    flex-direction: row;
}
.hero-title-events, .hero-title-visit{
    padding: 69px 60px;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 200;
    line-height: 44px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: auto;
}
.smaller-date{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px; /* 171.429% */
}

.event-content{
    display: flex;
    flex-direction: row;
    gap: 90px;
    padding: 60px 0 60px 0;
}
.events-quote{
    width: 100%;
}
.other-topics{
    width: 38%;
}
.other-topics h3{
    margin-bottom: 36px;
    font-weight: 500;
    font-size: 24px;
}
.transparent-button{
    border-radius: 99px;
    padding: 10px 24px;
    color: var(--Teal, #326C85);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    border: 1px solid var(--Teal, #326C85);
    width: 100px;
    text-align: center;
    text-decoration: none;
    transition: 0.3s all ease-in-out;
}
.transparent-button:hover{
    background-color: #326C85;
    color: white;
}
.event-content-text{
    display: flex;
    flex-direction: column;
    width: 62%;
    padding: 60px;
}

.event-single-image{
   display: flex;
   justify-content: flex-end;
   width: 50%;
}
.hero-title-events{
    align-self: center;
}
.event-single-image img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    justify-self: flex-end;
    border-radius: 0 0 0 60px;
    margin-top: -100px;
}

.yellow-line-thin{
    border-bottom: 1px solid var(--Bright-Yellow, #E2DF24);
    margin-top: 15px;
    margin-bottom: 20px;
}

/* Visit  page */

.hero-title-visit{
    max-width: 506px;
    margin-left: auto;
}
.hero-title-visit h1{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 200;
    line-height: 44px; /* 122.222% */
    margin: 0;
}

.hero-title-visit p{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px;
    margin: 0;
}

.visit-info{
    display: flex;
    flex-direction: row;
}

.inputform{
    display: flex;
    flex-direction: column;
    padding: 0 0 143px 60px;
    width: 50%;
}
.hero-title-visit{
    width: 50%;
}

.submit-button {
    padding: 10px 24px;
    border-radius: 99px;
    border: 1px solid var(--Teal, #326C85);
    background: var(--Teal, #326C85);
    color: var(--White, #FFF);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    transition: 0.3s all ease-in-out;
}
.submit-button:hover{
    background-color: transparent;
    color: #326C85;
}

.visit-extra-info{
    width: 50%;
    padding: 39px 78px 118px 86px;
    display: flex;
    flex-direction: column;
}
.visit-extra-info-container{
    margin-bottom: 49px;
}
.visit-extra-info h2{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 200;
    line-height: 44px;
    margin: 0 0 20px 0;
}
.visit-extra-info p{
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 300;
    line-height: 26px; /* 144.444% */
    margin: 0;
}

.visit-single-image{
    width: 50%;
    margin-top: -100px;
    z-index: -1;
    justify-self: flex-end;
}

.visit-single-image img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    justify-self: flex-end;
    border-radius: 0 0 0 60px;
}
.input-box{
    border-radius: 3px;
    background: #F8FAFD;;
    padding: 20px;
    width: 90%;
    border: 1px solid #ffffff;
    border-radius: 3px;
    font-size: 14px;
    transition: 0.3s;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.input-box-large{
    display: block;
    border-radius: 3px;
    background: #F8FAFD;;
    padding: 20px;
    width: 90%;
    border: 1px solid #ffffff;
    border-radius: 3px;
    font-size: 14px;
    resize: vertical;
    color: #000000;
    font-family: Inter;
    font-size: 16px;
    font-weight: 500;
}
.upcoming-meetings{
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
}
/* Mobile nav*/
.mobile-nav{
    display: none;
}

.mobile-nav-top{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
    z-index: 10001;
    background-color: white;
}
.mobile-burger{
    width: 30px;
    height: auto;
    align-content: center;
}
.mobile-burger a{
    cursor:pointer;
}
.mobile-veritcal-menu{
    display: flex;
    flex-direction: column;
    gap: 75px;
    margin: 50px 0;
    padding: 0;
}
.mobile-veritcal-menu li{
    list-style: none;
    text-align: center;
}
.mobile-veritcal-menu a{
    color: var(--White, #FFF);
    text-decoration: none;
}
.mobile-veritcal-menu span{
    color: var(--White, #FFF);
    text-align: center;
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#nav-menu{
    display: none;

    background: var(--Teal, #326C85);
}
.active{
    display: flex !important;
    flex-direction: column;
}

/* Mobile - front page*/

.mobile-hero-image {
    background-image: url(http://twbn.co.uk/wp-content/uploads/2025/09/0d814fcad3c46667f88c51b7f57ebcbc2a0f475e.jpg);
    background-size: cover;
    width: 100%;
    position: relative;
    height: 300px;
    border-radius: 0 0 0 100px;
    margin-top: -60px;

    z-index: -2;
}
.mobile-hero{
    display: none;
}
.mobile-hero h1{
    margin: 0;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 200;
    line-height: 44px; /* 122.222% */
    padding: 20px;
    margin-bottom: 20px;
}
.mobile-quote{
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 0 20px;
}
.mobile-quote p{
    margin: 0;
    color: var(--Black, #10131E);
    font-family: Inter;
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}
.mobile-items-home{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.members-mobile{
    display: none;
    padding: 10px;
}
.member-card {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.member-flipper-card{
    width: 250px;
    height: 250px;
}
@media (min-width: 768px) and (max-width: 1075px) {
    .quote-text{
        width: auto;
    }   
    .quote-extra{
        width: auto;
    }
    .members-title{
        text-align: start;
    }
    .home-bottom-image img{
        width: 60%;
    }
    .members-title h1{
        margin-left: 0;
    }

    .member-image {
        width: 100%;
        height: 100%;
    }
    .member-flipper-card{
    width: 200px;
    height: 200px;
}
    .front1,
    .front2,
    .back1,
    .back2 {
        width: 100% ;
        height: 100%;
    }
    .members-mobile {
        display: flex;
    }
    .members-home {
        display: none;
    }

    .hero-title-visit{
        margin: 0;
    }
    .past-events .past-event-top-div{
        width: 45%;
    }
    .extra-content{
        width: 100%;
        justify-self: center;
        justify-content: center;
    }
    .quote-right{
        justify-content: flex-end;
        margin-left: 0;
        margin-right: 0;
    }
    .quote-right p{
        width: 46%;
    }
}

@media (max-width: 768px) {
    .quote-text{
        width: auto;
    }   
    .member-flipper-card{
    width: 150px;
    height: 150px;
}
    .quote-extra{
        width: auto;
    }
    .extra-content{
        width: 100%;
        justify-self: center;
        justify-content: center;
    }
    .members-title{
        text-align: start;
    }
    .home-bottom-image img{
        width: 100%;
        height: 225px;

        margin-bottom: -130px;
    }
    .home-bottom-image{
        margin-top: 30px;
    }
    .members-title h1{
        margin-left: 0;
    }
    .visit-extra-info-container{
        margin: 0;
    }
    .members-home {
        display: none;
    }
    .members-mobile {
        display: flex;
        padding: 0;
    }
    .member-card a{
        gap: 0px;
    }
    .member-image{
        width: 100%;
        height: 100%;
    }
    .member-image img{
        width: 100%;
        height: 100% ;
    }
    .front1{
        width: 100% ;
        height: 100% ;
    }
    .front2{
        width: 100%;
        height: 100% ;
    }
    .back1{
        width: 100%;
        height: 100% ;
    }
    .back2{
        width: 100% ;
        height: 100% ;
    }
    .desktop-nav{
        display: none;
    }
    .mobile-items-home{
        gap: 5px;
    }
    .members-top.container{
        padding: 0 !important;
    }
    .mobile-nav{
        display: block;
    }
    .current-menu-item span{
        color: var(--Bright-Yellow, #E2DF24) !important;

        text-decoration: none;
    }
    .footer-bottom-text{
        padding: 0 20px;
    }
    .footer-space{
        display: none;
    }
    .navigation{
        margin-bottom: 229px;
    }
    .hero{
        display: none;
    }
    .mobile-hero{
        display: block;
    }
    #yellow-circle-home{
        display: none;
    }
    #site-logo{

    }
    .container{
        padding: 0 20px;
        max-width: none;
    }
    .mobile-hero.container{
        padding: 0;
    }
    .extra-content{
        justify-content: center;
        margin-top: 31px;
    }
    #blue-shape-footer{
        height: auto;
        padding-bottom: 100px;
    }

    #footer-text{
        padding: 0;
        padding-top: 157px;
        width: auto;
        font-size: 24px;
    }
    .hero-image-single{
        padding-left: 0px;
    }
    .container-morepadding{
        padding: 20px;
    }
    #bottom-footer-text{
        width: auto;
        padding: 20px;
        
    }
    #bottom-footer-text p{
        width: auto;
    }
    #footer-content{
        flex-direction: column-reverse;
    }
    #yellow-circle-members{
        display: none;
    }
    
    .quote-right{
        padding: 20px;
        margin: 0;
        justify-content: flex-start;
    }
    .quote-right p{
        width: 100%;
    }
    .hero-single{
        margin: 0;
        flex-direction: column;
        gap: 0px;
        padding: 20px;
        width: auto;
    }
    .member-content{
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        width: auto;
    }
    .visit-extra-info{
        gap: 25px;
    }
    .member-content-text{
        width: 100%;
        padding: 0;
    }
    .member-content-othermembers{
        width: 100%;
    }
    .quote{
        width: 100%;
    }
    .hero-single .hero-image-single img{
        width: 100%;
        height: 100%;

    }
    #bottom-footer-text-members{
        padding: 80px 20px 20px 20px;
        width: auto;
    }
    .upcoming-events{
        padding: 20px;
    }
    .upcoming-event{
        flex-direction: column;
    }
    .upcoming-event-box1{
        width: 100%;
    }
    .upcoming-event-box2{
        width: 100%;
    }
    .smaller-title{
        padding: 20px;
        
    }
    .smaller-title h2{
        text-align: left;
        margin: 10px 0;
    }
    .hero-title{
        margin: 0px;
        
        text-align: left;
    }
    .past-events{
        padding: 20px;
        flex-direction: column;
    }
    .past-event-top-div{
        width: 100%;
    }
    .hero-events{
        flex-direction: column-reverse;
        width: auto;
    }


    .hero-title-events{
        padding: 20px;
    }
    .event-single-image img{
        margin-top: -60px;
        height: 100%;
        width: 100%;
    }
    .event-content{
        padding: 20px;
        width: auto;
        flex-direction: column;
    }
    .event-content-text{
        width: auto;
        padding: 0;
    }
    .other-topics{
        width: 100%;
    }
    .hero-visit{
        flex-direction: column-reverse;
    }
    .visit-single-image{
        width: 100%;
    }
    .hero-title-visit{
        width: auto;
        padding: 20px;
        margin: 0;
    }
    .visit-info{
        flex-direction: column;
    }
    .inputform{
        width: auto;
        padding: 20px;
    }
    .visit-extra-info{
        padding: 20px;
        width: auto;
    }
}
/* Flipper */
#message 
{
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    color: #292929;
    padding:30px;

    font-weight: bold;
}

.flip-container1 {
  -webkit-perspective: 1000;
  -moz-perspective: 1000;
  -o-perspective: 1000;
  perspective: 1000;
}

.front1, .back1,
.front2, .back2 {
  width: 100%;
  height: 100%;
}

/* Flip to the right */
.flip-container1.flipped .flipper1 {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* Flip to the left */
.flip-container1.flipped .flipper2 {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}

/* Shared flipper styles */
.flipper1, .flipper2 {
  -webkit-transition: 0.6s;
  -webkit-transform-style: preserve-3d;

  -moz-transition: 0.6s;
  -moz-transform-style: preserve-3d;

  -o-transition: 0.6s;
  -o-transform-style: preserve-3d;

  transition: 0.6s;
  transform-style: preserve-3d;

  position: relative;
  width: 100%;
  height: 100%;
}

/* Common face styles */
.front1, .back1,
.front2, .back2 {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;

  position: absolute;
  top: 0;
  left: 0;
}

/* Front always above */
.front1, .front2 {
  z-index: 2;
}

/* Back for flipper1 (right flip) */
.back1 {
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
}

/* Back for flipper2 (left flip) */
.back2 {
  -webkit-transform: rotateY(-180deg);
  -moz-transform: rotateY(-180deg);
  -o-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
}
