@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/* Base Styles */
* {
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html,
body {
  overflow-x: hidden;
  margin: 0;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
  position: relative;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
span,
button {
  font-family: "Roboto", sans-serif;
}
/* Main slogan section style*/
.slogan-section {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 85vh;
  min-width: 100%;
  margin: 0;
}

/* Main slogan h1 */
.slogan-section .main-slogan {
  width: 98%;
  text-align: center;
  color: #fffc07;
  font-size: 4rem;
  margin: 30px auto;
  margin-top: -60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  user-select: none;
}

/* Main Search Bar style */
.slogan-section .searchbar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin: 0;
  width: 95%;
  max-width: 500px;
}

.slogan-section .main-input {
  width: 100%;
  height: 60px;
  background-color: white;
  color: #333;
  padding: 0.6rem 2rem;
  border: 2px solid #8b8987;
  box-shadow:
    rgba(167, 107, 107, 0.25) 0px 54px 55px,
    rgba(0, 0, 0, 0.12) 0px -12px 30px,
    rgba(0, 0, 0, 0.12) 0px 4px 6px,
    rgba(0, 0, 0, 0.17) 0px 12px 13px,
    rgba(0, 0, 0, 0.09) 0px -3px 5px;
  border-radius: 40px;
  margin: 5px 0;
  z-index: 1;
  font-size: 1rem;
  padding: 1rem;
  font-family: "Roboto", sans-serif;
}

.slogan-section input:focus {
  /* outline: 3px solid #e09615; */
  outline: 2px solid #8b8987;
}

.slogan-section .search-btn {
  position: absolute;
  right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff00;
  border: 0;
  color: #e09615;
  font-size: 1.3rem;
  z-index: 10;
}
.slogan-section .searchbar .search-btn:hover {
  cursor: pointer;
}

/* Listing Page */
.content-section {
  border-radius: 60px 60px 0px 0px;
  background-color: white;
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 70px;
  margin: 0;
  position: relative;
}

.listing-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  width: 90%;
  margin: 0 auto;
}
/* Listing Navigation */
.nlist {
  margin-top: 40px;
  padding-left: 30px;
}
.nlist h1 {
  font-size: 2rem !important;
  margin: 0;
}

.nlist a {
  color: black;
  margin: 0;
}

.nlist a:hover {
  color: rgb(88, 88, 97);
}

/* Find Apartment Section */
.findapartment {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 90%;
  margin: 50px;
  padding: 20px 10px;
  border-radius: 15px;
}

.findapartment img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  background-repeat: no-repeat;
  margin-left: 20px;
}

.findapartment p {
  padding-left: 30px;
  margin: 0;
}

.findapartment a {
  padding-left: 6px;
  color: black;
  font-weight: bold;
}

.findapartment a:hover {
  color: rgb(88, 88, 97);
}
/* Card hover */
.card {
  overflow: hidden !important;
}
.card-image-container {
  overflow: hidden;
}
.card-hoverable img {
  transition: all 0.3s ease-out;
}
.card-hoverable:hover img {
  scale: 1.05;
  filter: brightness(70%);
}
@media screen and (max-width: 650px) {
  .main-slogan {
    font-size: 3rem !important;
  }
}
