/* 
Couleurs :

Primary color : linear-gradient(135deg, #E68835 0%, #E043A9 100%)
Primary color hover : linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), linear-gradient(135deg, #E68835 0%, #E043A9 100%)
Background : #0E0F12
Elevation 1 : #1F2126
Elevation 2 : #2F323B
Elevation 3 : #3F444F
Elevation 4 : #505563

Texte gris : #BBBBBB
*/

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

button {
  background: none;
  border: none;
  font-family: "Raleway", sans-serif;
}

/* Typography */

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  background-color: #0e0f12;
  font-variant-numeric: lining-nums;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 2.75rem;
}

h2 {
  font-weight: 700;
  font-size: 1.5rem;
}

h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
}

p {
  font-size: 0.875rem;
  color: #bbbbbb;
  font-weight: 500;
}

.body-text {
  font-size: 0.875rem;
  color: #bbbbbb;
  font-weight: 500;
}

strong {
  font-weight: 700;
  font-size: 1.125rem;
}

small {
  font-size: 0.75rem;
  color: #bbbbbb;
  font-weight: 500;
}

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

.text-link {
  font-weight: 500;
  text-decoration: none;
  color: #bbbbbb;
}

.text-link:hover {
  color: white;
}

/* General components : */

/* Buttons */

