html{
  scroll-behavior: smooth;
}

*{
  box-sizing: border-box;
  padding:0;
  margin:0;
}

body {
  box-sizing: border-box;
  width: 100vw;
  display: grid;
  overflow: auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  background-color: rgba(34, 34, 34, 0.705); /* Tint color */
  background-blend-mode: multiply;
  background-image: url(pics/SeqLivingroom.0252.jpg);
  background-size: cover;
  background-attachment:fixed;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 1.6;
  color: rgb(0, 0, 0);
  text-shadow: .5px .5px .5px rgb(100, 100, 100);
}


ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
}

h1,
h2 {
  font-weight: 300;
  line-height: 1.5;
  margin: 0px 0;
  font-size: 20px;
}

p {
  margin: 10px 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.container {
  margin: 0 auto;
  overflow: auto;
  padding: 0 15%;
}
.nav-header {
  display: flex;
  gap: 1em;
  align-items: center;
}

.pipeBar {
  box-sizing: border-box;
  background: white;
  height: 1em;
  width: .1em;
}

.navbar .flex {
  justify-content: space-between;
}


.navbar {
  background-image: url(pics/header_pic.jpg);
  background-size: cover;
  color: white;
  filter: drop-shadow(.5px .5px 5px rgb(3, 3, 3));
  -webkit-filter: drop-shadow(.5px .5px 5px rgb(3, 3, 3));
  /* position: sticky; */
  height: 5em;
  top: 0;
}

.navbar ul{
  display: flex;
}

.navbar a {
  height: 100%;
  color: white;
  padding: 19px 15px;
  font-size: 20px;
  transition: .5s;
}

.navbar a:hover {
  opacity: 100%;
  background-color: #ddd;
  color: black;
  /* font-size: 20px; */
}

.navbar a.active{
  background-color: darkgoldenrod;
  color: white;
  /* font-size: 20px; */
}

.heroimg {
  height: 93vh;
  width: 100%;
  align-self: center;
  background-image: url(pics/tpxlogo.png);
  background-size: 70vh;  
  background-repeat: no-repeat;
  background-position: center;
}

#services-content {
  display: grid;
  justify-content: center;
  height: 100%;
  margin: 0;
  background-color: rgba(34, 34, 34, 0.584);
  grid-template-columns: repeat(2, 445px);
  grid-auto-rows: 25.4em;
  /* grid-gap: 1em; */
}

#services-box {
 display: flex;
 align-items: center;
 justify-items: center;
 text-shadow: none;
 font-size: 20px;
 color: rgb(191, 191, 191);
 padding: 0 3em;
 text-transform: none;
}

#services-box:nth-child(1) {
  /* background: darkgoldenrod; */
  background-image: url(pics/icon_investments.png);
  background-repeat: no-repeat;
}

#services-box:nth-child(2) {
  
}

#services-box:nth-child(3) {
  
}

#services-box:nth-child(4) {
  /* background: darkgoldenrod; */
  background-image: url(pics/icon_propertymanagement.png);
  background-repeat: no-repeat;
}

#services-box:nth-child(5) {
  /* background: darkgoldenrod; */
  background-image: url(pics/icon_buying.png);
  background-repeat: no-repeat;
}

#services-box:nth-child(6) {
  
}

#services-box:nth-child(7) {
}

#services-box:nth-child(8) {
  /* background: darkgoldenrod; */
  background-image: url(pics/icon_selling.png);
  background-repeat: no-repeat;
}

.content {
  display: flex;
  justify-content: center;
  height: 94vh;
}

.testimonial-button:hover {
  opacity: 100%;

}

.testimonial-button {
  display: grid;
  position:absolute;
  bottom: 0em;
  align-items: center;
  justify-items: center;
  height: 70px;
  width: auto;
  opacity: 25%;
  transition: 500ms;
  z-index: 0;
  /* align-self: flex-end; */
}

#testimonial-arrow {
  position: absolute;
  height: 25px;
  width: 25px;
  bottom: 1.5em;
  border-bottom: #ddd solid 3px;
  border-right: #ddd solid 3px;
  transform: rotate(45deg);
}

#test {
  position: relative;
  bottom: 1.7em;
  color: white;
  font-size: 2em;
  text-align: center;
  bottom: 25px;
}

#home-testimonials-wrapper {
  height: 100vh;
  width:100%;
  background-color: rgb(34, 34, 34);
  color: rgb(151, 151, 151);
  text-shadow: none;
  font-size: 2em;
}

