@import url("https://fonts.googleapis.com/css?family=Anton");
@import url("https://fonts.googleapis.com/css?family=Kavivanar");
@import url("https://fonts.googleapis.com/css?family=Oswald");
@import url("https://fonts.googleapis.com/css?family=Raleway");
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;

}

:root {
    --theme: rgb(1, 152, 233);
}
html {
    scroll-behavior: smooth;
    scrollbar-color: var(--theme) #272727;
    scrollbar-width: thin ;
    
    @media (max-width: 700px) {
        overflow-x: hidden;
        overflow-y: scroll;
        
    }
    
}

body {
    font-family: 'Oswald', sans-serif;
    background-image: url('../img/background.png');
    background-size: 100%;
    background-attachment: fixed;
    background-position-x: center;
    background-repeat: no-repeat;
    

    @media (max-width: 700px) {

        background-image: url(../img2/backgroundNCI.jpg);
        background-size: auto 100lvh ;
        background-position-x: center;
        overflow: hidden;
    }


}





a {
    text-decoration: none;
    transition: 0.3s;
    color: rgb(1, 152, 233);
    
    &:hover {
        text-decoration: underline;
        letter-spacing: 0.1rem;
        
    }

    &:active {
        text-decoration: underline;
        letter-spacing: 0.1rem;
        
    }

    
}



hr {
    margin-top: 10vh;
    margin-bottom: 10vh;
    width: 20vw;
    margin-left: auto;
    margin-right: auto;
    height: 3px;
    color: var(--theme);
    background-color: var(--theme);
    border-radius: 3px;
    border: none;

    @media (max-width: 700px) {
        margin-top: 5lvh;
        margin-bottom: 5lvh;
    }

}


header {
    height: 100lvh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    
    font-size: 3em;
    color: #fff;

    @media (max-width: 700px) {
        font-size: 2.5em;
    }
    
    


    & h1 {
        font-family: 'Inter', sans-serif;
        text-shadow: var(--theme) 5px 5px 3px;
        animation-name: header;
        animation-duration: 4s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;

        @media (max-width: 700px) {
            text-align: center;
            
        }

        
    
    }
   
    &  a.discover {
        padding: 0;
        width: min-content;
        height: min-content;
        margin-top: 5vh;
    }

    & a.discover button {
        font-size: 1.5rem;
        border-radius: 15px;
        border: var(--theme) 4px solid;
        color: var(--theme);
        background-color: transparent;
        width: max-content;
        
        transition: text-shadow 0s;
        transition: border-radius, background-color, 0.7s;
        font-weight: bold;

        text-shadow: 1px 0 0.5px#fff, -1px 0 0.5px #fff, 0 1px 0.5px #fff, 0 -1px 0.5px #fff;
        

        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 35px;
        padding-left: 35px;

        scale: 0.8;
        
        
        cursor: pointer;


        

        & span {
            color: inherit;
        
        }

        


        &:hover {
            
            background-color: var(--theme);
            border-radius: 30px;
            text-shadow: none;

            & span  {
                color: transparent;
            background-image: url(../img/background.png);
            background-size: auto 100lvh;
            background-position-x: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }
            

        }

        &:active {
            
            background-color: var(--theme);
            border-radius: 30px;
            text-shadow: none;

            & span  {
                color: transparent;
            background-image: url(../img/background.png);
            background-size: auto 100lvh;
            background-position-x: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            }
            

        }

        @media (max-width: 700px) {
            font-size: 3rem;
            border-radius: 30px;
        }
    }
    
}

 @keyframes header {
        0% { transform: scale(1);}
        50% { transform: scale(1.2);}
        100% { transform: scale(1);}
        }