.btn {
  border-radius: 4px;
  border: none;
  height: 48px;
  background: linear-gradient(135deg, #e68835 0%, #e043a9 100%);
  padding: 14.5px 24px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: lining-nums;
  text-align: center;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: min-content;
}

.btn:hover {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    linear-gradient(135deg, #e68835 0%, #e043a9 100%);
}

.btn-small {
  padding: 12px 24px;
  font-size: 0.875rem;
  height: 40px;
}

.btn-smaller {
  padding: 8px 16px;
  height: 32px;
  font-size: 0.875rem;
}

.btn-round {
  height: 32px;
  width: 32px;
  min-height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-round-slide img {
  height: 10px;
  width: 5px;
}

.btn-round-slide-left img {
  transform: rotate(180deg);
}

.btn-round-close {
  height: 40px;
  width: 40px;
}

/* Forms */

.field {
  flex: 1;
}

.field-main {
  height: 100%;
  width: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  background: #2f323b;
  padding: 24px 16px;
  position: relative;
}

.field-small {
  padding: 16px;
}

.field-main > img {
  margin-right: 16px;
}

.field-main > div {
  width: 100%;
}

.field-main:hover {
  background-color: #3f444f;
}

.input-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: #bbbbbb;
  margin-bottom: 2px;
}

.field-smaller:focus .input-name {
  top: 0;
}

input {
  width: 100%;
  border: none;
  background: none;
  color: white;
  font-size: 0.875rem;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-variant-numeric: lining-nums;
}

input::placeholder {
  opacity: 1;
  color: white;
  font-size: 0.875rem;
}

input:focus {
  outline: none;
}

input:focus::placeholder {
  color: #bbbbbb;
}

.field-selector {
  position: absolute;
  top: 104px;
  background-color: #3f444f;
  border-radius: 4px;
  display: none;
}

.field-selector input {
  font-variant-numeric: lining-nums;
}

.filter-selector {
  display: block;
}

.field.active {
  display: block;
}

.field.active .field-selector {
  display: block;
}

.field.active .filter-selector {
  right: 0;
}

.field.active .invite-selector {
  display: flex;
}

.invite-selector {
  display: none;
  align-items: center;
  padding: 16px;
  gap: 16px;
}

.invite-selector button {
  flex: none;
  background-color: #505563;
}

.invite-selector button:hover {
  flex: none;
  background: linear-gradient(135deg, #e68835 0%, #e043a9 100%);
}

.invite-selector label {
  font-size: 1.125rem;
  font-weight: 700;
  margin-right: 16px;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  text-align: center;
  font-size: 1.125rem;
  width: 36px;
}

.field-classic {
  height: 56px;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  background-color: #2f323b;
  position: relative;
}

.field-classic input {
  height: 100%;
  padding: 28px 16px 12px 16px;
  font-weight: 500;
}

.field-classic .input-name {
  position: absolute;
  left: 16px;
  top: 20px;
  font-size: 0.875rem;
  transition: all 0.2s;
  cursor: text;
}

.field-classic .input-name.minimize {
  font-size: 0.75rem;
  top: 12px;
}

.field-classic input:focus ~ .input-name {
  font-size: 0.75rem;
  top: 12px;
}

.field-classic:hover {
  background-color: #3f444f;
}

/* Party card */

.party-card-container {
  position: relative;
}

.party-card-container:hover .party-card {
  background-color: #2f323b;
}

.party-card {
  background-color: #1f2126;
  border-radius: 8px;
  cursor: pointer;
  display: block;
}

.party-card-image-slider {
  position: relative;
  overflow: hidden;
}

.party-card-all-images {
  display: flex;
  width: max-content;
  position: absolute;
  transition: left 0.3s ease-out;
}

.party-card-all-images img {
  height: 100%;
  object-fit: cover;
}

.party-card-container .btn-round-slide {
  transform: translateY(-50%);
  /* Pourquoi tourne le bouton */
  background-color: #2f323b;
  position: absolute;
  right: 8px;
  top: 86.5px;
  display: none;
}

.no-anime {
  transition: none;
}

.party-card-vertical {
  height: 372px;
  width: 258px;
  min-width: 258px;
}

.party-card-vertical .party-card-image-slider {
  height: 173px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
}

.party-card-vertical .party-card-all-images {
  height: 173px;
  left: -258px;
}

.party-card-vertical .party-card-all-images img {
  width: 258px;
}

.party-card-vertical .party-card-text {
  height: 199px;
}

.party-card-text p {
  max-height: 53px;
  overflow: hidden;
}

.party-card-horizontal {
  width: 100%;
  height: 180px;
  display: flex;
  margin: 16px 0;
}

.party-card-horizontal .party-card-image-slider {
  min-width: 210px;
  width: 210px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.party-card-horizontal .party-card-all-images {
  height: 180px;
  left: -210px;
}

.party-card-horizontal .party-card-all-images img {
  width: 210px;
}

.party-card-horizontal .party-card-text {
  width: 100%;
}

.party-card-container .btn-round-slide-left {
  left: 8px;
  display: none;
}

.party-card-horizontal ~ .btn-round-slide-right {
  left: 202px;
  transform: translate(-100%, -50%);
}

.party-card-container:hover .btn-round-slide:not(.btn-round-slide-left) {
  display: flex;
}

.party-card-container:hover .btn-round-slide-left.visible {
  display: flex;
}

.party-card-container .btn-round-slide:hover {
  background-color: #3f444f;
}

.party-card-text {
  display: block;
  position: relative;
  padding: 16px;
}

.date-loc-infos {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.date-loc-infos .line {
  width: 1px;
  height: 12px;
  background-color: #bbbbbb;
}

.party-card h3 {
  margin-bottom: 8px;
}

.stock {
  font-size: 0.875rem;
  font-weight: 500;
  background: linear-gradient(135deg, #e68835 0%, #e043a9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
  position: absolute;
  bottom: 16px;
}

.party-card .price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Header and navbar*/

header {
  width: 100vw;
  position: fixed;
  top: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 3;
  transition: background-color 0.2 ease-in-out;
}

.header-filled {
  background-color: #1f2126;
}

nav li {
  display: inline;
  list-style: none;
  margin-left: 24px;
}

nav a {
  text-decoration: none;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  position: relative;
}

nav .btn {
  border: 2px solid white;
  background: none;
}

nav a:not(.btn)::after {
  content: "";
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1.5px;
  bottom: -4px;
  left: 0;
  background-color: white;
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}
nav a:not(.btn):hover::after {
  transition: transform 0.3s ease;
  transform: scaleX(1);
  transform-origin: bottom left;
}

nav .btn:hover {
  color: black;
  border: 2px solid transparent;
  background: linear-gradient(transparent, transparent) padding-box,
    white border-box;
  /* background: linear-gradient(transparent, transparent) padding-box,
    linear-gradient(95deg, #e68835 0%, #e043a9 100%) border-box; */
}

/* Home page : */

/* Hero */

.hero {
  position: relative;
  background: linear-gradient(
      179.88deg,
      rgba(10, 11, 13, 0.5) 15%,
      rgba(0, 0, 0, 0.1) 100%
    ),
    url(img/fete.jpg);
  background-size: cover;
  height: 75vh;
  background-position: center 60%;
}

.hero-text {
  position: absolute;
  top: 144px;
  margin-left: 72px;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero p {
  font-weight: 500;
  font-size: 1rem;
  color: white;
}

/* Home form */

.home-form {
  position: absolute;
  bottom: -48px;
  left: 0;
  right: 0;
  background-color: #1f2126;
  margin: 0 72px;
  height: 96px;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.home-form .field-location {
  flex: 2;
}

.search-btn {
  height: 100%;
  width: revert;
  color: white;
  padding: 0 32px;
  font-size: 0.875rem;
  font-weight: 700;
}

/* Sections Layout */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.last-partys,
.spaces,
.cities-carousel-wrapper {
  padding: 0 72px;
}

/* Section : "Dernières soirées ajoutées" */

.last-partys {
  margin-top: 120px;
}

.last-partys-content {
  display: flex;
  gap: 32px;
}

/* Section : "Types d'espaces" */

.spaces {
  margin-top: 72px;
}

.spaces-content {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: 17vw 17vw;
  gap: 32px;
}

.space-card {
  cursor: pointer;
  position: relative;
  border-radius: 4px;
}

.space-card:hover {
  /* background-size: 125%; */
  transform: scale(97%);
  transition: transform 0.2s;
}

.space-card h3 {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.house {
  grid-row-start: 1;
  grid-row-end: 3;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 84%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/maison.jpg);
  background-size: cover;
  background-position: center;
}

.apartment {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 84%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/appartement.jpg);
  background-size: cover;
  background-position: center;
}

.specialized {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 84%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/salle-specialisee.jpg);
  background-size: cover;
  background-position: center;
}
.rooftop {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 84%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/rooftop.jpg);
  background-size: cover;
  background-position: center;
}
.young {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 60%,
      rgba(0, 0, 0, 0.4) 84%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/young.jpg);
  background-size: cover;
  background-position: center;
}

/* Section : "Villes" */

.cities {
  margin-top: 72px;
}

.cities .section-head {
  margin-left: 72px;
  margin-right: 72px;
}

.btn-container {
  display: flex;
  gap: 8px;
}

.cities .btn-round {
  background-color: #1f2126;
}

.cities .btn-round:hover {
  background-color: #2f323b;
}

.cities-all-cards {
  display: flex;
  gap: 32px;
  overflow: auto;
  scroll-behavior: smooth;
}

.city-card {
  height: 45vw;
  width: 30vw;
  max-width: 300px;
  max-height: 450px;
  position: relative;
  cursor: pointer;
  border-radius: 4px;
  /* margin-right: 32px; */
  /* display: none; */
  flex-shrink: 0;
}

.city-card h3 {
  font-size: 3.5vw;
  position: absolute;
  bottom: 16px;
  left: 16px;
}

.city-card:hover {
  transform: scale(97%);
  transition: transform 0.2s;
}

.city-card.paris {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/paris.jpg);
  background-size: cover;
  background-position: center;
}

.city-card.bordeaux {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/bordeaux.jpg);
  background-size: cover;
  background-position: center;
}
.city-card.nice {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/nice.jpg);
  background-size: cover;
  background-position: center;
}
.city-card.marseille {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/marseille.jpg);
  background-size: cover;
  background-position: center;
}
.city-card.lyon {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/lyon.jpg);
  background-size: cover;
  background-position: center;
}
.city-card.montpellier {
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 77%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    url(img/montpellier.jpg);
  background-size: cover;
  background-position: center;
}