.carousel {
  position: relative;
  height: 80vh;
  width: 50%;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.carousel__a {
  display: grid;
  height: 100%;
}

.carousel__image {
  width: 70%;
  justify-self: center;
  align-self: center;
}

@media  (max-height: 600px) {
  .carousel__image {
    width: 80%;
  }

}

.carousel__track-container {
  /* background-color: blue; */
  height: 100%;
  position: relative;
  overflow:hidden;
  padding: 0px 0;
}

.carousel__track {
  padding: 0;
  margin: 0;
  height: 100%;
  list-style: none;
  position: relative;
  transition: transform 250ms ease-in;
}

.carousel__slide {
  position: absolute;
  /* top: 0px; */
  height: 100%;
  bottom: 0;
  width: 100%;
}

.carousel__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
}

.carousel__button img {
  width: 50%;
  height: auto;
  opacity: 30%;
  transition: .5s;
}

.carousel__button img:hover {
  opacity: 100%;
}

.carousel__button--left {
  left: -150px;
}

.carousel__button--right {
  right: -150px;
}


.carousel__nav {
  /* background-color: aqua; */
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.carousel__indicator {
  border: 0;
  border-radius: 50%;
  width: 15px;
  height: 15px;
  background: rgba(255, 255, 255, 0.301);
  margin: 0 15px;
  cursor: pointer;
}

.carousel__indicator.current-slide {
  background: rgba(255, 255, 255, 0.747);
}

.is-hidden {display: none}

.aboutContent {
  display: flex;
  justify-content: center;
  height: 100%;
}

.aboutContainer {
  display: grid;
  margin: 0 auto;
}

.about-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgb(255, 255, 255);
  font-size: 30px;
  text-align: center;
  height: 30vh;
  width: auto;
  text-shadow: 0 0 12px black;
  font-style: italic;
  /* background: rgba(34, 34, 34, 0.308); */

}

.about-wrapper {
  height: 100%;
  width: 100vw;
  background-color: rgb(255, 255, 255);
  padding: 60px 15%;
  /* filter: drop-shadow(.5px .5px 2px rgb(3, 3, 3)); */
  /* border-top-left-radius: 12px;
  border-top-right-radius: 12px; */
}

.about-writing {
  border-bottom: rgb(208, 208, 208) solid 3px;
  font-size: 20px;
  text-shadow: none;
  color: rgb(31, 31, 31);
  text-transform: none;
}

.about-team-header {
  padding-top:40px;
  padding-bottom: 40px;
  text-align: center;
  font-size: 30px;
  /* text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.641); */
  color: rgb(126, 126, 126);
  text-shadow: none;
}

.about-card-container {
  display: grid;
  grid-gap: 5em;
  grid-template-rows: auto;
  grid-template-columns: repeat(auto-fit, minmax(225px, 1fr));
}

.about-card {
  justify-self: center;
  padding: 2em; 
  border-radius: 1em;
  filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, 0.100));
  -webkit-filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.100));
  text-align: center;
  background-color: white;
  border:  rgb(208, 208, 208) solid .1px;
}

.about-contact-card-info-container {
  margin: 0;
  padding-top: 30px;
}

.about-card p {
  margin: 0;
  text-shadow: none;
  font-size: 20px;
}

.about-card a {
  margin: 0;
  text-shadow: none;
  font-size: 15px;
  color: rgb(92, 92, 92);
}

.circle-pic-frame {
  height: 15em;
  width: 15em;
  border-radius: 50%;
  background: gray;
  filter:drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.211));
  -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.211));
}

.content-wrapper {
  display: grid;
  margin: 0 auto;
  min-height: 94vh;
}

.contact-content-container {
  width: 100vw;
  /* background-color: rgb(34, 34, 34); */
  background-color: rgb(255, 255, 255);
  /* padding: 0 15%; */
  filter: drop-shadow(.5px .5px 2px rgb(3, 3, 3));
  -webkit-filter: drop-shadow(.5px .5px 2px rgb(3, 3, 3));
  z-index: -9999;
  /* border-top-left-radius: 12px;
  border-top-right-radius: 12px; */
}

.contact-address {
  border-bottom: rgb(208, 208, 208) solid 3px;
  font-size: 20px;
  color: rgb(7, 7, 7);
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  padding: 3em 0;
  margin: 0 15%;
  text-shadow: none;
}

.contact-address p:nth-of-type(3) {
  color: rgb(94, 94, 94);
  /* color: rgb(191, 191, 191); */
}
.contact-address p:nth-of-type(4) {
  color: rgb(94, 94, 94);
  /* color: rgb(191, 191, 191); */
}

