@import url('variables.css');
@import url('polices.css');

@import url('bolides.css');
@import url('apod.css');
@import url('cme.css'); 

@import url('animations.css'); 

html{
    scroll-behavior: smooth;
}
body{
    background-color: var(--Fond1);
    background-image: url('../images/Rectanglestars.svg');
    color: var(--Texte);
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    margin: 0;
    overflow-x: hidden;
}
header{
    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

a.next div{
    transform: rotate(45deg);
    width: 6vw;
    height: 6vw;
    border: solid 1vh var(--CouleurPop);
    border-top: none;
    border-left: none;

    position: relative;

    animation: clickme 2s infinite;
    animation-direction: alternate;
    animation-timing-function: linear;   
    
}

main{
    width: 100%;
}
header h1{    
    color: var(--CouleurPop);
    font-family: 'OpenSansExtraBold', sans-serif;
    font-weight: 800;
    font-size: 3rem;

    text-transform: uppercase;
    text-align: center;

    width: 100%;
    transition: all 0.5s linear;
}

h1 #h1_1{
    font-size:  5rem;
    display: flex;
    justify-content: center;
    background: url(../images/fond_h1.jpg) top center;
    color: transparent; 
    -webkit-background-clip: text;
    background-clip: text;

    background-position: center;
    background-size: cover;
        
}	
h1 #h1_2{
    position: relative;
}
h2{
    font-size: 4rem;
    color: var(--CouleurPop);
}
section{
    min-height: 100vh;
    width: 94%;
    padding: 0% 3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}

/* SECTION INTRO  */
main section:nth-of-type(1)> div{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

p{
    background-color: var(--CouleurPop);
    border-radius: 30px;
    font-size: 1.4rem;
    padding: 5%;
    max-width: 500px;
}

main section:nth-of-type(1) > div > div{
    width: 65vw;
    height: 68vw;
    position: relative;
}
main section:nth-of-type(1) > div > div >img{
    width: 100%;
    height: 100%;
}

main section:nth-of-type(1) > div> div::before{
    content: '';
    background-image: url('../images/Martine-bras.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    
    position: absolute;
    left: -13%;
    top: 7%;

    transform: scale(0.93);
    transform-origin: 100% 84%;
    
    width: 50%;
    height: 50%;

    animation: coucou 1s infinite;
    animation-direction: alternate;
    animation-timing-function: linear;
}

        
button{
    background-color: #0000;
    border: solid 1px var(--CouleurPop);
    color: var(--Texte);
    margin: 2px 1%;
    font-size: 1em;
    border-radius: 20px;
    padding: 2%;
}
button.selected{
    background-color: var(--CouleurPop);
    color: var(--Texte);
}
    
#btn{
    font-size: 1.5rem;
    background-color: var(--Texte);
    padding: 0.2rem 1rem;
}

footer{
    position: fixed;
    bottom: 5%;
    right: 5%;
    background-color: var(--CouleurPop);
    z-index: 99;
    width: 7vh;
    height: 7vh;
    border-radius: 50px;
    transition: all 0.5s ease-in;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease-in-out;
}
footer ul{
    list-style-type: none;
}
footer img{
    width: 10vh;
}
footer span{
    font-size: 1.2em;
}
footer > div{
    display: none;
    transition: all 1s ease-in-out;
    transition-delay: 1s;
}
footer:hover{
    width: 40%;
    height: 40vh;
}
footer:hover > div{
    display: block;
}
footer:hover > span{
    display: none;
}

body{
    padding-bottom: 15vh;
}


@media screen and (min-width: 810px){
    header h1{
        font-size: 4.5rem;
    }
    header h1 #h1_1{        
        font-size:  12rem;
    }
    header h1 #h1_2{        
        top: -13rem;
    }

    main section:nth-of-type(1) > div{
        display: flex;
        justify-content: space-around;
        flex-direction: row;
    }
    main section:nth-of-type(1) > div> div::before{
        top: 12%;
        left: -13%;
    }
    main section:nth-of-type(1)> div > div{
        width: 35vw;
        height: 38vw;
    }
    section:nth-of-type(3) p{
        width: 25%
    
    }
    #section2 .canva_container{
        width: 60%;
    }
}

