@tailwind base;
@tailwind components;
@tailwind utilities;

/*

@layer components {
  .btn-primary {
    @apply py-2 px-4 bg-blue-200;
  }
}

*/
.hamburger {
  cursor: pointer;
}

.hamburger input {
  display: none;
}

.hamburger svg {
  /* The size of the SVG defines the overall size */
  height: 3em;
  /* Define the transition for transforming the SVG */
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  /* Define the transition for transforming the Stroke */
  transition: stroke-dasharray 700ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
  stroke-dasharray: 12 63;
}

.hamburger input:checked + svg {
  transform: rotate(-45deg);
}

.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}

#burger-menu {
  background-color: rgb(21, 128, 61);
  transform: translateY(-100%);
  transition: all .7s linear;
}

#burger-menu.fade-in-menu {
  transform: translateY(29px);
  opacity: 1;
}
:root {
  --primary-color-1: #E76F51;
  --primary-color-2: #F4A261;
  --primary-color-3: #E9C46A;
}
.tab-button {
  background: lightgray;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

.tab-button:hover {
  background: darkgray;
}

.tab-button.active {
  background: darkgray;
}
.line-md--trash {
  display: inline-block;
  width: 24px;
  height: 24px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath stroke-dasharray='24' stroke-dashoffset='24' d='M12 20h5c0.5 0 1 -0.5 1 -1v-14M12 20h-5c-0.5 0 -1 -0.5 -1 -1v-14'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' dur='0.4s' values='24;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='20' stroke-dashoffset='20' d='M4 5h16'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.4s' dur='0.2s' values='20;0'/%3E%3C/path%3E%3Cpath stroke-dasharray='8' stroke-dashoffset='8' d='M10 4h4M10 9v7M14 9v7'%3E%3Canimate fill='freeze' attributeName='stroke-dashoffset' begin='0.6s' dur='0.2s' values='8;0'/%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.radio-buttons-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

.radio-button {
  display: inline-block;
  position: relative;
  cursor: pointer;
}

.radio-button__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-button__label {
  display: inline-block;
  padding-left: 30px;
  position: relative;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__custom {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

.radio-button__input:checked + .radio-button__label .radio-button__custom {
  transform: translateY(-50%) scale(0.9);
  border: 5px solid white;
  color: white;
}

.radio-button__input:checked + .radio-button__label {
  color: white;
}

.radio-button__label:hover .radio-button__custom {
  transform: translateY(-50%) scale(1.2);
  border-color: white;
  box-shadow: 0 0 10px white;
}
/*
 * 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 {
  --orange-background: rgba(252, 189, 130, .9);
  --green-background: rgba(21, 128, 61, .9);
  --orange-color: rgba(242, 107, 67, 1);

  --swiper-navigation-color: var(--orange-color);
  --swiper-navigation-size: 60px;
  --swiper-navigation-sides-offset: 30px;

  --swiper-pagination-color: var(--orange-color);
  --swiper-pagination-bullet-inactive-opacity: 0.4;
}

html {
 scroll-behavior: smooth;
}

.blend-background {
  background-image: url(/assets/svgs/background-9049d3b2d2235dab982ff86c195ebd788bd2c3d4ce2ff7a3db129c3f9424e6a8.svg);
  background-blend-mode: multiply;
  background-repeat: repeat;
}

.orange-background {
  background-color: var(--orange-background);
}

.green-background {
  background-color: var(--green-background);
}

.center-element {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  min-width: max-content;
}

.center-element-with-variable-width {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: fit-content;
}

.black {
  color: rgb(84, 88, 99);
}

.white-text {
  color: #ffffff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 600;
}

#rsvp input:not(input[type="submit"]),
#rsvp select,
#rsvp textarea {
  color: rgb(84, 88, 99);
}

.white-background {
  background-color: white;
  color: rgb(84, 88, 99);
}

.logo {
  width: 100px;
  height: auto;
}

.alex-brush-regular {
  font-family: "Alex Brush", cursive;
  font-weight: 400;
  font-style: normal;
}

.schedule-img {
  width: 80px;
  height: auto;
}

.green-border {
  border-color: var(--green-background);
}

.green-color {
  color: var(--green-background);
}

#game-filter .active {
  color: green;
}


/* media query pour le planning de la journée */
@media (min-width: 768px) and (max-width: 930px) {
  .margin-l-4 {
    margin-left: 4rem;
  }
  .margin-l-8 {
    margin-left: 8rem;
  }
  .margin-l-12 {
    margin-left: 12rem;
  }
  .margin-l-16 {
    margin-left: 16rem;
  }
  .margin-l-20 {
    margin-left: 20rem;
  }
}

@media (min-width: 930px) and (max-width: 1280px) {
  .margin-l-4 {
    margin-left: 8rem;
  }
  .margin-l-8 {
    margin-left: 16rem;
  }
  .margin-l-12 {
    margin-left: 24rem;
  }
  .margin-l-16 {
    margin-left: 32rem;
  }
  .margin-l-20 {
    margin-left: 40rem;
  }
}

@media (min-width: 1280px) {
  .margin-l-4 {
    margin-left: 4rem;
  }
  .margin-l-8 {
    margin-left: 8rem;
  }
  .margin-l-12 {
    margin-left: 12rem;
  }
  .margin-l-16 {
    margin-left: 16rem;
  }
  .margin-l-20 {
    margin-left: 20rem;
  }
}

.orange-bottom-border {
  border-bottom: 2px var(--orange-color) solid;
}

.oblique-line {
  width: 250px;
  height: 2px;
  background: var(--orange-color);
  transform: rotate(55deg);
  position: absolute;
  top: 230px;
  left: 15px;
}

.second-day-title:after {
  content: '';
  display: block;
  width: 300px;
  height: 2px;
  background: var(--orange-color);
  transform: rotate(55deg);
  position: absolute;
  top: -68px;
}

@media (min-width: 1280px) {
  .second-day-title:after {
    top: 0;
  }
}

#prevent-bot {
  display: none;
}

.logo-section img {
  height: 100%;
}

.error {
  color: red;
  text-shadow: none;
  font-weight: 400;
  font-size: 1.1rem;
}
