#gigi {
    animation-name: gigi;
    animation-duration: 9s; 
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}

@keyframes gigi {
    0% {
        transform: translateX(0px);
    }
    
    48%{
        transform: translateX(600px); 
    }

    50%{
        transform:rotateY(180deg) translateX(-600px)
    }
    
    98% {
        transform: translateX(0px) rotateY(180deg)
    }
    
    100% {
        transform: translateX(0px); 
    }
}

article {
    position: relative;
}

article section {
    position: absolute;
    top: 2.44em;
    width: 700px;
    left: -700px; 
    padding: 0 1em 0.5cm 0.5em;
    background-color: blue;
    transition: transform 0.5s; 
}

article section nav {
    width: 110%;
    background-color: blue;
    text-align: right;
    padding: 0.5em;
}

.visible {
    transform: translateX(680px); 
}

header {
    background-color: #000000; 
    color: white;
    padding: 20px 0;
    text-align: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

img {
    width: 500px; 
    height: 500px; 
    border-radius: 50%; 
    object-fit: cover; 
}

img {
    padding: 20px; 
    max-width: 100%; 
    height: auto; 
    margin-top: 60px;
}

h2 {
    color: rgb(255, 255, 255); 
    font-size: 20px; 
    margin-top: 70px; 
    display: block; 
}
