@tailwind base;
@tailwind components;
@tailwind utilities;
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
:root{
  --badge: #3d0d0d;
}

.swiper {
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  display: block;
  width: 900px;
}

.swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  transition-property: transform;
  transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
  box-sizing: content-box;
}
.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  transition-property: transform;
  display: block;
}
.swiper-backface-hidden .swiper-slide {
  transform: translateZ(0);
  backface-visibility: hidden;
}
.swiper-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 400px;
}

.swiper-image {
  border-radius: 10px;
}


.filters {
  width: 200px;
}

.audition-container {
  display: flex;
  flex-direction: column;
}

.users-container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
/* toute la page, container principal de l'index artistes*/
.main-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 2rem;
  background-color: #faf5f0;
  padding-top: 7rem;
  min-height: 80vh;
  box-sizing: border-box;
}
.match-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background-color: white;
  position:sticky;
  top: 5rem;
  border-radius: 5px;
  height: fit-content;
  width: 30%;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
}

.card-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: #faf5f0;
  grid: 2px;
}
/* gap entre les cards */
.contain {
  display: flex;
  gap: 1rem;
}

/* format bloc */
.block {
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
}

.search-input {
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
}

.bg-white {
  background-color: white;
  border: 2px solid #461111;
  border-radius: 10px;
  color: #461111;
}
.bg-brown {
  background-color: #461111;
  color: white;
}
.bg-beige {
  background-color: #faf5f0;
  color: rgb(0, 0, 0);
}
.btn {
  border: 2px solid #461111;
  border-radius: 9999px;
  width: fit-content;
  padding: 0.375rem 0.75rem; /* Équivalent de px-3 py-1.5 */
  font-size: 0.875rem; /* Taille du texte en text-sm */
  font-weight: 600; /* Gras en font-semibold */
}

/* card user comme dans artistes */
.user-card{
  background-color: white;
  text-align: center;
  color: black;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
}

/* titre en gras sur les cards */
.titre {
  font-weight: bold;
  font-size: large;
}
/* images des cards */
.picture{
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px 10px 0 0;
}
.picture-home{
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}
.search-sticky {
  position:sticky;
  top: 4rem;
  padding: 0.5em;
  backdrop-filter: blur(8px);
  background: #faf5f04c;
}
/* conteneur du formulaire */
.form-container{
  display: flex;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 2px 2px 10px #0000001b;
  background-color: white;
  width: 900px;
  flex-grow: 1;
  margin-top: 10px;
}


.align-center{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.form-flex{
  flex-grow: 1;
}
.new-audition {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);

}
.img-badge{
  border: 2px solid var(--badge);
}
.img-badge .picture{
  border-radius: 8px 8px 0 0;
  box-shadow: none;
}
.badge{
  background: var(--badge);
  color: white;
  text-align: center;
  padding: 25px 1rem;
  border-radius: 10px;
  width: 70px;
  height: 40px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(20%, -40%);

}
.silver{
  --badge: #7d453b;
}

.bronze{
  --badge: #b58f7f;
}

.relative{
  position: relative;
}
/* class pour le container match */
.titre-match {
  font-weight: bold;
  font-size: 25px;
  text-align: center;
}

.main-match-container{
  display: flex;
  gap: 2rem;
  padding: 3dvh;
  background-color: #faf5f0;
  width: 100%;
  min-height: 80vh;
  margin-top: 4rem;
  padding-top: 7rem;
}
/* container principal de la home page */
.main-container-home {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem 8rem;
  background-color: #faf5f0;
    padding-top: 7rem;
    min-height: 80vh;
    box-sizing: border-box;
}


.card-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: #faf5f0;
  grid: 2px;
}
/* card user comme dans artistes */
.user-card{
  background-color: white;
  text-align: center;
  color: black;
  border-radius: 10px ;
  box-shadow: 2px 2px 10px #0000001b;
}
.users-container {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.filter-cards {
  display: flex;
  gap: 1rem;

}
.user-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}
.user-cards-match {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;

}


.audition-users {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
}
.block-card-home {
  padding: 1rem 1rem;
  border-radius: 10px;
  box-shadow: none !important;
  width: 100%;
}
.artists-home-card{
  background-color: white;
  text-align: left;
  color: black;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
  margin-top: 20px;
  margin-bottom: 10px;
  overflow: hidden;
  gap: 16px
}
.new-audition {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.littlepicture{
  width: 150px;
  height: 150px;
  object-fit: cover;
}

/* User/show */
.content {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.picture-on-profile {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.user-card-on-profile{
  background-color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Formulaire artist  */


h1 {
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.form-btn{
  position: absolute;
  bottom: 0;
  right: 0;
}

.left {
  background-color: white;
  text-align: left;
  color: black;
  width: 90%;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
  padding: 30px;
}
.left h2 {
  font-size: 1.5rem; /* Taille de police pour le titre */
  font-weight: 800; /* Graisse du titre */
  color: #000;
  margin-top: 20px;
  margin-bottom: 20px;
}
.left th {
  padding: 5px 0 5px 10px;
}
.right p {
  margin: 18px; /* Ajoute de la marge en bas de chaque paragraphe */
}
.pictures-show-user {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
  background-color: #faf5f0;
  padding: 10px;
}
.pictures-show-user img {
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
  max-height: 200px;
  transition: transform .1s;
}
.pictures-show-user img:hover {
  -ms-transform: scale(1.5); /* IE 9 */
  -webkit-transform: scale(1.5); /* Safari 3-8 */
  transform: scale(1.5);
}
.middle {
  width: 100%;
  background-color: white;
  text-align: left;
  color: black;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #0000001b;
  padding: 30px;
}
.middle h2 {
  font-size: 1.5rem; /* Taille de police pour le titre */
  font-weight: 800; /* Graisse du titre */
  color: #000;
  margin-top: 20px;
  margin-bottom: 20px;
}
.middle th {
  padding: 5px 0 5px 10px;
}
.size-notfull {
  height: 100%;
  width: 60%;
}

.testfocus:focus,.testfocus:focus-visible {
  border: 2px solid #000000;
  box-shadow: 0 0 10px rgba(70, 17, 17, 0.1);

}

.btn-show-artist {
  width: 100%;
  display: flex;
  justify-content: center;
}

footer {
  height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

}

.fixed {
  position: fixed;
}
