@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500&display=swap');

@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(https://themes.googleusercontent.com/static/fonts/sourcecodepro/v4/mrl8jkM18OlOQN8JLgasDxM0YzuT7MdOe03otPbuUS0.woff) format('woff');
}


body {
    background-color: transparent;
}

.app {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    background-color: #000;
    overflow-y: hidden;
}

main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}


.hacker-console {
    background-color: transparent;
    width: 80%;
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.round-border-output {
    border: 2px solid #fff;
    border-radius: 20px;
    display: flex;
    overflow-y: auto;
    font-family: 'Source Code Pro';
    line-height: 1.5;
}

.hacker-output {
    background-color: #000;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    scrollbar-color: #302f2f #000;
    scrollbar-width: thin;
    padding-bottom: 1.5rem;
}

.hacker-output p, h2 {
    color: rgba(0, 255, 0, 0.7);
    margin-bottom: -10px;
}

.hacker-output h2 {
    margin-top: 10px;
}

/* .hacker-output p:nth-child(2n) {
    color: #fff;
} */

.arrow-output {
    font-size: 100%;
}

.hacker-input {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.hacker-input input {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #fff;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem;
    width: 100%;
}

.hacker-input input:focus {
    outline: none;
}

.hacker-input button {
    cursor: pointer;
    background-color: #000;
    border: 1px solid #fff;
    border-radius: 20px;
    color: #fff;
    font-size: 1rem;
    padding: 0.5rem;
    margin-left: 1rem;
}

.hacker-input button:hover {
    background-color: #fff;
    color: #000;
}

.hacker-input button:focus {
    outline: none;
}

.bottom-tools {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    margin-top: 1rem;
    gap: 20px;
    font-size: 30px;
    animation: apparition 1s ease-in-out;
}

@keyframes apparition {
    0% {
        transform: translateY(150%);
    }

    100% {
        transform: translateY(0%);
    }
}

.bottom-tools-icon,
.bottom-settings-icon {
    opacity: 0.5;
    transition: 1s;
}

.bottom-tools-icon:hover,
.bottom-settings-icon:hover {
    opacity: 1;
    transition: 0.3s ease-out;
}

.bottom-tools-icon.fa-house {
    color: #0891b2;
}

.bottom-tools-icon.fa-hammer {
    color: #ea580c;
}

.bottom-tools-icon.fa-shield {
    color: #dc2626;
}

.bottom-tools-icon.fa-screwdriver-wrench {
    color: #525252;
}

.bottom-tools-icon.fa-list-check {
    color: #65a30d;
}

.bottom-tools-icon.fa-power-off {
    color: #d946ef;
}

.bottom-tools-icon.fa-rotate {
    color: #4f46e5;
}

.bottom-tools-icon.fa-question {
    color: #64748b;
}

.tooltip {
    position: relative;
    border-bottom: 1px dotted transparent;
}

.tooltip:before {
    content: attr(data-hover);
    visibility: hidden;
    opacity: 0;
    width: 300px;
    background-color: transparent;
    text-align: center;
    border-radius: 5px;
    padding: 5px 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    transition-delay: 250ms;
    transition-property: all;
    transition: all 1s ease-in-out;
    animation: opacity 1s ease-in-out;

    position: absolute;
    z-index: 1;
    left: -135px;
    top: -30px;
}

.tooltip:hover:before {
    opacity: 1;
    visibility: visible;
}

.tooltip.house {
    color: #0891b2 !important;
}

.tooltip.hammer {
    color: #ea580c !important;
}

.tooltip.shield {
    color: #dc2626 !important;
}

.tooltip.screwdriver-wrench {
    color: #525252 !important;
}

.tooltip.list-check {
    color: #65a30d !important;
}

.tooltip.power-off {
    color: #d946ef !important;
}

.tooltip.rotate {
    color: #4f46e5 !important;
}

.tooltip.question {
    color: #64748b !important;
}

.tooltip.language {
    color: #940f37 !important;
}

.tooltip.circle-half-stroke {
    color: #383838 !important;
}

.bottom-settings {
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 100%;
    display: none;
    animation: apparition 1s ease-in-out;
}

.bottom-settings .bottom-container {
    color: #000000;
    background-color: #ffffff94;
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    padding: 0 10px;
}

.bottom-settings-icon.fa-language {
    color: #940f37;
}

.bottom-settings-icon.fa-caret-down {
    color: #383838
}

.bottom-settings-icon.fa-circle-half-stroke {
    color: #082f49;
}

.bottom-tools-settings {
    cursor: pointer;
    font-size: 30px;
}

.theme-chooser {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 10px;
    z-index: 9999;
}

.theme-chooser h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-top: 0;
}

.theme-chooser-item {
    display: flex;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
}

.theme-chooser-item p {
    margin-left: 10px;
    color: #fff;
}

.theme-chooser-item-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* Styles pour chaque thème */

.theme-chooser-item-color.default {
    background-color: #2196f3;
}

.theme-chooser-item-color.dark {
    background-color: #424242;
}



@media (max-width: 768px) {
    .hacker-output {
        font-size: 0.75rem;
    }

    .hacker-input input {
        font-size: 0.75rem;
    }

    .hacker-input button {
        font-size: 0.75rem;
    }

    .arrow-output {
        font-size: 100%;
        font-weight: bold;
    }

    .hacker-output p {
        margin-bottom: -5px;
    }

    .hacker-input {
        margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    }

}

/* COLORS - and go find on assets/css/tools/colors.css*/

.default {
    color: rgba(0, 255, 0, 0.7) !important;
}