/* General */


:root {
  --blue: #0065FC;
  --light-blue: #DEEBFF;
  --grey: #F2F2F2;
  --heavy-grey: #d9d9d9;
}

@font-face {
  font-family: "Raleway-Regular";
  src: url("../fonts/Raleway-Regular.ttf");
}

@font-face {
  font-family: "Raleway-Medium";
  src: url("../fonts/Raleway-Medium.ttf");
}

@font-face {
  font-family: "Raleway-SemiBold";
  src: url("../fonts/Raleway-SemiBold.ttf");
}

@font-face {
  font-family: "Raleway-Bold";
  src: url("../fonts/Raleway-Bold.ttf");
}


body {
  min-height: 100vh;
  margin: 0;
  font-family: "Raleway-Regular";
  font-weight: 300;
}

html {
  scroll-behavior: smooth;
}

body main,
#nav {
  padding: 2rem 3rem;
  gap: 1rem;
}

.colorPopular {
  color: #0065FC
}

/*HEADER*/
@import url("https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700;800;900&display=swap");

body {
  font-family: "Raleway", "Sans serif";
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.header {
  display: grid;
  align-items: center;
  max-width: 1440px;
  margin: auto;
}

.headerImg {
  grid-area: logo;
  padding: 1rem;
  height: 1.5rem;
}

.headerNav {
  display: flex;
  align-items: center;
  grid-area: navbar;
}

.headerNavLink {
  padding: 2rem;
  font-weight: 500;
  text-align: center;
  transition-duration: 0.1s;
  border-top: 3px transparent solid;
  border-bottom: 3px transparent solid;
}

.headerNavLink[data-active=true] {
  border-top: 3px transparent solid;
  border-bottom: 3px transparent solid;
}

.headerNavLink:hover {
  color: #0065FC;
}

.headerSignup {
  display: flex;
  align-items: center;
  grid-area: button;
  padding: 2rem;
  color: #0065FC;
  font-weight: 600;
}


/* NavBar HEADER*/
.desktopNone {
  display: none;
}

#search-filter-container {
  margin-bottom: 1.5rem;
}

.search-title-container {
  margin-bottom: 1.5rem;
}

.search-title-container h1 {
  font-family: "Raleway-Bold";
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
  font-size: 1.8rem;
}

.search-title-container p {
  margin: 0;
  font-weight: 600;
  opacity: 70%;
}

.search-container {
  display: flex;
  margin-bottom: 1.5rem;

}

.search-container>span {
  background-color: var(--grey);
  padding: 1rem 1.25rem;
  border-radius: 1rem 0 0 1rem;
}

.search-container .search-input {
  font-family: "Raleway-Bold";
  padding: 1rem !important;
  border: none;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  width: 13rem;
  min-width: 7rem;
  font-family: 'Raleway Bold', arial;
  font-weight: bold;

}

.search-container .search {
  font-family: "Raleway-Bold";
  background-color: var(--blue);
  border: none;
  border-radius: 0 1rem 1rem 0;
  color: white;
  padding: 1rem;
  font-family: 'Raleway Bold', arial;

}

.search-container .search:hover {
  background-color: #0051ca;

}


#nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

#nav ul {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
}

#nav ul>li {
  display: inline;
  padding: 3rem 2.5rem;

}

#nav ul>li:hover {
  box-shadow: inset 0 20px 0px -17px var(--blue);
}

#nav ul>li a {
  color: black;
  font-weight: 600;
  text-decoration: none;
}

#nav ul>li:hover a {
  color: var(--blue);
}


.nav-logo {
  align-self: center;
}

.nav-logo img {
  height: 4rem;
}


/* FILTRES */

