

:root {
    --theme: #005c36;
}


html {
    overflow-y: scroll;
}
body  {
    background-image: url(../img/backgroundcod4.jpg);
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100vw 100vh;
    margin: 0;
    padding: 0;

    @media (max-width: 700px) {
        background-image: url(../img2/backgroundCOD.png);
        background-position: center;
        background-size: auto 100lvh;
    }
}

    header {

        @media (max-width: 700px) {
            font-size: 2.5em;
          }

        & h1 { 
        text-shadow: #005c36 5px 5px 3px;
        
        }

        & a.discover button {

            
            border: 4px solid #005c36;
            color: #005c36;

            &:hover {
                background-color: #005c36;

                & span {
                    background-image: url(../img/backgroundcod4.jpg);
                }


            @media (max-width: 700px) {
            translate: 0 -5lvh;

            
            }
            }
        }
    }   
   
    hr {
    
    background-color: #005c36;
    animation-name: hr; animation-duration: 0.3s; animation-timing-function:
    ease-in;
    }
    @keyframes hr {
    0% { width: 0; }
    100% { width: 20%; }
    }

    main a.accueilButton button {
            
            
        border: 2px solid #005c36;
        color: #005c36;
        font-weight: normal;

        &:hover {
            background-color: #005c36;
            font-weight: normal;



            @media (max-width: 700px) {
            translate: 0 -5lvh;
            }
        }

    }

    main section {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    section#ressources a {
        display: flex;
    }


    
    footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }
