@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap');

@font-face {
	font-family: 'MonotypeCorsiva';
	src: url('Monotype-Corsiva-Regular.ttf') format('truetype')
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --black : #2f2f2f;
    --white : #ffffff;
    --red : #f83038;
}

.alert {
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert p {
    margin: 0;
    padding: 0;
}

.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.alert-info {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.main {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(#1c1c1c, #323232);
    padding: 5px 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.main::before {
    /* content: 'Animation'; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16vw;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
}

header {
    /* position: absolute; */
    top: 0;
    left: 0;
    width: 100%;
    padding: 0px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* max-width: 140px; */
    text-decoration: none;
    font-family: 'MonotypeCorsiva', 'Monotype Corsiva';
    color: var(--white);
    font-size: xxx-large;
}

.navigation {
    display: flex;
}

.navigation li {
    list-style: none;
}

.navigation li a {
    position: relative;
    color: var(--white);
    margin-left: 40px;
    text-decoration: none;
    transition: 0.25s;
}

.navigation li a:hover, .footer .copyright a:hover  {
    color: var(--red);
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-top: 30px;
}

.content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 5px;
    z-index: 1;
}

.content h2 {
    font-size: 5em;
    font-weight: 300;
    color: var(--white);
    text-align: center;
}

.content h2 span {
    font-weight: 700;
}

.btn {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: 15px 30px;
    margin-top: 20px;
    border-radius: 50px;
    font-size: 1.25em;
    transition: 0.25s;
}

.btn:hover {
    letter-spacing: 4px;
}

.accueil {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.img_accueil {
    position: relative;
    max-width: 80%;
    border: 5px solid #000;
    box-shadow: 0 0 15px 5px rgba(0, 0, 0, 0.8);
}

.mess_accueil {
    margin-top: 15px;
    background-color: #1c1c1c;
    padding: 20px;
    color: white;
    line-height: 1.5;
    font-weight: 400;
    border: 2px dashed black;
    border-top-right-radius: 50px;
    border-bottom-left-radius: 50px;
    font-size: larger;
    text-align: justify;
}

.footer {
    /* position: absolute; */
    bottom: 0;
    width: 100%;
    padding: 30px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    color: var(--white);
}

.sci {
    display: flex;
}

.sci li {
    list-style: none;
}

.sci li a {
    color: var(--white);
    font-size: 2em;
    /* margin-right: 20px; */
    transition: 0.25s;
}

.sci li a:hover {
    color: var(--red);
}

.footer .copyright a {
    color: var(--white);
    text-decoration: none;
}

.mentionslegales .container_mentionslegales {
    background-color: lightgrey;
    opacity: 0.8;
    color: var(--black);
    padding: 10px;
}

.mentionslegales .container_mentionslegales h3 {
    text-align: center;
    margin: 10px 0;
}

/* Day / Night */
.group {
    display: flex;
    justify-content: center;
    align-items: center;
}

/***** Prestations *****/
#scrollToTopButton {
    display: block;
    z-index: 99;
    transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
    opacity: 0;
    visibility: hidden;
    position: fixed;
    bottom: 20px;
    right: 30px;
    border: none;
    border-radius: 4px;
    outline: none;
    width: 50px;
    height: 50px;
    padding: 8px;
    font-size: xx-large;
}
    #scrollToTopButton i {
    color: white;
}
#scrollToTopButton:hover,
#scrollToTopButton:focus,
#scrollToTopButton:focus-within {
    cursor: pointer;
    background-color: #0078b4;
}

.prestation .content {
    color: #fff;
}

.prestation .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.prestation .container .box {
    position: relative;
    width: 350px;
    padding: 40px;
    background: rgba(24, 25, 26, 0.6);
    border-radius: 20px;
    box-sizing: border-box;
    margin: 20px;
    text-align: center;
    overflow: hidden;
}

.prestation .container .box .icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 50%;
    font-size: 48px;
    font-weight: 700;
    transition: 0.5s;
}

.prestation .container .box:nth-child(1) .icon {
    box-shadow: 0 0 0 0 #9dce52;
    background: #9dce52;
}

.prestation .container .box:nth-child(1):hover .icon {
    box-shadow: 0 0 0 400px #9dce52;
}

.prestation .container .box:nth-child(2) .icon {
    box-shadow: 0 0 0 0 #f45c51;
    background: #f45c51;
}

.prestation .container .box:nth-child(2):hover .icon {
    box-shadow: 0 0 0 400px #f45c51;
}

.prestation .container .box:nth-child(3) .icon {
    box-shadow: 0 0 0 0 #00aa98;
    background: #00aa98;
}