.agent-contact-container {
  padding: 8em 15%;
  margin: 0;
  display: grid;
  grid-gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-card {
  justify-self: center;
  display: grid;
  padding: 1em;
  height: 100%;
  width: 350px;
  grid-template-columns: 1fr 1fr;
  /* grid-gap: .3em; */
  margin: 0;
  filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.13)) ;
  -webkit-filter: drop-shadow(6px 6px 6px rgba(0, 0, 0, 0.13));
  border-radius: 1em;
  border:  rgb(208, 208, 208) solid .1px;
  background: white;
  /* align-content: center; */
}

.contact-card-img {
  background:rgb(162, 161, 161);
  grid-row: 1 / span 6;
  height: 150px;
  width: 150px;
  border-radius: 50%;
  filter:drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.211));
  -webkit-filter: drop-shadow(3px 3px 5px rgba(0, 0, 0, 0.211));
}

.contact-card-info-container {
  margin: 0;
  height: 150px;
  display: grid;
  align-content: center;
  transform: trans;
}

.contact-card p {
  margin: 0;
  padding-left: 1em;
  text-shadow: none;
  font-size: 15px;
  letter-spacing: 1px;
}

.contact-card-social-bar {
 display: flex;
 padding-left: 1em;
}

.contact-card-social-bar a {
  padding-left: .5em;
  display: flex;
  align-content: center;
  align-items: center;
}

.contact-card-social-bar img {
  width: 2em;
}

.footer {
  text-align: center;
  font-size: 15px;
  padding: 20px;
  color: white;
  background-image: url(pics/header_pic.jpg);
  background-size: cover;
  background-position: center;
  filter: drop-shadow(-.5px -.5px 5px  rgb(3, 3, 3));
  -webkit-filter: drop-shadow(-.5px -.5px 5px  rgb(3, 3, 3));
}

.footer-social-container {
  padding-bottom: .5em;
}

.footer-social-container img {
  padding: 0 .5em;
  width: 4em;
}

#hamburger-icon {
  margin: auto 0;
  display: none;
  cursor: pointer;
}

#hamburger-icon div {
  width: 50px;
  height: 5px;
  background-color: white;
  margin: 10px 0;
  transition: 0.5s;
} 

.open .bar1 {
  -webkit-transform: rotate(-45deg) translate(-15px, 8px,);
  transform: rotate(-45deg) translate(-17px, 4px);
}

.open .bar2 {
  opacity: 0;
}

.open .bar3 {
  -webkit-transform: rotate(45deg) translate(-15px, -8px,);
  transform: rotate(45deg) translate(-16px, -4px);
}

.open .mobile-menu {
  display: grid;
  width: 100vw;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 5em;
  left: 0;
  background: rgba(37, 37, 37, 0);
}

.mobile-menu li {
  background-color: rgb(43, 43, 43);
  color: white;
  width: 100vw;
  display: grid;
  justify-items: center;
}

.mobile-menu li:hover {
  opacity: 100%;
  background-color: rgba(210, 210, 210, 0.74);
  color: black;
}

.mobile-menu a {
  width: 100vw;
  text-align: center;
}

@media (min-width: 1300px) {
  h1,
  h2 {
    display: inline-block;
  }

  .mobile-menu{
    display: none;
  }
}

