body, html {
    padding: 0;
    margin: 0;
}

.logo {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-top: 5px;
}

/*More dropdown trials*/

.nav ul {
  list-style: none;
  background-color: #053959;
  text-align: center;
  padding: 0;
  margin: 0;
  margin-bottom: 0;
  color: #f2f2f2
}

.nav li {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    line-height: 40px;
    text-align: left;
    color: #f2f2f2;

}

.nav a {
  text-decoration: none;
  color: #f2f2f2;
  display: block;
  padding-left: 20px;
  transition: .3s background-color;
}

.nav a:hover {
  background-color: #2f5973;
}

.nav li li {
  font-size: 20px;
}

@media screen and (min-width: 650px) {
  .nav li {
    width: 130px;
    border-bottom: none;
    height: 60px;
    line-height: 50px;
    font-size: 20px;
    display: inline-block;
    margin-right: -4px;
    padding-top: 10px;
  }

  .nav a {
    border-bottom: none;
  }

  .nav > ul > li {
    text-align: center;
  }

  .nav > ul > li > a {
    padding-left: 0;
  }

  /* Sub Menus */
  .nav li ul {
    position: absolute;
    display: none;
    width: inherit;
  }

  .nav li:hover ul {
    display: block;
  }

  .nav li ul li {
    display: block;
  }
}

li a:active {
    color: #f2f2f2;
}

li a:hover {
    color: #f2f2f2;
}

li a:visited {
    color: #f2f2f2;
}

li a:link {
    color: #f2f2f2;
}

.front_img {
    width: 100%;
    height: auto;
    border-bottom: #4bb2f2 solid 10px;
}

.listing_title {
    font-family: 'Playfair Display', serif;
    color: #053959;
    margin: 20px;
}

.listing_img {
    border-radius: 10px;
    width: 250px;
}

.listing_div {
    background-color: #f2f2f2;
    border-radius: 10px;
    margin: 10px;
    border-bottom: #4bb2f2 solid 2px;
}

.flex-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

@media (max-width: 800px) {
    .flex-container {
        justify-content: center;
    }
}

.listing_text {
    padding-left: 7px;
}

a:link {
    text-decoration:none;
    color: #3a3b3c;
}

a:visited {
    text-decoration:none;
    color: #3a3b3c;
}

a:hover {
    text-decoration:none;
    color: #3a3b3c;
}

a:active {
    text-decoration:none;
    color: #3a3b3c;
}

.about_heading {
    color: #4bb2f2;
    font-family: 'Poppins', sans-serif;
    padding-left: 20px;
}

.about_top_text {
    color: #053959;
    font-family: 'Poppins', sans-serif;
    padding-left: 20px;
}

.about_text {
    color: #053959;
    font-family: 'Poppins', sans-serif;
}

.about_container {
    display: flex;
    flex-direction: row;
    flex-wrap:wrap;
    justify-content: space-around;
}

.about_section_img {
    flex: 30%;
    max-width: 30%;
}

.about_section_text {
    flex: 60%;
    max-width: 60%;
}

.about_responsive_img {
    width: 100%;
    height: auto;
    max-height:;
    max-width:;
    border-radius: 20px;
}

@media (max-width: 600px) {
    
   .about_section_img {
        flex: 100%;
        max-width: 100%;
    }

    .about_section_text {
        flex: 95%;
        max-width: 95%;
    }
    
    .about_responsive_img {
        width: 100%;
        height: auto;
        max-height:300px;
        max-width:300px;
    }
    
    .about_text {
        text-align: left;
    }
    
    .about_img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
}

@media (min-width: 1300px) {
    
   .about_section_img {
        flex: 100%;
        max-width: 100%;
    }

    .about_section_text {
        flex: 95%;
        max-width: 95%;
    }
    
    .about_responsive_img {
        width: 100%;
        height: auto;
        max-height:500px;
        max-width:500px;
    }
    
    .about_text {
        text-align: left;
    }
    
    .about_img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
}

.about_bottom {
    margin-top: 20px;
}

.contact_heading {
    color: #053959;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.contact_webform {
    font-family: 'Poppins', sans-serif;
}

.contact_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 400px;
    height: 200px;
    background-color: #f2f2f2;
    border-radius: 15px;
    margin-bottom: 20px;
    padding-top: 10px;
    padding-left: 10px;
}

.contact_h {
    font-family: 'Poppins', sans-serif;
    color: #4bb2f2;
    margin-left: 20px;
}

.contact-phone {
    font-family: 'Poppins', sans-serif;
    color: #053959;
    padding-left: 20px;
    font-weight: bold;
}

.one_top_div {
    background-color: #f2f2f2;
    height: 100px;
    border-radius: 15px;
    margin: 15px;
}

.price {
    font-family: 'Playfair Display', serif;
    color: #053959;
    text-align: center;
}

.address {
    font-family: 'Poppins', sans-serif;
    color: #053959;
    text-align: center;
}

.icon {
    color: #053959;
    font-size: 30px;
    padding-top: 15px;
}

.bedrooms_div {
    background-color: #f2f2f2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    border-radius: 15px;
    margin: 15px;
}

.bedrooms_section {
    flex: 33%;
    max-width: 33%;
    text-align: center;
}

.description_div {
    height: 200px;
    background-color: #f2f2f2;
    font-family: 'Poppins', sans-serif;
    color: #053959;
    margin: 15px;
    border-radius: 15px;
}

@media (max-width: 200px) {
    
    .description_div {
        height: 400px;
        background-color: #f2f2f2;
        font-family: 'Poppins', sans-serif;
        color: #053959;
        margin: 15px;
        border-radius: 15px;
    }
    
}

.description_text {
    padding-left: 15px;
    padding-top: 15px;
}

.contact_listings {
    text-decoration: underline;
    color: blue;
}

.listings_text {
    font-family: 'Poppins', sans-serif;
    color: #053959;
    margin: 20px;
}

footer {
    background-color: #2f5973;
    height: 90px;
    color: #f2f2f2;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    padding-top: 1px;
    clear: both;
}