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

body {
  font-family: 'Montserrat', sans-serif;
}

.container {
  max-width: 602px;
  margin: 0 auto;
  border: 1px solid #e2e2e2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Header */

.header {
  position: fixed;
  top: 0;
  width: 600px;
  justify-content: center;
  background-color: #fff;
  border-bottom: 1px solid #e2e2e2;
  z-index: 1000; 
}

a {
  text-decoration: none;
  color: #6a6a6a;
  font-weight: bold;
}

a:hover {
  color: black;
  text-decoration: none;
}

/* Search bar */

.search-bar-container {
  display: flex;
  justify-content: center; 
  align-items: center; 
  height: 100px;
  border-right: 1px solid #e2e2e2;
  border-left: 1px solid #e2e2e2;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #e2e2e2;
  border-radius: 50px; 
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  width: 500px; 
  max-width: 90%;
  background-color: #ffffff; 
}

.search-bar input[type="text"] {
  border: none;
  outline: none;
  width: 100%;
  padding: 5px;
  font-size: 16px;
  background-color: transparent;
}

main {
  margin-top: 50px;
  padding: 20px;
  padding-top: 120px;
  padding-bottom: 60px;
}


/* Search text container */
.search-text {
  display: flex;
  flex-direction: column;
}

.search-text h1 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  display: flex;
  flex-direction: column;
}

.search-text p {
  font-size: 14px;
  color: #888;
  margin-top: 5px;
}

.search-icon {
  width: 25px;
  height: 25px;
  margin-right: 15px;
}


/* Sliding icons bar */

.filter-bar-wrapper {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-bar-container {
  display: flex;
  justify-content: center;
  width: 100%; 
  overflow: hidden; 
  padding: 10px 0 0;
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  height: auto; 
  width: 600px;
  text-align: center;
  margin: 0 15px;
  margin-left: 35px;
  background-color: #fff;
}

.icon {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 20px; 
  margin-right: 20px; 
  flex: 0 0 auto; 
}

.icon img {
  width: 30px;
  height: 30px;
}

.icon img:hover {
  width: 31px;
  height: 31px;
}

.icon-font {
  font-size: 11px;
}

.icon-font:hover {
  font-size: 12px;
}


/* Content */

.content {
  margin: 10px;
  justify-content: center;
}

.insideout, .purple-rain, .kevin-hart, .doja-cat, .olympics {
  position: relative;
  display: inline-block;
}

.content-img {
  width: 100%;
  max-width: 600px;
  margin: 20px auto 2px auto;
  border-radius: 15px;
  overflow: hidden;
  object-fit: cover;

}

.content-icon {
  position: absolute;
  top: 35px;
  right: 20px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 50px;
}

.image-caption {
  padding-bottom: 25px;
  background-color: white;
}

.image-caption p {
  margin: 5px 0;
  color: #333;
}

.image-caption p:first-child {
  font-weight: bold;
  font-size: 18px;
}

.image-caption p:nth-child(2) {
  color: #888;
}

.image-caption p:last-child {
  color: #333;
  font-weight: bold;
}

/* footer */

.footer {
  background-color: #F7F7F7;
  padding-top: 45px;
}

.inspiration {
  padding-left: 25px;
  padding-bottom: 10px;

}

/* Popular, historic, etc. bar */

.navbar {
  border-bottom: 1px solid #e2e2e2;
  padding-left: 20x;
  padding-right: 20px;
}

.nav-list {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
}

.nav-item {
  position: relative;
  padding: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
}

.nav-item.active {
  font-weight: bold;
  color: #000;
}


/* locations list/grid */

.text-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding-left: 25px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.text-item h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}

.text-item p {
  font-size: 14px;
  color: #666;
}

/* Support section of footer */

.support-section {
  border-top: 1px solid #e2e2e2;
}

/* Support, hosting, and airbnb sections - footer */

.support-section, .hosting, .airbnb {
  max-width: 550px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2e2;
}

.support-section h3, .hosting h3, .airbnb h3 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
}

.support-list, .hosting-list, .airbnb-list {
  list-style-type: none;
}

.support-list li, .hosting-list li, .airbnb-list li {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.support-list li:last-child, .hosting-list li:last-child, .airbnb-list li:last-child {
  margin-bottom: 0;
}


/* Legal section of footer */

.legal {
  padding-left: 25px;
  padding-top: 25px;
  padding-bottom: 70px;
  font-size: 14px;
}

.legal span, .legal p, .legal span {
  font-size: 14px;
}

.legal span {
  font-weight: bold;
}

.legal a {
  font-weight: normal;
  font-size: 10px;
}

.legal-top {
  display: flex;
  margin-bottom: 10px;
}

.eng {
  padding-left:7px;
}

.gbp {
  padding-left: 20px;
}

.legal-middle {
  margin-bottom: 10px;
}

.legal-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.legal-bottom a {
  text-decoration: none;
  color: #333;
  font-size: 13px;
}

.globe-icon {
  height: 13px;
  width: 13px;
}



/* Fixed explore bar */

.fixed-explore-bar {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  width: 600px; 
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
  background-color: #ffffff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
  padding-left: 150px;
  padding-right: 150px;
}

.fixed-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.fixed-bottom-item .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 5px;
}

.fixed-bottom-item .label {
  font-size: 14px;
}

.fixed-bottom-item .explore {
  color: #ff5a5f;
  font-weight: bold;
}
