@font-face {
  font-family: Cuprum;
  src: url(Cuprum.ttf);
}

@font-face {
  font-family: Cuprum-italic;
  src: url(Cuprum-Italic.ttf);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Cuprum";
  font-weight: 100;
}
html,
body {
  width: 100%;
  height: 100%;
}

nav {
  width: 100%;
  height: auto;
  background-color: #303030;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: fixed;
  top: 0;
  z-index: 2;
  align-items: center;
}

#nav_in {
  background-color: #000000cf;
}

nav ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
}

.right ul {
  display: flex;
}

.right li:last-child {
  padding-right: 0;
}

.left li {
  padding: 15px 15px 15px 0;
}

.right li {
  padding: 15px;
}

.scale-transition {
  transition: transform 0.3s ease;
}

nav a {
  text-decoration: none;
  color: #f0f0f0;
  width: 100%;
  height: 100%;
  display: inline-block;
  font-size: 1.3rem;
}

nav a:hover {
  transform: scale(1.2);
}

.left {
  padding: 10px;
  margin-left: 50px;
}

.right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-right: 60px;
}

.hamb {
  display: none;
  justify-content: flex-end;
  padding: 10px;
  align-items: center;
  color: #fff;
}

.hero {
  position: relative;
  width: 100%;
  height: auto;
}

.hero img {
  width: 100%;
  max-height: 800px;
  height: auto;
}

.hero-header {
  position: absolute;
  bottom: 5px;
  right: 0;
  padding: 20px 60px 20px 30px;
  background-color: #000000b3;
  color: #fbfbfb;
  display: grid;
  align-items: center;
  justify-items: start;
  box-sizing: border-box;
  width: auto;
}

.hero-header h1 {
  font-size: 4rem;
  padding: 10px;
  text-align: left;
}

.hero-header h2 {
  font-size: 1.8rem;
  text-align: left;
  padding: 10px;
}

.hero-header ul {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.hero-header li {
  margin: 20px 0;
}

.hero-header a {
  color: #fff;
  text-decoration: none;
  padding: 14px 100px;
  background-color: #483d8b;
  border-radius: 5px;
  font-size: 1.7rem;
}

.hero-header a:hover {
  background-color: #a92be4;
}

.hero-header-phone {
  display: none;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 1.5rem;
  }

  .hero-header h2 {
    font-size: 1.3rem;
  }

  .hero-header a {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-header h1 {
    font-size: 1.2rem;
  }

  .hero-header h2 {
    font-size: 1.1rem;
  }

  .hero-header a {
    font-size: 1rem;
  }
}

#imgback {
  background-color: #303030;
}

.carousel-wrapper {
  padding: 20px 50px;
  background-color: #483d8b;
}

#first {
  color: #fff;
}

.owl-nav {
  display: flex;
  justify-content: space-between;
  font-size: 3rem;
  position: absolute;
  top: 42%;
  left: 0;
  right: 0;
  color: #fff;
  z-index: 1;
}

.owl-nav-disabled {
  display: flex;
}

.carousel-wrapper h2 {
  font-size: 2rem;
  margin: 20px 0;
  text-align: center;
  color: #fff;
}

.carousel-wrapper a {
  text-decoration: none;
  color: #000;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f0f0f0;
  text-align: center;
  margin: 5%;
  border-radius: 5px;
  z-index: 2;
}

.carousel-item img {
  border-radius: 5px 5px 0 0;
  max-width: 100%;
  height: auto;
  z-index: 2;
}

.owl-carousel.owl-loaded .owl-item.carousel-item {
  width: 100%;
}

.carousel-item h3 {
  padding: 10px;
  font-size: 1.7rem;
  width: 100%;
  text-align: left;
  min-height: 113px;
}

.carousel-item ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
}
.carousel-item li {
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 25px;
  justify-items: start;
  padding: 10px;
  align-items: center;
  font-size: 1.3rem;
}

#sec {
  background-color: #303030;
}

#sec_out {
  background-color: #000000cf;
}

.carousel-item:nth-child(even) {
  background-color: #cccccc;
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  margin: 0 auto 0 auto;
  padding: 5% 0 0 0;
  background-color: #483d8b;
}

.contact h2 {
  color: #fff;
  font-size: 2rem;
}

.contact form {
  width: 70%;
  display: grid;
  justify-items: center;
  margin: 0 auto 10% auto;
}

.contact ul {
  width: 80%;
}

.contact input {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border: none;
  border-radius: 5px;
  box-shadow: 1px 1px 7px #000000;
  font-size: 1.5rem;
}

.contact input[type="submit"] {
  background-color: #303030;
  font-size: 1.7rem;
  color: #ffffff;
}

.contact input[type="submit"]:hover {
  background-color: #a92be4;
}

.contact textarea {
  width: 100%;
  padding: 15px;
  margin: 15px 0;
  border-radius: 5px;
  border: none;
  box-shadow: 1px 1px 7px #4b4b4b;
  font-size: 1.5rem;
}

.feature {
  display: grid;
  grid-template-rows: 80% 20%;
  justify-items: center;
  width: 100%;
}
.upper,
.downer {
  width: 100%;
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 5%;
}

