@import url('https://fonts.googleapis.com/css2?family=Sofia&family=Tuffy:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Tuffy", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: #333;
}


body { 
    min-height: 100vh;
    display: flex
;
    flex-direction: column;
}

h1, h2 {
    font-family: "Sofia", cursive;
    font-weight: 600;
    font-style: normal;
}

h2 {
    font-weight: 400;
}

header {
    box-shadow: 0px 2px 11px 1px rgba(58,113,84,0.75);
    -webkit-box-shadow: 0px 2px 11px 1px rgba(58,113,84,0.75);
    -moz-box-shadow: 0px 2px 11px 1px rgba(58,113,84,0.75);
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #DAF7DC;
}

header nav img,
footer img  {
    width: 50px;
    height: auto;
}

footer img {
    width: 100px;
}


.main-nav-title {
    margin-top: 0;
    font-weight: 600;
}

.main-nav-subtitle {
    font-weight: 400;
}

ul.menu {
    display: flex;
    flex-direction: column;
}

ul.menu li {
    list-style: none;
    transition: all 0.5s ease-in-out;
}

ul.menu a:hover {
    text-decoration: underline;
}

@media (min-width: 900px) {
    ul.menu {
        flex-direction: row;
        gap: 1.5rem;
    }
}

main {
    width: 80%;
    margin: auto;
}

.button-container {
    display: flex;
}

.presentation {
    h1 {
        margin: 1rem 0;
        color: #9558d0;
        font-size: 1.1rem;
    }

    h2 {
        margin-bottom: 0.5rem;
        color: #9558d0;
        font-size: 1.1rem;
    }
}

.programme {
    h2 {
        margin: 1.5rem 0 0.5rem 0;
        color: #9558d0;
        font-size: 1.1rem;
    }

    ul {
        list-style: none;
    }

    li {
        margin-bottom: 0.5rem;

        span {
            font-weight: 600;
        }
    }
}

figcaption {
    font-size: 0.8rem;
}

.card {
    margin: 1rem auto;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    perspective: 1000px;
    cursor: pointer;
    width: 150px;
    height: 60px;
    text-align: center;

    .card-inner {
        position: relative;
        width: 100%;
        height: 100%;
        transition: transform 1s;
        transform-style: preserve-3d;
    }

    &:hover .card-inner {
        transform: rotateY(180deg);
    }
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
}

.card-front {
    background-color: #cdfc8f;
    color: #9558d0;
}

.card-back {
    background-color: #9558d0;
    color: #cdfc8f;
    transform: rotateY(180deg);

    a {
        color: #cdfc8f;
    }
}

.second-button .card-front {
    background-color: #9558d0;
    color: #cdfc8f;
}

.second-button .card-back {
    background-color: #cdfc8f;
    color: #9558d0;;
}

.second-button .card-back a {
    color: #9558d0;;
}

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background: #7E48B1;
    background: linear-gradient(90deg, rgba(126, 72, 177, 1) 42%, rgba(149, 88, 208, 1) 66%, rgba(176, 163, 212, 1) 100%);
    box-shadow: 0px -2px 11px 1px rgba(104,53,136,0.75);
    -webkit-box-shadow: 0px -2px 11px 1px rgba(104,53,136,0.75);
    -moz-box-shadow: 0px -2px 11px 1px rgba(104,53,136,0.75);

    img {
        padding: 0.5rem;
        background-color: #DAF7DC;
        border-radius: 50%;
    }
}

.footer-contact {
    list-style: none;

    p {
        margin-left: 0.5rem;
        font-size: 0.9rem;
        color: #DAF7DC;
    }

    li {
        display: flex;
        align-items: center;
    }

    svg {
        width: 20px;
        height: 20px;
    }
}
.footer-contact-container p {
    color: #DAF7DC;
}

.image_container {
    flex-direction: row;
    margin-top: 16px;

    figure {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }

    img {
        margin: auto;
        padding: 2px;
        width: 80%;
        border-radius: 5px;
    }
} 

strong {
    font-weight: 600;
}

a {
    text-decoration: none;
}

.trigger-warning {
    font-size: 14px;
    margin-top: 2rem;
}

.link-boutique { 
    color: #9558d0;
}
