@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Staatliches&display=swap');

:root{
    --font-text: 'Inter', sans-serif;
    --font-title: 'Staatliches', sans-serif;
}

body{
    font-family: var(--font-text);
}
h1,h2,h3,h4,h5,h6{
    font-family: var(--font-title);
    line-height: 1;
}

.btn {
    border-radius: 0.8em;
}

.btn-link a:hover {
    text-underline-offset: 6px;
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
}

.display__flex-start-center{
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 0;
}

/* Scrollbar */
/* width */
/* width */
::-webkit-scrollbar {
    width: 5px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    border-radius: 10px;
    background: white;
  }
   
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: var(--success); 
    border-radius: 10px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #76c3bb; 
  }
/* Header */
#dsoWeb__header.nav-colored {
    background-color: var(--primary);
}

.header__iconLink svg {
    color: white;
    transition: transform .2s;
}
.header__iconLink svg:hover {
    color: var(--success);
    text-decoration: none;
    transform: scale(1.2);
}
.navbar-toggler {
    color: white;
    transition: transform .2s;
}
.navbar-toggler:hover {
    color: var(--success);
    transform: scale(1.2);
}

.navbar-toggler {
    border: none!important;
    outline: none!important;
}

#dsoWeb__header .nav-item a {
    color: white !important;
    font-family: var(--font-title);
    font-size: 3em;
    text-align: center;
    opacity: 1;
    transition: 0.3s;
}

#dsoWeb__header .nav-item a:hover {
    opacity: 0.8;
}

/* Apparition du menu */
#header__navbarCollapse.collapse{
    opacity: 0;
}

#header__navbarCollapse.collapsing{
    opacity: 0;
}

#header__navbarCollapse.collapse.show{
    opacity: 1;
    transition: 1s ease-in;
}

#dsoWeb__header:has(#header__navbarCollapse.show) {
    height: 100vh;
    background-color: #1a173f;
}

#dsoWeb__header{
    position: fixed;
    z-index: 100;
    height: auto;
    transition: 0.25s ease-in;
}


/* Home */

.home__block p {
    color: white;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 2em;
}

.home__title {
    color: white;
    font-size: 3.5em;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-text);
}

.home__subtitle {
    color: white;
    font-size: 2.5em;
    line-height: normal;
    margin:0;
}

.btn {
    font-family: var(--font-title);
    font-size: 1.2em;
}

.text-body-secondary {
    color: grey;
}

#dsoWeb__home .btn-link a{
    color:white!important
}

.background__flower{
    background-image: url(background__patterns.svg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    height:60vh;
    background-color: var(--primary);    
}

.home-card__event {
    background-size: cover;
    background-position: center;
    height: 34em;
    border-radius: 0.8em;
    margin-bottom: 1em;
}

.home-event__info {
    padding: 2em;
    width: 100%;
    height: 100%;
    background-color: #1a173f75;
    border-radius: 0.8em;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    align-items: flex-start;
    justify-content: space-between;
    backdrop-filter: blur(1px);
    color: white !important;
}

.home-event__texte h3 {
    font-family: var(--font-texte);
    font-weight: 800;
    font-size: 2em;
    margin-bottom: 5px;
}

.home-event__texte p {
    font-size: large;
    line-height: normal;
}

.home-event__date {
    font-family: var(--font-title);
}

.home-event__badge {
    padding: 2px 10px;
    font-weight: 600;
    color: white;
    border-radius: 0.5em;
    transform: rotate(359deg);
}

.home-event__badge.later {
    background-color: var(--warning);
}

.home-event__badge.open {
    background-color: var(--secondary);
}

/* Hover card */
.home-event__info.event__open:hover {
    background-color: #1a173f;
    cursor: pointer;
    transform: rotate(1deg);
    transition: 0.3s;
    text-decoration: none!important; 
}

.home-card__event:has(.event__open):hover {
    background-image:none!important;
    transition: 0.3s;
    
}

#tatihougue2024 {
    background-image: url(img/tatihougue.jpg);
}

#nautique2024{
    background-image: url(img/trail_nautique.jpg);
}

/* Footer */

.footer__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 2em 1em 1em;
    text-align: center;
    color: grey;
}

.footer__container a{
    font-weight: 600;
    color: grey;
}

.footer__container a:hover{
    text-underline-offset: 5px;
    text-decoration-line: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: grey;
}



/* EVENT */

.event__hero {
    display: flex;
    align-content: center;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--primary);
    padding: 6em 0;
    height: 100vh;
}

.event__hero-container {
    z-index: 3;
}

.event__hero-title {
    color: white;
    font-size: 5em;
    line-height: 0.9;
}

