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

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


#page {
  width: 90%;          
  max-width: 1000px;   
  margin: 0 auto;      
}

}

section h1, nav a
{
    font-family: 'Croissant One', sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header */

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

#titre_page
{
    display: inline-block;
}

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


header h2
{
    font-family: 'Croissant One', 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: #000000;
    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;
}


article p
{
    font-size: 0.8em;
}

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


#photo
{
    text-align: center;
}

#photo img
{
    border: 10px 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;
}

.dropdown {
  margin-bottom: 15px;
}

.dropdown-btn {
  background-color: #ED2DC4; /* couleur rose de ton bouton LinkedIn */
  color: white;
  padding: 10px 15px;
  width: 100%;
  border: none;
  border-radius: 6px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.dropdown-btn:hover {
  background-color: #d021a5;
}

/* Contenu caché par défaut */
.dropdown-content {
  display: none;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 15px;
  margin-top: 5px;
}

/* Contenu visible (ajouté par JS) */
.dropdown-content.show {
  display: block;
}

body {
  background-color: #f7f7f7; /* couleur de fond douce */
  font-family: 'Rambla', sans-serif;
}

.page-cadre {
  border: 3px solid #ED2DC4;   /* couleur du cadre */
  border-radius: 15px;          /* coins arrondis */
  padding: 30px;                /* espace intérieur */
  margin: 40px auto;            /* centrer la page */
  width: 80%;                   /* largeur du cadre */
  background-color: #EDD8E9;       /* fond blanc à l’intérieur */
  box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* petite ombre douce */

}

section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

article {
  flex: 2;
  min-width: 250px;
}

aside {
  flex: 1;
  background-color: #B876AA;
  color: white;
  border-radius: 10px;
  padding: 10px;
}

img {
  max-width: 100%;
  height: auto;
}

/* Adaptation mobile */
@media screen and (max-width: 768px) {
  section {
    flex-direction: column;
  }
}

