body {
    position: relative;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}



.background {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    z-index: 1;

}

.styled-border {
    width: 97.5%;
    height: 95%;
    position: absolute;
    border: 3px solid white;
    z-index: 4;
    background: rgba(19, 0, 134, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.icon {
    position: absolute;
    width: 35px;
    height: auto;
}

.top-left {
    top: 25px;
    left: 20px;
    transform: translate(-50%, -50%);
}

.bottom-right {
    bottom: 25px;
    right: 20px;
    transform: translate(50%, 50%);
}

.border-up {
    width: 94%;
    height: 98%;
    position: absolute;
    border: 3px solid white;
    z-index: 2;
}

.border-down {
    width: 99%;
    height: 90%;
    position: absolute;
    border: 3px solid white;
    z-index: 3;
}

.curved-rectangle {
    width: 97.5%;
    height: 95%;
    position: absolute;
    background-color: #f6b684;
    border: 3px solid white;
    border-radius: 150px 0 150px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    z-index: 5; 
}

.frontpage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 150px 0 150px 0;
    filter: blur(5px);
}

/* SCIFI CIRCLE */

.sci-fi-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #333 0%, rgba(236, 6, 217, 0.3) 70%);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 255, 255, 0.3), inset 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 40px rgba(0, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 6;
    cursor: pointer;
}

/* Position the buttons */
#news-button {
    top: 50px;
    right: 50px;
}

#portfolio-button {
    top: 50px;
    left: 50px;
}

#projects-button {
    bottom: 50px;
    left: 50px;
}

#info-button {
    bottom: 50px;
    right: 50px;
}