@media only screen and (max-width: 1300px) {

  body {
    background-image: url(pics/SeqLivingroom.0252.jpg);
    background-attachment: scroll;
    background-position: -1750px;
  }

  nav {
    display: none;
  }

  .navbar {
    z-index: 9999;
    height: 6em;
  }

  .mobile-menu{
    display: none;
    top: 6em;
  }

  .content {
    background-image: url(pics/SeqLivingroom.0252.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 51.4%;
    background-color: rgba(34, 34, 34, 0.877); /* Tint color */
    background-blend-mode: multiply;
    height: 92vh;
  }

  .heroimg {
    overflow:visible;
    position: relative;
    top: -80px;
    height: 40vh;
    width: 100%;
    align-self: center;
    background-image: url(pics/tpxlogo.png);
    background-size: 40vh;
    background-repeat: no-repeat;
    background-position: center;
  }

  h1 {
    font-size: 15px;
  }

  h2 {
    font-size: 16px;
  }

  .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  
  .container {
    margin: 0 auto;
    overflow: auto;
    padding: 0 17px;
  }

  .pipeBar {
    display: none;
  }

  .nav-header {
    display: initial;
  }

  .navbar a {
    font-size: 18px; 
    padding: 5px 5px;
  }
  
  .navbar a:hover {
    background-color: initial;
    font-size: 18px;
    padding: 5px 5px;
  }
  
  .navbar a.active{
    background-color: rgba(184, 135, 11, 0);
    color: white;
    font-size: 18px;
    padding: 5 5px;
  }

  #hamburger-icon {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .mobile-menu a:hover {
    color: #333;
  }

  .about-hero {
    height: fit-content;
    font-size: 1.7em;
    padding: 10% 5%;
  }

  .content-wrapper {
    min-height: initial;
  }

  .contact-address {
    border-bottom: rgb(208, 208, 208) solid 3px;
    font-size: 18px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1;
    padding: 3em 0;
    margin: 0 9%;
  }

  .agent-contact-container {
    padding: 5em 0%;
    display: grid;
    grid-gap: 2em;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

}

@media (max-width: 924px) {

  #services-content {
    display: grid;
    justify-content: center;
    background-color: rgba(44, 44, 44, 0.507);
    height: 100%;
    margin: 0;
    grid-template-columns: repeat(1, auto);
    grid-auto-rows: 33vh;
    /* grid-gap: 1em; */
  }

  #services-box {
    background-size: 100%;
    text-align: center;
    color: rgb(214, 214, 214);
    padding: 30px;
    font-size: 18px;
    background-repeat: no-repeat;
  }


  #services-box:nth-child(1) {
    /* background: darkgoldenrod; */
    background-image: url(pics/icon_investments.png);
  }

  #services-box:nth-child(2) {
  
  }

  #services-box:nth-child(3) {
    /* background: darkgoldenrod; */
    background-image: url(pics/icon_propertymanagement.png);
  }

  #services-box:nth-child(4) {
    background: none;
  }

  #services-box:nth-child(5) {
    /* background: darkgoldenrod; */
    background-image: url(pics/icon_buying.png);
  }

  #services-box:nth-child(6) {
  
  }

  #services-box:nth-child(7) {
    /* background: darkgoldenrod; */
    background-image: url(pics/icon_selling.png);
  }

  #services-box:nth-child(8) {
    background: none
  }

  .about-wrapper {
    height: 100%;
    width: 100vw;
    padding: 2em 10%;
    /* filter: drop-shadow(.5px .5px 2px rgb(3, 3, 3)); */
    /* border-top-left-radius: 12px;
    border-top-right-radius: 12px; */
  }
  
  .about-writing {
    font-size: 17px;
  }
  
}

@media only screen and (max-width: 1090px) {
  #home-testimonials-wrapper {
    height: auto;
    display: initial;
  }
  
  .carousel {
    position: relative;
    height: auto;
    width: 80%;
    margin: 0 auto;
    top: 50%;
    transform: translateY(-50%);
    padding: 5% 5%;
  }
  
  .carousel__a {
    display: grid;
    height: 100%;
  }
  
  .carousel__image {
    width: 100%;
    justify-self: center;
    align-self: center;
  }
  
  .carousel__track-container {
    /* background-color: blue; */
    height: 100%;
    position: relative;
    overflow: auto;
    padding: 0px 0;
  }
  
  .carousel__track {
    padding: 0;
    margin: 0;
    height: 60%;
    list-style: none;
    position: relative;
    transition: transform 250ms ease-in;
  }
  
  .carousel__slide {
    padding: 60px 0;
    position: initial;
    /* top: 0px; */
    height: 100%;
    bottom: 0;
    width: 100%;
    border-top: rgb(165, 165, 165) solid 3px;
  }

  .carousel__slide:nth-child(1) {
    border-top:none ;
    
  }
  
  .carousel__button {
    display: none;
  }
  
  
  .carousel__nav {
    display: none;
  }
}


@media  (max-height: 600px) {

  .heroimg {
    background-size: 50vh;
    height: 50vh;
    top: -30px;
  }

  #services-content {
    display: grid;
    justify-content: center;
    justify-items: center;
    height: 100%;
    margin: 0;
    grid-template-columns: repeat(1, auto);
    grid-auto-rows: 70vh;
    /* grid-gap: 1em; */
  }

  #services-box {
    background-size: 100%;
    height: 100%;
    width: 50%;
    text-align: center;
    padding: 30px;
    font-size: 18px;
    background-repeat: no-repeat;
    padding: 10px;
  }

  .carousel {
    width: 80%;
  }

  .carousel__track-container {
    width: 90%;
    transform: translateX(20px);
  }

  .carousel__button img {
    width: 25%;
    height: auto;
    opacity: 30%;
    transition: .5s;
  
  }

  .carousel__button--left {
    left: -80px;
  }
  
  .carousel__button--right {
    right: -80px;
  }

  .carousel__nav {
    /* background-color: aqua; */
    display: none;
  }

  .carousel__indicator {
    width: 8px;
    height: 8px;
  }

  .testimonial-button {
    bottom: initial;
    align-self: flex-end ;
    transform: translatey(-30px);
  }

}


