
/*=====================================================================================================================
    GLOBAL
=======================================================================================================================*/

* {
    box-sizing: border-box;
    outline: none;
}

html {
   font-size: 62.5%;
}

body {
    height: 100vh;
    
    font-family: sans-serif;
    font-size: 1.6rem;
    color: #a49e9e;
    line-height: 1.7;
    
    background-color: #fff;
    
/*    display: flex;
    flex-direction: column;
    justify-content: space-between;*/
}

main, .container {
    margin: auto;
    padding: 30px;
    max-width: 1100px;
}

a {
    text-decoration: none;
    color: #fff;
}

li {
    list-style-type: none;
    /*padding-left: 0px;*/
}

/*=====================================================================================================================
    HEADER
=======================================================================================================================*/

header {
    border-bottom: solid 2px #2cbcd6;
    position : relative

}

/*LOGO*/
#logo {
    margin: 10px;
    display: flex;
    line-height: 1.4;
    font-weight: 600;
}

#logo img {
    width: 100px;
}


/*==========Nav==========*/

/*Barre de navigation*/
nav>ul {
    display: flex;
    justify-content: center;
}


/*Design des liens de la nav par défaut*/
header nav>ul>li>a {
    padding: 20px;
    color: #2cbcd6;
    font-weight: 900;
}

/*Design des liens de la nav au survol*/
.deroulant:hover a{
    background-color: #2cbcd6;
    color: #fff;
}

/*==========Sous-Menu==========*/

/*Design du sous-menu par défaut*/
.sous-menu {
    display: none;
    background-color: #2cbcd6;
    
    width: 100%;
    
    position : absolute;
    z-index: 1000;
    left: 0;
    top: 100%;
}


/*Le menu apparait quand on passe au dessus d'un lien de la nav*/
.deroulant:hover .sous-menu {
    display: block;
    
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

/*Design des articles dans les sous-menu*/
.colonne {
    margin-bottom: 20px;
    text-align: center;
    flex-basis: 50%;
}

.colonne h2 {
    color: #87dfed;
    font-size: 2rem;
}

.colonne ul{
    padding: 0;
    color: #fff;
}

.colonne ul li:hover{
    text-decoration: underline;
}


/*=====================================================================================================================
    MAIN
=======================================================================================================================*/

/*main {
    align-self: start;
}*/

h1 {
    color: #2cbcd6;
}


/*=====================================================================================================================
    FOOTER
=======================================================================================================================*/

footer {
    background-color: #2cbcd6;
    text-align: center;
    color: #87dfed;
}

footer img {
    width: 50px;
}

