* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/*-------- Colors --------*/
:root {
  --primary-color: #a8dcd1;
  --primary-color-transp: #a8dcd1bf;
  --dark-color: #548379;
  --color-accent: #af8ce0;
  --color-accent-dark: #524786;
  --color-red: #e08d79;
  --ligth-color: #94f1f4;
  --box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  --light-grey: #f1f1f1;
  --dark-grey: rgb(82, 82, 82);
}

/*-------- Typography --------*/
h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
}
h2 {
  /*Bold black text centered*/
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}
h3 {
  /*Thin LARGE black text*/
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 0;
  color: black;
}
h4 {
  /*Bold red smaller heading*/
  margin-top: 1rem;
  margin-bottom: 0rem;
  font-size: 39px;
  text-align: center;
  color: var(--primary-color);
}
h5 {
  /*Bold black body heading text aligned left*/
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  padding-left: 1rem;
}
h6 {
  /*Small thin black body heading text NO PADDING*/
  font-size: 25px;
  font-weight: 500;
  text-align: left;
  padding: 0.5rem 0rem;
}
p {
  color: var(--dark-grey);
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}
.sub {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-top: 0;
  text-decoration: underline;
}
a {
  color: var(--dark-color);
  text-decoration: none;
}
a:hover {
  color: var(--primary-color);
}

/*-------- Object Oriented Programming--------*/
.head {
  width: 100vw;
  background-position: center;
  background-size: cover;
  position: relative;
}
.badge {
  font-size: 21px;
  padding: 0.5rem 1rem;
  display: inline-flex;
  border-radius: 0.4rem;
}

/*-------- Styles--------*/
.light {
  background-color: var(--ligth-color);
  color: var(--dark-color);
}
.dark {
  background-color: var(--dark-color);
  color: var(--ligth-color);
}
.bg-prim {  background-color: var(--primary-color);}
.txt-white {
  color: #fff;
  text-align: left;
}
.hidden {
  visibility: hidden;
  opacity: 0;
}
.align-c{align-items: center; text-align: center;}
.c-w{color: white;}
.c-a{color: var(--color-accent);}
.no-pad{padding: 0;}

/*-------- HEADER / NAV BAR --------*/
.index {
  min-height: 100vh;
  background-image: linear-gradient(rgba(37, 47, 48, 0.646),var(--primary-color)),
    url(images/house.webp);
}
nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}
nav img {
  width: 150px;
}
.nav-links {
  flex: 1;
  text-align: right;
}
.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}
.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  display: block;
  margin: auto;
  transition: 0.5s;
}
.nav-links ul li:hover::after {
  width: 100%;
}
.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-box h1 {
  font-size: 62px;
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 14;
  color: #fff;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 1s;
}
.hero-btn:hover {
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color-transp);
}
nav .fas {
  display: none;
}

@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
    margin-top: 5rem;
  }
  .nav-links ul li {
    display: block;
  }
  .nav-links {
    position: absolute;
    background: var(--primary-color);
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }
  nav .fas {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }
  .nav-links ul {
    padding: 30px;
  }
}

/*-------- VALUES --------*/
.values {
  width: 90vw;
  margin: auto;
  /* text-align: center; */
  padding-top: 100px;
}
.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}
.values-col {
  flex-basis: 22%;
  background: var(--color-accent);
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}
.values-col:hover {
  box-shadow: var(--box-shadow);
}
@media (max-width: 700px){ 
  .row {
      flex-direction: row;
      justify-content: space-evenly;
  }
  .services-col {
    min-width: 22vw;
    margin-bottom: 25px;
  }
}

/*-------- SERVICES -------- */
.services {
  width: 80vw;
  margin: auto;
  /* text-align: center; */
  padding-top: 100px;
}
.services-col {
  display: inline-block;
  flex-basis: 15%;
  flex-wrap: wrap;
  /* background: var(--color-accent); */
  border-radius: 10px;
  box-sizing: border-box;
  transition: 0.5s;
}
.services-col >.sprite {
  width: 30px;
  height: 30px;
  display: inline-block;
}
.services-col >p{line-height: 1rem;}
#sprt--braai {width: 100px; height: 100px; background: url(images/service_sprite.png) 0 0;}
#sprt--elect {width: 100px; height: 100px; background: url(images/service_sprite.png) -100px 0;}
#sprt--pool {width: 100px; height: 100px; background: url(images/service_sprite.png) -200px 0;}
#sprt--wifi {width: 100px; height: 100px; background: url(images/service_sprite.png) -300px 0;}
#sprt--water {width: 100px; height: 100px; background: url(images/service_sprite.png) -400px 0;}
#sprt--power {width: 100px; height: 100px; background: url(images/service_sprite.png) 0px -100px;}
#sprt--study {width: 100px; height: 100px; background: url(images/service_sprite.png) -100px -100px;}
#sprt--comptr {width: 100px; height: 100px; background: url(images/service_sprite.png) -200px -100px;}
#sprt--games {width: 100px; height: 100px; background: url(images/service_sprite.png) -300px -100px;}
#sprt--laundry {width: 100px; height: 100px; background: url(images/service_sprite.png) -400px -100px;}

