/* Basic Styling */
body {
    font-family: 'new-hero', sans-serif; /* Use Roboto font from Google Fonts */
    margin: 0;
    color: #595959;
    min-width: 630px;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px;
}

header {
    background-color: #fff; /* White background */
    padding: 0 0 0 0;
}

nav {
    float:right;
    padding-top: 10px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

nav li {
    display: inline-block;
    margin-left: 20px;
}

nav a {
    color: #333; /* Dark gray for navigation links */
    text-decoration: none;
}

h1 {
    margin-top:0;
    position: absolute;
    top: 20%;
    bottom: 0;
    margin-left: 55%;
    font-size:38px;
    font-weight: 500;
    
}
h1 span {
    display: block;
}

h3 {
    font-size: 20px;
}

section {
    padding: 0 0 20px 0;
}
footer {
    font-size: 11px;
}


#home {
    background-color: #f8f8f8; /* Light gray background */
    position: relative;
    overflow: hidden;
    font-size:20px;
}
#home div.container {
    padding: 20px 20px;
    text-align: center;
}

#heroImg {
    width: 100%;
    min-height: 550px;
    object-fit: cover;
}

#what {
    text-align: center;
}

#about, #join, #contact {    
    background-color: #f8f8f8; /* Light gray background */
    clear: both;
    text-align: center;
}

#about2 {
    text-align: center;
}
#about2 div p {
    max-width: 900px;
    margin: 0 auto;
}

#contact {
    position: relative;
    overflow: hidden;
}

#burger {
    display:none;

}
#careers {
    margin: 0 auto;
}


.challengesBlock {
    width:20%;
    margin:0 1.75% 10px 1.75%;
    padding: 18px .5% 0 .5%;
    display: inline-block;
    float: left;
    text-align: center;
    vertical-align: middle;
    line-height: normal;
    background-color:lightgray;
    min-height: 150px;
    font-size: 20px;
    border: 1px solid lightslategrey;
}

.contactBox {
    margin-top:0;
    position: absolute;
    top: 5%; 
    bottom: 0;
    margin-left: 45%;
    max-width: 500px;    
    text-align: center;
}

.aboutBlock {
    width:20%;
    margin:0 1.75% 10px 1.75%;
    padding: 18px .5% 0 .5%;
    float:left;
    display:inline-block;
    font-size: 20px;
    background-color: whitesmoke;
    min-height: 156px;
    border: 1px solid lightslategrey;
}

.aboutBlock strong {
    font-size:23px;
}

.half {
    width: 50%;
    float:left;
}

.half img {
    width:90%;
    padding-left:10%;
}

.textLeft {
    text-align: left;
}
#helps li {
    padding-bottom: 15px;
}


.clear {
    clear:both;
}

a.icon {
    color:black;
}

div.member img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

#team {
    text-align: center;
}

.member {
    width:24%;
    float:left;
    padding-bottom: 15px;
}
.name {
    font-weight: bold;  
    width: 100%;
    display: block;
    text-align: center;  
    padding-top: 8px;
}
.title {
    width: 100%;
    display: block;
    text-align: center;  
}

.contactButtonArea {
    text-align: center;
}
div.contactButtonArea a {
    margin-top:20px;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #c00; /* Red button */
    color: #fff;
    text-decoration: none;
    margin: 0 7px;
}



/* Responsive Design */

@media (max-width: 880px) {
    .member {
        width: 33%;
    }
    .contactBox {
        padding-right: 20px;
    }

    #contact {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 29px;
    }
    nav ul {
        text-align: center;
    }

    nav li {
        display: block;
        margin: 10px 0;
    }
    nav {
        float: none;
    }
    #links {
        display: none;
    }
    #burger {
        display: block;
        float: right;
        padding-top: 15px;
    }
    .challengesBlock, .aboutBlock {
        font-size: 14px;
    }
    .member {
        width: 33%;
    }
    
}
@media (max-width: 635px) {
    .member {
        width: 49%;
    }

}