.inner-circle {
    position: relative;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: radial-gradient(circle at center, #8a8787 0%, rgba(236, 6, 217, 0.3) 70%);
    box-shadow: inset 0 0 15px rgba(0, 255, 255, 0.5), inset 0 0 30px rgba(0, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-circle:hover {
    transform: scale(0.9); /* Scale down to create pressed effect */
    box-shadow: inset 0 0 20px rgba(0, 255, 255, 0.7), inset 0 0 40px rgba(0, 255, 255, 0.5);
}

.inner-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.5);
    animation: rotate 10s linear infinite;
}

.info {
    width: 50%;
}



/* INFO TEXT */

.overlay {
    position: fixed;
    max-height: 80vh;
    width: 50vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    background: rgba(19, 0, 134, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: none; /* Initially hidden */
    z-index: 11; /* Ensure it's on top */
}

.overlay-content p {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.5;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    text-align: justify;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}



.alt-text {
    display: none; /* Initially hidden */
    position: absolute;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    background: radial-gradient(circle at center, #333 0%, rgba(236, 6, 217, 0.3) 70%);
    white-space: nowrap;
    z-index: 7;
    font-size: 0.8rem;
}

/* Show alt-text on hover */
.sci-fi-circle:hover .alt-text {
    display: block;
    right: 100px;
    font-size: 1.5rem;
}

.alt-text0 {
    display: none; /* Initially hidden */
    position: absolute;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    background: radial-gradient(circle at center, #333 0%, rgba(236, 6, 217, 0.3) 70%);
    white-space: nowrap;
    z-index: 7;
    font-size: 0.8rem;
}

/* Show alt-text on hover */
.sci-fi-circle:hover .alt-text0 {
    display: block;
    left: 100px;
    font-size: 1.5rem;
}






/* Container styles */
.scrolling-text-container {
    width: 97.5%;
    border-radius: 4px;
    overflow: hidden;
    z-index: 9;
    position: absolute;
}

/* Inner container styles */
.scrolling-text-inner {
    display: flex;
    white-space: nowrap;
    font-size: 50px;
    font-weight: 600;
    padding: 8px 0;
    color: #ffffff;

}

/* Text styles */

.scrolling-text {
    display: flex;
}

.scrolling-text-item {
    padding: 0 5px;
    mix-blend-mode: exclusion;
}

/* Apply the animation to the text items */
.scrolling-text-inner > div {
    animation: var(--direction) var(--marquee-speed) linear infinite;
}

/* Pause the animation when a user hovers over it */
.scrolling-text-container:hover .scrolling-text-inner > div {
    animation-play-state: paused;
}

/* Setting the Animation using Keyframes */
@keyframes scroll-right{
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0%);
    }
}








.gallery {
    --s: 130px; /* Control the size of the images */ 
    display: grid;
    gap: 5px;
    position: relative;
    z-index: 10;
}

.gallery input {
    display: flex;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
    width: auto;
    height: auto;
    position: absolute;
    z-index: 1;
    border-radius: 50%;
    inset: calc(50% - var(--s)/3);
    cursor: pointer;
    --g: linear-gradient(#fff 0 0) no-repeat;
    background: var(--g) 50%/60% 3px, var(--g) 50%/3px 60%, #222;
    transition: 1.5s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: radial-gradient(circle at center, #8a8787 0%, rgba(236, 6, 217, 0.3) 70%);
}

.gallery > img {
    width: var(--s);
    aspect-ratio: 1;
    grid-area: 1/1;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(.5);
    transition: 1s calc((var(--i) - 1) * .1s);
}

.gallery > img:nth-of-type(1) {--i:1;}
.gallery > img:nth-of-type(2) {--i:2;}
.gallery > img:nth-of-type(3) {--i:3;}
.gallery > img:nth-of-type(4) {--i:4;}
.gallery > img:nth-of-type(5) {--i:5;}
.gallery > img:nth-of-type(6) {--i:6;}
.gallery > img:nth-of-type(7) {--i:7;}
.gallery > img:nth-of-type(8) {--i:8;}
.gallery > img:nth-of-type(9) {--i:9;}




.gallery > input:checked ~ img {
    transform: 
      rotate(calc(var(--i) * 360deg / 8)) translate(calc(1.5 * var(--s))) 
      rotate(calc(var(--i) * -360deg / 8));
}

.gallery > input:checked {
    transform: rotate(135deg);
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: absolute;
    z-index: 100;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); /* Black background with opacity */
    z-index: 11;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}













.conteneur {
    display: flex;
    height: 90vh;
    width: 90vw;
    z-index: 15;
}
  
.bio {
    flex: 1; /* Left side takes 50% of the screen */
    display: flex;
    justify-content: center;
    align-items: center;
}
  
.bio-content {
    max-width: 40vw;
    text-align: justify;
}
  
.bio h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.bio p {
    font-size: 1.2rem;
    line-height: 1.3;
}

.information {
    flex: 1; /* Right side takes 50% of the screen */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}



a {
    color: inherit; /* Inherits the text color from the surrounding element */
    text-decoration: none; /* Removes the underline */
    
}
  


.info-group {
    width: 100%;
    margin-bottom: 10px;
}

.info-group h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}


.plus-symbol {
    font-weight: bold;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.info-group .contenu {
    display: none; /* Initially hidden */
    padding: 15px;
    border-radius: 5px;
    z-index: 50;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.info-group ul {
    list-style-type: disc;
    padding-left: 20px;
}

.info-group li {
    margin: 5px 0;
}

.active .contenu {
    display: block; /* Show the content when active */
}

.active .plus-symbol {
    transform: rotate(45deg); /* Rotate "+" to look like an "x" when active */
}



.contact-container{
    z-index: 10;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.contact{
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 20px;
}

.contact-title h2{
    font-weight: 600;
    color: #f0f0f0;
    font-size: 40px;
    margin-bottom: 5px;
}

.contact-title hr{
    border: none;
    width: 210px;
    height: 5px;
    background-color: #f6b684;
    border-radius: 10px;
    
}

.contact-inputs{
    width: 400px;
    height: 50px;
    border: none;
    outline: none;
    padding-left: 25px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.6px);
    -webkit-backdrop-filter: blur(4.6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact textarea{
    height: 140px;
    padding-top: 15px;
    border-radius: 20px;
}

.contact-inputs:focus{
    border: 2px solid #ff994f;
}

.contact-inputs::placeholder{
    color: #000000;
    font-size: 1rem;
}

.contact button{
    display: flex;
    align-items: center;
    padding: 15px 30px;
    font-size: 16px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(270deg,rgba(236, 6, 217, 0.3), rgba(0, 255, 255, 0.3));
    cursor: pointer;
}

.contact button img{
    height: 15px;
}



.input[type="radio"] {
    display: none;
}
  
.card {
    position: absolute;
    width: 60%;
    height: 100%;
    left: 0;
    right: 0;
    margin: auto;
    transition: transform 0.4s ease;
    cursor: pointer;
}
  
.projects-container {
    position: absolute;
    width: 100%;
    max-width: 800px;
    max-height: 600px;
    height: 100%;
    transform-style: preserve-3d;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    list-style-type: none;
}
  
.cards {
    position: relative;
    width: 100%;
    height: 100%;
    margin-bottom: 20px;
}
  
.cards img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: cover;
}
  
/* Adjust the scaling and translation for the five items */
/* Adjust the scaling and translation for the seven items */
#item-1:checked ~ .cards #song-1,
#item-2:checked ~ .cards #song-2,
#item-3:checked ~ .cards #song-3,
#item-4:checked ~ .cards #song-4,
#item-5:checked ~ .cards #song-5,
#item-6:checked ~ .cards #song-6,
#item-7:checked ~ .cards #song-7 {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 1;
}

#item-1:checked ~ .cards #song-2,
#item-2:checked ~ .cards #song-3,
#item-3:checked ~ .cards #song-4,
#item-4:checked ~ .cards #song-5,
#item-5:checked ~ .cards #song-6,
#item-6:checked ~ .cards #song-7,
#item-7:checked ~ .cards #song-1 {
    transform: translateX(40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-7,
#item-2:checked ~ .cards #song-1,
#item-3:checked ~ .cards #song-2,
#item-4:checked ~ .cards #song-3,
#item-5:checked ~ .cards #song-4,
#item-6:checked ~ .cards #song-5,
#item-7:checked ~ .cards #song-6 {
    transform: translateX(-40%) scale(0.8);
    opacity: 0.4;
    z-index: 0;
}

#item-1:checked ~ .cards #song-3,
#item-2:checked ~ .cards #song-4,
#item-3:checked ~ .cards #song-5,
#item-4:checked ~ .cards #song-6,
#item-5:checked ~ .cards #song-7,
#item-6:checked ~ .cards #song-1,
#item-7:checked ~ .cards #song-2 {
    transform: translateX(80%) scale(0.6);
    opacity: 0.2;
    z-index: -1;
}

#item-1:checked ~ .cards #song-6,
#item-2:checked ~ .cards #song-7,
#item-3:checked ~ .cards #song-1,
#item-4:checked ~ .cards #song-2,
#item-5:checked ~ .cards #song-3,
#item-6:checked ~ .cards #song-4,
#item-7:checked ~ .cards #song-5 {
    transform: translateX(-80%) scale(0.6);
    opacity: 0.2;
    z-index: -1;
}

#item-1:checked ~ .cards #song-4,
#item-2:checked ~ .cards #song-5,
#item-3:checked ~ .cards #song-6,
#item-4:checked ~ .cards #song-7,
#item-5:checked ~ .cards #song-1,
#item-6:checked ~ .cards #song-2,
#item-7:checked ~ .cards #song-3 {
    transform: translateX(120%) scale(0.4);
    opacity: 0.1;
    z-index: -2;
}

#item-1:checked ~ .cards #song-5,
#item-2:checked ~ .cards #song-6,
#item-3:checked ~ .cards #song-7,
#item-4:checked ~ .cards #song-1,
#item-5:checked ~ .cards #song-2,
#item-6:checked ~ .cards #song-3,
#item-7:checked ~ .cards #song-4 {
    transform: translateX(-120%) scale(0.4);
    opacity: 0.1;
    z-index: -2;

    img {
        box-shadow: 0px 0px 5px 0px rgba(81, 81, 81, 0.47);
    }
}

  
    

  
.player {
    background-color: #fff;
    border-radius: 8px;
    min-width: 320px;
    padding: 16px 10px;
}
  