/*-------- LOCATIONS --------*/
.locations {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.location-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.location-col img {
  width: 100%;
  display: block;
}
.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}
.layer:hover {
  background: var(--primary-color-transp);
}
.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/*-------- FACILITIES --------*/
.facilities {
  width: 50%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}
.facilities-col {
  flex-basis: 24%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}
.facilities-col img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}
.facilities-col p {
  padding: 0;
  margin-bottom: 2rem;
}
.facilities-col h3 {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: left;
}

/*-------- TESTIMONIALS --------*/
.testimonials {
  width: 80%;
  margin: auto;
  padding-top: 50px;
  text-align: center;
}
.testimonials-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  margin-right: 5px;
  text-align: left;
  background: var(--primary-color);
  padding: 25px;
  cursor: pointer;
  display: flex;
}
.testimonials-col img {
  height: 50px;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 50%;
}
.testimonials-col p {
  padding: 0;
  font-size: smaller;
  line-height: 0.9rem;
}
.testimonials-col h3 {
  margin-top: 15px;
  text-align: left;
}
.testimonials-col .fas,
.far {
  color: var(--primary-color);
}

@media (max-width: 700px) {
  .testimonials-col img {
    margin-left: 0px;
    margin-right: 15px;
  }
  .testimonials-col {
    flex-basis: 100%;
  }
}

/*-------- CALL TO ACTION --------*/
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)),
    url(images/pool.webp);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}
.cta h1 {
  color: #fff;
  margin-bottom: 40px;
  padding: 0;
}

@media (max-width: 700px) {
  .cta h1 {
    font-size: 24px;
  }
}

/*-------- FOOTER --------*/
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
}
.footer h4 {
  margin-bottom: 25px;
  margin-top: 02px;
  font-weight: 600;
}
.footer .far {
  color: black;
}
.icons .fab {
  color: var(--primary-color);
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}
.icons .fab:hover {
  color: var(--dark-color);
}

/*----C-O-N-T-A-C-T----*/
.contact {
  min-height: 45vh;
  background-image: linear-gradient(rgba(4, 9, 30, 0.5),var(--primary-color)),
    url(images/contactus.png);
}


