html, button, input, select, textarea{
    color: #444;
}
html, body{
    height: 100%;          
    margin: 0;
    padding: 0;

}
html{
    font-size: 1em;
    line-height: 1.4;
}

body{
        font-family: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background-color: #b6b2b2;
}

#wrapper{
    max-width: 900px;
    min-width: 320px;
    margin: 0 auto;
    padding: 40px;

}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

#header img{
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding : 4px;
    
}


#header ul{
    margin: 30px;
    display: grid;
    grid-template-columns:1fr 1fr 1fr ;
    grid-template-rows: 1fr 1fr;
    column-gap: 30px;
    row-gap: 10px;
    list-style-type: none;
}

#header ul li{
    background-color: rgba(211, 212, 211, 0.87);
    padding:7px 4px;
    border-radius: 10px;
    transition: 0.5s ease-in-out;
}

#header ul li:hover{
    background-color:#222;
    color: aliceblue;
    transform: scale(1.1);
}


#header .title{
    width: 100%;
    margin-bottom: 20px;
    background-color: #222;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
}

h1{
    font-family: "BBH Sans Hegarty", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 3rem ;
    margin-bottom: 0;
}

section {
    padding-left: auto;
    padding-right: auto;
    margin-top: 40px;
}
section h2 {
text-transform: uppercase;
  color: #222;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
  margin-bottom: 20px;
  font-size: 1.4em;
  letter-spacing: 1px;

}


#Formation dl {
  margin: 0;
  padding: 0;
}

#Formation dt {
  font-weight: bold;
  font-size: 1.1em;
  color: #1e1f20;
  margin-top: 20px;
  width: 100%;
  background-color: #ccc;
  padding: 10px;
  position: relative;
  transition: 0.5s ease-in-out;
}

#Formation dt:hover{
    background-color: rgb(133, 131, 131);

}

#Formation dt::after{
    content: "";
    width: 100%;
    height: .2em;
    background: black;
    position: absolute;
    height: 3px;
    bottom:0px;
    left: 0;
    right: 0;


}


#Formation dd, 
#Formation dd dl {
  margin: 5px 0 10px 20px;
  color: #333;
  line-height: 1.5em;
}

#Formation dd {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.7s ease-in-out, opacity 0.4s ease-in-out;
}

#Formation dd.show {
  max-height: 1000px;
  opacity: 1;
}


#Formation span {
  color: #444;
  font-style: italic;
}

#Formation hr {
  border: none;
  border-top: 1px solid #0e0d0d;
  margin: 8px 0;
}
.stars { display:inline-flex; gap:2px; vertical-align:middle; }
.stars .fa { opacity: .35; }
a.stars .checked { opacity: 1; }
.fa {
  font-size: 25px;
}

.checked {
  color: orange;
}

.chart{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#skills > ul {
    list-style-type: none; 
    margin: 0;
    padding: 0;
}

#skills > ul > li {
    margin-bottom: 1em;
    font-weight: bold;
    color: #222;
    border-bottom: 1px solid #0f0f0f;
    padding-bottom: 0.3em;
}


#skills ul ul {
    list-style-type: disc;
    margin-top: 0.5em;
    margin-left: 2em;
    font-weight: normal;
    color: #444;
}

#skills ul ul li {
    margin-bottom: 0.3em;
}

#experience hr {
  border: none;          
  height: 2px;           
  background-color: #444; 
  margin: 1.5em 0;       
}

.corpName{
    width: 100%;
    padding:10px;
    background-color: aliceblue;
    transition: all 0.4s ease-in-out;
}

.corpName:hover{
    background-color: rgb(191, 196, 191);

}

.corpDesc {
  position: fixed;
  background: rgba(34, 34, 34, 0.9);
  color: white;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9em;
  display: none;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.corpDesc.visible {
  display: block;
  opacity: 1;
}

footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 0;
    font-family: "Segoe UI", sans-serif;
}

#links {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 30px; 
    padding: 0;
    margin: 0 0 20px 0;
}

#links li {
    display: flex;
    align-items: center;
    gap: 10px;
}

#links svg {
    width: 28px;
    height: 28px;
    fill: white;
    transition: transform 0.3s ease, fill 0.3s ease;
}

#links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

#links li:hover svg {
    transform: scale(1.2);
    fill: #00acee;
}

#links li:hover a {
    color: #00acee;
}

footer p {
    font-size: 0.9em;
    margin-top: 10px;
    opacity: 0.7;
}
