@import url('https://fonts.googleapis.com/css2?family=Arapey:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    padding: 0;
    margin: 0;
   background-color: white; /* Fond initial */
  transition: background-color 0.6s ease, color 0.4s ease; /* Transition sur la couleur de fond */
  color: black;
  scroll-behavior: smooth;
}



#hero-section{
    font-family: 'Arapey', serif;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    align-content: space-evenly;
    justify-content: space-between;
    align-items: center;
}



#animation-bag{
    z-index: 0 !important; /* en-dessous du canvas */
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    flex-shrink: 0;
    
}

#animation-bag:hover{
    transform: scale(1.05);
}

#title-d{
    transition: ease-in-out 0.3s;
    filter: url(#displacementFilter);
        position: relative;
    top: 12em;
    text-align: right;
    flex: 1;
    margin-right: 1.4em;
}
#physic{
    z-index: 1000 !important; /* en-dessous du canvas */
    width: fit-content;
    height: fit-content;
}
#physic img {
    position: absolute;
    top: 0;
    left: 0;
}

#sandwich{
    position: absolute;
    z-index: 10; 
    display: none;
    height: 100%;
    
}


#korg-body{
    display: none;
    font-family: 'Arapey', serif;
    flex-direction: column;
    position: relative;
    padding: 2em;
    flex: 1;
    justify-content: space-between;
}

#korg-text{
    align-items: flex-start;
    display: none;
    flex-direction: row;
    position: relative;
    height: 100%;
}

.BackButton{
    margin-bottom: 1em;
    filter: url(#displacementFilterLow);
    background-color: transparent;
    border: none;
    font-size: 2rem;
    position: relative;
}


#KorgBack{
    cursor: pointer;
    z-index: 1000;
}


#container-cd {
aspect-ratio: 1 / 1;
  width: 50%;
  background: transparent;
}

#threejs {
    flex: 1;
  background: rgb(255, 255, 255);
}
#korg-main-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 2em;
    justify-content: space-between;
}
#korg-manual{
    margin-top: 2em;
    font-family: 'Arapey', serif;
    font-size: 1.2rem;
    color: black;
    text-align: center;
}

canvas{
    position: relative;
    z-index: 0;
}


/* TYPEWRITE EFFECT */