main {

    font-family: 'Oswald', sans-serif;
    padding-top: 10vh;
    background-color: #272727;
    padding-bottom: 10vh;
    border-radius: 15px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    

    @media (max-width: 700px) {
        display: flex;
        flex-direction: column; 
        align-items: center;
        font-size: 1.5rem;
        text-align: center;
    }

    & h2 {
        font-family: 'Raleway', sans-serif;
        font-weight: bolder;
    }

    & h2 {
        
        margin-bottom: 10vh;
        text-align: center;

        @media (max-width: 700px) {
            font-size: 3rem;
            text-align: center;
            padding-left: 0;
        }
        
    }

    & section {
        margin-bottom: 5vh;
        width: 100%;


        &#ressources ul {
        
                text-align: center;
                height: min-content;
                width: 100%;
                display: grid;
                grid-template-rows: min-content;
                grid-template-columns: max-content;
                justify-content: space-evenly;
                justify-items: center;

                & li {
                    list-style-type: none;
                    display: flex;
                    grid-row: 1;
                    grid-column: auto;

                    @media (max-width: 700px) {
                        grid-row: auto;
                        grid-column: 1;

                        padding-top: 1lvh;
                        padding-bottom: 1lvh;
                        font-size: 1.5rem;
                    }

                    & a {
                        display: flex;
                        
                        
                        
                    }
                }

            }
        

         

        &#ressources a {
            display: flex;
            align-items: center;
            background-color: var(--theme);
            color: #fff;
            font-family: 'Raleway', sans-serif;
            border-radius: 10px;
            padding: 10px;
            width: max-content;
            border: 2px var(--theme) solid;

            &:hover {
                background-color: #272727;
                color: var(--theme);
                
                
            }

            &:active {
                background-color: #272727;
                color: var(--theme);
                
                
            }

        }

        

        &#ressources a .gg-software-download {
            color: inherit;
            margin-left: 0.6em;     
        }

        & p {
            width: 50%;
            text-align: center;

            @media (max-width: 700px) {
                width: initial;
            }

        }


        @media (max-width: 700px) {
        
            font-size: 1.5rem;
            max-width: 90vw;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            

        }
    }


    .apropos {
        display: flex;

        @media (max-width: 700px) {
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }


        & hr {
            margin: 0;
            padding: 0;
            width: 1px;
            height: initial;

            @media (max-width: 700px) {
                height: 1px;
                width: 20%;
                margin-top: 10%;
                margin-bottom: 10%;
            
            }

            
            
        }
        


        & .flexbox {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            
            
        }

        

        & p {
            width: 50%;

            @media (max-width: 700px) {
                width: initial;
            }

        }

    }

    & #services {

        @media (max-width: 700px) {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        & h2 {
            margin-bottom: 5lvh;
        }
        & h3 {
            font-weight: normal;
            padding-left: 3%;
            padding-bottom: 2%;
            width: max-content;
            height: min-content;

            @media (max-width: 700px) {
                text-align: center;
                padding-left: 0;
            }


        }

        & ul {
            
            text-align: center;

            & li {
                list-style-type: none;




            }
        }

       
    }

    hr#servicesBreak {
        margin-bottom: 0;
    }

     

    
}

.accueilButton {
    width: min-content;
    height: min-content;
}


.accueilButton button {
    
        width: max-content;
        font-size: 1.5rem;
        border-radius: 15px;
        border: var(--theme) 2px solid;
        color: var(--theme);
        background-color: transparent;
        transition-duration: 0.7s;
        
        

        padding-top: 20px;
        padding-bottom: 20px;
        padding-right: 35px;
        padding-left: 35px;

        scale: 0.8;
        margin-top: 5vh;
        
        cursor: pointer;

        &:hover {
            
            background-color: var(--theme);
            color: #272727;
            

        }

        &:active {
            
            background-color: var(--theme);
            color: #272727;
            

        }

        @media (max-width: 700px) {
            font-size: 3rem;
            border-radius: 30px;
        }
}





footer {


    @media (max-width: 700px) {
        font-size: 1.5rem;
    }

    & #contact {
        display: flex;
        flex-direction: column;
        
        align-items: center;
        justify-content: center;
        
        background-attachment: fixed;
        margin-top: 5vh;
        color: #fff;
        & a {
            color: #fff;
            margin-bottom: 1.5vh;
            text-decoration: underline;

            &:hover {
                color: rgb(11, 169, 255);
            }

            &:active {
                color: rgb(11, 169, 255);
            }

            }
        
        margin-bottom: 0;
        height: 20vh;

        & h2 {
            font-family: 'Raleway', sans-serif;
            font-weight: bolder;

            @media (max-width: 700px) {
                font-size: 3rem;
            }
        }
    
        & h2 {
            padding-left: 1vw;
            margin-bottom: 5vh;
        }
    
        section {
            margin-bottom: 5vh;
        }
    }

    & #bandeau {
        font-family: 'Raleway', sans-serif;
        height: 15vh;
        width: 100%;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;


        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(41, 41, 41, 0.548);
        color: #fff;

        margin-top: 5vh;

        & a {
            color: #fff;
            text-decoration: underline;

            &:hover {
                color: rgb(11, 169, 255);
                letter-spacing: normal;
            }

            &:active {
                color: rgb(11, 169, 255);
                letter-spacing: normal;
            }
        }
        
    }
}
