@charset "UTF-8";
/* CSS Document */

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

/* Header */
header {
    background-color: #fff;
    padding: 20px 10%;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    width: 175px;
}

nav {
    display: flex;
    gap: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

nav a {
    text-decoration: none;
    font-size: 16px;
    color: #4752A4; /* Use your secondary color */
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #983694; /* Use your primary color */
}

/* Main Section */
main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 10%;
}

.main-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.main-title h1 {
    font-weight: bold;
    font-size: 68px;
    margin-bottom: 20px;
    color: #35255E; /* Third level optional color */
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.main-title h2 {
    font-weight: 300; /* Thin font weight */
    font-size: 24px;
    margin-bottom: 30px;
    color: #4752A4; /* Secondary color */
    font-family: 'Arial', 'Helvetica', sans-serif;
}

.main-title img {
    width: 150px; /* Adjust size as needed */
    align-self: start; /* Aligns the image to the left */
}

.main-img {
    flex: 1;
    display: flex;
    justify-content: flex-end;
	
}

.main-img img {
    max-width: 100%;
    height: auto;
    
}

/* Section Styling */
#informed-voter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #DAD9DF;
    padding-top: 40px;
    padding-left: 10%;
    padding-right: 10%;
}

#informed-voter h2 {
    font-size: 28px;
    font-weight: bold;
    color: #35255E; /* Third level optional color */
    margin-bottom: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

#informed-voter p {
    font-size: 18px;
    color: #4752A4; /* Secondary color */
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

#informed-voter .text-content {
    max-width: 38%;
    flex: 1;
}

#informed-voter .image-group {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Aligns the bottom of the images with the bottom of the section */
    gap: 5px;
}

#informed-voter .image-group img {
    max-width: 48%; /* Adjust to fit two images side by side */
    height: auto;
    margin-right: 20px;
}

/* Feature Highlight Section Styling */
#feature-highlight {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F5F5F5;
    padding-top: 40px;
    padding-left: 10%;
    padding-right: 10%;
}

#feature-highlight h2 {
    font-size: 28px;
    font-weight: bold;
    color: #35255E; /* Third level optional color */
    margin-bottom: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

#feature-highlight p {
    font-size: 18px;
    color: #4752A4; /* Secondary color */
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

#feature-highlight .text-content {
    flex: 1;
    max-width: 50%;
}

#feature-highlight .gif-content {
    flex: 1;
    max-width: 33%;
    display: flex;
    justify-content: flex-end;
}

#feature-highlight img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Footer Styling */
footer {
    background-color: #35255E; /* Third level optional color */
    color: #FFFFFF;
    padding: 20px 10%;
    text-align: center;
}

footer .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

footer p {
    margin: 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
}

footer nav {
    display: flex;
    gap: 20px;
}

footer nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease-in-out;
}

footer nav a:hover {
    color: #EE1C4E; /* Optional hover color */
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        flex-direction: column;
        padding: 20px 5%;
    }

    .main-title h1 {
        font-size: 48px;
    }

    .main-title h2 {
        font-size: 20px;
    }

    .main-img img {
        max-width: 90%;
        margin: 0 auto;
    }

    #informed-voter {
        flex-direction: column-reverse;
        padding: 20px 5%;
    }

    #informed-voter .text-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    #informed-voter .image-group {
        justify-content: center;
        margin-bottom: 20px;
    }

    #informed-voter .image-group img {
        max-width: 80%;
        margin-right: 0;
    }

    #feature-highlight {
        flex-direction: column-reverse;
        padding: 20px 5%;
    }

    #feature-highlight .text-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    #feature-highlight .gif-content {
        justify-content: center;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 36px;
    }

    .main-title h2 {
        font-size: 18px;
    }

    .main-img img {
        max-width: 100%;
    }

    #informed-voter h2, #feature-highlight h2 {
        font-size: 24px;
    }

    #informed-voter p, #feature-highlight p {
        font-size: 16px;
    }

    nav a {
        font-size: 14px;
    }

    footer nav a {
        font-size: 12px;
    }
}