.prestation .container .box:nth-child(3):hover .icon {
    box-shadow: 0 0 0 400px #00aa98;
}

.prestation .container .box .content {
    position: relative;
    z-index: 800;
    transition: 0.5s;
    color: #fff;
}

.prestation .container .box .content h3 {
    font-size: 22px;
    letter-spacing: 1px;
    margin: 10px 0 0;
    font-weight: 600;
}

.prestation .container .box .content a {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(0,0,0,0.2);
    border-radius: 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 300;
    margin-top: 20px;
    transition: 0.5s;
}

.prestation .container .box .content a:hover {
    background: rgba(0,0,0,0.5);
}

.prestation article {
    background: rgba(0,0,0,0.2);
    margin: 15px 0;
    padding: 15px 40px;
    color: var(--white);
    border-radius: 40px;
}

.prestation article h3 {
    margin-bottom: 10px;
    padding: 5px 5px 5px 20px;
    border-radius: 10px;
}

.prestation article#soiree h3 {
    background: #9dce52;
}

.prestation article#sonorisation h3 {
    background: #f45c51;
}

.prestation article#lumiere h3 {
    background: #00aa98;
}

.prestation article .description {
    display: flex;
    justify-content: space-between;
}

.prestation article .description p {
    font-size: large;
}

.prestation article .description img {
    float: right;
    max-width: 300px;
    margin-left: 10px;
}