.event__hero-subtitle {
    font-size: 3em;
    transform: rotate(359.5deg);
    color: var(--success);
    margin-bottom: 0.3em;
}

.event__hero-accroche {
    color: white;
    font-size: x-large;
    font-family: var(--font-text);
    line-height: normal;
}

.event__hero-background {
    background-image: url(img/tatihougue.jpg);
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0.3;
}

.event__container {
    margin: 3rem 0;
}

.event__cart {
    background-color: var(--success);
    padding: 2em;
    border-radius: 0.8em;
    background-image: url(patterns/flower__pattern.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left bottom;
}

#event__menu-section a {
    font-size: large;
    margin: 0.3em 0;
    color:var(--primary);
}

#event__menu-section .active {
    transform: rotate(358deg);
    font-size: large;
    background-color: var(--success);
    color: white;
    padding: 5px 7px;
    font-weight: 700;
    border-radius: 0.6em;
}

.event__sticky{    
    position: sticky;
    top: 6em;
}

#event__menu-section {
    align-items: flex-start;
}

#event__menu-section a:hover {
    font-weight: 700;
    transform: rotate(358deg);
    text-decoration: none;
    color:var(--primary)
}

.event__list p {
    font-size: 19px;
}

.event__list__item {
    margin-bottom: 5em;
}

.card__event h4,.card__event h6 {
    background-color: #0b143e;
    display: table;
    color: white;
    margin-bottom: 5px;
}

.event__info-text {
    transform: rotate(359deg);
}

.card__event p {
    color: white;
    font-size: large;
}

/* ACCORDION */

#accordionPanelsFaq a {
    font-family: var(--font-text);
    text-align: left;
    font-size: 22px;
    font-weight: 700;
    background: none;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin: 0.5em 0;
}

#accordionPanelsFaq .accordion-header{
    border-bottom: 1px solid #d1d1d1;
}

.accordion-icon svg {
    color: white;
    background-color: var(--primary);
    border-radius: 2em;
    padding: 4px;
}

.accordion-item {
    margin-bottom: 1em;
}

.accordion-button.collapsed .accordion-icon {
    transform:rotate(-180deg);
    -ms-transform:rotate(-180deg);
    -webkit-transform:rotate(-180deg);
}


.accordion-button .accordion-icon {
    -webkit-transition: -webkit-transform .4s ease-in-out;
    -ms-transition: -ms-transform .4s ease-in-out;
    transition: transform .4s ease-in-out;
}

.accordion-body {
    font-size: 19px;;
    padding: 1em 0;
}
#accordionPanelsFaq ul {
    padding: 0;
}

#accordionPanelsFaq li {
    list-style: none;
    margin-bottom: 1em;
    line-height: 1.2;
}

/* à propos */
.team__container {
    padding: 5em 0;
}

.team__container p {
    font-size: larger;
}

.team__member img {
    width: 13em;
}

.team__member-list {
    margin: 5em 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.team__member {
    width: 18vh;
    height: 35vh;
    background-position: center;
    background-size: cover;
    margin: 10px 5px;
    border-radius: 0.5em;
}

.team__member-info {
    background-color: #1b19686e;
    display: flex;
    height: 100%;
    color: white;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 0.5em 1em;
    border-radius: 0.5em;
}

.team__member h4 {
    margin: 0;
    color: var(--white);
    padding: 0px 4px;
    transform: rotate(358deg);
}

.team__member-info.success h4 {
    background-color: var(--success);
}

.team__member-info.warning h4 {
    background-color: var(--warning);
}

.team__member-info.primary h4 {
    background-color: var(--primary);
}

.team__member-info.danger h4 {
    background-color: var(--danger);
}

.team__member p {
    font-size: medium;
}

.team__like {
    padding: 2em;
    text-align: center;
    background-color: white;
    border-radius: 1em;
}

.team__like li {
    font-size: larger;
    line-height: 1.2;
    margin-bottom: 1.5em;
}

.team__like h3 {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 0px 5px;
}

.team__like ul {
    list-style: none;
    padding: 0;
}

.team__background__dso {
    background-image: url(patterns/flower__pattern.svg);
    background-color: var(--success);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 !important;
    padding: 5em 0;
}

.team__img__allcol {
    width: 100%;
    border-radius: 0.8em;
    filter: opacity(0.7);
}

.rotate-right{
    transform: rotate(358deg);
}

.rotate-left{
    transform: rotate(2deg);
}

.gallery__img {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 8vw);
    grid-gap: 20px;
}

.gallery__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.8em;
}

.gallery__img img:first-child {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 4;
}
