@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Titania-regular';
    src: url('../fonts/Titania-Regular.ttf') format('truetype'); /* Mets le bon chemin */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Titania-s';
    src: url('../fonts/Titania-Shadow.ttf') format('truetype'); /* Mets le bon chemin */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Titania-o';
    src: url('../fonts/Titania-Outline.ttf') format('truetype'); /* Mets le bon chemin */
    font-weight: normal;
    font-style: normal;
}
:root {
    --color-primary: #D5C5FF;
    --color-secondary: #4f277a;
    --color-background: #082d64;
}
body{
    margin: 0;
    padding: 0;
    background-image: url("../images/fond.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}
.bg {
    background-color:var(--color-secondary); ;
}
#abouts{
    border-radius: 5%;
}
h1{
    font-family: "Titania-regular" , sans-serif;
}
h2{
    font-size: 3rem;
    font-family: "Titania-regular" , sans-serif;
    color: var(--color-primary);
}
.title {
    color: var(--color-primary);
}
.titleName{
    font-family: "Montserrat", sans-serif;
    font-style: italic;
}
.btnCv{
    cursor: pointer;
    border: 2px solid var(--color-primary);
    transition: 0.4s ease-in-out;
}
.btnCv:hover{
    background-color: var(--color-primary);
    color: var(--color-secondary);
}
.fTexte {
    color: var(--color-primary);
}
p,a {
    font-family: "Montserrat", sans-serif;
}
hr{
    color: var(--color-primary);
}
a:hover {
    color: var(--color-primary);
    transform:scale(1.2);
}
.skills-grid {
    display:flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1rem;
}
.skill-card {
    background: linear-gradient(135deg, rgba(213, 197, 255, 0.1) 0%, rgba(79, 39, 122, 0.2) 100%);
    border: 1px solid var(--color-primary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(213, 197, 255, 0.2);
}
.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(213, 197, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.skill-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 0 30px rgba(213, 197, 255, 0.4);
    border-color: var(--color-secondary);
}
.skill-card:hover::before {
    opacity: 1;
}
.skill-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(213, 197, 255, 0.5));
    transition: transform 0.3s ease;
}
.skill-card:hover .skill-image {
    transform: rotate(10deg) scale(1.1);
}
.skill-title {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(213, 197, 255, 0.7);
}
.social-btn {
    color: var(--color-primary);
    background: rgba(79, 39, 122, 0.2); /* Fond violet foncé semi-transparent */
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    animation: pulse 1.5s infinite ease-in-out;
}
.social-btn:hover {
    background: var(--color-primary);
    color: var(--color-background);
    transform: scale(1.1);
}
.social-btn svg {
    width: 24px;
    height: 24px;
}
.social-btn svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}
/* Animation inspirée de Stupid Otter 100 */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(213, 197, 255, 0.7); /* Violet clair */
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 10px 5px rgba(213, 197, 255, 0.3);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(213, 197, 255, 0);
    }
}