/*-------- CONTACT FORM --------*/
.cont-row {
  margin-top: 1%;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  width: 80%;
  margin: 0 auto;
}
.contact-form-col {
  padding: 1rem 4rem;
  flex-basis: 30%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.topic-col {
  padding: 1rem 4rem;
  flex-basis: 50%;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}
.contact-form {
  border: 0.3rem solid var(--light-grey);
  border-radius: 10px;
  max-width: 800px;
}
.topic-box {
  margin-top: 1.5rem;
  margin-left: 1rem;
  background: var(--light-grey);
  border-radius: 10px;
  transition: 0.3s;
}
.topic-box:hover {
  box-shadow: var(--box-shadow);
}
.topic-box h3 {
  padding-top: 1.5rem;
  padding-left: 1.5rem;
  padding-bottom: 0;
  font-size: 25px;
  color: var(--dark-grey);
  font-weight: 300;
}
.topic-box p {
  padding-top: 0.6rem;
  padding-left: 1.5rem;
  padding-bottom: 0;
  padding-right: 2rem;
  font-size: 18px;
}
.topic-box a {
  text-decoration: underline;
  padding-bottom: 0.6rem;
  font-size: 15px;
}
.topic-box a:hover {
  color: var(--primary-color);
}
.follow {
  margin: 2rem 5rem;
  text-align: right;
}
.follow .fab {
  margin-top: 2rem;
  margin-left: 0rem;
  color: var(--primary-color);
}
.follow .fab:hover {
  color: var(--dark-color);
}
.contact-form-col label {
  text-align: left;
  display: inline;
  margin-left: 2rem;
}
.contact-form-col input,
.contact-form-col textarea,
.contact-form-col select {
  border: 0.15rem solid var(--light-grey);
  border-radius: 10px;
  display: block;
  margin-left: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.8rem 0.8rem;
  font-size: 20px;
  width: 80%;
}
.contact-form-col h3 {
  font-size: 30px;
  margin-left: 2rem;
  margin-top: 1.5rem;
  color: var(--dark-grey);
  font-weight: 400;
}
.contact-form-col p {
  color: var(--dark-grey);
  font-size: 18px;
  font-weight: 300;
  line-height: 22px;
  margin-left: 1.5rem;
}
.contact-form-col textarea {
  resize: none;
  margin-bottom: 1rem;
}
.contact-form-col button {
  padding: 1rem 3rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  margin-left: 2rem;
  color: var(--dark-grey);
  font-size: 21px;
  font-weight: 400;
  background-color: var(--light-grey);
  border: var(--light-grey);
  border-radius: 10px;
}
.contact-form-col button:hover {
  background-color: #f44336;
  color: #fff;
}

@media (max-width: 700px) {
  .cont-row {
    flex-direction: column;
    width: 100%;
  }
  .contact-form-col input,
  .contact-form-col select {
    margin: 2rem 0;
    padding: 0.5rem 0.8rem;
    font-size: 18px;
  }
  .contact-form-col textarea {
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 0.5rem 0.8rem;
    font-size: 18px;
    margin-top: 0.5rem;
  }
  .contact-form {
    border-top: 1rem solid #f1f1f1;
    border-bottom: 1rem solid #f1f1f1;
    border-right: none;
    border-left: none;
    border-radius: 10px;
    max-width: auto;
  }
  .contact-form-col {
    padding: 1rem 1rem;
    flex-basis: 25%;
  }
  .topic-box {
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
  .contact-form-col h3 {
    color: black;
    margin-top: 4rem;
    margin-left: 0;
  }
  .contact-form-col p {
    margin-left: 0;
  }
  .contact-form-col label {
    font-size: 18px;
    margin-left: 0rem;
    margin-top: 4rem;
    margin-bottom: 0;
  }
  .topic-col {
    padding: 1rem 1rem;
  }
  .follow {
    text-align: center;
  }
}

/*-------- LOCATIONS CARDS --------*/
.loc-cards {
  margin-top: 3rem;
  padding: 1rem 2rem;
  text-align: center;
}
.loc-cards h3 {
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 0;
}
.loc-row {
  margin-top: 1rem;
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
}
.location-card {
  text-align: left;
  background-color: var(--ligth-color);
  border-radius: 10px;
  padding: 1rem 1rem;
  margin-top: 1rem;
  flex-basis: 20%;
  transition: 0.2s;
}
.location-card:hover {
  background-color: var(--light-grey);
  border-top: 5px solid var(--primary-color);
  flex-basis: 23%;
  padding: 1rem 2.5rem;
  font-weight: 600;
}
.location-card h4 {
  text-align: left;
  margin-bottom: 0;
  margin-top: 0.5rem;
  margin-left: 0.5rem;
  font-size: 45px;
  font-weight: 400;
}
.bold {
  margin-top: 1rem;
  font-weight: 600;
}
.location-card ul {
  margin-left: 3rem;
}
.contact-button {
  padding: 1rem 1rem;
  margin: 2rem 2rem;
  font-size: 18px;
  border: 0.2rem solid var(--primary-color);
  border-radius: 10px;
  background-color: #fff;
  color: var(--primary-color);
}
.contact-button:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.empty {
  list-style: none;
}
@media (max-width: 700px) {
  .loc-row {
    flex-direction: column;
  }
  .contact-button {
    margin: 0.5rem;
    padding: 0.5rem 1rem;
  }
  .loc-cards h3 {
    font-size: 40px;
    font-weight: 600;
  }
  .location-card:hover {
    text-align: left;
    background-color: var(--light-grey);
    border-radius: 10px;
    padding: 1rem 1rem;
    margin-top: 1rem;
    flex-basis: 20%;
    transition: 0.2s;
  }
}

/*----S-E-R-V-I-C-E-S----*/
.serv {
  min-height: 45vh;
  background-image: linear-gradient(rgba(4, 9, 30, 0.9), rgba(4, 9, 30, 0.5)),
    url(images/service.png);
}

/*-------- INTRODUCTION --------*/
.intro {
  width: 100vw;
  height: 20vh;
  background-color: var(--dark-color);
}
.intro h2 {
  font-size: 30px;
  font-weight: 400;
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}

/*-------- start count stats --------*/
section#counter-stats {
  display: flex;
  justify-content: space-evenly;
  margin: 0 auto;
  width: 80%;
}
.stats {
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  margin: 0 2rem;
}
.stats .fas {
  color: var(--dark-color);
  font-size: 80px;
  margin: 1rem auto;
}

/*-------- PUBLIC SERVICES --------*/
.public {
  padding: 2rem 5rem;
  margin: 1rem auto;
  width: 80%;
}
.servrow {
  margin-top: 1%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  flex-direction: row;
}
.pub-col {
  background-color: var(--ligth-color);
  flex-basis: 21%;
  overflow: hidden;
  transition: 0.2s;
  border-radius: 10px;
  padding: 0.3rem 1rem;
  margin: 0.5rem 0.5rem;
}
.pub-col:hover {
  border: 3px var(--primary-color) solid;
  cursor: pointer;
}
.pub-col article {
  padding: 1rem 1rem;
}
.pub-col img {
  display: inline;
}

@media (max-width: 700px) {
  .servrow,
  section#counter-stats {
    flex-direction: column;
  }
  .stats {
    margin: 2rem auto;
  }
  .servrow h4 {
    font-size: 20px;
  }
  .pub-col {
    width: 80%;
  }
  .public {
    padding: 1rem;
  }
  .pub-col article {
    padding: 0 1rem;
  }
  .pub-col img {
    display: none;
  }
  .intro {
    height: 45vh;
  }
  .intro h2 {
    font-size: 23px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    padding-top: auto;
    padding-bottom: auto;
    line-height: 120%;
  }
}