/***** Photos *****/
.photos {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.photos .content p {
    color: var(--white);
    margin-bottom: 10px;
}

.card-carousel {
    --card-width: 90%;
    --card-max-width: 400px;
    --card-height: 500px;
    --carousel-min-width: 300px;
    z-index: 1;
    position: relative;
    margin: 0 auto;
    width: 100%;
    height: var(--card-height);
    min-width: var(--carousel-min-width);
    transition: filter .3s ease;
}

.card-carousel.smooth-return {
    transition: all .2s ease;
}
  
.card-carousel .card {
    background: whitesmoke;
    width: var(--card-width);
    max-width: var(--card-max-width);
    text-align: center;
    padding: .75em;
    min-width: 250px;
    height: var(--card-height);
    position: absolute;
    margin: 0 auto;
    color: rgba(0,0,0,.8);
    transition: inherit;
    -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    border-radius: 1em;
    filter: brightness(.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
  
.card.highlight {
    filter: brightness(1)
}

.image-container {
    width: 22em;
    height: 22em;
    position: relative;
    background-size: cover;
    margin-bottom: 1em;
    border-radius: 100%;
    padding: .75em;
    -webkit-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
    box-shadow: inset 0px 0px 17px 0px rgba(0,0,0,0.3);
}
  
.image-container::after {
    content: "";
    display: block;
    width: 120%;
    height: 120%;
    border: solid 3px rgba(0,0,0,.1);
    border-radius: 100%;
    position: absolute;
    top: calc(-10% - 3px);
    left: calc(-10% - 3px);
}



.photos .card h3 {
    margin-bottom: 5px;
}

.photos .card p {
    font-size: large;
}

/***** Contact *****/
.contact {
    position: relative;
    padding: 0px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact .content {
    text-align: center;
}

.contact .content p {
    color: #fff; 
}

.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;
    cursor: pointer;
}

.container .contactInfo .box .icon {
    position: relative;
    min-width: 60px;
    height: 60px;
    background: repeating-conic-gradient(from 27.5deg, #01dbc2 0%, #01dbc2 10%, transparent 10%, transparent 50%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.container .contactInfo .box .icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from 117.5deg, #01dbc2 0%, #01dbc2 10%, transparent 10%, transparent 50%);
}

.container .contactInfo .box .icon::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #222;
}

.container .contactInfo .box .icon b {
    position: absolute;
    inset: 8px;
    background: #01dbc2;
    z-index: 2;
}
.container .contactInfo .box .icon ion-icon {
    position: relative;
    z-index: 1000;
    color: #333;
    font-size: 1.25em;
}

.container .contactInfo .box .text {
    position: relative;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    font-size: 1.1em;
    color: #fff;
    font-weight: 300;
}

.container .contactInfo .box .text h3 {
    font-weight: 500;
    color: #01dbc2;
}

.container .contactInfo .txt {
    color: #fff;
    margin-top: 50px;
    font-weight: 500;
    border-left: 50px solid #01dbc2;
    padding-left: 10px;
    line-height: 1em;
}

.container .contactForm {
    position: relative;
    width: 49%;
    background: repeating-conic-gradient(from var(--a), #01dbc2 0%, #01dbc2 10%, transparent 10%, transparent 50%);
    animation: animate 6s linear infinite;
    padding: 60px;
}

.container .contactForm::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-conic-gradient(from var(--a), #01dbc2 0%, #01dbc2 10%, transparent 10%, transparent 50%);
    animation: animate 6s linear infinite;
    animation-delay: -1.5s;
}

.container .contactForm::after {
    content: '';
    position: absolute;
    inset: 2px;
    border: 20px solid #222;
    background: #333;
}

.container .contactForm p {
    color: var(--white);
}

@property --a {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}

@keyframes animate {
    0% {
        --a: 0deg;
    }
    100% {
        --a: 360deg;
    }
}

.container .contactForm form {
    position: relative;
    z-index: 10;
}

.container .contactForm form h2 {
    font-size: 2em;
    color: #fff;
    font-weight: 500;
}

.container .contactForm form .inputBox {
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.container .contactForm form .inputBox input,
.container .contactForm form .inputBox textarea {
    width: 100% !important;
    padding: 5px 0;
    font-size: 1.1em;
    margin: 10px 0;
    border: none;
    background: transparent;
    border-bottom: 2px solid #01dbc2;
    color: #fff;
    outline: none;
    resize: none;
}

.container .contactForm form .inputBox span {
    position: absolute;
    left: 0;
    pointer-events: none;
    padding: 5px 0;
    margin: 10px 0;
    font-size: 1.1em;
    color: #fff;
    transition: 0.5s;
}

.container .contactForm form .inputBox input:focus ~ span,
.container .contactForm form .inputBox textarea:focus ~ span,
.container .contactForm form .inputBox input:valid ~ span,
.container .contactForm form .inputBox textarea:valid ~ span {
    color: #01dbc2;
    font-size: 0.9em;
    transform: translateY(-24px);
}

.container .contactForm form .inputBox input[type="submit"] {
    width: 100%;
    background: #01dbc2;
    color: #222;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 1.1em;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 991px){
    .main {
        padding: 10px;
        min-width: 310px;
    }

    header {
        padding: 20px 15px;
        position: absolute;
    }

    .img_accueil {
        max-width: 100%;
        margin-top: 25px;
    }

    .accueil_section {
        margin-top: 60px;
    }

    .footer {
        margin-top: 10px;
        padding: 0 40px;
    }

    .sci {
        margin-top: 10px;
    }

    .content h2 {
        font-size: 2.8em;
    }

    .toggle {
        position: relative;
        width: 32px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1000;
    }

    .toggle.active {
        position: fixed;
        top: 30px;
        right: 40px;
    }

    .toggle::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--white);
        transform: translateY(-10px);
        transition: 0.25s;
        box-shadow: 0 10px 0 var(--white);
    }

    .toggle.active::before {
        transform: translateY(0) rotate(45deg);
        box-shadow: 0 0 0 var(--white);
    }

    .toggle::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--white);
        transform: translateY(10px);
        transition: 0.25s;
    }

    .toggle.active::after {
        transform: translateY(0) rotate(-45deg);
    }

    .navigation {
        display: none;
    }

    .navigation.active {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        z-index: 999;
        background: var(--black);
    }

    .navigation li a {
        font-size: 1.5em;
        margin: 10px 0;
        display: inline-block;
    }
    
    .group {
        flex-direction: row-reverse;
    }

    .group .dayNight {
        margin-right: 10px;
    }

    /***** Prestations *****/
    .prestation {
        margin-top: 60px;
    }

    .prestation .container .box {
        padding: 20px 10px;
        margin: 0px;
    }

    .prestation .container .box .icon {
        height: 90px;
        width: 90px;
    }

    .prestation article {
        margin: 5px 0;
        padding: 10px 20px;
    }
    
    .prestation article h3 {
        margin-bottom: 5px;
        padding: 5px 5px 5px 20px;
    }

    .prestation article .description {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .prestation article .description img {
        height: auto;
        margin: 10px 0;
    }

    /***** Photos *****/
    .photos {
        margin-top: 40px;
    }

    /***** Contact ****/
    .contact {
        padding: 25px 10px;
        margin-bottom: 10px;
        margin-top: 25px;
    }

    .container {
        flex-direction: column;
        gap: 10px;
    }

    .container .contactInfo, 
    .container .contactForm {
        width: 100%;
    }

    .container .contactForm {
        padding: 40px;
    }

    .container .contactForm form {
        padding: 10px;
    }
}

@media (max-width: 440px) {
    .image-container {
        width: 15em;
        height: 15em;
    }
}