body{
    padding: 0;
    margin: 0;
    font-family: Arial;
    overflow: hidden;
}

@font-face {
    font-family: Aquatic;
    src: url(/Polices/Aquatic-PersonalUse.otf) format(otf);
   }
   
#clicker{
    margin-top: -600px;
    position: relative;
}

#Bulle{
    max-width: 20px;
    top: -100px;
    position: absolute;
    animation-name: bulle;
    animation-iteration-count: 1;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-play-state: running;   
    }
    
    @keyframes bulle {
        from {
            top: 400px;
            margin-left: 300px;
        }
    
        to{
            top: 40px;
            margin-left: 90px;
        }
        }

        #Bulle2{
            max-width: 20px;
            top: -100px;
            position: absolute;
            animation-name: bulle2;
            animation-iteration-count: 1;
            animation-duration: 1s;
            animation-timing-function: ease-in-out;
            animation-play-state: running;   
            }
            
            @keyframes bulle2 {
                from {
                    top: 450px;
                    margin-left: 500px;
                }
            
                to{
                    top: 40px;
                    margin-left: 90px;
                }
                }

                #Bulle3{
                    max-width: 20px;
                    top: -100px;
                    position: absolute;
                    animation-name: bulle3;
                    animation-iteration-count: 1;
                    animation-duration: 1s;
                    animation-timing-function: ease-in-out;
                    animation-play-state: running;   
                    }
                    
                    @keyframes bulle3 {
                        from {
                            top: 400px;
                            margin-left: 350px;
                        }
                    
                        to{
                            top: 40px;
                            margin-left: 90px;
                        }
                        }

                        #Bulle4{
                            max-width: 20px;
                            top: -100px;
                            position: absolute;
                            animation-name: bulle4;
                            animation-iteration-count: 1;
                            animation-duration: 1s;
                            animation-timing-function: ease-in-out;
                            animation-play-state: running;   
                            }
                            
                            @keyframes bulle4 {
                                from {
                                    top: 400px;
                                    margin-left: 250px;
                                }
                            
                                to{
                                    top: 40px;
                                    margin-left: 90px;
                                }
                                }

                                #Bulle5{
                                    max-width: 20px;
                                    top: -100px;
                                    position: absolute;
                                    animation-name: bulle5;
                                    animation-iteration-count: 1;
                                    animation-duration: 1s;
                                    animation-timing-function: ease-in-out;
                                    animation-play-state: running;   
                                    }
                                    
                                    @keyframes bulle5 {
                                        from {
                                            top: 500px;
                                            margin-left: 330px;
                                        }
                                    
                                        to{
                                            top: 40px;
                                            margin-left: 90px;
                                        }
                                        }

                                        #Bulle6{
                                            max-width: 20px;
                                            top: -100px;
                                            position: absolute;
                                            animation-name: bulle6;
                                            animation-iteration-count: 1;
                                            animation-duration: 1s;
                                            animation-timing-function: ease-in-out;
                                            animation-play-state: running;   
                                            }
                                            
                                            @keyframes bulle6 {
                                                from {
                                                    top: 500px;
                                                    margin-left: 450px;
                                                }
                                            
                                                to{
                                                    top: 40px;
                                                    margin-left: 90px;
                                                }
                                                }

                                                #Bulle7{
                                                    max-width: 20px;
                                                    top: -100px;
                                                    position: absolute;
                                                    animation-name: bulle7;
                                                    animation-iteration-count: 1;
                                                    animation-duration: 1s;
                                                    animation-timing-function: ease-in-out;
                                                    animation-play-state: running;   
                                                    }
                                                    
                                                    @keyframes bulle7 {
                                                        from {
                                                            top: 500px;
                                                            margin-left: 400px;
                                                        }
                                                    
                                                        to{
                                                            top: 40px;
                                                            margin-left: 90px;
                                                        }
                                                        }
#changefond{
    transition: 1s;
}

#fond1{
    position: absolute;
    max-width: 100%;

    z-index: -3;
    transition: 1s;
}

#fond2{
    position: absolute;
    max-width: 100%;
    transform: scale(1.2);
    z-index: -2;
    transition: 1s;
}

#fond3{
    position: absolute;
    max-width: 100%;

    z-index: -1;
    transition: 1s;
}

#fond{
    position: absolute;
    z-index: -4;
    max-width: 100%;
    transition: 1s;
}