/*-----A-B-O-U-T-----*/
.about {
  min-height: 55vh;
  background-image: linear-gradient(rgba(4, 9, 30, 0.3), rgba(61, 61, 61, 1)),
    url(images/about.jpg);
}

.about__head {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' version='1.1' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:svgjs='http://svgjs.com/svgjs' width='1600' height='800' preserveAspectRatio='none' viewBox='0 0 1600 800'%3e%3cg mask='url(%26quot%3b%23SvgjsMask1024%26quot%3b)' fill='none'%3e%3crect width='1600' height='800' x='0' y='0' fill='rgba(61%2c 61%2c 61%2c 1)'%3e%3c/rect%3e%3cpath d='M 0%2c33 C 80%2c61.8 240%2c160.2 400%2c177 C 560%2c193.8 640%2c118.8 800%2c117 C 960%2c115.2 1040%2c171.2 1200%2c168 C 1360%2c164.8 1520%2c114.4 1600%2c101L1600 800L0 800z' fill='rgba(99%2c 99%2c 99%2c 1)'%3e%3c/path%3e%3cpath d='M 0%2c463 C 106.8%2c424.6 320.4%2c268.4 534%2c271 C 747.6%2c273.6 854.8%2c458.6 1068%2c476 C 1281.2%2c493.4 1493.6%2c381.6 1600%2c358L1600 800L0 800z' fill='rgba(207%2c 131%2c 68%2c 1)'%3e%3c/path%3e%3cpath d='M 0%2c537 C 106.8%2c587.6 320.4%2c775.6 534%2c790 C 747.6%2c804.4 854.8%2c619 1068%2c609 C 1281.2%2c599 1493.6%2c713.8 1600%2c740L1600 800L0 800z' fill='rgba(255%2c 255%2c 255%2c 1)'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cmask id='SvgjsMask1024'%3e%3crect width='1600' height='800' fill='white'%3e%3c/rect%3e%3c/mask%3e%3c/defs%3e%3c/svg%3e");
  background-size: 100% 101%;
  height: 55vh;
  width: 100vw;
  display: block;
  position: relative;
}

.about__head-txt {
  padding: 1rem 15rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1.3;
  letter-spacing: 1.2;
  position: absolute;
  top: -150px;
  text-align: center;
}

.doctors {
  width: 80%;
  display: block;
  margin: 0 auto;
}

.doc__card {
  display: flex;
  flex-direction: row;
  border-top: 2px soid var(--color-red);
  width: 100%;
  background-color: var(--ligth-color);
  padding: 1.5rem 3rem;
  border-radius: 15px;
}

.doc__card img {
  width: 150px;
  height: 150px;
  border-radius: 100%;
  margin-right: 2rem;
  border: 1px solid var(--color-accent-dark);
  size: fit-content;
  size: cover;
}

