@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
/*Format PC*/
a{
    text-decoration: none;
    color: #1c1c1c;
}
/*Accueil*/
body{
    margin: 0;
    font-family: "Nunito", sans-serif;
}

.accueil{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.accueil img{
    width: 50%;
}

.debut{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.debut h1{
    font-size: 50px;
    font-weight: 700;
    margin: 15px;
}

.debut p{
    font-weight: 500;
    font-size: 15px;
}

.debut button {
    border: solid 1px #1c1c1c;
    background-color: #27384c;
    color: whitesmoke;
    font-size: 20px;
    width: 200px;
    height: 60px;
    border-radius: 10px;
    margin: 25px;
}

.debut button:hover{
    background-color: #1c1c1c;
    cursor: pointer;
    text-decoration-line: underline;
}

.debut button a{
    color: whitesmoke;
    text-decoration: none;
}

.debut ul{
    padding: 0;
    display: flex;
    flex-direction: row;
}

.debut li{
    list-style: none;
    margin: 10px;
    font-weight: 600;
    font-size: 20px;
}

.debut li:hover{
    transform: scale(1.06);
}
 
.debut li a{
    color: #1c1c1c;
    text-decoration: none;
}

.debut li a:hover{
    color: #27384c;
    text-decoration-line: underline;
}

.debut li img{
    width: 50px;
    margin: 5px;
}

/*Menu Hamburger*/

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.menu{
    display: flex;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.hamburger span {
    display: block;
    height: 3px;
    background-color: #1c1c1c;
    border-radius: 3px;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

h3{
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.menu ul{
    display: flex;
    justify-content: flex-end;
    margin-right: 20px;
}

.menu li{
    list-style: none;
    margin: 10px;
    font-weight: 600;
    font-size: 20px;
}

.menu li:hover{
    transform: scale(1.06);
}
 
.menu li a{
    color: #1c1c1c;
    text-decoration: none;
}

.menu li a:hover{
    color: #27384c;
    text-decoration-line: underline;
}

.menu li img{
    width: 30px;
}

/*À Propos*/

.presentattion{
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-content: space-around;
}

.portrait{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.portrait img{
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
}

.portrait h3{
    margin: 0;
}

.description{
    width: 40%;
}

.description h3{
    margin: 0;
}

.description p{
    word-break: break-word;
}

.logiciels ul{
    display: flex;
    justify-content: center;
    flex-direction: row;
    padding: 0;
}

.logiciels li{
    list-style-type: none;
}

.logiciels img{
    margin: 9px;
    width: 30px;
    height: 30px;
    object-fit: cover;
}

/*Entreprise*/

.entreprise {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
}

.plus-button {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    border-radius: 50%;
}

.plus-button:hover{
    background-color: rgba(28, 28, 28, 0.1);
}

.plus-button.active{
    background-color: #27384c
}

.plus-button span {
    position: absolute;
    width: 25px; 
    height: 2px;
    background-color: #1c1c1c;
    border-radius: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.plus-button span:first-child {
    transform: translate(-50%, -50%) rotate(0deg); 
}

.plus-button span:last-child {
    transform: translate(-50%, -50%) rotate(90deg); 
}

.plus-button.active span:first-child {
    transform: translate(-50%, -50%) rotate(45deg); 
    background-color: whitesmoke;
}

.plus-button.active span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: whitesmoke;
}

.hover-text {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.entreprise:hover .hover-text {
    opacity: 1;
}

.plus-button.active + .hover-text {
    display: none;
}

.content {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 20px;
}

/*Retour*/

.button-container {
    display: inline-block;
    width: 1px;
}

.arrow-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(28, 28, 28, 0.3);
    color: white;
    font-size: 18px;
    border: none;
    cursor: pointer;
    transition: width 0.3s ease, border-radius 0.3s ease;
    overflow: hidden;
    position: relative;
}

.arrow-button:hover {
    width: 150px;
    border-radius: 25px;
    background-color: #27384c;
}

.arrow-button .text {
    margin-left: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.arrow-button:hover .text {
    opacity: 1;
}

.arrow {
    position: absolute;
    left: 15px;
}

/*Scroll*/

#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: rgba(28, 28, 28, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

#scrollTopBtn.show {
    display: flex;
}

#scrollTopBtn:hover {
    background-color: #27384c;
}

/*Portfolio*/

.portfolio {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
}

.portfolio-item {
    position: relative;
    margin: 0;
}

.portfolio img {
    margin: 0;
    width: 506px;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: 0.3s ease;
}

.portfolio img:hover {
    filter: sepia(100%) saturate(200%) hue-rotate(160deg) brightness(50%);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(39, 56, 76, 0.8);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 24px;
    opacity: 0;
    transition: 0.3s ease; 
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/*Développement*/

.titre {
    display: flex;
    align-items: center;
    padding: 30px;
}

.titre h1{
    flex-grow: 1;
    text-align: center;
}

.projets{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.developpement{
    width: 480px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.developpement:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.developpement img{
    width: 480px;
    height: 220px;
}

h4{
    text-align: center;
    margin: 10px;
}

.descr{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 20px;
    width: 440px;
}

.descr p{
    word-break: break-word;
}

.developpement ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.developpement li{
    list-style-type: none;
}

.developpement li img{
    width: 40px;
    height: 40px;
    margin: 5px;
}

/*Scénarios*/

.scenario{
    width: 310px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.scenario:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.scenario img{
    width: 310px;
    height: 439px;
    border-bottom: 1px solid #27384c;
}

.scenario ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.scenario li{
    list-style-type: none;
}

.descr_scenario{
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    width: 270px;
    height: 150px;
}

.descr_scenario p{
    word-break: break-word;
}

/*Illustrations*/

/*Affiches*/

.affiche{
    width: 310px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.affiche:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.affiche img{
    width: 310px;
    height: 440px;
}

.affiche ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.affiche li{
    list-style-type: none;
}

.descr_affiche{
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    width: 270px;
}

.descr_affiche p{
    word-break: break-word;
}

.affiche li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

/*Logos*/

.logo{
    width: 480px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.logo:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.logo img{
    width: 480px;
    height: 260px;
}

.logo ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.logo li{
    list-style-type: none;
}

.descr_logo{
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    width: 270px;
}

.descr_logo p{
    word-break: break-word;
}

.logo li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

/*Réseaux*/

.reseaux{
    width: 380px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.reseaux:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.reseaux img{
    width: 380px;
    height: 480px;
}

.reseaux ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.reseaux li{
    list-style-type: none;
}

.reseaux li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

/*Slider*/
.slider {
    position: relative;
    width: 380px;
    height: 480px;
    overflow: hidden;
    border-bottom: 1px solid #27384c;
}

/* Images dans le slider */
.slides {
    display: flex;
    width: calc(380px * 6); /* 6 images */
    transition: transform 0.5s ease-in-out;
}

.slides img {
    width: 380px;
    height: 480px;
    object-fit: cover;
}

/* Boutons navigation */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(28,28,28,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: #27384c;
}

/*Photomontages*/

.photomontage{
    width: 480px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.photomontage:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.photomontage img{
    width: 480px;
    height: 280px;
}

.photomontage ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.photomontage li{
    list-style-type: none;
}

.descr_photomontage{
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    width: 270px;
    height: 150px;
}

.descr_photomontage p{
    word-break: break-word;
}

.photomontage li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

/*Photographie*/

.photo {
    column-count: 3;
    column-gap: 10px;
    padding: 10px;
}

.photo img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 10px;
    break-inside: avoid;
    cursor: pointer;
}

.carousel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.carousel img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.carousel .close,
.carousel .prev,
.carousel .next {
    position: absolute;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
    transition: transform 0.2s ease;
    transform-origin: center;
}

.carousel .close {
    top: 20px;
    right: 40px;
}

.carousel .prev {
    left: 200px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel .next {
    right: 200px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel .slide-in-right {
    transform: translateX(100%);
    opacity: 0;
}

.carousel .slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.carousel .slide-in-left {
    transform: translateX(-100%);
    opacity: 0;
}

.carousel .slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.carousel .prev:hover,
.carousel .next:hover {
    transform: scale(1.2) translateY(-50%);
}

.carousel .close:hover{
    transform: scale(1.2);
}

/*Vidéos*/

.video{
    width: 480px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.video video{
    width: 480px;
}

.video ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.video li{
    list-style-type: none;
}

.video li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

.videoportrait{
    width: 240px;
    margin: 25px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

.videoportrait video{
    width: 240px;
}

.videoportrait ul{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.videoportrait li{
    list-style-type: none;
}

.videoportrait li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

.descr_portrait{
    display: flex;
    align-items: flex-start;
    margin-left: 20px;
    width: 200px;
    height: 120px;
}

.descr_portrait p{
    word-break: break-word;
}

/*Audios*/

.son{ 
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px;
    padding-top: 0px;
}

.descr_son{
    display: flex;
    align-items: center;
    width: 290px;
}

/*3D*/

.troisd{
    width: 340px;
    margin: 10px;
    border: 1px solid #27384c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    cursor: pointer;
}

.troisd:hover{
    transform: scale(1.02);
    transition: 1s ease;
    box-shadow: 0px 4px 6px rgba(28, 28, 28, 0.5);
}

.troisd img{
    width: 340px;
    height: 320px;
}

.descr_troisd{
    display: flex;
    align-items: center;
    margin-left: 20px;
    width: 300px;
}

.descr_troisd p{
    word-break: break-word;
}

.troisd ul{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.troisd li{
    list-style-type: none;
}

.troisd li img{
    width: 40px;
    height: 40px;
    margin: 10px;
}

/*Format téléphone*/
@media (max-width: 768px) {

/*Accueil*/

.accueil{
    display: flex;
    flex-direction: column;
    text-align: center;
}    

.accueil p{
    width: 150%;
}

.accueil img{
    width: 100%;
}

.acceuil{
    width: 100%;
}

.debut li img{
    margin: 0px;
}

/*Menu Hamburger*/

.menu {
    visibility: hidden; 
    flex-direction: column;
    position: absolute;
    right: 0px;
    top: 120px;
    background-color: rgba(255, 255, 255, 0.8);
    width: 360px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s; 
}

.menu.active {
    visibility: visible; 
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s; 
}

.menu ul {
    flex-direction: column;
    text-align: center;
}

.menu li {
    margin: 10px;
    text-align: center;
}

.hamburger {
    display: flex;
}

/*À Propos*/

.presentattion{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description{
    padding-top: 30px;
    width: 90%;
}

.logiciels ul{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

/*Portfolio*/

.portfolio img {
    margin: 0;
    width: 360px;
    height: 350px;
    object-fit: cover;
}

/*Développement*/

.developpement{
    width: 340px;
}

.developpement img{
    width: 340px;
    height: 160px;
}

.descr{
    width: 300px;
}

/*Photographie*/

.photo {
    column-count: 1;
}

.carousel .prev {
    left: 20px;
}

.carousel .next {
    right: 20px;
}

/*Vidéo*/

.video{
    width: 340px;
}

.video video{
    width: 340px;
}

}