* {
  font-family: Raleway;
}

#logo {
  color: #0065fc;
  font-size: 22px;
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  margin-right: auto;
}

.firstcontainer {
  display: flex;
  flex-direction: row-reverse;
}

a {
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  text-decoration: none;
}

h2 {
  font-size: 22px;
  font-family: "Raleway", sans-serif;
  padding-top: 16px;
  margin-bottom: 1px;
}

p {
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
}

#heart {
  margin-top: 8px;
}

.header {
  display: flex;
  flex-direction: row;
  gap: 52px;
  justify-content: flex-end;
  flex-wrap: wrap;
  text-align: center;
}

.firstbox {
  display: flex;
  flex-direction: row;
  width: auto;
  margin: 35px 0px 35px 0px;
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

.location {
  border: 1px solid #f2f2f2;
  padding: 16px;
  background-color: #f2f2f2;
  color: black;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  max-width: 17px;
}

.france {
  border: 1px solid #f2f2f2;
  padding: 14px 0px 14px 14px;
  width: 185px;
  text-align: center;
  border-right: none;
}

.place {
  border: 1px solid #0065fc;
  padding: 16px;
  background-color: #0065fc;
  color: white;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  width: 64px;
}

.secondcontainer {
  display: flex;
  flex-direction: row;
  justify-content: start;
  padding-bottom: 22px;
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

#filters {
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

#filterx {
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  display: none;
}

#budget {
  font-size: 17px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  border: 2px solid #d9d9d9;
  border-radius: 50px;
  width: 95px;
  padding: 12px;
  margin: 8px 8px 8px 16px;
  text-align: end;
  padding-right: 20px;
}

#marseille {
  margin: 20px 400px 0px 0px;
  display: flex;
  width: 350px;
  flex-direction: row;
}

#family {
  font-size: 17px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  border: 2px solid #d9d9d9;
  border-radius: 50px;
  width: 155px;
  padding: 12px;
  margin: 8px;
  text-align: end;
  padding-right: 20px;
}

#romantic {
  font-size: 17px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  border: 2px solid #d9d9d9;
  border-radius: 50px;
  width: 110px;
  padding: 12px;
  margin: 8px;
  text-align: end;
  padding-right: 20px;
}

#top {
  font-size: 17px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  border: 2px solid #d9d9d9;
  border-radius: 50px;
  max-width: 145px;
  padding: 12px;
  margin: 8px;
  text-align: end;
  padding-right: 20px;
}

#budget:hover {
  background-color: #deebff;
}
#family:hover {
  background-color: #deebff;
}
#romantic:hover {
  background-color: #deebff;
}
#top:hover {
  background-color: #deebff;
}

#budget:active,
#family:active,
#romantic:active,
#top:active {
  background-color: #f2f2f2;
}

h3 {
  font-size: 22px;
  font-family: "Raleway", sans-serif;
}

h4 {
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  flex-wrap: nowrap;
}

.menu:hover {
  border-top: 3px solid #0065fc;
  color: #0065fc;
  padding-top: 5px;
}

.menu {
  border-top: 3px solid #f2f2f2;
  border-bottom: 3px solid white;
  padding-top: 5px;
  color: black;
}

.info {
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  margin-top: 17px;
}

article:active {
  background-color: #d9d9d9;
}

.fifthcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  text-align: start;
  background-color: #f2f2f2;
  padding: 0px 0px 25px 0px;
  margin-top: 80px;
  gap: 0px 100px;
}

.accomodation {
  margin-right: 60px;
}
.about {
  margin-right: 50px;
}

.horizontalbox {
  border: 2px solid #f2f2f2;
  border-radius: 15px;
  background-color: #f2f2f2;
  display: flex;
  max-width: 800px;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px 22px;
  padding-left: 26px;
}

.horizontalbox {
  flex: 2;
  min-width: 450px;
}

.mostpopular {
  flex: 1;
  min-width: 300px;
}

body {
  padding: 0;
}

#showmore {
  margin-top: auto;
}

.mostpopular {
  border: 2px solid #f2f2f2;
  border-radius: 15px;
  background-color: #f2f2f2;
  max-width: 500px;
  padding-left: 26px;
  gap: 12px 22px;
  display: flex;
  flex-direction: column;
}

.thirdcontainer {
  display: flex;
  flex-direction: row;
  gap: 45px;
}

