body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
a {
    margin: 0 !important;
}
/* Loading screen */

#LoadingScreenBody{
    overflow-y: hidden;
  }
.LoadingScreen{
    background-color: black;
    background-image:url("../content/ANIMATION-LOGO-JOSHUA-GUYOT.gif");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 25%;
    width: 100%;
    height: 100%;
    visibility: visible; 
    opacity: 1;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.EndLoading{
    visibility: hidden;
    transition: visibility 1s,opacity 0.5s linear;
    opacity: 0;
}

/* Screen 1 */
#screen1 {
    min-height: 100vh;
    background-image:url("../content/background_index.gif");
    position: relative;
    padding-bottom: 5em;
}

.MenuItemText {
    font-family: 'Antonio';
    font-style: normal;
    font-weight: 400;
    font-size: 36px;
    line-height: 47px;
    color: white !important; 
    margin: 1em;
}

.bounce2 {
    animation: bounce2 2s ease infinite;
}
@keyframes bounce2 {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-30px);}
    60% {transform: translateY(-15px);}
}
  
/* Content of the first screen */

#sousscreen1 {
    color: white;
    margin-top: 3rem;
}
#creativeText {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-size:  3em;
    margin-bottom: 1rem;
}
#underscrenn1 {
    font-family: 'Inter';
    font-style: normal;
    font-size:  1.2rem;
    margin-bottom: 5rem;
}

#name {
    margin-top: 1rem;
    font-family: 'Antonio';
    font-style: normal;
    font-size:  2em;
    line-height: 62px;
    letter-spacing: 0.1em;
    color: #FF0000;
}

#souscreen1img {
    border-radius: 20px;
}

.navbar {
    animation: fadeIn 2s;
}
@keyframes fadeIn {
    0% {
        top: -100%;
    }
    100% {
        top: 0;
    }
}

#go_down {
    width: 4rem;
}

#arrow_down {
    justify-content: center;
}


/*Key number*/
#keynumbers {
    font-family: "Inter";
     background-color: white;
}

.bubble {
    background-color: rgb(236, 236, 236);
    padding: 20px;
    text-align: center;
    width: 220px;
    height: 220px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    margin-bottom: 1em
}

.bubble h3 {
    font-size: 90px;
    font-weight: bold;
    margin-top: 0;
}

.bubble p {
    font-size: 18px;
    color: #666;
}

/* Slider */
.webdevTitle {
    font-family: 'Actor';
    font-style: normal;
    font-weight: 200;
    font-size: 1.5rem;
}
.webdevTitle strong {
    font-family: 'Amaranth';
    font-style: normal;
    font-weight: 900;
    font-size: 4rem;
}

.webdevText {
    font-family: 'Actor';
    font-style: normal;
    font-weight: 900;
    font-size: 1.90rem;
    max-width: 100%;
}

.right-arrow {
    animation: bounce 2s ease infinite;
    max-width: 5vh;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
    40% {transform: translateX(-30px);}
    60% {transform: translateX(-15px);}
}

.scrolling-wrapper{
	overflow-x: auto;
    height: 100%;
}

.puce {
    font-family: 'Actor';
    background-color: #FF0000;
    border-radius: 100%;
    height: 3rem;
    width: 3rem;
    color: white;
}

.reveal{
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: 1s all ease;
}

.reveal.active{
    transform: translateY(0);
    opacity: 1;
}

/* screen 3 */
#screen3Title {    
    font-size: 3rem;
    padding-bottom: 2rem;
}
@media (max-width: 992px) {
    #screen3Title {
        font-size: 2.2rem;
    }
}


.container{
    transform-style: preserve-3d;
}

.container .box{
    position: relative;
    width: 300px;
    height: 30em;
    margin: 20px;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
}

.container .box .body{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: 0.9s ease;
}


.container .box .body .imgContainer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.container .box .body .imgContainer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: white;
    border-radius: 25px;
    z-index: -1; /* Pour qu'il apparaisse derrière l'image */
}

.container .box .body .imgContainer img{
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:contain;
    border-radius: 25px;
    top:-10%;
}

.container .box .body .content{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #161616;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transform: rotateY(180deg);
    border-radius: 22px;
}

.container .box:hover .body{
    transform: rotateY(180deg);
}

.container .box .body .content div{
    transform-style: preserve-3d;
    padding: 20px;
    background: #161616;
    transform: translateZ(1px);
    color:white;
}

.container .box .body .content div h3{
    letter-spacing: 1px;
}

.imageTextScreen3 {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 70%;
}

.flip-card-back {
    font-family: 'Arial';
    text-align: center;
    display: none;
}

.flip-card-back h3 {
    font-family: "Antonio";
}

.carousel-indicators button{
    background-color: black !important;
}

.service-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.service-card img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.service-card h3 {
    font-weight: 500;
    margin-bottom: 10px;
}

.service-card p {
    font-family: "Arial";
    font-size: 16px;
    color: #666;
}

#services h2 {
    font-size: 3rem;
    padding-bottom: 2rem;
}

/* Animation */
.service-card {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s, transform 0.5s;
}

#services {
    position: relative;
}

#services.scrolled {
.service-card {
    opacity: 1;
    transform: translateY(0);
}
.service-card:nth-child(1) {
    transition-delay: 0.3s;
}
.service-card:nth-child(2) {
    transition-delay: 0.5s;
}
.service-card:nth-child(3) {
    transition-delay: 0.7s;
}
.service-card:nth-child(4) {
    transition-delay: 0.9s;
}
.service-card:nth-child(5) {
    transition-delay: 1.1s;
}
}