@tailwind components;
@tailwind utilities;

@font-face {
    font-family: "CustomFont";
    src: url('/css/font/poppins.ttf') format('truetype');
}

:root {
    --text-color: white;
    --text-color-reverse: black;
    --background-color: #1E1E1E;
    --background-color-reverse: #E1E1E1
}

* {
    font-family: 'CustomFont', sans-serif;
    scroll-behavior: smooth;
    overflow: hidden;
    left: 0;
}

.dark-mode {
    background-color: var(--background-color);
    color: var(--text-color);
}

.normal-mode {
    background-color: var(--background-color-reverse);
    color: var(--text-color-reverse);
}

html{
    overflow-x: hidden;
    overflow-y: scroll;
}

body {
    scroll-behavior: smooth;
    background-color: #1E1E1E;
    background-image: linear-gradient(180deg, #000000 0%, #1E1E1E 50%);
}

body::-webkit-scrollbar {
    width: 6px;
}

body::-webkit-scrollbar-track {
    background-color: #0bb3ff;
}

body::-webkit-scrollbar-thumb {
    background-color: #ff8000;
    border-radius: 6px;
}

body::-webkit-scrollbar-thumb:hover {
    background-color: darken(#0bb3ff, 20%);
}

header ul li a {
    list-style: none;
    animation: fadeIn 3s;
}

header ul li a:hover:before {
    content: " ▶️ ";
}

header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90vh;
    text-align: center;
}

header h1 {
    color: black;
    font-family: 'Lato', sans-serif;
    background-color: #00b5ff;
    background-image: linear-gradient(43deg, #00b5ff 0%, #ff85ff 50%, #ff8000 100%);
    border-radius: 5px;
    animation: fadeIn 3s;
}

header h2 {
    color: white;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: #4158D0;
    border-radius: 5px;
    animation: fadeIn 3s;
    background: rgb(0, 0, 0);
    background: linear-gradient(120deg, rgba(0, 0, 0, 1) 20%, rgba(242, 0, 0, 1) 100%);
}

section h3 {
    -webkit-background-clip: text !important;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background: linear-gradient(75deg, rgb(239, 103, 53) 30%, rgba(0, 0, 242, 1) 70%);
    text-decoration: underline;
    text-align: center;
}

p strong {
    font-size: 1.2em;
    color: aquamarine;
    width: 50%;
}

ul li strong{
    text-decoration: none;
    font-size: 1em;
    color: rgb(35, 236, 152);
}

ul li span{
    text-decoration: none;
    font-size: 1em;
    color: rgb(123, 194, 223);
}

.titre-contact{
    background: linear-gradient(90deg,#00b5ff 20%,#1e20ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#focusDiv{
    box-shadow: 2px 2px 5px white;
    transition: 0.2 ease;
    &:hover {
        box-shadow: 4px 4px 10px white;
        transform: scale(1.05,1.05);
    }
}

#mega-menu-full{
    animation: appear 1s;
}

footer div {
    color: whitesmoke;
}

footer div textArea {
    background-color: #000000;
    text-align: center;
    resize: none;
    border: 0;
    outline: none;
}

footer div button:hover {
    background-color: #1E1E1E;
}

.font-Zelda{
    font-family: 'CustomFont';
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes appear {
    0% {
        transform: translateY(-10%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@-webkit-keyframes bounceLeft {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    40% {
        -webkit-transform: translateX(30px);
        transform: translateX(30px);
    }
    60% {
        -webkit-transform: translateX(15px);
        transform: translateX(15px);
    }
}
@-moz-keyframes bounceLeft {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(30px);
    }
    60% {
        transform: translateX(15px);
    }
}
@keyframes bounceLeft {
    0%,
    20%,
    50%,
    80%,
    100% {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    40% {
        -ms-transform: translateX(30px);
        transform: translateX(30px);
    }
    60% {
        -ms-transform: translateX(15px);
        transform: translateX(15px);
    }
}

@-webkit-keyframes bounceRight {
    0%,
    20%,
    50%,
    80%,
    100% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }
    40% {
        -webkit-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    60% {
        -webkit-transform: translateX(-15px);
        transform: translateX(-15px);
    }
}
@-moz-keyframes bounceRight {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(-30px);
    }
    60% {
        transform: translateX(-15px);
    }
}
@keyframes bounceRight {
    0%,
    20%,
    50%,
    80%,
    100% {
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    40% {
        -ms-transform: translateX(-30px);
        transform: translateX(-30px);
    }
    60% {
        -ms-transform: translateX(-15px);
        transform: translateX(-15px);
    }
}

.fa-arrow-right {
    -webkit-animation: bounceRight 2s infinite;
    animation: bounceRight 2s infinite;
    float:left;
}

.fa-arrow-left {
    -webkit-animation: bounceLeft 2s infinite;
    animation: bounceLeft 2s infinite;
    float: right;
}