html, body{
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    --primary-text-color: #490F0F;
    --secondary-text-color: #FAFAFA;
    --secondary-bg-color: #490F0F;
    --primary-bg-color: #FAFAFA;
    --accent-color: #962F2F;
    color: var(--primary-text-color);
}

button {
    transition: all 0.2s ease;
}
button:hover{
    cursor: pointer;    
    background-color: var(--accent-color);
}
a{
    text-decoration: none;
}
p{
    font-family: 'Libre Baskerville', sans-serif;
}
br{
    margin-bottom: 1rem;
}
.logo{
    width: 12rem;
    padding-left: 4rem;
}
.nav{
    background-color: var(--primary-bg-color);
    width: 100%;
    align-items: center;
    color: var(--secondary-text-color);
    top: 0;
    z-index: 10;
    border-bottom: 0.5rem solid var(--secondary-bg-color);
}
.nav-list{
    display: flex;
    list-style: none;
    width: 100%;
    justify-content:  flex-end;
    padding-right: 4rem;
}

.nav-link{
    text-decoration: none;
    color: var(--primary-text-color);
    padding: 16px;
    font-family: 'Montserrat', serif;
    font-size: 1.3rem;
}
.nav-link:hover {
    background: #eaeaea;
    border-radius: 0.5rem;
}
.nav-link.active{
    border-bottom: 3px solid var(--primary-text-color)
}
.nav-link.active:hover{
    background: none;
    border-radius: 0;
    border-bottom: 3px solid var(--accent-color);
    cursor: default;
}
.mobile-nav{
    width: 100%;
    background-color: var(--primary-bg-color);
    align-items: center;
    justify-content: center;
}
.mobile-logo{
    margin: auto;
    position: absolute;
}
.mobile-logo>img{
    width: 8rem;
    justify-self: center;
}
.closeBtn{
    font-size: 30px;
}
.menu-btn{
    color: var(--primary-text-color);
    margin: 25px;
    font-size: 1.2em;
    margin-left: auto;
}
.mobile-menu{
    height: 100%;
    position: fixed;
    width: 0;
    top: 0;
    right: 0;
    background-color: var(--secondary-bg-color);
    justify-content: center;
    transition: 0.6s;
}
.mobile-menu a{
    text-decoration: none;
    color: var(--secondary-text-color);
    font-size: 1.2em;
    padding: 15px;
    display: block;
}
.hero{
    margin: 0;
    background-color: var(--secondary-bg-color);
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
.homepage-hero{
    background-image: url("https://images.pexels.com/photos/162568/oil-pump-jack-sunset-clouds-silhouette-162568.jpeg");
    background-position: 60%;
}
.services-hero{
    background-image: url("https://source.unsplash.com/-subrrYxv8A/1920x1080");
}
.people-hero{
    background-image: url("../img/team_hero.jpg");
    background-position: 70%;
}
.about-hero{
    background-image: url("https://images.unsplash.com/photo-1648369000096-109763c11e8e?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1160&q=80");
}
.contact-hero{
    background-image: url("https://live.staticflickr.com/4085/5203022472_3c84e6cb7f_b.jpg");
    background-position: center;
}
.hero-title{
    padding: 30px;
}


.btn-primary{
    font-family: 'Montserrat', sans-serif;
    background-color: var(--secondary-bg-color);
    color: var(--secondary-text-color);
    padding: 15px;
    border: none;
    font-weight: 600;
}

.heroBtn{
    width: 12em;
    padding: 25px;
    font-size: 1em;
}
.body-section{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    grid-template-rows: auto auto auto;
    grid-template-columns: 15% auto 15%;
}
.body-subhead{
    grid-column-start: 2;
    text-align: center;
}
.body-subhead > hr{
    max-width: 80vw;
}
.body-paragraph{
    grid-column-start: 2;
    text-align: center;
    font-size: 1.2rem;
    max-width: 60ch;
}
#listingHero{
    background-image: url(../img/listingSplash.jpg);
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}
#listingHero::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--primary-bg-color);
    opacity: 0.9;
}
#listingHero>h1{
    color: var(--secondary-text-color);
    z-index: 2;
}
.block-section{
    display: grid;
    grid-template-rows: auto auto;
    justify-content: center;
}