.best {
  margin-bottom: 1px;
  width: 350px;

  display: flex;
  flex-direction: row;
  align-items: center;
}

.card {
  box-shadow: 0px 1px 2px 0px;
  border-radius: 15px;
  max-width: 30%;
  flex-wrap: wrap;
}

.firstcard {
  margin-left: 15px;
}

.firsthotel {
  font-size: 16px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  margin: 2px 0px 0px 0px;
}

.price {
  font-size: 14px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  padding-bottom: 4px;
}

.secondbox {
  box-shadow: 0px 1px 2px 0px;
  border-radius: 15px;
  min-height: 130px;
  max-width: 95%;
  margin: 10px 0px;
  background-color: white;
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
}

.secondcard {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 230px;
  height: 50px;
  padding: 8px 0px 0px 16px;
}

.secondhotel {
  margin: 0px 50px 1px 0px;
  padding-top: 4px;
  font-size: 16px;
  max-width: 185px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}

.price2 {
  font-size: 14px;
  height: 53px;
  margin-top: 1px;
  width: 250px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  flex-wrap: nowrap;
}

.price3 {
  font-size: 14px;
  height: 35px;
  margin-top: 1px;
  width: 250px;
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  flex-wrap: nowrap;
}

.fourthbox {
  border-radius: 15px;
  box-shadow: 0px 2px 4px 0px;
}

.things {
  font-size: 18px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  margin-top: 1px;
}

.thirdbox {
  padding-top: 8px;
  padding-left: 16px;
}

.fourthcontainer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 16px;
  margin: 0px 32px;
}

#activities {
  margin: 60px 0px 40px 32px;
}

#top {
  text-align: center;
}

.fa-info {
  color: #0065fc;
  font-size: 13px;
  margin: 0px 12px 0px 0px;
  border: 2px solid #f2f2f2;
  border-radius: 50%;
  padding: 6px 10px;
}

.fa-location-dot {
  color: black;
  padding-left: 4px;
}

.fa-money-bill-wave {
  color: #0065fc;
  margin-right: 9px;
  font-size: 18px;
}

.fa-person {
  color: #0065fc;
  margin-right: 7px;
  font-size: 24px;
}

.fa-heart {
  color: #0065fc;
  padding-right: 8px;
  font-size: 20px;
}

.fa-fire {
  color: #0065fc;
  padding-right: 6px;
  font-size: 18px;
}

.fa-chart-line {
  color: #0065fc;
  font-size: 18px;
  margin-left: 180px;
}

article {
  cursor: pointer;
}

.star {
  color: #f2f2f2 !important;
  padding-bottom: 8px;
}

.fa-star {
  color: #0065fc;
  padding-top: 0px;
  padding-bottom: 8px;
}

.fa-magnifying-glass {
  display: none;
}

.secondcontainer div {
  cursor: pointer;
}

.availability {
  display: flex;
  flex-direction: row;
  max-height: 30px;
  margin-bottom: 30px;
  align-items: center;
}

#padlock {
  position: relative;
  left: 36.3px;
  bottom: 2.5px;
}

body {
  max-width: 1440px;
}

.fourthcontainer img {
  width: 100%;
}
.mostpopular img {
  max-width: 30%;
}
.thirdcontainer img {
  width: 100%;
}
#logo img {
  width: 4px;
}

/* tablet screen size */

@media (min-width: 768px) and (max-width: 1024px) {
  .thirdcontainer {
    flex-direction: column;
    justify-content: center;
    gap: 60px;
  }
  .secondcontainer {
    flex-wrap: nowrap;
  }

  .horizontalbox {
    max-width: 1200px;
    gap: 18px 30px;
  }
  .mostpopular {
    flex-direction: row;
    max-width: 1200px;
    flex-wrap: wrap;
    padding-bottom: 26px;
    padding-left: 20px;
  }
  .mostpopular,
  .horizontalbox {
    min-width: 100%;
  }
  .secondbox {
    height: 150px;
    width: 280px;
  }
  .best {
    width: 1730px;
    height: fit-content;
  }
  .fa-chart-line {
    margin-left: 720px;
  }
  .price2 {
    height: 80px;
  }
  .price3 {
    height: 60px;
  }
  .about {
    margin-left: 30px;
  }
  .support {
    margin-right: 175px;
  }

  .thirdbox {
    padding-top: 12px;
  }
  .card {
    width: 300px;
  }
  #filters {
    display: none;
  }
  #filterx {
    display: inline-block;
    padding-left: 18px;
    margin-bottom: 8px;
  }
  #ol {
    padding-top: 10px;
  }
  #pom {
    padding-top: 10px;
  }
  #blu {
    width: 135px;
  }
  #seot {
    height: 60px;
  }
}