#score{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-left: 5%;
}

#bulles{
    max-width: 100px;
}

#points{
    font-size: 50px;
    font-family: quicksand, arial;
    font-weight: bolder;
    color: #012855;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

#classement{
    font-size: 30px;
    font-family: quicksand, arial;
    font-weight: bolder;
    color: #c9f0f8;
    margin-right: 5%;
    text-decoration: none;
    margin-top: 2%;
}

#onglets{
    display: flex;
    flex-direction: row;
    z-index: 100;
}

#boutique{
    text-decoration: none;
    font-size: 30px;
    font-family: quicksand, arial;
    padding: 1% 1%;
    color: #c9f0f8;
    background-color: #0877b6;
    border-radius: 20px 0px 0px 0px;
    margin-right: 0.5%;
    cursor: default;
}

#Succes{
    text-decoration: none;
    font-size: 30px;
    font-family: quicksand, arial;
    padding: 1% 1%;
    color: #0877b6;
    background-color: #c9f0f8;
    border-radius: 0px 20px 0px 0px;
    cursor: pointer;
}

#Succes:hover{
    color: #012855;
}

#shop{
    background-color: #0877b6;
    border-radius: 0px 20px 20px 20px;
    z-index: 100;
}


.objet{
    background-color: #48cae4;
    margin: 0% 3%;
    border-radius: 20px;
    margin-top: 5%;
    padding: 3% 0%;
    text-align: center;
    box-shadow: 0px 0px 7px 5px #48CAE4;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: pointer;
}

.objetverr{
    background-color: #629fab;
    margin: 0% 3%;
    border-radius: 20px;
    margin-top: 5%;
    padding: 3% 0%;
    text-align: center;
    box-shadow: 0px 0px 7px 5px #31474b;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: not-allowed;
}

.succesvalid{
    background-color: #0ca62d;
    margin: 0% 3%;
    border-radius: 20px;
    margin-top: 5%;
    padding: 3% 0%;
    text-align: center;
    box-shadow: 0px 0px 7px 5px #48e46c;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    cursor: default;
}

aside{
    display: flex;
    flex-direction: column;
    
    margin: 0% 5% 0% 60%;
}

#Poisson{
position: absolute;
top: 300px;
margin-left: 100px;
cursor: pointer;
animation-name: anim;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-timing-function: ease-in-out;
animation-play-state: running;   
}

#Poisson2{
    display: none;
    position: absolute;
top: 300px;
margin-left: 100px;
cursor: pointer;
animation-name: anim;
animation-iteration-count: infinite;
animation-duration: 10s;
animation-timing-function: ease-in-out;
animation-play-state: running;  
}

#skin1{
    position: absolute;
    top: 600px;
    height: 75px;
    width: 75px;
    margin-left: 110px;
    display: none;
    cursor: pointer;
}

#skin2{
    position: absolute;
    top: 600px;
    height: 75px;
    width: 75px;
    margin-left: 500px;
    cursor: pointer;
}

@keyframes anim {
    from {
        margin-left: 90px;
        top: 290px;
    }
    30%{
        margin-left: 100px;
        top: 310px;
    }
    50%{
        margin-left: 110px;
        top: 270px;
    }
    70%{
        margin-left: 120px;
        top: 310px;  
    }
    to{
        margin-left: 90px;
        top: 290px;
    }
    }

    .imgobjet{
        max-width: 50px;
        margin-right: 10px;
    }

    @media screen and (max-width : 720px){
        #Poisson{
            position: absolute;
            height: 200px;
            left: -60px;
            }

            #boutique{
                padding: 1% 3%;
                margin-right: 2%;
            }
            
            #Succes{
                padding: 1% 3%;
            }

            #shop{
                border-radius: 0px 0px 20px 20px;
            }
            
            .imgobjet{
                margin-right: 0px;
            }

        }

        @media screen and (max-width : 576px){
            #Poisson{
                position: absolute;
                height: 150px;
                }

                #onglets{
                    display: flex;
                    flex-direction: column;
                    z-index: 100;
                }

                #boutique{
                    margin-right: 0px;
                    border-radius: 20px 20px 0px 0px;
                    text-align: center;
                }
                
                #Succes{
                    border-radius: 0px 0px 0px 0px;
                    text-align: center;
                }

                .imgobjet{
                    margin-right: 0px;
                }

            }