@import url(https://fonts.bunny.net/css?family=akaya-kanadaka:400|allan:400);

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

html, body{
width:100%;
}

.body {
    display: flex;
    align-items: flex-start;
    font-family: 'Akaya Kanadaka', display;
    overflow: hidden;
}

.header {
    padding: 20px 40px;
    min-height: 100vh;
    width: 30%;
    background-color: #18534F;
    border-right: 1px solid #000;
    display: flex;
    flex-direction: column;
}

.container {
    background-color: #226D68;
    width: 70%;
    padding: 0 50px;
    scrollbar-color: #226D68 #18534F;
    height: 100vh;  
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;  
}

.profil {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.img-profil {
    width: 140px;
    aspect-ratio: 1/1;
    background-color: #022523;
    border-radius: 50%;
    border: 3px solid #000;
    padding: 10px;
    margin-bottom: 20px;
}

.prenom-nom {
    color: #fcdaaf;
    font-size: 45px;
}

.prenom-nom-dev {
    color: #fcb353;
    display: block;
    margin-bottom: 10px;
    font-size: 25px;
}

.dev {
    background-color: #7bff23;
    font-family: 'Allan', display;
    padding: 5px;
    margin: 5px;
    margin-left: -5px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #18534F;
    text-shadow: 5px 5px 5px #000;
    font-size: 20px;
}

.verif {
    background-color: #fff;
    color: #00a5a5;
    font-weight: lighter;
    padding: 5px;
    border-radius: 10px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
    text-shadow: 5px 5px 5px #000;
    font-size: 20px;
}

.en-cour {
    font-size: 11px;
    font-weight: bolder;
}

.localis {
    color: #fcdaaf;
    display: flex;
    gap: 7px;
    align-items: center;
    margin-bottom: 15px;
    font-size: 25px;
}

.fa-github {
    font-size: 50px;
    color: #fff;
    margin: 5px;
    transition: all 300ms;
}

.fa-github:hover {
    transform: scale(1.1);
    color: #fcb353
}

.intro, .mini-parcours {
    color: #fcdaaf;
    font-weight: lighter;
    font-size: 25px;
    text-align: justify;
    margin-bottom: 4px;
    letter-spacing: 0.1px;
    line-height: 30px;
}

.mini-parcours {
    margin: 50px 0;
}

.majuscule {
    font-size: 50px;
}

.competences {
    display: flex;
    gap: 5px;
    align-items: center;
    white-space: nowrap;
    margin-left: -10px;
    justify-content: space-around;
}

.competence {
    display: flex;
    align-items: center;
    border: 2.5px solid #13423f;
    color: #fcdaaf;
    gap: 5px;
    padding: 5px;
    border-radius: 5px;
}

.pourcent {
    color: #000;
    background-color: #636262;
    padding: 2px;
    border-radius: 5px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-bottom: 5px solid #000;
    height: 90px;
    background-color: #18534F;
    
    top: 0;
    z-index: 999;
    width: 100%;
}

.a {
    color: #fcdaaf;
    text-decoration: none;
    transition: all 500ms;
    font-size: 25px;
}

.a:hover {
    color: #f89f29;
}

.parcours {
    display: flex;
    align-items: center;
    gap: 5px;
}

.h3 {
    color: #fcdaaf;
}

.h1 {
    color: #00a5a5;
    background-color: #fff;
    width: fit-content;
    margin: 0 auto 15px;
    padding: 10px;
    border-radius: 15px;
    font-size: 45px;
}

.title-projet {
    margin-top: 90px ;
    margin-bottom: 50px;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: auto;
    aspect-ratio: 16/9;
    margin: 0 auto;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 300ms;
    border-radius: 50px;
}

.slide img:hover {
    transform: scale(1.1);
}

.slide.active {
    opacity: 1;
    pointer-events: auto;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.slide:focus {
  outline: 3px solid rgba(255,255,255,0.6);
  outline-offset: -3px;
}

.btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #18534F;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 30px;
    z-index: 10;
    transition: all 300ms
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.btn:hover {
    background: #18534F;
    color: #fff;
}

#projet, #mini-parcours {
    border-bottom: 3px solid #000;
    margin-bottom: 100px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

label {
    background-color: #fff;
    color: #fcb353;
    padding: 10px;
    font-size: 25px;
    border-radius: 5px;
    width: 200px;
    text-align: center;
}

input, textarea {
    height: 30px;
    border-radius: 15px;
    width: 300px;
    margin-bottom: 50px;
    padding: 15px;
}

textarea {
    width: 100%;
    max-width: 400px;
    height: 100px;
    
}

.contacter-moi {
    background-color: #fff;
    color: #fcb353;
    text-align: center;
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin: 0 auto 100px;
    padding: 10px;
    border-radius: 3px;
    cursor: pointer;
    font-weight: bolder;
    transition: 100ms;
    font-size: 20px;
    display: flex;
    gap: 5px;
    align-items: center;
    transition: all 300ms;
    text-decoration: none;
    
}

.contacter-moi:hover {
    background-color: #fcb353;
    color: #fff;
    transform: scale(1.1);
    flex-direction: row-reverse;
}

.fa-paper-plane {
    transition: margin 0.3s ease;
}

.contacter-moi:hover .fa-paper-plane {
    margin-bottom: 10px;
}

.footer {
    background: #022523;
    color: white;
    padding-top: 60px;
}
.footer-container { max-width: 1200px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding: 0 20px 40px 20px; }
.footer-col h3,
.footer-col h4 { margin-bottom: 15px; color: #F8D116; }
.footer-col p,
.footer-col a { color: #bbb; font-size: 0.95rem; text-decoration: none; transition: 0.3s; }
.footer-col a:hover { color: #F8D116; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #222; text-align: center; padding: 20px; font-size: 0.9rem; color: #777;}

/* =============================== */
/* GRAND ECRAN (jusqu'à 1400px) */
/* =============================== */

@media screen and (max-width: 1400px){

.header{
width:35%;
padding:20px;
}

.container{
width:65%;
padding:20px 30px;
}

.prenom-nom{
font-size:40px;
}

.prenom-nom-dev{
font-size:20px;
}

.intro, .mini-parcours{
font-size:20px;
line-height:26px;
}

.slider-container{
max-width:600px;
}

.h1{
font-size:35px;
}
}

/* =============================== */
/* TABLETTE */
/* =============================== */

@media screen and (max-width: 1024px){

.body{
flex-direction:column;
overflow:auto;
}

.header{
width:100%;
min-height:auto;
border-right:none;
border-bottom:2px solid black;
align-items:center;
text-align:center;
}

.container{
width:100%;
height:auto;
overflow:visible;
padding:20px;
}

.profil{
max-width:150px;
}

.nav{
flex-wrap:wrap;
height:auto;
gap:10px;
padding:10px 0;
position:relative;
}

.competences{
flex-wrap:wrap;
justify-content:center;
margin-left:0;
}

.slider-container{
max-width:100%;
}

.prenom-nom{
font-size:34px;
}

.intro, .mini-parcours{
font-size:18px;
line-height:24px;
}

.localis{
font-size:18px;
}
}


/* =============================== */
/* MOBILE */
/* =============================== */

@media screen and (max-width: 768px){

.header{
padding:15px;
}

.profil{
max-width:110px;
}

.prenom-nom{
font-size:28px;
}

.prenom-nom-dev{
font-size:18px;
}

.dev{
font-size:16px;
}

.verif{
font-size:16px;
}

.localis{
font-size:16px;
justify-content:center;
}

.fa-github{
font-size:40px;
}

.intro, .mini-parcours{
font-size:16px;
line-height:22px;
}

.majuscule{
font-size:35px;
}

.competences{
flex-direction:column;
gap:10px;
}

.h1{
font-size:24px;
padding:6px 10px;
}

.slider-container{
aspect-ratio:16/10;
}

.slide img{
object-fit:cover;
}

.btn{
font-size:22px;
padding:8px 12px;
}

.nav{
flex-direction:column;
gap:10px;
}

.a{
font-size:20px;
}

input, textarea{
width:100%;
}

label{
width:100%;
}

.contacter-moi{
width:100%;
max-width:100%;
}

}


/* =============================== */
/* PETIT MOBILE */
/* =============================== */

@media screen and (max-width: 480px){

.prenom-nom{
font-size:24px;
}

.prenom-nom-dev{
font-size:16px;
}

.intro, .mini-parcours{
font-size:14px;
line-height:20px;
}

.h1{
font-size:20px;
}

.btn{
font-size:18px;
}

.fa-github{
font-size:32px;
}

}