body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden !important;
}

h1 {
    color: var(--main-color);
}

p span {
    color: var(--main-color);
}

.content ul li a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    /* Nécessaire pour transform */
    transition: transform 0.3s ease-in-out;
    /* Transition fluide pour le zoom */
}

.content ul li a:hover {
    transform: scale(1.05);
    /* Zoom au survol */
}

.content ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--background085);
    transition: width 0.3s ease-in-out;
    bottom: 0;
    left: 0;
}

a:hover::after {
    width: 100% !important;
    /* S'étend sous le texte */
}

.content {
    margin-top: 12vh;
    width: 90%;
    padding-inline: 60px;
    padding-top: 20px !important;
    padding-bottom: 50px;
    background: var(--backgroundW085);
    border-radius: 20px;
    box-shadow: 0 0 30px var(--background04);
    transition: transform 0.6s ease, box-shadow 0.6s ease;
    position: relative;
    backdrop-filter: blur(8px);
    overflow-y: hidden !important
}

.content .content:hover {
    transform: translateY(-20px);
    box-shadow: 0 0 60px var(--background07), inset 0 0 20px var(--background02);
}

.telephonie,
.internet {
    padding-top: 20px;
}

.naviguation-menu ul {
    flex-direction: row !important;
    gap: 5px !important;
    border: none !important;

    li {
        border: none !important;
        padding: 5px;
        width: auto !important;
    }

    svg {
        color: var(--main-color) !important;
    }
}

.content ul {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-block: 20px;
    align-items: center;
}

.content li {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    list-style-type: none;
    transition: all 0.5s ease-in-out;
    position: relative;
    border: 1px solid var(--background02);
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    padding: 25px;
    width: 100%;
}

.content svg {
    transform: rotate(-90deg) !important;
}

.content li p {
    transition: 0.3s ease-in-out;
}

.content li:hover p {
    color: var(--text-color);
}

.image-placeholder {
    position: relative;
    width: 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 20px var(--background04);
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.li-main-content {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: space-between;
    align-items: start;
    text-align: justify;
}

.li-main-content p {
    flex: 1;
}

.li-main-content .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

ul .right .li-main-content {
    flex-direction: row;
    justify-content: space-between;
}

ul .left {
    a {
        margin-right: auto;
    }
}

ul .right {
    display: flex;
    flex-direction: column;

    a {
        margin-left: auto;
    }
}

.contact-content {
    display: flex;
    flex-direction: row;
    border-radius: 12px;
    box-shadow: 0 0 30px var(--background04);
    padding: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-content a {
    position: relative;
    width: 250px;
    text-align: center;
    border-radius: 20px;
    background-color: transparent;
    border: 2px solid var(--important-text-color);
    padding: 10px;
    transition: all 0.2s ease-in-out;
}

@keyframes neon-flicker {

    0%,
    100% {
        text-shadow: 0 0 12px var(--background08), 0 0 24px var(--background05);
    }

    50% {
        text-shadow: 0 0 18px var(--background), 0 0 36px var(--background07);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.25;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 0.25;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
    }

    to {
        width: 70px;
    }
}

@media (max-width: 768px) {
    .content {
        margin: 20px;
        margin-top: 12vh !important;
        padding: 30px;
        overflow-x: hidden !important;
    }

    .content .content {
        padding: 40px;
    }

    .content ul,
    .content ul {
        flex-wrap: wrap;
    }

    .content li {
        width: 100%;
        padding: 20px;
    }

    .image-placeholder {
        max-width: 300px;
        height: 200px;
        padding: 15px auto;
        width: 100%;
    }

    .li-main-content {
        flex-direction: column;
        align-items: center;
        padding-bottom: 10px;
    }

    .left,
    .right {
        a {
            margin: 0 !important;
            text-align: center;
        }
    }

    .right .li-main-content {
        flex-direction: column !important;
        align-items: center;
    }
}