.upper-part {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    height: 36px;
    overflow: hidden;
}
  
.play-icon {
    margin-right: 10px;
}
  
.song-info {
    width: calc(100% - 32px);
    display: block;
}
  
.song-info .title {
    color: #403d40;
    font-size: 14px;
    line-height: 24px;
}
  
.sub-line {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
  
.subtitle,
.time {
    font-size: 12px;
    line-height: 16px;
    color: #c6c5c6;
}
  
.time {
    font-size: 12px;
    line-height: 16px;
    color: #a5a5a5;
    font-weight: 500;
    margin-left: auto;
}
  
.progress-bar {
    height: 3px;
    width: 100%;
    background-color: #e9efff;
    border-radius: 2px;
    overflow: hidden;
}
  
.progress {
    display: block;
    position: relative;
    width: 60%;
    height: 100%;
    background-color: #2992dc;
    border-radius: 6px;
}
  
.info-area {
    width: 100%;
    position: absolute;
    top: 0;
    left: 30px;
    transition: transform 0.4s ease-in;
}
  
#item-2:checked ~ .player #test {
    transform: translateY(0);
}
  
#item-2:checked ~ .player #test {
    transform: translateY(-40px);
}
  
#item-3:checked ~ .player #test {
    transform: translateY(-80px);
}

