/* Styles personnalisés */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8420e8;
    --secondary-color: #681bf8;
    --font-color: white;
    --font-text: #cccccc;
    --background-color: rgb(4, 4, 4);
    --background2: rgb(8, 8, 8);
}

body {
    font-family: 'Questrial', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--font-color);
    background-color: var(--background-color);
}

header {
    padding: 20px 0;
}

p {
    color: var(--font-text);
}

h2 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 48px;
    margin-bottom: 30px;
}

h3 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 36px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    width: 45%;
    line-height: 60px;
    font-weight: bolder;
}

.hero p {
    width: 40%;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
}

.hero-image div img {
    width: 300px;
    border-radius: 10px;
    margin: 5px;
    height: 400px;
    object-fit: cover;
}

/* Bouton personnalisé */
button,
.btn {
    transition: all 0.1s ease !important;
    cursor: pointer;
    background: var(--secondary-color);
    color: var(--font-color);
    padding: 15px 25px;
}

button:hover,
.btn:hover {
    transform: scale(1.025) !important;
    background: var(--primary-color);
    color: var(--font-color);
    padding: 20px 35px;
}

#about .container .row div div {
    background: var(--background2);
    padding: 20px;
    border-radius: 30px;
    margin: 50px auto;
}



.candyAI-img {
    height: 550px;
    overflow: hidden;
}

.candyAI-img img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.content-tools {
    width: 80%;
    margin: 50px auto;
}

.image-container {
    text-align: center;
    margin-bottom: 40px;
}

.image-container img {
    width: 65%;
}

.grid-avantage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    width: 85%;
    margin: 0 auto;
}

.grid-avantage div {
    border: 2px dashed var(--font-text);
    padding: 20px;
    border-radius: 10px;
}

ul {
    list-style-type: none;
    padding: 0;
}

.top-tools .container>div {
    margin: 60px 0;
}

footer {
    background: var(--background2);
    padding: 40px 0;
    margin-top: 60px;
    text-align: center;
}

.navbar-toggler {
    background: var(--primary-color);
}

.navbar-toggler:hover {
    padding: 5px;
}

.navbar-brand {
    font-size: 35px;
    font-weight: bolder;
}