/* phone mobile screen size */

@media (min-width: 320px) and (max-width: 767px) {
  .firstcontainer {
    display: flex;
    flex-direction: column-reverse;
  }

  #logo {
    margin-bottom: 10px;
    padding-left: 170px;
    margin-top: 10px;
    font-size: 30px;
  }
  .menu {
    font-size: larger;
    border-color: white;
  }
  .menu:hover {
    border-bottom: 2px solid #0065fc;
    border-top: none;
    padding-bottom: 15px;
  }

  .header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border: 2px solid white;
    padding: 15px;
    border-bottom-color: #f2f2f2;
  }

  #budget,
  #family,
  #romantic,
  #top {
    width: 150px;
    text-align: center;
  }
  section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0px auto;
  }
  .horizontalbox {
    background-color: white;
    border: none;
    display: block;
    padding-left: 18px;
  }
  .thirdcontainer {
    display: flex;
    flex-direction: column-reverse;
  }
  .mostpopular {
    border-radius: 0px;
    gap: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    height: 525px;
    padding-bottom: 10px;
    padding-right: 26px;
  }
  .fourthcontainer {
    display: block;
  }
  .fifthcontainer {
    display: block;
    padding: 8px 0px 30px 30px;
    margin-top: 50px;
  }
  img {
    max-width: 100%;
  }
  #padlock {
    position: relative;
    left: 49px;
    bottom: 4.5px;
  }
  #filters {
    display: none;
  }
  .secondcontainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-bottom: 30px;
  }
  .things {
    padding-bottom: 10px;
    font-size: 20px;
  }
  .fourthbox {
    height: 240px;
    margin: 18px 0px;
  }
  .thirdbox {
    text-align: start;
    padding-left: 16px;
  }
  .card {
    margin: 16px 0px 0px 0px;
    max-width: 100%;
    margin-right: 18px;
    min-height: 230px;
  }
  .secondbox {
    max-width: 100%;
    height: 140px;
  }
  #showmore {
    margin-top: 16px;
    font-size: 22px;
  }
  .webpage {
    margin: 0px auto;
  }
  #ities {
    margin: 60px 0px 20px 30px;
  }
  p {
    padding-left: 25px;
    flex-wrap: wrap;
    width: 310px;
  }
  h2 {
    padding-left: 25px;
    width: 300px;
  }
  #fivehundred {
    padding: 0px;
  }
  .firstbox {
    padding-left: 8px;
  }
  #filterx {
    padding-left: 20px;
    margin-bottom: 10px;
    display: inline-block;
    font-size: 21px;
  }
  h3 {
    font-size: 24px;
  }
  #marseille {
    margin-top: 0px;
  }
  .best {
    margin-top: 8px;
  }
  .fa-magnifying-glass {
    border: 2px solid #0065fc;
    background-color: #0065fc;
    color: white;
    border-radius: 18px;
    border-width: 18px;
    height: 22px;
    width: 22px;
    display: block;
  }
  .fa-chart-line {
    margin-left: 115px;
  }
  #magnifying {
    box-shadow: 0px 2px 4px 0px black;
    border-radius: 19px;
  }
  .horizontalbox img {
    max-height: 70%;
  }
  .fourthcontainer img {
    max-height: 75%;
  }
  .place {
    display: none;
  }
  .france {
    padding-right: 80px;
    font-size: 20px;
    min-width: 185px;
  }
  .secondhotel {
    margin: 0px;
  }
  .price2 {
    margin: 0px;
    padding-left: 0px;
    height: 80px;
  }
  .price3 {
    padding-left: 0px;
    height: 50px;
  }
  .secondcard {
    width: 200px;
  }
  body {
    margin: 0;
  }
}

/* large desktop screen size */

@media (min-width: 1440px) {
  .webpage {
    display: flex;
    flex-direction: column;
  }
  #marseille {
    max-width: 350px;
  }
  .best {
    max-width: 350px;
  }
  .mostpopular,
  .horizontalbox {
    padding-left: 16px;
  }

  .thirdbox {
    padding-top: 12px;
  }
  body {
    padding: 0 200px;
  }
}
