﻿
/* Eléments principaux de la page */

body
{
    background: #f6f2ec;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#page
{
    width: 900px;
    margin: auto;
}

section h1, nav a
{
    font-family: 'Times New Roman', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
	color: brown;
}

/* Header */

header
{
    border-bottom:3px solid #4d4437;
	margin-bottom:20px;
	color: brown;
}

#titre_page
{
    display: inline-block;
}

header h1
{
    font-family: 'Times New Roman', sans-serif;
    font-size: 3em;
    font-weight: normal;
	display: inline-block;
    margin-bottom: 0px;
}

header h3
{
	color: grey;
	font-size: 1em;
}

header h2
{
    font-family: 'Georgia', sans-serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
	
}

/* Navigation */

nav
{
    display: inline-block;
    width: 890px;
    text-align: right;
}

nav ul
{
    list-style-type: none;
}

nav li
{
    display: inline-block;
    margin-left: 15px;
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}


/* Corps */

article, aside
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
	
}

article
{
    width: 625px;
    margin-right: 15px;
	color: black;
	font-family: 'Georgia';
	
}
header h4
{ 
	font-family:'Times New Roman';
	font-size: 1.3em;
	color: Brown;
}


article p
{
    font-size: 0.8em;
	
}

aside
{
    position: relative;
    width: 235px;
    background-color: #4d4437;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
	margin-top:20px;
	
}

#photo
{
    text-align: center;
}

#photo2
{
    margin-left:100px;
}
#photo3
{
	margin-left:100px;
}

}
#photo img
{
    border: 1px solid #181818;
}


/* Footer */

footer
{
    padding-top: 25px;
	font-size:0.6em;
	color:#897962;
	text-align:center;

}

footer a, footer a:link, footer a:visited
{
	color:#897962;
	text-decoration:none;
}


/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_page, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie article, .old_ie aside
{
    display: inline;
}

/* Quelques ajustements pour les vieilles versions d'IE pour la maquette CV*/

.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

/*
   🌈 Responsive background color + layout adjustments
   */

/* Default background (desktop) */
body {
  background-color: #f6f2ec; 
  transition: background-color 0.5s ease;
}

/* Tablet view (width ≤ 900px) */
@media (max-width: 12px) {
  body {
    background-color: #ffcc80; 
  }

  #page {
    width: 90%; 
  }

  nav {
    width: 100%;
    text-align: center;
  }

  article, aside {
    width: 100%;
    display: block;
    margin: 0;
  }

  aside {
    margin-top: 20px;
  }
}

/* Mobile view (width ≤ 600px) */
@media (max-width: 600px) {
  body {
    background-color: #ff9999; /* soft red, you can change */
  }

  header h1 {
    font-size: 2em;
  }

  nav a {
    display: block;
    margin: 5px 0;
  }

  #page {
    width: 95%;
  }
}

/* --- Footer social links --- */
footer {
  padding: 20px 0;
  font-size: 0.8em;
  color: #897962;
  text-align: center;
  background-color: #f6f2ec;
}

footer .social-links {
  margin-top: 10px;
}

footer .social-links a {
  display: inline-block;
  margin: 0 8px;
  transition: transform 0.3s ease;
}

footer .social-links a img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
}

footer .social-links a:hover {
  transform: scale(1.2);
}
aside a,
aside a:visited 
{
  color: #FFFFFF;           
  text-decoration: none;   
}

aside a:hover 
{
  color: #ffcc80;          
}