h1 {
    padding: 1rem 0;
}

h2 {
    padding: 1rem 0;
}

h3 {
    padding: .5rem 0;
}

p {
    line-height: 1.5rem;
}

.container_main_grid {
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.container {
    width: 1140px;
    margin: 0 auto;
}

main {
    padding: 2rem 0;
}



/* ----------------------------------------
Header Styles */

header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-evenly;
}

#header_big_block_logo {
    width: auto;
    height: 4rem;
}

.header_site_title_p {
    font-size: 2rem;
}


/* ----------------------------------------
Home Page Styles */


#home_header_image {
    max-height: 70vh;
    width: 100%;
    overflow: hidden;
}

.home_header_carousel {
    position: relative;
    
}

.home_header_carousel_text {
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: rgb(255, 255, 255, 1);
    padding: 2.5rem 5rem;
    text-align: center;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.home_header_carousel_text {
    border-radius:30px;
  }
  .home_header_carousel_text:before,
  .home_header_carousel_text:after {
    content:"";
    background-color:rgb(255, 255, 255, 0.8);
    border-radius:50%;
    display:block;
    position:absolute;
    z-index:-1;
  }
  .home_header_carousel_text:before {
    width:44px;
    height:44px;
    top:-12px;
    left:28px;
    box-shadow:-50px 30px 0 -12px rgb(255, 255, 255, 0.8);
  }
  .home_header_carousel_text:after {
    bottom:-10px;
    right:26px;
    width:30px;
    height:30px;
    box-shadow:40px -34px 0 0 rgb(255, 255, 255, 0.8),
               -28px -6px 0 -2px rgb(255, 255, 255, 0.8),
               -24px 17px 0 -6px rgb(255, 255, 255, 0.8),
               -5px 25px 0 -10px rgb(255, 255, 255, 0.8);
    
  }

.home_featured_areas h3 {
    padding: 0;
}

.home_featured_areas ul {
    list-style: none;
    text-align: center;
    line-height: 4rem;
    margin: 3rem auto;
}

.home_featured_areas ul li {
    margin: 0 3rem;
    display: inline;
    padding: .5rem 2rem;
    border-radius: .5rem;
    -webkit-border-radius: .5rem;
    -moz-border-radius: .5rem;
    -ms-border-radius: .5rem;
    -o-border-radius: .5rem;
    border: 1px solid rgba(155, 166, 178, .2);
    transition: .4s ease;
}

.home_areyoumoving_ad {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 0;
    margin: 3rem auto;
}

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

.ad_title {
    font-size: 2.5rem;
    margin: 0 0 2.5rem 0;
}

.ad_tagline {
    font-size: 1.5rem;
}

.home_whatismyhomeworth_ad {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 4rem 0;
    margin: 3rem auto;
}

.odd_background_color .left {
    flex: 3;
}

.odd_background_color .right {
    flex: 2;
    text-align: right;
}

.home_moreaboutme .left {
    flex: 2;
}
.home_moreaboutme .right{
    flex: 3;
}

.home_contact {
    margin-top: 3rem;
}

.home_contact_actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0 0;
}

.affiliations_logos {
    display: flex;
    justify-content: space-between;
    margin: 0 0 1.5rem 0;
}

.affiliations_logos img {
    width: auto;
    height: 7rem;
}


/* ----------------------------------------
General Form Styling */

button,
input[type=submit],
.button_link {
    padding: .75rem 5rem;
    cursor: pointer;
    color: #000;
    border-radius: 0.25rem;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    -ms-border-radius: 0.25rem;
    -o-border-radius: 0.25rem;
}
