@font-face {
    font-family: 'VT323';
    src: url('../fonts/VT323-Regular.ttf') format('truetype');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "VT323";
    color: rgb(225, 225, 225);
    text-decoration: none;
}

body {
    background-color: rgb(25, 25, 25);
}

/*
******************************
******* SMALL SCREEN *********
******************************
*/
@media (max-width: 768px) {
    * { font-size: x-large; }

    .navbar_container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 200px;
        z-index: 1;
        width: 100%;
    }

    .navbar_menu {
    flex-direction: column;
    }

        
    .navbar {
        padding: 40px;
        margin-top: 10px;
        border-bottom: 2px solid rgb(225, 225, 225);
        height: auto;
    }

    .navbar_menu {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        text-align: center;
    }

    #navbar_title {
        font-size: 2rem;
        justify-content: center;
        font-weight: bold;
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        padding: 5px 20px;
        margin-bottom: 10px;
        /*height: 100%;*/
        width: 200px;
        border: none;
        outline: none;
        border: 2px solid rgb(225, 225, 225);
    }

    .button2 {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        padding: 10px 20px;
        margin: 30px;
        /*height: 100%;*/
        width: 200px;
        border: none;
        outline: none;
        border: 2px solid rgb(225, 225, 225);
    }

    button, input {
        background-color: rgb(25, 25, 25);
    }

    button {
        padding-left: 20px;
        padding-right: 20px;
    }

    button:hover {
        background-color: rgb(225, 225, 225);
        color: rgb(25, 25, 25); 
    }

    input:valid {
        background-color: rgb(25, 25, 25);
    }

    .button:hover, .button2:hover {
        background-color: rgb(225, 225, 225);
        color: rgb(25, 25, 25);
        border: 2px solid rgb(225, 225, 225);
    }


    .footer {
        padding: 10px;
        margin-top: 20px;
        border-top: 2px solid rgb(225, 225, 225);
        height: 80px;
    }

    .terminal {
        /* width: 80vw;
        height: 60vh; */
        background-color: rgb(25, 25, 25);
        border: 2px solid rgb(225, 225, 225);
        padding: 10px;
        margin: 30px;
        color: rgb(225, 225, 225);
        overflow-y: auto;
    }

    .terminal-screen {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .input-line {
        display: flex;
        align-items: center;
    }

    .prompt {
        color: #ffffff;
    }

    .input-cursor {
        margin-left: 10px;
        outline: none;
        display: inline-block;
        width: auto;
        min-width: 50px;
        border-bottom: 2px solid #ffffff;
        color: #ffffff;
    }

    .input-cursor:focus {
        outline: none;
    }

    .blink {
        animation: blink 1s infinite;
    }

    @keyframes blink {
        50% {
            border-bottom-color: transparent;
        }
    }

    .recherche {
        color: coral;
        display: block;
        /*font-size: large;*/
    }

    .recherche:hover {
        background-color: coral;
        color: rgb(25, 25, 25);
    }

    .recherche2 {
        color: coral;
        display: block;
        display: flex;
        align-items: center;
        gap: 4px;
        text-decoration: none;
    }
    
    .recherche2:hover {
        background-color: coral;
        color: rgb(25, 25, 25);
    }
    
    .user-name {
        color: inherit;
        width: 40%;
        font-weight: bold;
    }
    
    @supports (display: -webkit-box) {
        .user-name {
            color: inherit;
            width: 40%;
            font-weight: normal;
        }
    }
    
    .separator {
        display: none;
    }
    
    .fragment-count {
        color: inherit;
        width: 20%;
        text-align: right;
    }
    
    .fragment-text {
        color: inherit;
        width: 40%;
        text-align: left;
    }
}

/*
******************************
******** BIG SCREEN **********
******************************
*/
@media (min-width: 768px) {
    
    * { font-size: xx-large; }

    .navbar_container {
        display: flex;
        justify-content: space-between;
        height: 80px;
        z-index: 1;
        width: 100%;
    }

    
    .navbar {
        padding: 30px;
        margin-top: 20px;
        border-bottom: 2px solid rgb(225, 225, 225);
        height: 150px;
    }

    .navbar_menu {
        display: flex;
        justify-content: center;
        align-items: center;
        list-style: none;
        text-align: center;
    }
    

    #navbar_title {
        font-size: 2rem;
        font-weight: bold;
        display: flex;
        align-items: center;
        text-decoration: none;
    }
    
    @supports (display: -webkit-box) {
        #navbar_title {
            font-size: 2rem;
            font-weight: normal;
            display: flex;
            align-items: center;
            text-decoration: none;
        }
    }

    .button {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        padding: 10px 20px;
        margin-left: 10px;
        /*height: 100%;
        width: 100%;*/
        border: none;
        outline: none;
        border: 2px solid rgb(225, 225, 225);
    }

    .button2 {
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        padding: 10px 20px;
        margin: 30px;
        /*height: 100%;*/
        width: 200px;
        border: none;
        outline: none;
        border: 2px solid rgb(225, 225, 225);
    }

    button, input {
        background-color: rgb(25, 25, 25);
    }

    button {
        padding-left: 20px;
        padding-right: 20px;
    }

    button:hover {
        background-color: rgb(225, 225, 225);
        color: rgb(25, 25, 25); 
    }

    input:valid {
        background-color: rgb(25, 25, 25);
    }

    .button:hover, .button2:hover {
        background-color: rgb(225, 225, 225);
        color: rgb(25, 25, 25);
        border: 2px solid rgb(225, 225, 225);
    }


    .footer {
        padding: 10px;
        margin-top: 20px;
        border-top: 2px solid rgb(225, 225, 225);
        height: 80px;
    }

    .terminal {
        /* width: 80vw;
        height: 60vh; */
        background-color: rgb(25, 25, 25);
        border: 2px solid rgb(225, 225, 225);
        padding: 10px;
        margin: 30px;
        color: rgb(225, 225, 225);
        overflow-y: auto;
    }

    .terminal-screen {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .input-line {
        display: flex;
        align-items: center;
    }

    .prompt {
        color: #ffffff;
    }

    .input-cursor {
        margin-left: 10px;
        outline: none;
        display: inline-block;
        width: auto;
        min-width: 50px;
        border-bottom: 2px solid #ffffff;
        color: #ffffff;
    }

    .input-cursor:focus {
        outline: none;
    }

    .blink {
        animation: blink 1s infinite;
    }

    @keyframes blink {
        50% {
            border-bottom-color: transparent;
        }
    }

    .recherche {
        color: coral;
        display: block;
    }

    .recherche:hover {
        background-color: coral;
        color: rgb(25, 25, 25);
    }

    .recherche2 {
        color: coral;
        display: block;
        display: flex;
        align-items: center;
        gap: 4px;
        text-decoration: none;
    }
    
    .recherche2:hover {
        background-color: coral;
        color: rgb(25, 25, 25);
    }
    
    .user-name {
        color: inherit;
        width: 30%;
        font-weight: bold;
    }
    
    @supports (display: -webkit-box) {
    .user-name {
        color: inherit;
        width: 30%;
        font-weight: normal;
    }
    
    .separator {
        color: inherit;
        width: 30%;
        text-align: center;
    }
    
    .fragment-count {
        color: inherit;
        width: 10%;
        text-align: right;
    }
    
    .fragment-text {
        color: inherit;
        width: 20%;
        text-align: left;
    }
}