.doc__card-txt {
  flex-basis: 70%;
  line-height: 1.1;
}

.doc__card-txt h2 {
  text-align: left;
  padding: 0.5rem;
}

.doc__card-txt p {
  font-size: 1rem;
  color: black;
}

.doc__card-txt ul {
  padding-left: 2rem;
}

.doc__cta {
  padding: 1rem;
  flex-basis: 15%;
  display: flex;
  flex-direction: column;
}

.doc__cta p {
  margin: 1rem 0 0 0.5rem;
}

.doc__cta a {
  background-color: var(--primary-color);
  border-radius: 15px;
  padding: 1rem;
  color: #fff;
  text-align: center;
}

.doc__cta a:hover {
  background-color: var(--dark-color);
}

@media screen and (max-width: 768px) {
  .about__head-txt {
    padding: 1rem 2rem;
    font-size: 1.3rem;
    line-height: 1.1;
  }
}

/*-----B-L-O-G-----*/
.blog {
  min-height: 45vh;
  background-image: linear-gradient(rgba(4, 9, 30, 0.9), rgba(4, 9, 30, 0.5)),
    url(images/blog.jpg);
}

/*----POPULAR POSTS----*/
.popular {
  width: 100vw;
  height: 55vh;
  background-color: var(--dark-grey);
}

/*----Blog Flex Box Specs----*/
.blog-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  margin: 2rem auto;
  width: 85vw;
}
.post {
  border-radius: 1rem;
  flex: 1 1 auto;
  margin: 1rem 2rem;
  padding: 1.5rem 2rem;
  line-height: 1.2;
  color: #fff;
  overflow: hidden;
  transition: 0.3s;
}
.post:hover {
  box-shadow: var(--box-shadow);
}

/*----POPULAR----*/
.pop-row {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  width: 95vw;
  height: 55vh;
  margin: auto;
}
.pop-row h1 {
  color: #fff;
}
.clear {
  height: 50%;
  visibility: hidden;
}
.blog-col {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}
.post-col {
  flex-basis: 45%;
  background-color: var(--light-grey);
}

@media (max-width: 700px) {
  .pop-row {
    flex-direction: column;
  }
  .blog-container {
    flex-direction: column;
    justify-content: space-evenly;
    margin: 2rem auto;
    width: 90vw;
  }
  aside {
    border-left: none;
    border-top: 0.5rem solid var(--dark-color);
  }
}

/*----BLOG----*/
main {
  flex-basis: 75%;
  justify-content: flex-start;
}

/*----SOCIALS----*/
aside {
  justify-content: flex-end;
  flex-basis: 25%;
  flex-grow: 0%;
  border-left: 0.5rem solid var(--dark-color);
  border-top: none;
  border-radius: 1rem;
  overflow: hidden;
}
.social {
  position: relative;
  border-radius: 0.5rem;
  margin: 1rem 1.5rem;
}
.social:hover {
  box-shadow: var(--box-shadow);
}
.social-banner {
  max-width: 20vw;
  height: 15vh;
  width: 100%;
  background-position: center;
  background-size: cover;
  position: relative;
}
.profile-image {
  position: absolute;
  border: 0.2rem solid #fff;
  border-radius: 50%;
  float: left;
  width: 25%;
  height: auto;
  margin: 0.4rem 1rem;
  bottom: 10%;
}
.white-banner {
  background-color: #fff;
  height: 10vh;
  border-bottom: 0.2rem solid var(--light-grey);
  border-radius: 0.5rem;
}
.social-name {
  padding-left: 28%;
  padding-top: 3%;
}
.social-btn {
  background-color: var(--primary-color);
  border-radius: 0.6rem;
  width: 70%;
  margin-left: 1.5rem;
  margin-bottom: 3rem;
}

.social-btn .fab {
  padding: 0rem 1rem;
}
.social-btn:hover {
  background-color: var(--dark-color);
  cursor: pointer;
}

/*-- Blog Backgroung images (800x1300)--*/
.b1 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.3), rgba(4, 9, 30, 1)),
    url(images/blog.jpg);
}
.b2 {
  background-image: linear-gradient(rgba(4, 9, 30, 0.3), rgba(4, 9, 30, 1)),
    url(images/blog.jpg);
}
.fb {
  background-image: linear-gradient(rgba(4, 9, 30, 0), rgba(4, 9, 30, 0)),
    url(https://www.facebook.com/IMEmedSouthAfrica/photos/a.105828557793070/279534723755785/);
}
