@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Dosis:wght@200&family=Hind+Madurai:wght@300&family=Lora&family=Montserrat:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --font-primary: 'Lato', sans-serif;
    --font-secondary: 'Dosis', sans-serif;
    --color-text-light: #fff;
    --color-text-dark: #000;
    --color-accent-primary: #64a86a;
    --color-accent-secondary: #32b974ef;
    --color-accent-tertiary: #25945bef;
    --color-accent-blue: #203168;
    --color-accent-purple: #2a044d;
    --background-glass: rgba(94, 131, 161, 0.247);
    --border-glass: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-effect {
    background: var(--background-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: var(--border-glass);
    color: var(--color-text-light);
}

/* GENERAL */

body {
    font-family: var(--font-primary);
    background-image:  url(https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--color-accent-tertiary);
    margin-bottom: 20px;
}


h2 {
    font-size: 32px;
    font-weight: bold;
    color: var(--color-text-light);
}

h3 {
    font-size: 24px;
    font-weight: bold;
    color: var(--color-accent-primary);
    text-transform: uppercase;
    margin-bottom: 15px;
    width: 100%;
}

h4 {
    color: var(--color-accent-blue);
    margin-top: 0;
    
}

h5 {
    color: var(--color-text-light);
    font-size: medium;
}

h6{
    color: var(--color-accent-purple) !important;
}

p {
    font-size: 18px;
    color: var(--color-text-light);
}

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

section {
    padding: 50px 0 60px 0;
}

section .heading {
    text-align: center;
    padding-bottom: 40px;
}

.divider {
    width: 100px;
    height: 2px;
    background-color: #888;
    margin: 0 auto 20px;   
}

.divider.green {
    background-color: #014421;
}

ul {
    list-style: none;
}

a{
    padding-top: 10px;
}

/*scroll*/
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    background: var(--color-accent-primary);
    border-radius: 4px;
    opacity: 0.5;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 0.8;
}


/* NAVBAR */

.navbar {
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
    /*border-bottom: 1px solid white;
    border-radius: 15px;*/
    padding: 12px;
}
.navbar-nav {
    margin: 0 auto;
    text-align: center;
}
.nav-link {
    color: whitesmoke !important;
    margin: 0 6px;
}
.nav-link.active,
.nav-link:hover {
    background-color: var(--color-accent-primary);
    color: white !important;
    border-radius: 15px;
}



/*Presentation*/

.presentation {
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
    font-family: var(--font-secondary), sans-serif;
    font-size: x-large;
}


.profile-picture {
    text-align: center;
    margin: 0px auto 30px;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%); 
    
}

.profile-picture:hover {
     filter: none;
    -webkit-filter: none; 
}



.button1 {
    font-weight: bold;
    color: gray;
    text-transform: uppercase;
    border: 1px solid grey;
    padding: 18px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 80%; /* Pour centrer verticalement */
    left: 50%; /* Pour centrer horizontalement */
    transform: translate(-50%); /* Pour corriger le centrage */
    border-radius: 3px;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease-in 0s;
    width: fit-content;
    
}

.button1:hover {
    background: white;
    
}


.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.skill, .project, .education-item {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 150px;
}

.skill img {
    height: 60px;
    margin-bottom: 10px;
}

.skill p {
    font-weight: bold;
    color: var(--color-text-light);
}

.skill-category {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
}

.skill-category h3 {
    width: 100%;
    text-align: center;
}

/* Experience */
.timeline {
    padding: 30px 10px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 2px;
    background-color: #333;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:after, .timeline > li:before {
    display: table;
    content: " ";
}

.timeline > li:after {
    clear: both;
}

.timeline-panel {
    width: 45%;
    float: left;
    border-radius: 3px;
    padding: 20px;
    position: relative;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline-panel-container-inverted .timeline-panel {
    float: right;
}

.timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.4em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    background-color: #333;
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}


/* Education */
.education-block {
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.education-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.education-block .tech-tag {
    background-color: var(--color-accent-secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin: 2px;
    display: inline-block;
}
.bi-award-fill{
    font-size: 24px;
    margin-right: 5px;
}

/* Portfolio */
#portfolio .card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

#portfolio .card-body {
    text-align: center;
}

#portfolio .card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-accent-primary);
}

#portfolio .tech-tag {
    background-color: var(--color-accent-secondary);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin: 2px;
    display: inline-block;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: var(--color-accent-primary);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}
