/*********************************/
/*            Common             */
/*********************************/

.product-head {
  width: 100%;
  position: relative;
}

.product-head, 
.product-head--freelancer {
  background-color: var(--color-background-dark);
}

.product-head--client {
  background-color: var(--color-background-client);
}

.product-head .product-head-background {
  position: absolute;
  width: 100%;
  height: 1200px;
  background-size: auto, auto, auto, auto, auto;
  background-position: right calc(50% - 380px) top -130px, 110px 72px, right 100px top 72px, 100px 595px, right 110px top 595px;
  background-repeat: no-repeat;
  pointer-events: none;
}

.product-head .product-head-stars {
  will-change: left;
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  background-position: 0 0;
  pointer-events: none;
  animation: moving-stars 70s linear infinite;
}

.product-head .product-head-container {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.product-head .product-head-content {
  padding-top: 136px;
  width: 50%;
}

.product-head .product-head-title {
  color: var(--color-font-contrast);
}

.product-head--client .product-head-title {
  color: var(--color-font);
}

.product-head .product-head-description {
  margin-top: 16px;
  color: var(--color-font-contrast);
}

.product-head--client .product-head-description {
  color: var(--color-font);
}

.product-head .product-head-form {
  position: relative;
  margin-top: 48px;
  width: 100%;
}

.product-head .selectize-input {
  padding-top: 48px;
  display: flex;
  flex-flow: row wrap;
}

.product-head .selectize-input:after {
  content: "";
  position: absolute;
  top: 14.25px;
  left: 14.25px;
  width: 19px;
  height: 19px;
  background: url(https://www.comet.co/hubfs/Website_assets_3/icons/search-right-black.svg) no-repeat;
}

.product-head .selectize-input input {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 48px;
  padding: 0 0 0 48px;
  color: var(--color-input-font);
  box-sizing: border-box;
  font-size: 16px;
  line-height: 24px;
  border: none;
  opacity: 1 !important;
}

.product-head .selectize-input input::placeholder {
  font-size: 16px;
  color: var(--color-input-font);
  opacity: 0.5;
}

.product-head .selectize-input .item {
  position: relative;
  margin: 16px 12px 0px 0px;
  padding: 6px 28px 9px 12px;
  font-size: 14px;
  line-height: 17px;
  border-radius: 3px;
  color: var(--color-font);
  background-color: var(--color-contrast-highlight);
  cursor: pointer;
}

.product-head .selectize-input .item:after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: url(https://www.comet.co/hubfs/Website_assets_3/icons/cross-black.svg) no-repeat;
}

.product-head .selectize-dropdown {
  position: absolute;
  top: 48px !important;
  left: 0 !important;
  padding: 8px 0;
  z-index: 9;
}

.product-head .selectize-dropdown-content {  
  width: 100%;
  max-height: 200px;
  padding: 8px;
  background: var(--color-background-deep-dark);
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  overflow: auto;
}

.product-head .selectize-dropdown-content .option {
  position: relative;
  padding: 10px 16px;  
  margin: 2px 0;
  color: var(--color-font-contrast);
  background-color: var(--color-background-deep-dark);
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .5px;
  cursor: pointer;
}

.product-head .selectize-dropdown-content .option.active {
  background-color: var(--color-background-dual);
  color: var(--color-black);
}

.product-head .selectize-dropdown-content .option.active::after {
  content: 'AJOUTER';
}

.product-head .selectize-dropdown-content .option.selected::after {
  content: 'AJOUTÉE';
}

.product-head .selectize-dropdown-content .option.active::after,
.product-head .selectize-dropdown-content .option.selected::after {
  float: right;
  font-size: 12px;
}

.product-head .product-head-buttons {
  position: absolute;
  top: 0px;
  right: 0px;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  transform: none;
}

.product-head .product-head-animation {
  width: 50%;
}

.product-head .product-head-submit {
  margin: 0;
}

.product-head .product-head-image {
  max-height: 100%;
  margin: 0 auto;
  align-self: flex-end;
}

.product-head .product-header-button-container {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
}

@media screen and (max-width: 1230px) {
  .product-head .product-head-background {
    background-size: 0, 100% 697px, 0, 0, 0, 0;
    background-repeat: no-repeat;
    background-position: 0px 0px;
  }
  
  .product-head .product-head-container {
    flex-flow: column-reverse nowrap;
    align-items: center;
  }
  
  .product-head .product-head-content {
    padding-top: 32px;
    width: 100%;
  }
  
  .product-head .product-head-form {
    width: 100%;
    height: 100%;
  }
  
  .product-head .product-head-animation {
    width: 75%;
  }
}

@media screen and (max-width: 767px) {
  .product-head .product-head-stars {
    background-size: 650px;
    width: 100%;
  }
  
  .product-head .product-head-title,
  .product-head .product-head-description {
    text-align: center;
  }
  
  .product-head .product-head-buttons {
    position: relative;
    margin-top: 16px;
  }
  
  .product-head .product-head-submit {
    width: 100%;
  }
}

@keyframes moving-stars {
  0% {
    left: 0;
  }
  100% {
    left: -100%;
  }
}