.upper {
  border-radius: 5px 5px 0 0;
}

.downer {
  border-radius: 0 0 5px 5px;
  color: rgb(255, 255, 255);
}

.feature h4 {
  font-size: 1.8em;
  font-family: "Cuprum-italic";
}

.feature img {
  width: 100%;
  height: auto;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: #303030;
}

.footer a {
  text-decoration: none;
  color: #fff;
}
.footer a:hover {
  color: #a92be4;
}

.footer ul {
  list-style-type: none;
  text-decoration: none;
  color: #fff;
}

.footer li {
  padding: 2% 0;
}

.footer p {
  font-size: 1.2em;
}

.footer h3 {
  font-size: 1.6em;
  text-decoration: underline;
}

.f_left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 60px;
}

.f_right {
  display: grid;
  padding: 60px;
}

#map {
  height: 400px;
  width: 100%;
}

.copyright {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding: 1% 60px;
  background-color: #303030;
}

.left_cr {
  display: grid;
  align-items: center;
  font-size: 1.2rem;
  color: #fff;
}
.left_cr a {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}

.left_cr a:hover {
  color: #a92be4;
}

.right_cr {
  display: flex;
  flex-direction: row;
  font-size: 1.5rem;
  justify-content: end;
}

.right_cr a {
  padding: 10px;
  text-decoration: none;
  color: #fff;
}

.right_cr a:hover {
  color: #a92be4;
}

.properties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  padding: 60px 0 60px 5%;
  background-color: #483d8b;
}

.propertie {
  display: grid;
  grid-template-rows: 1fr;
  background-color: #fff;
  border-radius: 5px;
  align-items: center;
  box-shadow: 1px 1px 7px #3a3a3a;
  width: 100%;
}

.propertie h3 {
  font-size: 1.6em;
  padding: 2%;
  min-height: 113px;
}

.propertie ul {
  display: grid;
  grid-template-columns: auto auto;
  color: #000;
  padding: 2% 0;
}

.propertie li {
  display: grid;
  grid-template-columns: 20% 80%;
  padding: 2%;
  font-size: 1.3em;
}

.properties a {
  text-decoration: none;
  color: #000;
  padding: 0 10%;
  margin-bottom: 60px;
}

.propertie p {
  padding-left: 10px;
}

.propertie img {
  width: 100%;
  height: auto;
  border-radius: 5px 5px 0 0;
}

.sell {
  background-color: #483d8b;
}

.sell h1 {
  display: grid;
  justify-items: center;
  color: #fff;
  font-size: 2em;
  padding: 100px 2% 2% 2%;
}

.container {
  margin: 86px 0 0 0;
  padding: 10% 20%;
  background-color: #483d8b;
}

.about {
  color: #fff;
  padding: 2%;
  display: grid;
  justify-items: start;
  background-color: #117fa5;
  padding: 60px;
  /* margin-top: 100px; */
  background-color: #303030;
  border-radius: 5px;
}


.about h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-decoration: underline;
}

.about h2 {
  font-size: 1.8rem;
  margin: 15px 0 5px 0;
  text-decoration: underline;
}

.about h3 {
  font-size: 1.4rem;
  margin: 15px 0 5px 0;
  text-decoration: underline;
}

.about p {
  font-size: 1.2rem;
  margin: 1% 0;
}

.about ul {
  list-style: none;
  padding: 5px;
}
.about ul li {
  font-size: 1.2rem;
  margin: 1% 0;
}

.slider-container {
  padding: 8% 0;
  background-color: #483d8b;
  color: #fff;
  display: grid;
  justify-items: center;
  align-items: center;

}

.slider-content {
  background-color: #303030;
  max-width: 1427px;
}

.container {
  padding: 10%;
}

.property_details {
  width: 100%;
  padding: 5% 5% 1% 5%;
}

.property_details ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: start;
}

.property_details li {
  display: grid;
  flex-direction: row;
  padding: 3%;
  font-size: 1.5em;
  width: 100%;
  align-items: center;
  grid-template-columns: 10% 1fr;
  gap: 5px;
}

.property_description {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1% 5% 5% 5%;
  width: 100%;
  align-items: center;
  justify-items: center;
}

.property_description h2 {
  width: 100%;
  display: grid;
  justify-items: start;
  text-align: start;
  color: #fff;
  padding: 2%;
  font-size: 2.2em;
  text-decoration: underline;
}

.property_description p {
  text-align: start;
  color: #fff;
  padding: 2%;
  font-size: 1.5em;
}

.properties_list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 5% 25%;
  border: 1px solid #000000;
  border-radius: 15px;
  background-color: #3a3a3a;
}
.properties_item {
  display: grid;
  grid-template-columns: repeat(6, 18%);
  border: 1px solid #000000;
  border-radius: 15px;
  padding: 2%;
  align-items: center;
  justify-items: center;
  margin: 2%;
  background-color: #a0a0a0;
}