.block-subhead{
    justify-self: center;
    text-align: center;
    grid-column: 1 / span 5;
}
.paragraph-head{
    grid-column: 1 / span 5;

}
.paragraph-icon{
    grid-column-start: 2;
    width: 8rem;
    padding-top: 2rem;
}
.block-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.block-img{
    min-width: 100%;
    max-width: 16rem;
    object-fit: cover;
    border-radius: 2% 2% 0 0;
}
.body-block{
    /* background-color: var(--secondary-bg-color); */
    background-color: #eaeaea;
    padding-bottom: 1rem;
    height: auto;
    margin: 1rem;
    border-radius: 2%;
    box-shadow: #9f9f9f 0 0 0.5rem; 
}
.block-content{
    display: flex;
    padding: 1.4rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}
.body-block>p{
    font-family: 'Montserrat', sans-serif;
}

.member-subhead{
    text-align: center;
}
.member-section{
    display: flex;
    width: 100%; 
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    flex-direction: column;
}
.member-block{
    display: flex;
    flex-direction: row;
    width: 60vw;
    justify-content: center;
    align-items: center;
    /* background-color: var(--secondary-bg-color); */
    padding: 1rem;
    margin: 1rem;
    border-radius: 0.25em;

}

.member-block > img{
   min-width: 16rem;
   border-radius: 2%;
}

.member-info > p{
    font-size: 1rem;
}

.member-info{
    display: flex;
    padding: 1rem;
    flex-direction: column;
}
.member-info > h2{
    color: var(--secondary-text-color);
    background: var(--secondary-bg-color);
    padding: 1rem;
    max-width: 16rem;
}
.listing-image{
    margin: 12px;
    background-image: url(../img/listingSplash.jpg);
    background-size: cover;
    border-radius: 6px;
    box-shadow: 0 0 3px rgb(29, 29, 29);
    grid-row: 1 / 3;
    grid-column: 1 / 2;
    width: auto;
}
.listing-address{
    display: flex;
    flex-direction: column;
    grid-column: 2 3;
}
.listing-address>h2{
    margin-bottom: 0;
    font-size: 1.2em;
    color: #323232;
    font-weight: 600;
}
.listing-address>h4{
    font-weight: 400;
    color: rgb(56, 202, 221);
    margin: 0;
}

.listing-info{
    display: grid;
    grid-column: 2 / 3;
    grid-template-columns: repeat(2, 50%);
    grid-template-rows: auto auto;
    margin-bottom: 12px;
    color: #323232;
    text-align: left;
}
.listing-info>h4{
    margin: 3px;
    font-weight: 400;
}
.card-section{
   display: flex; 
   flex-wrap: wrap;
   justify-content: center;
}

.contact-form{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.contact-header, .contact-hero>h2{
    z-index: 2;
}

.form-field{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.form-field > form{
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
}
input{
    text-align: center;
    margin: 15px;
    border: 2px solid var(--secondary-bg-color);
    border-radius: 3px;
    color: #00122b;
    font-family: 'Montserrat', sans-serif;
}

textarea{
    margin: 15px;
    border: 2px solid var(--secondary-bg-color);
    border-radius: 3px;
    color: #00122b;
    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
    width: 27rem;
    height: 8rem;
    resize: none;
}
::placeholder{
    opacity: 0.8;
    color: black;
}

footer{
    background: #eaeaea;
    border-top:3px solid var(--primary-bg-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 1rem;
    width: 100%;
}
footer>img{
    height: 50px;
}
.footer-list{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    width: 90vw;
    padding: 1rem;
}

.footer-list>li>p>a{
    text-decoration: none;
    color: var(--primary-text-color);
    font-family: 'Montserrat', sans-serif;
}
footer>p{
    font-size: 0.7rem;
}
.secret{
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #00122b;
    display: none;
    z-index: 999;
    justify-content: center;
    align-items: center;
}
.secret>h1{
    color: #FAFAFA;
    font-size: 5em;
}


/*About Page Specifics*/


.hero-secondary{
    height: 250px;
}


.team-section{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px;
}
.team-section>img{
    width: 250px;
    height: 250px;
}


/*Contact Page Specifics*/

hr {
    width: 12rem;
    border-color: var(--secondary-bg-color);
    margin: 2rem auto;
}

.contact-section{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    list-style-type: none;
}
.contact-section h1{
    font-size: 2em;
}
.contact-section>div{
    margin: 25px;
}
.contact-section a{
    color: #00122b;
    text-decoration: underline;
}
.contact-hero h2{
    font-weight: 500;
}
.contact-hero h1{
    margin: 0;
}