* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", system-ui;
}

p {
  font-family: "Montserrat", system-ui;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

/* GLOBAL */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.title {
  font-family: "Montserrat", system-ui;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  color: #192734;
}

.btn {
  font-family: "Montserrat", system-ui;
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  padding: 15px 30px;
  background-color: #192734;
  color: #fff;
}

.light-text {
  font-weight: 400;
}

/* HERO_SECTION */

.hero-sec {
  width: 100%;
  height: 80vh;
  background: linear-gradient(rgba(25, 39, 52, 0.4), rgba(25, 39, 52, 0.4)),
    url(img/hero_bg.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-wrap {
  width: 100%;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 20px;
  text-align: center;
}

.hero-title {
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-sub-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  row-gap: 20px;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: 16px;
  color: #ffffff;
  line-height: 24px;
  font-weight: 600;
}

.hero-btn {
  background-color: #e14715;
  font-size: 20px;
}

/* BTN_LINKS */

.logo {
  display: flex;
  justify-content: center;
  margin: 40px auto 0 auto;
}

.btn-link-title {
  text-align: center;
  margin-bottom: 20px;
}

.btn-link-p {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

.btn-link-wrap {
  margin: 10px 0 60px 0;
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 10px;
  justify-content: center;
}

.btn-links {
  font-family: "Montserrat", system-ui;
  font-size: 20px;
  font-weight: 700;
  border: 2px solid #333;
  cursor: pointer;
  padding: 15px 30px;
  background: none;
}

/* BTN_LINKS_COLOR */

.room {
  border: 2px solid #091ad8;
  color: #091ad8;
}

.roommate {
  border: 2px solid #9cce06;
  color: #9cce06;
}

.house {
  border: 2px solid #2a70d9;
  color: #2a70d9;
}

.apartment {
  border: 2px solid #d92a80;
  color: #d92a80;
}

.studio {
  border: 2px solid #17c4bf;
  color: #17c4bf;
}

.sublease {
  border: 2px solid #3a5a78;
  color: #3a5a78;
}

.basement {
  border: 2px solid #d31215;
  color: #d31215;
}

.flat {
  border: 2px solid #0b964f;
  color: #0b964f;
}

.private-room {
  border: 2px solid #d9622a;
  color: #d9622a;
}

.trailer {
  border: 2px solid #912ad9;
  color: #912ad9;
}

/* APP SECTION */

.app-sec {
  background: url(img/app_bg.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.app-sec-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 0;
}

.app-title-wrap {
  max-width: 70%;
}

.app-title {
  margin-bottom: 15px;
}

.app-subtitle {
  font-weight: 600;
  margin: 15px 0;
}

.app-img-btn {
  max-width: 30%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.app-img-wrap {
  max-width: 60%;
}

.app-img {
  max-width: 90%;
}

.app-btn {
  max-width: 40%;
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.app-g {
  display: block;
  max-width: 100%;
  margin-bottom: 5px;
}

.app-a {
  display: block;
  max-width: 100%;
  margin-top: 5px;
}

/* DISCOVER SECTION */

.discover-sec {
  background-color: #ecedee;
  margin: 70px 0;
  padding: 10px;
  display: flex;
  align-items: center;
}

.search-room-wrap {
  max-width: 40%;
}

.search-room {
  max-width: 100%;
  padding: 15px;
}

.discover-content {
  display: flex;
  flex-wrap: wrap;
  row-gap: 20px;
  max-width: 60%;
  padding: 10px;
}

/* FEATURED SECTIOM */

.featured-sec {
  margin-bottom: 60px;
}

.featured-title {
  text-align: center;
  margin-bottom: 10px;
}

.featured-subtitle {
  margin-bottom: 50px;
  text-align: center;
}

.featured-wrap {
  display: flex;
  justify-content: space-around;
}

.featured-grid {
  max-width: 31%;
  display: flex;
  flex-wrap: wrap;
  row-gap: 15px;
}

.f-grid-title {
  font-size: 20px;
}

.f-grid-img {
  max-width: 100%;
}

/* FOOTER SECTION */

.footer-sec {
  background-color: #192734;
  padding: 70px 0;
  text-align: center;
}

.roomster-logo {
  margin-bottom: 20px;
}

.footer-title {
  font-size: 20px;
  color: #cecece;
  margin-bottom: 20px;
}

.footer-p {
  color: #cecece;
  margin-bottom: 20px;
}

.footer-p-country {
  font-size: 13px;
  color: #cecece;
  margin-bottom: 30px;
}

.footer-btn {
  background-color: #e14715;
}

/* MOBILE VERSION */

@media (max-width: 768px) {
  .hero-btn {
    width: 100%;
  }

  .btn-link-wrap {
    display: flex;
    flex-direction: column;
  }

  .btn-links {
    width: 100%;
  }

  .app-sec-wrap {
    display: flex;
    flex-direction: column;
  }
  .app-title-wrap {
    max-width: 100%;
  }

  .app-img-btn {
    max-width: 100%;
  }

  .discover-sec {
    display: flex;
    flex-direction: column;
  }

  .search-room-wrap {
    max-width: 100%;
  }

  .discover-content {
    max-width: 100%;
  }

  .discover-content {
    display: flex;
    flex-direction: column;
  }

  .discover-btn {
    width: 100%;
  }

  .featured-wrap {
    display: flex;
    flex-direction: column;
  }

  .featured-grid {
    display: flex;
    flex-direction: column;
  }

  .featured-grid {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .f-grid-btn {
    width: 100%;
  }

  .footer-btn {
    width: 100%;
  }
}
