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

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.8;
    background-color: #EEEEEE;
    color: #303130;
    text-align: center;
    font-size: 0.9em;
}

header nav a:hover, section:last-child article p + a:hover {
    background-color: #224444;
}

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

header {
    background-color: #318483;
    padding: 10px;
    
}

header img {
    width:100px;
}

header nav {
    width: 90%;
    margin: 10px auto;
    display: flex;
    justify-content: space-between;
}

header nav a {
    color: #fff;
    text-decoration: none;
    border-left: solid #224444 4px;
    border-radius: 4px;
    padding: 15px;
}


header nav a:nth-child(3n + 2) {
    border-color: #CCCCCC;
}

header nav a:nth-child(3n + 3) {
    border-color: #F42837;
}


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

section {
    margin: auto;
    width: 90%;
}

section h1 {
    color: #FF0000;
    font-weight: 400;
}

section h2 {
    text-align: left;
    color : #224444;
    border-left: solid #224444 4px;
    padding-left: 10px;
    
}

section a {
    color: #308383;
}

/*=====SECTION 1 : idées voyage=====*/

section:first-child img {
    width: 100%;
}

section:first-child article {
    text-align: left;
    overflow: hidden;
    margin: 30px 0;
}

section:first-child article img {
    width: 350px;
    margin-bottom: 20px;
}

/*Image gauche*/
section:first-child article:first-of-type img {
    float: left;
    margin-right: 20px;
}

/*Image droite*/
section:first-child article:last-of-type img {
    float: right;
    margin-left: 20px;
}


/*=====SECTION 2 : meilleures ventes=====*/

/*Article tableau*/
section:last-child table {
    width: 100%;
    border-spacing: 5px;
    margin-bottom: 20px;
}

section:last-child table th {
    font-weight: normal;
    text-align: left;
    padding-left: 10px;
    color: #fff;
    background-color: #000;
    height: 30px;
}

section:last-child table tr {
    background-color: #D2D2D2;
}

section:last-child table tr:nth-child(even) {
    border: solid 1px #ccc;
    background-color: #fff;
}

section:last-child table td {
    text-align: left;
    padding-left: 10px;
    border: solid 1px #D2D2D2;
    height: 30px;
}

/*Articles Villes de la section 2*/

section:last-child div {
    display: flex;
	/*justify-content: space-between;*/
}

section:last-child div article {
    text-align: justify;
    margin-bottom: 20px;
    /*
    vertical-align: top;
    overflow: hidden;
    width: calc(100% / 3);
    display: inline-block
    */
}

section:last-child article:nth-of-type(1) {
    padding-right: 20px;
}

section:last-child article:nth-of-type(2) {
    padding-left: 20px;
    padding-right: 20px;
}

section:last-child article:nth-of-type(3) {
    padding-left: 20px;
}


section:last-child div article p + a {
    float: right;
    right: 0;
    color: #fff;
    text-decoration: none;
    background-color: #318483;
    padding: 10px 15px;
}




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

footer {
    color: #fff;
    background-color: #318483;
    padding: 5px;
}

