@import url('https://fonts.googleapis.com/css2?family=Aclonica&family=Alata&family=Albert+Sans:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
}

body{
    background-color: rgb(41,41,41);
    /*background-color: #010023;*/
    font-family: "Albert Sans", sans-serif;
    color: black;
}

.intro {
    text-align: center;
}

.intro h1 {
    font-family: Aclonica, sans-serif;
    color: #ffb1ce;
    font-size: 40px;
}

.intro p {
    font-family: Alata, sans-serif;
    color: rgb(41,41,41);
    margin-top: -8px;
}

h2{
    font-family: Alata, sans-serif;
}

.main-section{
    position: relative;
    background-color: white;
    box-shadow: 0 0 10px rgb(0, 0, 0);
    margin: 6em 2em 2em 2em;
    border-radius: 2em;
    padding: 3em;
}

.main-section a{
    position: absolute;
    top:0;
    left: 0;
    margin: 1.5em;
    color: #606060;
    font-family: "Albert Sans", sans-serif;
    font-size: 15px;
    transition: 2ms ease-in-out;
}

.main-section a:hover{
    color: #ffb1ce;
}

.main-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    align-items: stretch;
    margin-top: 2em;
}

.main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.main-image .swiper {
    width: 600px;
    height: 500px;
    border-radius: 10px;
}

.main-image .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-image .swiper-button-next, .main-image .swiper-button-prev{
    color: rgba(41, 41, 41, 0.73);
}

.main-image .swiper-pagination{
    font-family: Alata, sans-serif;
    font-size: 12px;
    color: rgba(68, 68, 68, 0.85);
}

/*.main-image img {*/
/*    max-width: 100%;*/
/*    height: 100%;*/
/*    object-fit: cover;*/
/*    border-radius: 10px;*/
/*}*/

.main-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-text h2 {
    font-family: Alata, sans-serif;
    font-size: 1.8em;
    margin-bottom: 0.5em;
    color: rgb(41, 41, 41);
}

.main-text p {
    font-size: 1em;
    line-height: 1.6em;
    color: rgb(41, 41, 41);
}

.main-logiciel {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    margin-top: 2em;
}

.main-logiciel span {
    background-color: #f2f2f2;
    padding: 0.5em 1em;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fb85a8;
    font-weight: bold;
}

.lightbox {
    display: flex; /* AU LIEU DE none */
    visibility: hidden; /* on cache avec visibility au lieu de display */
    opacity: 0;
    transition: opacity 0.3s ease;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    visibility: visible;
    opacity: 1;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
}

.lightbox .swiper {
    width: 800px;
    height: 700px;
    border-radius: 10px;
}

.lightbox .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lightbox .swiper-button-next, .lightbox .swiper-button-prev{
    color: rgba(41, 41, 41, 0.73);
}

.lightbox .swiper-pagination{
    font-family: Alata, sans-serif;
    font-size: 12px;
    color: rgba(68, 68, 68, 0.85);
}


