/*
Theme Name: EJ Web Design Main Theme
Theme URI: https://eranner.site
Author: Eric Ranner
Requires at least: 6.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url('https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@300&display=swap');


.main-body {
    margin: 0;
    padding: 0;
    font-family:'Alumni Sans'!important;
}

.currentLink {
    font-weight: bold!important;
    text-decoration: underline!important;
}
.ejLogo {
    color: rgb(196, 41, 41);
    margin-top: 20px;
    font-size: 5rem;
}

.tagline {
    color: rgb(17, 20, 62);
    margin-bottom: 30px;
    font-size: 2rem;
    text-align:center;
}

.section2 {
    background-color: rgb(196, 41, 41);
    width: 100%;
}
.section3 {
    background-color: rgb(17, 20, 62);
    width: 100%;
    display: flex;
}

.section4 {
    background-color: white;
}
.weDo {
    color: white;
    text-shadow: 2px 2px rgb(17, 20, 62);
    font-size: 4rem;
    padding-top: 30px;
    text-align: center;
    margin-bottom: 5%;
    
}

.main-page-tagline {
    text-align:center; 
    text-shadow: .5px .5px .5px #333; 
    max-width: 800px; 
    font-size: 2rem;
}

.satisfaction {
    color:  rgb(196, 41, 41);
    font-size: 5rem;
    padding-top: 30px;
    text-align: center;
    margin-bottom: 5%;
}

.getStarted {
    color:  rgb(196, 41, 41);
    font-size: 3rem;
    padding-top: 30px;
    text-align: center;
    margin-bottom: 5%;
}
.customCard {
    width: 18rem;
    background-color: rgba(255, 255, 255, 0.512);
    border-radius: 10px;
}
.flexDiv {
    display:flex; 
    flex-direction: column; 
    align-items: center;
}
.flexDivLeft {
    display:flex;
    flex-direction: row;
    justify-content: flex-start;
}
.sectionA {
    display:flex;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
}
.redSection {
    background-color: rgb(196, 41, 41);
    padding-top: 50px;
}

.blueSection {
    background-color: #11143e;
}

.whiteSection {
    background-color: white;
}
.sectionB {
    display:flex;
    flex-direction: column;
    justify-content: center;
    gap: 5%;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
}

.formHolder {
    display: flex;
    flex-direction: row;
    gap: 10%;
    font-size: 2rem;
    max-width: 1400px;
    text-align: left;
}

.formHolder>input {
    font-size: 2.5rem!important;
}
.sectionC {
    display:flex;
    flex-direction: row;
    justify-content: center;
    gap: 5%;
    align-items: center;
    text-align: center;
    padding-bottom: 50px;
}
.middleHeader {
    font-size: 4rem;
    color:white;
}
.medPic {
    max-height: 300px;
    max-width: 300px;
    margin-bottom: 20px;
}

.tightText {
    color: white;
}
.smallerDiv {
    max-width: 800px;
    margin: auto;
    text-align: center;
}
p {
    font-size: 2.5rem;
}

.techCards {
    display:flex;
    flex-direction: row;
}
.services-container {
    padding-bottom: 50px;
    display: flex;
    justify-content: center;

}

.services-card-holder {
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 3px 3px 3px #333;
    margin-bottom: 20px; /* Space between cards */
    height: 100%; /* Ensures even height */
    max-width: 343px;
}

.services-card-image {
    max-height: 250px;
    width: 100%; /* Ensure images take full width */
}

.services-card-title {
    text-align: center;
    font-size: 2.5rem;
    text-decoration: underline;
    margin-top: 20px; /* Space between image and title */
}

.services-card-details {
    font-size: 1.5rem;
    margin-top: 10px; /* Space between title and details */
}

.services-card-button {
    background-color: rgb(17, 20, 62);
    color: white;
    font-size: 1.5rem;
    margin-top: auto; /* Pushes the button to the bottom */
    width: 100%; /* Ensures button width matches card width */
    border-radius: 10px; /* Matches button border to card */
}

.blog-post-holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    margin: auto;
    gap: 10px;
    border: 2px solid #d9d9d9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 2px 2px #D9D9D9;
}

.blog-excerpt > p {
    font-size: 1.5rem;
}

.blog-link {
    color:rgb(17, 20, 62)!important;
    font-size: 2.5rem;
}

.blog-link:hover {
    text-shadow:2px 2px 2px rgb(196, 41, 41);
}

.blog-link >  a {
    color:rgb(17, 20, 62)!important;
}
.pagination {
    font-size: 1.5rem;
    display: flex;
    gap: 5px;
    justify-content: center;
    color: rgb(196, 41, 41);
}

.pagination > a {
    color:rgb(17, 20, 62);
}

.single-blog-post > p {
    font-size: 1.5rem!important;
}

.single-blog-post > h2 {
    font-size: 3rem!important;
    text-align: center;
}
@media screen and (max-width: 770px){
    .formHolder {
        flex-direction: column;
    }
    .sectionC {
        flex-direction: column;
    }
    .sectionA {
        flex-direction: column-reverse;

    }

    .middleHeader {
        font-size: 3rem;
    }

    p {
        font-size: 2rem;
    }
    .wordpress-horizontal-to-vertical {
        display: flex;
        flex-direction: column;
    }

    .blog-post-holder {
        max-width: 350px;
    }
}

@media screen and (max-width: 400px){
    .satisfaction {
        font-size: 3rem;
    }
    .getStarted {
        font-size: 3rem;
    }
    .whiteSection > p {
        font-size: 1.25rem;
    }
}