@media (max-width: 1500px) {
  .properties {
    grid-template-columns: repeat(3, 1fr);
  }
  .slider-content {
    background-color: #303030;
    max-width: auto!;
  }
}

@media (max-width: 1101px) {


  .footer {
    grid-template-columns: 1fr;
  }

  .f_left {
    gap: 20px;
  }

  .hero-header a {
    padding: 14px 70px;
  }

  .hero-header h1 {
    font-size: 3rem;
  }

  .hero-header h2 {
    font-size: 1.5rem;
  }

  .contact form {
    width: 100%;
  }

  .contact ul {
    width: 100%;
    padding: 40px 60px;
  }

  .properties {
    grid-template-columns: 1fr 1fr;
  }

  .about p {
    margin: 5% 0;
  }
}

@media only screen and (max-width: 1100px) {
  nav {
    grid-template-columns: 80% 1fr;
  }

  .right ul {
    display: none;
    z-index: 2;
    width: 100%;
    background-color: #000000dc;
    flex-direction: column;
    position: absolute;
    left: 0;
    top: 0;
    padding-top: 100px;
    font-size: 2.5rem;
  }

  .right li {
    text-align: center;
    width: 100%;
  }

  .right li:hover {
    background-color: black;
  }

  .left {
    z-index: 3;
  }

  .hamb {
    display: grid;
    justify-items: end;
    align-items: center;
    z-index: 3;
    cursor: pointer;
  }

  .open {
    animation-name: showMenu;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
  }

  @keyframes showMenu {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

@media (max-width: 880px) {
  .hero-header h1 {
    font-size: 2rem;
  }

  .hero-header ul {
    padding: 10px 0 5px 0;
  }

  .hero-header li {
    margin: 0;
  }

  .hero-header a {
    padding: 5px 35px;
  }

  .carousel-item li {
    gap: 3px;
  }

  .propertie li {
    gap: 3px;
  }

  .property_details {
    padding: 10% 5% 1% 5%;
  }
  
}

@media (max-width: 700px) {
  .hero-header h1 {
    font-size: 1.2rem;
    padding: 5px;
  }
  .hero-header h2 {
    font-size: 1rem;
    padding: 5px;
  }
  .hero-header a {
    padding: 5px 25px;
  }

  .hero-header li {
    padding: 5px 10px;
  }

  .property_details li {
    font-size: 1.2rem;
  }
}

@media (max-width: 650px) {
  .hero-header {
    display: none;
  }

  .hero-header-phone {
    display: grid;
    background-color: #303030;
    color: #fff;
    padding: 20px 60px;
  }

  .hero-header-phone h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
  }

  .hero-header-phone h2 {
    font-size: 2rem;
    margin-bottom: 5px;
  }

  .hero-header-phone ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    list-style: none;
    justify-items: center;
  }

  .hero-header-phone li {
    width: 100%;
  }

  .hero-header-phone a {
    text-decoration: none;
    color: #fff;
    background-color: #483d8b;
    border-radius: 5px;
    font-size: 2rem;
    display: block;
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .properties {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 580px) {
  .property_details ul {
    grid-template-columns: 1fr;
  }
  .property_details li {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .container {
    margin: 77px 0 0 0;
  }

  .left a {
    font-size: 1rem;
  }
  .f_left {
    grid-template-columns: 1fr;
  }
  .hero-header-phone h1 {
    font-size: 1.5rem;
    padding-bottom: 10px;
  }
  .hero-header-phone h2 {
    font-size: 1.3rem;
    padding-bottom: 10px;
  }

  .about h1 {
    font-size: 1.7rem;
  }

  .about h2 {
    font-size: 1.3rem;
  }

  .about h3 {
    font-size: 1rem;
  }

  .about p {
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .container {
    margin: 77px 0 0 0;
  }

  .about {
    margin-top: 60px;
    padding: 20px;
  }

  .left a {
    font-size: 0.9rem;
  }
}

.container {
  margin: 74px 0 0 0;
}

@media (max-width: 380px) {
  .about {
    margin-top: 10px;
  }

  .hero-header-phone a {
    font-size: 1.2rem;
    padding: 5px;
  }

  .hero-header-phone ul {
    gap: 20px;
  }

  .carousel-item {
    margin: 0;
  }

  .owl-prev {
    position: absolute;
    left: -32px;
  }

  .owl-next {
    position: absolute;
    right: -32px;
  }

  .carousel-item li {
    gap: 6px;
    padding-right: 0;
  }

  .propertie li {
    gap: 6px;
    padding-right: 0px;
  }
}

@media (max-width: 380px) {
  .left a {
    font-size: 0.6rem;
  }

  .about h1 {
    font-size: 1.4rem;
  }

  .about h2 {
    font-size: 1.2rem;
  }

  .about h3 {
    font-size: 1rem;
  }

  .about p {
    font-size: 0.7rem;
  }

  .container {
    margin: 68px 0 0 0;
  }

.property_description h2 {
  font-size: 1.5rem;
}
.property_description p {
  font-size: 1.2rem;
}
.property_details li {
  font-size: 1.2rem;
}
.property_details {
  padding: 20% 5% 1% 5%;
}

}