.searchFilters {
  display: flex;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.searchFiltersTitle {
  margin: 0 2rem 1rem 0;
  display: flex;
  align-items: center;
  font-family: 'Raleway Bold', arial;
}

.searchFiltersFilter {
  display: flex;
  align-items: center;
  margin-right: 2rem;
  border: 2px solid #d9d9d9;
  border-radius: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition-duration: 0.1s;
  font-weight: bold;
}

.searchFiltersFilter:last-child {
  margin-right: 0;
}

.searchFiltersFilter:hover {
  background-color: #f3f8ff;
  transform: scale(1.015);
}

.searchFiltersFilterWrapicon {
  background-color: #DEEBFF;
  border-radius: 100%;
  height: 3rem;
  width: 3rem;
  min-height: 3.5rem;
  min-width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -2px;
}

.searchFiltersFilterWrapiconIcon {
  color: blue;
}

.searchFiltersFilterTitle {
  margin: 0 1rem;
}

.searchResult {
  display: flex;
  align-items: center;
  margin: 1rem 0 2rem 0;
}

.searchResultWrapicon {
  height: 2rem;
  width: 2rem;
  min-height: 2rem;
  min-width: 2rem;
  border: solid 1px #d9d9d9;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
}

.searchResultWrapiconIcon {
  color: #0065FC;
}

.searchResultText {
  margin: 0;
}


/* FILTRES */

.searchHeaderTitle {
  margin-bottom: 0.5rem;
  font-family: 'Raleway Bold', arial;
}

.searchHeaderSubtitle {
  margin-top: 0;
}

.searchForm {
  display: inline-flex;
  max-width: 100%;
  overflow: auto;
}

.searchFormWrapicon {
  background-color: #F2F2F2;
  padding: 1rem 1.25rem;
  border-radius: 1rem 0 0 1rem;
  text-align: center;
}

.searchFormWrapiconIcon {
  margin-left: 0.1rem;
}

.searchFormSearchinput {
  border-right: none;
  border-left: none;
  border-top: #F2F2F2 1px solid;
  border-bottom: #F2F2F2 1px solid;
  padding: 0 1.5rem;
  box-sizing: border-box;
  width: 14rem;
  font-size: 1rem;
  font-weight: bold;
  font-family: "Raleway", "Sans serif";
}

.searchFormSearchinput::placeholder {
  font-family: "Raleway", "Sans serif";
  font-size: 1rem;
  color: #00000069;
}

.searchFormSubmitinput {
  background-color: #0065FC;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0 1rem 1rem 0;
  padding: 10px 1px;
  font-family: "Raleway", "Sans serif";
  font-size: 1rem;
  cursor: pointer;
}

/* Hosting */

.hostingWrapper,
.hostingPopular,
.hostingMain {
  background-color: #F2F2F2;
  border-radius: 1.5rem;
  padding: 1.5rem;
}

.hosting {
  display: grid;
  column-gap: 2rem;
  grid-template-columns: 6fr 3fr;
}

.hostingMain {
  display: grid;
  column-gap: 2rem;
  row-gap: 1rem;
}

.hostingMainHeader {
  grid-column: 1/-1;
  font-size: medium;
}

.hostingMainHeaderTitle {
  margin: inherit 1rem;
  font-family: 'Raleway Bold', arial;
}

.hostingMainCard {
  background-color: white;

  border-radius: 1.25rem;
  box-shadow: 0 0 16px #0000002e;
  transition-duration: 0.1s;
  cursor: pointer;
  box-sizing: border-box;
  height: 100%;
}

.hostingMainCard:hover {
  transform: scale(1.02);
}

.hostingMainCardFigure {
  margin: 0;
}

.hostingMainCardFigureImg {
  height: 7rem;
  object-fit: cover;
  max-width: 100%;
  width: 100%;
  max-height: 100%;
  border-radius: 1rem 1rem 0 0;
}

.hostingMainCardFigureCaptionTitle {
  margin: 0.25rem 0.75rem 0 0.76rem;
}

.hostingMainCardDesc {
  margin: 0.25rem 0.75rem 0.25rem 0.75rem;
}

.hostingMainCardDescPrice {
  font-weight: bold;
}

.hostingMainCardGrade {
  margin: 0 0.75rem 0.25rem 0.75rem;
}

.hostingMainCardGradeIcon[data-active=true] {
  color: #0065FC;
}

.hostingMainCardGradeIcon[data-active=false] {
  color: #d9d9d9;
}

.hostingMainViewmore {
  font-weight: bold;
  padding: 1rem;
  font-size: medium;
}

.hostingPopular {
  display: grid;
  row-gap: 2rem;
  align-items: normal;
  grid-template-rows: auto repeat(3, 1fr);
}

.hostingPopularTitle {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.hostingPopularWrapcontent {
  display: flex;
  align-items: stretch;
  height: 100%;
  overflow: auto;
}

.hostingPopularWrapcontentWrapimg {
  position: relative;
  min-height: 100%;
  width: 33%;
  min-width: 33%;
  max-width: 33%;
}

.hostingPopularWrapcontentWrapimgImg {
  border-radius: 1rem 0 0 1rem;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hostingPopularWrapcontentContent {
  display: flex;
  flex-direction: column;
}

.hostingPopularWrapcontentContentWhitespace {
  flex: 1;
}

.hostingPopularhostingMainCard {
  height: 8.75rem;
}


/* ACTIVITY */

.activity {
  display: grid;
  column-gap: 2rem;
}

.activity-section {
  margin: 4rem 0;
}

.activityTitle {
  grid-column: 1/-1;
  padding: 1rem;
}

.activityCard {
  box-shadow: 0 0 20px #0000002e;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition-duration: 0.1s;
  height: 46rem;
}

.activityCard:hover {
  transform: scale(1.01);
}

.activityCardWrapimg {
  position: relative;
  flex: 1;
}

.activityCardWrapimgImg {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.activityCardTitle {
  margin: 1.2rem 1.5rem;
  font-size: smaller;
}


/* FOOTER */

.footer {
  background-color: #F2F2F2;
  width: 100%;
}

.footerColumnwrapper {
  display: flex;
  max-width: 100%;
  width: 1440px;
  margin: auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

.footerColumnwrapperColumn {
  width: 30%;
  padding: 2rem 2rem;
}

.footerColumnwrapperColumnLink {
  display: block;
  margin: 1rem 0;
}

.footerColumnwrapperColumnLink:hover {
  text-decoration: underline;
}