/* Page : list */

/* Add to cart notification */

.add-cart-notif {
  position: absolute;
  background-color: #3f444f;
  top: 0px;
  padding: 16px;
  border-radius: 4px;
  top: 64px;
  right: 32px;

  animation: notifFromTop 0.3s;
}

@keyframes notifFromTop {
  from {
    top: 0px;
  }
  to {
    top: 64px;
  }
}

.add-cart-notif .success-icon {
  width: 24px;
  height: 24px;
}

.add-cart-notif p {
  color: white;
  margin-right: 48px;
  margin-left: 8px;
}

.add-cart-notif .btn-round-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  min-width: revert;
  min-height: revert;
}
.add-cart-notif .btn-round-close:hover {
  background-color: #505563;
}

.add-cart-notif-top {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.add-cart-notif a {
  width: 100%;
}

/* List Layout */

.list-main {
  margin-top: 72px;
}

.list-content {
  margin: 152px auto 0 auto;
  max-width: 1550px;
  display: flex;
}
/* List form */

.list-form {
  height: 80px;
  width: 100vw;
  background-color: #1f2126;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px;
  position: fixed;
  top: 72px;
  z-index: 2;
}

.list-form .field-selector {
  top: 80px;
}

.field-price img {
  transform: rotate(90deg);
}

.form-btn {
  height: 68px;
  border: none;
  font-size: 0.875rem;
  font-family: "Raleway", sans-serif;
  font-variant-numeric: lining-nums;
  font-weight: 700;
}

.list-form .line {
  margin: 0 8px;
  height: 48px;
  border-radius: 2px;
  min-width: 2px;
  width: 2px;
  background-color: #2f323b;
}

.field-space .field-main {
  width: 100%;
}

.field-space .field-main img {
  position: absolute;
  right: 0;
  transform: rotate(90deg);
}

.space-options {
  font-weight: 500;
  width: 235px;
}

.field-selector h3 {
  margin: 16px;
}

input[type="checkbox"] {
  display: none;
}

.option {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
}

.option .checkbox-icon-background,
.option .checkbox-icon-check {
  display: none;
}

.option .checkbox-icon-border {
  fill: #bbbbbb;
}

.option:hover {
  background-color: #505563;
}

.option:hover .checkbox-icon-border {
  fill: white;
}

.option input:checked ~ svg .checkbox-icon-check,
.option input:checked ~ svg .checkbox-icon-background {
  display: inline;
}

.option input:checked ~ svg .checkbox-icon-border {
  display: none;
}

.erase-btn,
.see-more {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: #bbbbbb;
  text-decoration: underline;
  cursor: pointer;
}

.erase-btn:hover,
.see-more:hover {
  color: white;
}

.selector-actions {
  display: flex;
  justify-content: space-between;
  margin: 16px;
  gap: 40px;
}

.price-selector {
  width: 267px;
}

.price-input-container {
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-input-container .line {
  background-color: white;
  width: 16px;
  height: 2px;
}

.price-input-container .field-classic {
  background-color: #3f444f;
}

.price-input-container .field-classic input[type="number"] {
  width: 100%;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.price-input-container .field-classic:hover {
  background-color: #505563;
}

.more-filter {
  width: min-content;
  flex: 0;
}

.filter-selector {
  right: -350px;
  width: 350px;
  height: calc(100vh - 152px);
  border-radius: 4px 0px 0 4px;
  transition: right 0.3s;
}

.filter-selector-top {
  padding: 24px 24px 16px 24px;
  position: fixed;
  width: 350px;
  background-color: #3f444f;
  border-radius: 4px 0 0 0;
}

.filter-selector .btn-round-close {
  position: absolute;
  top: 16px;
  right: 24px;
}

.filter-selector .btn-round-close:hover {
  background-color: #505563;
}

.all-filters {
  margin-top: 69px;
  height: calc(100% - 133px);
  overflow: auto;
}

.filter-selector .option {
  padding: 8px 24px;
}

.filter-selector h3 {
  margin: 16px 24px;
}

.filter-selector .selector-actions {
  margin: 0;
  padding: 16px 24px;
}

.separator {
  padding: 0 16px;
  margin: 16px 0;
}

.separator .line {
  height: 2px;
  width: 100%;
  background-color: #505563;
}

.see-more {
  padding: 8px 24px;
}

.music-options {
  height: auto;
  overflow: hidden;
  transition: height 0.2s;
}

/* Left side : Partys list */

.partys-list {
  flex: 1;
  max-width: 800px;
  padding: 16px 16px 0 16px;
  height: calc(100vh - 152px);
  overflow-y: auto;
}

.partys-list.only {
  max-width: revert;
}

.partys-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  position: relative;
}

.sort-by {
  display: flex;
  align-items: baseline;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
}

.sort-by span {
  margin-right: 8px;
}

.sort-by .sort-selector {
  background-color: #2f323b;
  border-radius: 4px;
  width: 278px;
  display: none;
}

.sort-by .selected-sort {
  border-radius: 4px;
  width: 278px;
}

.sort-by .option {
  padding: 12px;
}

.sort-by .option:hover {
  background-color: #3f444f;
}

.sort-selector .option:first-of-type {
  border-radius: 4px 4px 0 0;
}

.sort-selector .option:last-of-type {
  border-radius: 0 0 4px 4px;
}

.sort-by.active .selected-sort {
  display: none;
}

.sort-by.active .sort-selector {
  display: block;
}

/* .sort-by select {
  border: none;
  background: none;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Raleway", sans-serif;
  font-variant-numeric: lining-nums;
}

.sort-by option {
  font-size: 0.875rem;
  font-weight: 500;
  font-family: "Raleway", sans-serif;
  font-variant-numeric: lining-nums;
} */

.sort-by img {
  transform: rotate(90deg);
  margin-left: 9px;
}

/* Right side : Party details */

.party-details {
  flex: 1;
  background-color: #1f2126;
  padding: 16px;
  position: relative;
  height: calc(100vh - 152px);
  overflow: auto;
  max-width: 750px;
}

.all-images-container {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  height: 350px;
  margin-bottom: 16px;
  gap: 8px;
}

.image {
  object-fit: cover;
  border-radius: 4px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  cursor: pointer;
}

.main-image {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 4;
}

.nbr-image-supp {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
}

.party-details .date-loc-infos {
  position: relative;
  margin-bottom: 8px;
}

.party-details .stock {
  position: absolute;
  top: 0;
  right: 0;
  bottom: revert;
}

.party-title {
  margin-bottom: 12px;
}

.party-general-infos {
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.info img {
  width: 16px;
  height: 16px;
  margin-right: 8px;
}

.info {
  display: flex;
  align-items: center;
}

.party-details h3 {
  margin-bottom: 8px;
}

.party-general-infos,
.party-description,
.party-equipments {
  margin-bottom: 24px;
}

.party-schedules {
  margin-bottom: 96px;
}

.equipments-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.start-value,
.end-value {
  color: white;
  text-align: right;
}

.schedule {
  display: flex;
  justify-content: space-between;
}

.schedule:first-of-type {
  margin-bottom: 8px;
}

.reservation {
  position: fixed;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #3f444f;
  padding: 8px 8px 8px 16px;
  border-radius: 8px;
  gap: 16px;
  z-index: 1;
}

.reservation-left {
  display: flex;
  gap: 16px;
}

.total-price small,
.total-price strong {
  display: block;
}

.total-price small {
  margin-bottom: 2px;
}

.reservation .btn-round-less,
.reservation .btn-round-more {
  background-color: #505563;
}

.reservation .btn-round-less:hover,
.reservation .btn-round-more:hover {
  background: linear-gradient(135deg, #e68835 0%, #e043a9 100%);
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity {
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
}

.reservation .btn {
  width: 100%;
}

.party-details .btn-round-close {
  position: absolute;
  right: -56px;
  z-index: 2;
  display: none;
}

.btn-round-close:hover {
  background-color: #3f444f;
}

/* Empty list */

.empty-list {
  width: 100%;
  height: calc(100vh - 152px);
}

/* Page : Cart */

/* Layout */

.cart-main {
  margin-top: 72px;
  padding: 0 72px;
}

.cart-main h1 {
  margin-top: 112px;
  margin-bottom: 24px;
}

.cart-content {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

/* Left side */

.cart-left-side {
  flex: 2;
}

.party-card-cart {
  height: 160px;
  margin: 24px 0;
}

.party-card-cart h3 {
  margin-right: 40px;
}

.party-card-cart:first-of-type {
  margin-top: 0;
}

.party-card-cart .party-card-image-slider {
  width: 180px;
  min-width: 180px;
}

.party-card-cart .party-card-all-images {
  height: 160px;
  left: -180px;
}

.party-card-cart .party-card-image {
  width: 180px;
}

.party-card-cart .party-card-all-images img {
  width: 180px;
}

.party-card-cart ~ .btn-round-slide-right {
  left: 172px;
}

.cart-main .total-price {
  position: absolute;
  font-size: 1.125rem;
  font-weight: 700;
  bottom: 24px;
  right: 24px;
}

.party-card-cart .party-card-text {
  padding: 24px;
}

.party-card-cart:hover {
  background-color: #1f2126;
}

.cart-quantity-selector {
  position: absolute;
  bottom: 18px;
  left: 204px;
}

.cart-quantity-selector .quantity {
  font-weight: 500;
}

.cart-quantity-selector .quantity input {
  font-weight: 500;
}

.cart-quantity-selector .btn-round {
  background-color: #2f323b;
  height: 30px;
  width: 30px;
  display: flex;
}

.party-card-container:hover .cart-quantity-selector .btn-round {
  background-color: #3f444f;
}

.party-card-container .cart-quantity-selector .btn-round:hover {
  background-color: #505563;
}

.delete-btn {
  height: 24px;
  width: 24px;
  position: absolute;
  top: 24px;
  right: 24px;
  cursor: pointer;
}

.delete-btn svg path {
  fill: grey;
}
.delete-btn:hover svg path {
  fill: white;
}

/* Right side */

.cart-right-side {
  /* width: 287px;
  position: sticky;
  top: 0px;
  align-self: flex-start; */
  flex: 1;
}

.payment {
  padding: 16px 24px 24px 24px;
  background-color: #1f2126;
  border-radius: 8px;
  margin-bottom: 32px;
}

.payment h2 {
  margin-bottom: 16px;
}

.payment .field-classic-container {
  margin-bottom: 16px;
}

.payment .error-message,
.payment .error-message2 {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #ec5454;
  display: none;
}

.payment .field-classic-container.error .error-message {
  display: block;
}

.payment .field-classic-container.error2 .error-message2 {
  display: block;
}

.payment .acceptation {
  display: block;
  margin-bottom: 16px;
}
.payment .acceptation a:hover {
  text-decoration: underline;
}

.payment .price {
  position: revert;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.payment .btn {
  width: 100%;
}

.payment-infos {
  padding-left: 8px;
}

.payment-info {
  display: flex;
  margin-bottom: 24px;
}

.payment-info img {
  margin-right: 16px;
}

.payment-info strong {
  font-size: 0.875rem;
  display: block;
  margin-bottom: 4px;
}

.empty-cart p {
  margin-bottom: 48px;
}

/* Cart success */

.cart-success {
  display: flex;
  justify-content: center;
  align-items: center;

  height: calc(100vh - 156px);
}

.success-card {
  background-color: #1f2126;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px;
  border-radius: 8px;
  position: relative;
}

.success-card img {
  position: absolute;
  top: -53px;
}

.success-card h2 {
  width: 300px;
  text-align: center;
  margin-top: 45px;
  margin-bottom: 24px;
}

.success-card p {
  width: 300px;
  text-align: center;
  margin-bottom: 4px;
}

.success-card .ord-id {
  color: white;
}

.success-card a {
  margin-top: 40px;
}

/* Page : About */

.about-main {
  margin-top: 136px;
}

.about-main section {
  margin: 144px 0;
}

.about-section-head {
  text-align: center;
  margin-bottom: 72px;
}

.about-section-head h1 {
  margin-bottom: 24px;
}

/* Concept */

.concept {
  padding: 0 72px;
}

.concept-content {
  margin: 72px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 940px;
  height: 435.5px;
}

.concept-left {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.concept-left .line {
  width: 4px;
  height: 95px;
  background: linear-gradient(135deg, #e68835 0%, #e043a9 100%);
  border-radius: 4px;
  position: absolute;

  transition: top 0.5s;
}

.concept-left button {
  display: block;
  text-align: left;
  font-weight: 700;
  font-size: 2.5rem;
  width: 350px;
  margin: 56px 0 56px 24px;
  cursor: pointer;
}

.concept-left button:hover {
  background: linear-gradient(
    135deg,
    rgba(230, 136, 53, 1) 0%,
    rgba(224, 67, 169, 1) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.concept-left button.active {
  background: linear-gradient(
    135deg,
    rgba(230, 136, 53, 1) 0%,
    rgba(224, 67, 169, 1) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-background-clip: text;
  -moz-text-fill-color: transparent;
}

.participate-btn.active ~ .line {
  top: 56px;
}
.organize-btn.active ~ .line {
  top: 207px;
}

.concept-right {
  flex: 1;
  display: none;
}

.organize-content.active,
.participate-content.active {
  display: block;
}

.organize-content .step:nth-child(1) {
  animation: fadeInDown 0.5s ease;
}
.organize-content .step:nth-child(2) {
  animation: fadeInDown 0.5s ease 100ms;
}
.organize-content .step:nth-child(3) {
  animation: fadeInDown 0.5s ease 200ms;
}

.participate-content .step:nth-child(1) {
  animation: fadeInUp 0.5s ease 0.2s;
}
.participate-content .step:nth-child(2) {
  animation: fadeInUp 0.5s ease 0.1s;
}
.participate-content .step:nth-child(3) {
  animation: fadeInUp 0.5s ease;
}

.step {
  display: flex;
  gap: 16px;
  margin: 40px;
}

.step h3 {
  margin-bottom: 8px;
}

.concept-footer {
  margin: 0 auto;
  max-width: 675px;
}

.concept-footer h3 {
  margin-bottom: 8px;
}

/* Creator */

.creator-content {
  background-color: #1f2126;
  margin: auto;
  border-radius: 8px;
  padding: 64px;

  display: flex;
  gap: 64px;
  max-width: 930px;
}

.creator-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.creator-left-top {
  margin-bottom: 16px;
}

.creator-left-top p {
  color: white;
}

.social-links-container {
  display: grid;
  grid-template-columns: 144px 144px;
  gap: 24px;
}

.social-link {
  width: 144px;
  height: 144px;
  background-color: #2f323b;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-link:hover {
  background-color: #3f444f;
}

.social-link img {
  width: 64px;
  height: 64px;
}

/* Legal */

.legal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legal-content {
  margin: 72px 72px 0 72px;
  max-width: 700px;
}

.legal-content div {
  margin: 40px 0;
}

.legal-content div:first-of-type,
.legal-content div:last-of-type {
  margin: 0;
}

.legal-content h2 {
  margin-bottom: 8px;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content ul {
  font-size: 0.875rem;
  color: #bbbbbb;
  list-style-type: disc;
  list-style-position: inside;
  text-indent: -1em;
  padding-left: 1em;
}

/* Page : Footer */

footer {
  background-color: #1f2126;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 64px;
  margin-top: 224px;
}

footer section h3 {
  height: 35px;
  margin-bottom: 24px;
}

.footer-links a {
  display: block;
  margin: 8px 0;
}

.footer-links a:hover {
  color: white;
}

.footer-text {
  max-width: 340px;
}

footer img {
  height: 35px;
  width: 124px;
  margin-bottom: 24px;
}

/* Empty pages */

.empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.empty p {
  width: 284px;
  text-align: center;
  margin-top: 8px;
}

/* Responsive */

@media screen and (min-width: 1100px) {
  .last-partys,
  .spaces,
  .cities-carousel-wrapper {
    padding: 0 120px;
  }

  .cities .section-head {
    margin-left: 120px;
    margin-right: 120px;
  }

  .hero-text {
    margin-left: 120px;
  }

  .home-form {
    margin: 0 120px;
  }

  .city-card h3 {
    font-size: 2.25rem;
  }
}

@media screen and (max-width: 1050px) {
  /* List */
  .partys-list {
    display: none;
  }

  .party-details {
    overflow: revert;
    flex: revert;
    height: revert;
    width: 630px;
  }

  .list-content {
    justify-content: center;
    background-color: #1f2126;
  }

  .party-details .btn-round-close {
    display: flex;
  }

  .list-form .field-space {
    display: none;
  }

  .creator-content {
    margin: 72px;
  }
}

@media screen and (max-width: 930px) {
  .cart-content {
    display: revert;
  }

  .cart-right-side {
    width: revert;
  }

  .first-last-name {
    display: flex;
    gap: 16px;
  }

  .first-last-name .field-classic {
    flex: 1;
  }
}

@media screen and (min-height: 900px) {
  .all-images-container {
    height: 450px;
  }
}

/* Last partys responsive */

@media screen and (max-width: 982px) {
  .last-partys-content .party-card-container:nth-child(n + 3) {
    display: none;
  }
}

@media screen and (max-width: 1368px) {
  .last-partys-content .party-card-container:nth-child(n + 4) {
    display: none;
  }
}

@media screen and (max-width: 1678px) {
  .last-partys-content .party-card-container:nth-child(n + 5) {
    display: none;
  }
}

@media screen and (min-width: 1678px) {
  .last-partys-content .party-card-container {
    display: block;
  }
}

/* Animation */

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-75px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(75px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
