* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}
/* Styling how navigating pages fades in and out */
/* #page {
  opacity: 80;
  transition: opacity 0.5s ease-in-out;
}

#page.fade-in {
  opacity: 1;
} */

/* Main Scroll Button Container */
#scrollToTopBtn {
  position: fixed;
  bottom: -60px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: #ff4d4d;
  border-radius: 50%;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  transition: bottom 0.5s ease, opacity 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: visible;
}

#scrollToTopBtn.show {
  bottom: 30px;
  opacity: 1;
}

/* Pulsing Ring */
#scrollToTopBtn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 77, 77, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: pulse-ring 1.5s infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}

#scrollToTopBtn:hover {
  background-color: #FF344C;
}

/* Styling the main header on the page */
.main-header {
    background-color: #1F3584;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
}

.home-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.home-nav .left-side {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.home-nav ul li {
    list-style: none;
}

.home-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.4rem;
    transition-duration: 0.4s;
}

.home-nav ul li a:hover {
    color: #FF344C;
}

.political-logo img{
    width: 120px;
    border-radius: 1rem;
    display: block;
}

.side-buttons {
    display: flex;
    column-gap: 2rem;
}

.side-buttons a {
    text-decoration: none;
    color: #FFFFFF;
}

.side-buttons .side-button1, .side-button2{
    padding: 1rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}

.side-buttons .side-button1 {
    border: 1px solid #fff;
    background-color: #1F3584;
    color: #fff;
    padding: 1rem 2rem;
    transition: transform 0.3s ease;
    transition-duration: 0.4s;
}

.side-buttons .side-button1:hover {
    background-color: #FF344C;
    transform: translateY(5px);
}

.side-buttons .side-button2 {
    background-color: #FF344C;
    border: none;
    color: #fff;
    padding: 1rem 2rem;
    transition: transform 0.3s ease;
    transition-duration: 0.4s;
}

.side-buttons .side-button2:hover {
    background-color: #1F3584;
    border: 1px solid #FF344C;
    color: #FF344C;
    transform: translateY(5px);
}

