@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Arsenal&display=swap');
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro");

.header-background {
  background: linear-gradient(
    #00000071, 
    #00000071
    ), url('./../media/beach-house-pool.jpg');
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.floating-buttons .custom-btn {
  background-color: #152e54;
  color: #ffffff;
}

/* Hamburger */

/* imports */
/* nav toggle */
.nav-toggle {
  cursor: pointer;
  height: 0.3rem;
  right: 2rem;
  position: fixed;
  top: 4.8rem;
  width: 2rem;
  z-index: 2;
}
.nav-toggle:hover {
  opacity: 0.8;
}
.nav-toggle 
.nav-toggle-bar,
.nav-toggle 
.nav-toggle-bar::after,
.nav-toggle 
.nav-toggle-bar::before {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background: #1f1e1e;
  content: "";
  height: 0.01rem;
  transition: all 0.5s;
  width: 100%;
}
.nav-toggle 
.nav-toggle-bar {
  margin-top: 0;
}
.nav-toggle 
.nav-toggle-bar::after {
  margin-top: 0.8rem;
}
.nav-toggle 
.nav-toggle-bar::before {
  margin-top: -0.8rem;
}
.nav-toggle.expanded 
.nav-toggle-bar {
  background: transparent;
}
.nav-toggle.expanded 
.nav-toggle-bar::after, 
.nav-toggle.expanded 
.nav-toggle-bar::before {
  background: white;
  margin-top: 0;
}
.nav-toggle.expanded .nav-toggle-bar::after {
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.nav-toggle.expanded .nav-toggle-bar::before {
  -ms-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

/* nav */
.nav {
  background: #152e54;
  color: #ddb892;
  cursor: pointer;
  display: flex;
  height: 100vh;
  right: -20rem;
  padding: 6rem 0 2rem 2rem;
  position: fixed;
  top: 0;
  transition: left 0.5s;
  width: 20rem;
  z-index: 1;
}

.nav.expanded {
  right: 0;
}

li {
  margin: 1rem 0 1rem 0;
}

ul {
  list-style: none;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
  text-align: end;
  font-size: 1.5rem;
  padding-left: 0;
}

/* Hamburger */

/* Navigation */

.custom-nav-list {
  justify-content: space-between;
  padding-top: 50px;
}

.nav-list {
  display: inline-block;
}

.nav-list ul {
  display: flex;
  width: 80vw;
  font-size: 1.2rem;
  padding-right: 50px;
  justify-content: space-evenly;
}

.nav-list ul a {
  color: #ffffff;
  text-transform: uppercase;
}

.logo img {
  height: 5rem;
  width: 11rem;
}

/* Navigation */

/* Home */

.custom-principal {
  height: 100%;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

h1 {
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  width: 70vw;
  text-align: center;
  margin-bottom: 20px;
  word-spacing: 0.2rem;
  letter-spacing: 0.1rem;
}

/* Home */

/* Contact Us */

.learn-more {
  background-color: #152e54;
  height: 40vh;
  align-items: center;
  justify-content: space-around;
}

h3 {
  color: #ffffff;
  font-family: 'Playfair Display', serif;
}

.request {
  height: 4.9rem;
  width: auto;
  padding: 5px 30px;
  font-family: 'Arsenal', sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid #ddb892;
  background-color: #152e54;
  word-spacing: 0.3rem;
  letter-spacing: 0.2rem;
}

/* Contact Us */

/* Main */

.hire-an-agent {
  background: linear-gradient(
    #fffefe75, 
    #fffefeeb
    ), url('./../media/house-at-the-beach.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 70vh;
}

.hire-an-agent h2 {
  letter-spacing: 0.2rem;
  word-spacing: 0.2rem;
}

.hire-an-agent h2,
.hire-an-agent p,
.hire-an-agent a {
  border-bottom: none;
  border-top: none;
  color: #000000;
}

.custom-div {
  width: 40vw;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

.custom-div p {
  width: 45vw;
  word-spacing: 0.1rem;
  letter-spacing: 0.1rem;
  font-size: 1.1rem;
}

.custom-article,
.blue-section .custom-article {
  padding: 100px 0 100px 0;
  height: 100%;
  justify-content: space-evenly;
  align-items: center;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  padding-bottom: 15px;
}

img {
  width: 40vw;
}

p {
  font-family: 'Arsenal', sans-serif;
  padding-top: 15px;
  margin-bottom: 50px;
  width: 60vw;
}

.parallax {
  background-image: url('../media/florida.jpg');
  height: 100vh;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.blue-section {
  background-color: #152e54;
  color: #e7e7e7;
}

.blue-section a,
.blue-section p,
.blue-section h2 {
  color: #ffffff !important;
}

.custom-article a {
  color: #000000;
  text-decoration: underline !important;
}

.custom-article p,
.custom-article h2 {
  color: #000000;
}

/* Main */

/* Footer */

footer section {
  flex-direction: column;
}

footer {
  background: linear-gradient(
    #fffefec7, 
    #fffefec7
    ), url('./../media/palm.jpg');
  height: 100%;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

footer p {
  border-top: none;
}

footer h3,
footer p,
footer a {
  text-transform: uppercase;
}

.work-with-us {
  background-color: #152e54;
  color: #ffffff;
  width: 100%;
  margin-bottom: 30px;
  flex-direction: column;
  height: 30vh;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.work-with-us h3 {
  color: #ffffff;
}

.city-address,
.work-time {
  flex-direction: column;
}

.agent {
  align-items: center;
  color: #000000;
}

.contact, 
.address,
.open-hours {
  margin-left: 400px;
}

.contact {
  justify-content: space-between;
  height: 20vh;
  margin-bottom: 30px;
}

.contact h3 {
  color: #000000;
}

.contact,
.address {
  margin-bottom: 30px;
}

.email,
.phone-number,
.direction,
.work-time,
.hours {
  align-items: center;
}

.email p,
.information p,
.city-address p,
.work-time p,
.email i,
.direction i,
.phone-number i,
.hours i {
  padding-top: 0;
  margin-bottom: 0;
  /* width: 20vw; */
  color: #000000;
}

.information a,
.social-media a,
.copyright {
  color: #000000;
}

.information,
.city-address,
.work-time {
  margin-left: 50px;
}

.social-media {
  flex-direction: row;
  justify-content: center;
  width: 100%;
  margin-bottom: 30px;
}

.organized {
  padding-top: 30px;
  width: 40%;
  justify-content: space-evenly;
}

.copyright {
  text-align: center;
  align-items: center;
  padding-bottom: 30px;
}

/* Footer */

/* Media Queries  */

@media (min-width: 769px) and (max-width: 830px) {

}

@media (min-width: 769px) and (max-width: 1300px) {
  .hire-an-agent h2 {
    font-size: 1.4rem !important;
  }

  .hire-an-agent p {
    width: 90vw;
    font-size: 1rem;
  }

  .nav-list {
    width: 70vw;
  }

  .nav-list ul {
    font-size: .9rem !important;
  }
}

@media (min-width: 769px) and (max-width: 1200px) {
  p {
    border-top: none;
  }

  h2 {
    border-bottom: none;
  }
}

@media (min-width: 768px) and (max-width: 1310px) {
  .nav-list {
    display: none;
  }

  .nav-toggle {
    top: 5.5rem;
  }
}

@media (min-width: 760px) and (max-width: 769px) {
  figure img {
    width: 60vw;
    height: 40vh;
  }
}


@media (min-width: 768px) and (max-width: 864px) {
  .hire-an-agent h2 {
    margin-top: 30px;
  }

  .contact, 
  .address,
  .open-hours {
    margin-left: 200px;
  }
}

@media (max-width: 768px) {
  .d-flex {
    flex-direction: column;
  }

  .floating-buttons {
    display: initial;
  }

  .custom-nav-list {
    padding-top: 20px;
  }
  
  .nav-list {
    display: none;
  }

  .logo img {
    width: 140px;
    height: auto;
  }

  .learn-more {
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
  }

  .custom-article {
    justify-content: center;
  }

  .custom-article,
  .blue-section {
    padding: 0 0 0 0 !important;
  }

  .custom-div h2 {
    font-size: .9rem;
    padding-bottom: 0;
  }

  .custom-article p,
  .custom-div p {
    font-size: 14px;
    margin: 0 0 0 0 !important;
  }

  .request {
    padding: 7px 10px;
    word-spacing: 0.1rem;
    letter-spacing: 0.2rem;
  }

  h2 {
    width: 80vw;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    word-spacing: 0.1rem;
    letter-spacing: 0.05rem;
    margin: 0px 0px;
    border-bottom: 1px solid #ddb892;
    border-top: 1px solid #ddb892;
    padding: 10px 0 10px 0 ;
  }

  p {
    border-top: 1px solid #ddb892;
    border-bottom: 1px solid #ddb892;
    padding-bottom: 35px;
  }

  .custom-div {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .custom-div h2 {
    font-size: 1.3rem;
    padding-bottom: 10px;
  }

  .custom-div p {
    width: 80vw;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    word-spacing: 0.1rem;
    letter-spacing: 0.05rem;
  }

  figure {
    margin: 1rem 0 1rem;
  }

  img {
    height: 30vh;
    width: 80vw;
  }

  footer p {
    border-top: none;
    border-bottom: none;
  }

  .work-with-us {
    flex-direction: column;
    align-items: center;
  }

  .work-with-us p {
    width: 80vw;
    text-align: center;
  }

  .agent {
    text-align: center;
    justify-content: center;
  }

  .contact {
    height: auto;
  }

  .contact,
  .address,
  .open-hours {
    margin-left: 0;
    flex-direction: column;
  }

  .email,
  .number,
  .direction,
  .hours {
    flex-direction: row;
  }

  .email {
    margin-bottom: 20px;
    align-items: center;
  }

  .information,
  .city-address,
  .work-time {
    margin-left: 0;
  }

  .phone-number {
    align-items: center;
    flex-direction: row;
  }
  
  .email i
  .phone-number i {
    margin-right: 10px !important;
  }

  .email p,
  .phone-number p {
    padding-top: 0;
    margin-bottom: 0;
  }

  .work-time p {
    padding-bottom: 0;
  }

  .address {
    padding-right: 50px;
  }

  .direction {
    align-items: center;
  }

  .city-address,
  .information {
    padding-left: 20px;
  }

  .city-address p,
  .information p {
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }
  
  .hours {
    align-items: center;
  }

  .work-time {
    flex-direction: column;
    padding-left: 20px;
  }

  .work-time p {
    padding-top: 0px;
    margin-bottom: 0px;
  }

  .social-media {
    margin-top: 40px;
    margin-bottom: 40px;
    justify-content: space-evenly;
  }

  .copyright {
    flex-direction: column;
    padding-bottom: 0;
  }

  .copyright p {
    padding-top: 0px;
    margin-bottom: 0px;
  }

  .line {
    margin-top: 20px;
  }

  .contact,
  .address,
  .open-hours {
    padding-left: 50px;
  }

  .custom-btn {
    background-color: #152e54;
    color: #ffffff;
  }

  .work-with-us h3 {
    margin-top: 20px;
  }

  .work-with-us p {
    border-bottom: none;
  }

  .work-with-us h3 {
    color: #ffffff;
  }

  .contact h3 {
    color: #000000;
  }

  .agent h2 {
    border-bottom: none;
    border-top: none;
    word-spacing: 0;
    border-bottom: 0;
    border-top: 0;
    padding: 0 0 0 0;
    margin-bottom: 50px;
  }

  .contact h3 {
    margin-bottom: 20px;
  }

  .organized {
    width: auto;
    flex-direction: row;
    justify-content: space-evenly;
  }

   .custom-i {
     color: #ffffff;
   }
   
   .nav-toggle {
    top: 3rem;
   }

}

/* Media Queries */