#item-4:checked ~ .player #test {
    transform: translateY(-120px);
}
#item-5:checked ~ .player #test {
    transform: translateY(-160px);
}

#item-6:checked ~ .player #test {
    transform: translateY(-200px);
}
#item-7:checked ~ .player #test {
    transform: translateY(-240px);
}
  





@media only screen and (max-width: 520px) {
    .sci-fi-circle {
        position: absolute;
        width: 75px;
        height: 75px;
    }

    .overlay {
        max-height: 80vh;
        width: 75vw;
        top: 50%;
        left: 50%;
    }

    .overlay-content p {
        margin: 0;
        font-size: 1rem;
        line-height: 1.5;
        text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    }


    .gallery {
        --s: 20vw; /* control the size of the images*/
    }



    .conteneur {
        flex-direction: column; /* Stack elements vertically */
        position: absolute;
        max-height: 100vh;
        margin-top: 25vw;
    }

    .bio {
        width: 100%; /* Ensure it takes full width */
        max-height: 45vh;
    }

    .bio-content {
        max-width: 80vw;
        text-align: justify;
    }

    .bio h1 {
        font-size: 1rem;
        margin: auto;
        text-align: center;
    }
    
    .bio p {
        font-size: .65rem;
        line-height: 1.3;
    }

    .information {
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        padding: 0;
        display: block;
        position: relative;
    
    }
    
    .info-group {
        position: relative;
        width: 100%;
        margin-bottom: 0px;
        padding: 0px;
        height: 30px;
    }

    .info-group h2 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        font-size: 1rem;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }



    .info-group .contenu {
        display: none; /* Initially hidden */
        padding: 15px;
        border-radius: 5px;
        font-size: .6rem;
        position: absolute;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 16px;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4.6px);
        -webkit-backdrop-filter: blur(4.6px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        top: -20vh;
    }
    
    .info-group ul {
        list-style-type: disc;
        padding-left: 0px;
    }
    
    .info-group li {
        display: block;
        margin: 5px 0;
    }





    .contact{
        height: 70vh;
    }

    

    .contact-inputs{
        width: 80vw;
    }

    .projects-container {
        position: fixed;
        bottom: 30px;
    }

    



}