/* Styling the side bar menu */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    z-index: 9998;
    background-color: rgba(255, 255, 255, 0.395);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.sidebar li {
    width: 100%;
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.sidebar li a {
    width: 100%;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.2rem;
}

.sidebar .hide-icon a img {
    margin-top: 1rem;
    background: #FF344C;
    border-radius: 5px;
}

.home-nav .side-buttons .menu-button a img {
    background: #FF344C;
    border-radius: 5px;
}

.menu-button {
    display: none;
}

/* Styling the hero section on the main page */
.community-hero {
    background-color: #1F3584;
}
.hero-section {
    display: flex;
    justify-content: space-around;
    background-color: #1F3584;
    color: #fff;
    margin: auto;
    padding: 5rem 1rem 0 1rem;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    margin-bottom: 12rem;
    max-width: 1200px;
}

.name-profile-description {
    max-width: 100%;
    padding-top: 4rem;
}

.hero-section h1{
    font-size: 1rem;
    font-size: clamp(1rem, -0.19999999999999996rem + 6vw, 7rem);
    margin-bottom: 1rem;
    letter-spacing: 6px;
    line-height: -20px;
}

.hero-side-buttons {
    display: flex;
    column-gap: 2rem;
    margin-top: 2rem;
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
}

.hero-side-buttons a {
    text-decoration: none;
}

.hero-side-buttons .side-button3, .side-button4{
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 10px;
    cursor: pointer;
}

.hero-side-buttons .side-button3 {
    background-color: #fff;
    color: #FF344C;
    transition-duration: 0.4s;
}

.hero-side-buttons .side-button3:hover {
    background-color: #1F3584;
    border: 1px solid #fff;
    color: #fff;
}

.hero-side-buttons .side-button4 {
    background-color: #1F3584;
    border: 1px solid #fff;
    color: #fff;
}

.hero-side-buttons .side-button4:hover {
    background-color: #fff;
    color: #0E121E;
}

.community-hero img {
    max-width: 45%;
    display: block;
    border-radius: 15px;
    position: relative;
    top: 4rem;
}

.community-hero p:nth-child(1) {
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.community-hero h3:nth-child(2) {
    font-size: 3rem;
    line-height: 3rem;
    padding-bottom: 2rem;
}

/* Styling the about section on the about main page */
.description-container {
    max-width: 1200px;
    display: flex;
    justify-content: center;
    margin: auto;
    vertical-align: middle;
    align-items: center;
    column-gap: 2rem;
    margin-bottom: 8rem;
}

.description-container img {
    max-width: 45%;
    border-radius: 15px;
}

.description-container .profile-descrition-container {
    margin-left: 6rem;
}

.profile-descrition-container p:nth-child(1) {
    padding-bottom: 1rem;
    color: #FF344C;
    font-weight: 600;
    font-size: 1.2rem;
}

.profile-descrition-container h3:nth-child(2) {
    padding-bottom: 1rem;
    color: #1F3584;
    font-size: 2.4rem;
    font-weight: 600;
}

.profile-descrition-container p:nth-child(3) {
    padding-bottom: 1rem;
    color: #717379;
    font-size: 1.4rem;
    line-height: 1.9rem;
}

.description-container .profile-descrition-container ul {
    margin-top: 1rem;
}

.description-container .profile-descrition-container ul li{
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: #1F3584;
    line-height: 3rem;
    font-weight: 600;
}

.description-container .profile-descrition-container ul li img{
    width: 28px;
    text-align: center;
    margin-right: 1rem;
}

/* Styling the Values section on the about page */
.main-container {
    background-color: #F7F8F9;
}
.values-container {
    max-width: 1200px;
    margin: auto;
    z-index: 111;
    padding: 4rem 0;
}

.values-description-header {
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.values-description {
    width: 40%;
}

.values-container .values-description-header .values-description h3 {
    color: #FF344C;
    font-size: 1.5rem;
    font-weight: 500;
    padding-bottom: 1rem;
}

.values-container .values-description-header .values-description h1 {
    font-size: 3rem;
    font-weight: 500;
}

.values-description p {
    padding-top: 3rem;
    font-size: 1.2rem;
    line-height: 2.2rem;
    color: #717379;
}

.cards-container {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding: 2rem 2rem;
}

.cards-container .card-row-one {
    display: flex;
    justify-content: space-between;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 15px;
    background-color: #FFFFFF;
}

.cards-container .card-row-one {
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    column-gap: 1rem;
}

.cards-container .card-row-one img {
    width: 120px;
    padding: 2rem 2rem;
    background-color: #86889113;
    border-radius: 41px;
}

.cards-container .card-row-one h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #0E121E;
    padding-top: 2rem;
}

.cards-container .card-row-one p {
    font-size: 1.2rem;
    line-height: 1.8rem;
    color: #717379;
    padding-bottom: 3rem;
}

.values-container .values-button {
    text-align: center;
    margin: 4rem;
    display: flex;
    justify-content: center;
    column-gap: 2rem;
}

.values-container .values-button a:nth-child(1) {
    background-color: #FF344C;
    padding: 1.5rem 2rem;
    border: none;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition-duration: 0.4s;
    transition: transform 0.3s ease;
}

.values-container .values-button a:nth-child(1):hover {
    background-color: #FFFFFF;
    color: #FF344C;
    border: 1px solid #FF344C;
    transform: translateY(2px)
}

.values-container .values-button a:nth-child(2) {
    background-color: #FFFFFF;
    padding: 1.5rem 2rem;
    border: 1px solid #7173796b;
    color: #0E121E;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition-duration: 0.4s;
    transition: transform 0.3s ease;
}

.values-container .values-button a:nth-child(2):hover {
    background-color: #1F3584;
    color: #FFFFFF;
    transform: translateY(2px)
}

/* Styling the subscription section */
.subscription-update {
    background-color: #1F3584;
    max-width: 1200px;
    display: flex;
    justify-content: space-around;
    margin: auto;
    border-radius: 15px;
    padding: 7rem 3rem;
    align-items: center;
    margin-bottom: 8rem;
}

.subscription-update .subscription-details {
    color: #FFFFFF;
    max-width: 40%;
}

.subscription-update .subscription-details p {
    color: #E0E2E7;
}

.subscription-update .subscription-details h3 {
    font-size: 3rem;
    font-weight: 500;
    padding-bottom: 1rem;
}

.subscription-form {
    color: #FFFFFF;
    z-index: 999;
}

.subscription-form input[type='email'] {
    padding: 1.4rem 5rem;
    border-radius: 10px;
    /* text-indent: 2rem; */
    border: none;
    margin-bottom: 1.2rem;
    margin-right: 1.5rem;
}

.subscription-form input::placeholder {
    font-size: 1.1rem;
    color: #BEC1C8;
}

.subscription-form input:hover {
    outline: 1px solid #FF344C;
}

.subscription-form button {
    width: 200px;
    padding: 1.4rem 3rem;
    border-radius: 10px;
    background-color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    color: #FFFFFF;
    background-color: #FF344C;
    cursor: pointer;
    transition-duration: 0.4s;
}

.subscription-form button:focus {
    border: 1px solid #FF344C;
}

.subscription-form button:hover {
    color: #FF344C;
    border: 1px solid #FF344C;
    background: none;
}

.subscription-form img {
    width: 30px;
    vertical-align: middle;
    margin-right: 1rem;
}

.subscription-form p {
    font-size: 1.2rem;
}

.subscription-update {
    position: relative;
}

.absolute {
    position: absolute;
    bottom: 0;
    width: 60%;
    right: 0;
}

/* Article for Michael */
.article-page {
    max-width: 960px;
    margin: auto;
    padding: 1rem 1rem;
}

.article-page h1 {
    padding-bottom: 1rem;
    font-size: 2rem;
    color: #1F3584;
}

.article-page h2 {
    padding-bottom: 1rem;
    font-weight: 600;
    color: #FF344C;
}

.article-page p {
    font-size: 1.2rem;
    padding-bottom: 2rem;
    line-height: 1.8rem;
    color: #53565E;
}

.article-page p span {
    font-weight: 600;
    color: #1F3584;
    font-size: 1.6rem;
}

.download-link {
    margin-bottom: 8rem;
}

/* Styling the footer on the main page */
.main-page-footer {
    border-top: 1px solid #26385e1d;
    background-color: #fff;
}

.footer-container {
    max-width: 1200px; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem;
    justify-content: center; 
    margin: auto;
    padding: 8rem 1rem 6rem 1rem;
    border-bottom: 1px solid #53565e3c;
}

.first-column {
    text-align: left;
}

.main-page-footer .first-column img {
    width: 170px;
    padding-bottom: 1rem;
}

.main-page-footer .first-column p:nth-child(2) {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    color: #53565ed4;
}

.main-page-footer .first-column p a img {
    width: 30px;
    vertical-align: middle;
    padding-top: 14px;
    margin-right: 10px;
}

.main-page-footer .first-column p a {
    text-decoration: none;
    color: #0E121E;
    font-size: 1.3rem;
    text-align: center;
    vertical-align: middle;
    transition-duration: 0.4s;
}

.main-page-footer .first-column p a:hover {
    color: #FF344C;
}

.main-page-footer .second-column h3 {
    padding-bottom: 2rem;
    font-size: 1.6rem;
    color: #1F3584;
}

.second-column {
    padding-left: 5rem;
    line-height: 2.5rem;
}

.second-column ul li {
    list-style: none;
}

.second-column ul li a{
    text-decoration: none;
    color: #53565ed4;
    font-size: 1.2rem;
    transition-duration: 0.4s;
}

.second-column ul li a:hover {
    color: #FF344C;
}

.third-column {
    max-width: 400px;
    background-color: #1F3584;
    padding: 2rem 2rem;
    border-radius: 15px;
}

.third-column img {
    display: block;
}

.third-column h3 {
    font-size: 1.6rem;
    color: #FFFFFF;
    padding: 1rem 0;
}

.third-column p {
    color: #FFFFFF;
    line-height: 1.4rem;
    padding-bottom: 1rem;
}

.footer-form input[type='email'] {
    width: 100%;
    height: 4rem;
    border-radius: 15px;
    border: none;
    margin-bottom: 1rem;
    text-indent: 2rem;
}

.footer-form input::placeholder {
    /* padding-left: 1rem; */
    font-size: 1.2rem;
    opacity: 60%;
    font-style: italic;
}

.footer-form input[type=email]:focus {
    outline: #FF344C solid 1px;
}

.footer-form button {
    width: 100%;
    height: 4rem;
    border-radius: 15px;
    border: none;
    font-size: 1.2rem;
    background-color: #FF344C;
    color: #FFFFFF;
    cursor: pointer;
    transition-duration: 0.4s;
}

.footer-form button:hover {
    background-color: inherit;
    border: #FFFFFF solid 1px;
}

.copy-right {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
}

.copy-right p {
    font-size: 1.2rem;
    color: #53565ed3;
}

.copy-right p a {
    color: #FF344C;
}

.copy-right p a:hover {
    color: #26385E;
    opacity: 40%;
}

.copy-right .social-media a img {
    width: 30px;
    transition-duration: 0.5s;
}

.copy-right .social-media a img:hover {
    opacity: 40%;
}

/* Responsiveness for 1048px width devices */
@media (max-width: 1048px) {
    .description-container {
        flex-direction: column;
    }
    .profile-descrition-container {
        margin-top: 3rem;
    }
    .subscription-update {
        flex-direction: column;
        margin: 4rem 1rem;
    }
    .subscription-details {
        margin-right: auto;
        margin-bottom: 1rem;
        max-width: 70%;
    }
    .subscription-form {
        margin-right: auto;
    }
}

/* Responsiveness for 992px width devices */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .name-profile-description {
        width: 100%;
    }
    .hero-section img {
        margin: auto;
        max-width: 90%;
    }
    .hero-side-buttons {
        flex-direction: column;
        width: 50%;
        margin: 2rem auto;
        row-gap: 1rem;
    }
    .values-container {
        padding: 1rem 1rem;
    }
    .cards-container .card-row-one {
        flex-wrap: wrap;
        padding: 1rem 1rem;
    }
    .profile-descrition-container {
        padding: 1rem 2rem;
    }
    .values-description-header {
        padding: 1rem 2rem;
    }
    .subscription-update .subscription-details {
        width: 100%;
    }
    .subscription-form input[type='email'] {
        max-width: 100%;
    }
    .subscription-form button {
        max-width: 100%;
    }
}

/* Responsiveness for 800px width devices */
@media (max-width: 800px) {
    .hideOnMobile{
        display: none;
    }
    .menu-button {
        display: block;
    }
    .sidebar {
        width: 50%;
    }
    .home-nav {
        justify-content: space-between;
        padding: 1rem;
    }
    .side-buttons {
        padding-right: 1rem;
    }
    .side-buttons .side-button1,
    .side-buttons .side-button2 {
        width: 100%;
        text-align: center;
    }
    .footer-container {
        padding-top: 3rem;
    }
}

/* Responsiveness for 768px width devices */
@media (max-width: 768px) {
    .description-container {
        max-width: 100%;
        margin-bottom: 4rem;
    }
    .description-container .profile-descrition-container {
        margin-left: 0;
        max-width: 100%;
    }
}
/*Responsiveness for 600px width devices */
@media (max-width: 600px) {
    .sidebar {
        width: 100%;
    }
    .hero-side-buttons {
        padding: 0 2rem;
        width: 100%;
    }
    .values-description-header {
        flex-direction: column;
    }
    .values-description {
        width: 100%;
    }
    .subscription-update .subscription-details {
        max-width: 100%;
    }
    .subscription-form input[type='email'] {
        width: 100%;
        padding-left: 1rem;
    }
    .subscription-form button {
        margin-bottom: 1rem;
        /* padding: 1.5rem 4.5rem; */
        width: 100%;
    }
    .values-container .values-button {
        flex-direction: column;
        row-gap: 1rem;
        max-width: 100%;
    }
    .values-container .values-button button:nth-child(1) {
        width: 100%;
    }
    .values-container .values-button button:nth-child(2) {
        width: 100%;
    }
    .cards-container {
        text-align: center;
    }
    .footer-container {
        padding-left: 1rem;
    }
    .second-column {
        padding-left: 0;
    }
    .third-column {
        max-width: 100%;
    }
    .copy-right {
        margin-left: 1rem;
    }
}

/*Responsiveness for 400px width devices */
@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
    .cards-container .card-row-one {
        flex-wrap: no-wrap;
    }
}







