/* Normal Weight */
@font-face {
    font-family: Tourney-bold;
    src: url("../assets/fonts/Tourney/static/Tourney-Light.ttf");
}

/* Thin Weight */
@font-face {
    font-family: Tourney-thin;
    src: url('../assets/fonts/Tourney/static/Tourney-Thin.ttf');
}

/* Nav font */
@font-face {
    font-family: Anta;
    src: url('../assets/fonts/Anta-Regular.ttf');
}

@font-face {
    font-family: Sixtyfour;
    src: url('../assets/fonts/Sixtyfour-Regular.ttf');
}

/* p font */
@font-face {
    font-family: Alloy;
    src: url('../assets/fonts/Alloy-Regular.ttf');
}

body {
    color: white;
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

header {
    width: 100%;
    display: flex;
    margin-bottom: 90px;
}

footer {
    width: 100%;
    background-color: rgba(60, 59, 59, 0.809);
    text-align: center;
    color: aliceblue;
    box-shadow: 0 0 10px rgba(255, 0, 153, 0.551);

}

a {
    color: white;
    text-decoration: none;
}

.bg-black {
    background-color: #0D0D0D;
}

.neon_pink {
    text-shadow: 0 0 15px rgb(255, 0, 153);
}

.neon_blue {
    text-shadow: 0 0 15px rgb(30, 144, 255);
}

.neon_green {
    text-shadow: 0 0 15px rgb(0, 255, 133);
}

.accent1 {
    color: #00FF85;
}

.accent2 {
    color: #1E90FF;
}

.hover {
    color: #ff0099;
}

i {
    text-shadow: 0 0 15px rgb(0, 255, 133) !important;
    font-size: 50px !important;
    margin-top: 4rem !important;
}

/* Section projet */
#projects {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.carrousel {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.carrousel-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    justify-content: center;
}

.project {
    width: 100%;
    display: none;
}

.project.active {
    display: block;
}

.project-img-container {
    width: 80%;
    margin: auto;
}

.project-img-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

.swiper {
    width: 10%;
    margin-bottom: 200px;
    cursor: pointer;
}

.project-title {
    text-align: center;
    margin: 10px 0;
}

/* Bouton github, src =  https://uiverse.io/kamehame-ha/kind-otter-31*/
/* From Uiverse.io by kamehame-ha */
.button {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 15px;
    gap: 15px;
    background-color: #181717;
    outline: 3px #181717 solid;
    outline-offset: -3px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: 400ms;
    margin: 0 auto;
}

.button .text {
    color: white;
    font-weight: 700;
    font-size: 1em;
    transition: 400ms;
}

.button svg path {
    transition: 400ms;
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.655);
}

.project {
    display: none;
    transition: opacity 0.5s ease-in-out;
}

.project.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.button:hover .text {
    color: #181717;
}

.button:hover svg path {
    fill: #181717;
}

.project-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* Form styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group input,
.form-group textarea {
    background-color: #181717;
    border: none;
    border-radius: 5px;
    padding: 10px;
    color: white;
    outline: 2px #181717 solid;
    transition: outline 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 200px;
}

.contact-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Neon Button */
.neon-button {
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid #00FF85;
    background-color: transparent;
    color: #00FF85;
    font-family: Anta;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 0 10px #00FF85;
    text-shadow: 0 0 5px rgba(0, 255, 133, 0.5);
    align-self: center;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 133, 0.4), transparent);
    transition: 0.5s;
}

.neon-button:hover {
    box-shadow: 0 0 20px #00FF85, 0 0 30px #00FF85;
    color: white;
    text-shadow: 0 0 10px rgba(0, 255, 133, 0.7);
}

.neon-button:hover::before {
    left: 100%;
}

.grid-3 {
    margin-top: 20px;
    margin-bottom: 20px;
    width: 70%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.g-recaptcha {
    text-align: center;
    margin-top: 10px;
}

.logo {
    filter: invert(1);
}

/* Intro */
.intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: black;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 1s ease;
    text-align: center;
}

.intro.hide {
    transform: translateY(-100%);
}

body {
    overflow-y: scroll;
}

.content {
    opacity: 0;
    transition: opacity 1s ease;
}

.content.show {
    opacity: 1;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    z-index: 999;
    display: none;
}

.container-intro2 i {
    font-size: 60px;
    animation: bounce 2s infinite;
}