/* =========================
   Reset & Global Styles
   ========================= */
/* Supprimer les styles automatiques */

body {
    background: linear-gradient(to bottom, #0F1724, #49a07e, #0F1724);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: rgba(210, 210, 210, 0.95);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Supprimer les styles automatiques des formulaires */
input, textarea {
    background-color: #000000;
    color: #ffffff;
    border: none;
    outline: none;
}

/* =========================
   Navbar
   ========================= */

.navbar {
    background-color: #0F1724;
    color: rgba(210, 210, 210, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.navbar.transparent {
    background-color: transparent;
}

.navbar.scrolled {
    background-color: #0F1724;
}

.navbar-brand {
    font-size: 24px;
    text-decoration: none;
    color: rgba(210, 210, 210, 0.95);
}

.navbar-toggler {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.navbar-toggler-icon span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: rgba(210, 210, 210, 0.95);
    transition: background-color 0.3s ease;
}

.navbar-toggler-icon:hover span {
    background-color: #6dd19e; /* Couleur au survol */
}


.navbar-menu {
    display: flex;
    gap: 20px;
}

.navbar-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.nav-link {
    color: rgba(210, 210, 210, 0.95);
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #6dd19e;
}

/* =========================
   Sections & Components
   ========================= */

.project-title h3{
    font-size: 20px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.89);
}




/* =========================
   About Section Styles
   ========================= */
.about-section {
    padding-top: 5rem;
    margin-top: 5rem;
}

.card {
    margin: 1rem;
    background-color: rgba(255, 255, 255, 0.89);
}

.card-body {
    padding: 1rem;
}

.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.text-section {
    flex: 1;
    margin-bottom: 3rem;
}

.intro {
    display: flex;
    align-items: center;
}

.card-title {
    font-size: 40px;
    color: rgba(0, 0, 0, 0.89);
    margin-left: 0.5rem;
}

h1 {
    font-size: 60px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.89);
}

.avatar {
    width: 300px;
    height: 375px;
    clip-path: ellipse(50% 40% at 50% 50%);
    object-fit: cover;
    margin: auto;
}

.avatar-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-avatar {
    display: none;
}

.desktop-avatar {
    display: block;
}

.buttons {
    display: flex;
    margin-top: auto;
}

.btn {
    background-color: #49a07e;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    margin-right: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.outline-btn {
    background-color: transparent;
    border: 2px solid #49a07e;
}

.btn:hover {
    background-color: #6dd19e;
}

.outline-btn:hover {
    background-color: #6dd19e;
    color: #ffffff;
}

/* =========================
   Animations
   ========================= */
@-webkit-keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
}

@keyframes slide-right {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(100px);
        transform: translateX(100px);
    }
}

/* =========================
   Titles
   ========================= */
.d-flex .typewriter {
    font-size: 40px;
    color: rgba(0, 0, 0, 0.89);
    left: -100px;
    position: relative;
    -webkit-animation: slide-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    animation: slide-right 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.d-flex h1 {
    font-size: 60px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.89);
}

.text-resume{
    font-size: 23px;
}

.main-content {
    padding: 8px;
    display: flex;
    /*border: 1px solid var(--color-background-light);*/
}

.text-section{
    width: 63%;
    max-width: 100%;
    /*border: 1px solid var(--color-background-light);*/
}

.avatar-section{
    width:37%;
    /*border: 1px solid var(--color-background-light);*/
}



/* =========================
   Buttons
   ========================= */

.buttons a {
    color: rgba(0, 0, 0, 0.89);
}

.buttons {
    margin-top: 25PX;
}
.bg-custom-green {
    background-color: #49a07e;
    transition: background-color 0.3s ease;
}

.bg-custom-green:hover {
    background-color: #6dd19e;
}

/* =========================
   Carousel
   ========================= */
.carousel-caption {
    color: #000000;
    display: none;
}

/* =========================
   Typography
   ========================= */
.twelve h2 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 160px;
    text-align: center;
    margin: auto;
    white-space: nowrap;
    padding-bottom: 13px;
}

.twelve h2:before {
    background-color: #ffffff;
    content: '';
    display: block;
    height: 3px;
    width: 75px;
    margin-bottom: 5px;
}

/* =========================
   Responsive Design
   ========================= */
@media (max-width: 768px) {
    /* NAvigateion */

    .navbar-toggler {
        display: block;
    }

    .navbar-menu {
        display: none;
        flex-direction: column;
        background-color: #0F1724;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 10px 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        display: flex;
    }

    .nav-link {
        text-align: center;
        padding: 10px 0;
    }

    .navbar-nav {
        flex-direction: column;

    }

    .navbar.transparent {
        background-color: #0F1724;
    }

    /*    Banner */
    .content {
        flex-direction: column;
        padding: 1rem;
    }

    .intro h1 {
        font-size: 30px;
    }

    .text-resume{
        font-size: 15px;
    }


    .d-flex .typewriter{
        font-size: 20px;
    }

    /*    Banner Avatar */

    .avatar {
        width: 95px;
        height: 120px;
    }

    .avatar-section {
        display: none;
    }

    .mobile-avatar {
        display: block;
    }

    .buttons {
        flex-direction: column;
    }

    .btn {
        margin-bottom: 10px;
    }

/*    Compétences */
    .svg{
        width: 20px;
        height: 20px;
    }
}
