body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(to bottom, #ff6600, #4a4a4a);
    color: white;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.market_title {
    font-family: 'Orbitron';
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
}

nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ffa500;
    text-decoration: underline;
}

.current_page {
    color: #4a4a4a;
    text-decoration: underline;
}

main {
    flex-grow: 1;
    padding: 40px 0;
}

h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 40px;
}

.content-box {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

p {
    line-height: 1.6;
}

.highlight {
    color: #ffa500;
    text-decoration: none;
}

.highlight:hover {
    text-decoration: underline;
}

.select_lang {
    margin-bottom: 50px;
    text-align: center;
}

.fr_lang_button {
    display: flex;
    align-items: center;
    background-color: black;
    border-radius: 10px;
    padding: 10px 20px;
    margin-left: 440px;
}

.en_lang_button {
    display: flex;
    align-items: center;
    background-color: black;
    border-radius: 10px;
    padding: 10px 20px;
    margin-left: 20px;
}

.small-text {
    font-size: 0.9rem;
    font-style: italic;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    h1 {
        font-size: 2rem;
    }
}

.p_lang_effect {
    display: inline-block;
    flex-direction: column;     
    justify-content: center;    
    align-items: center;
    font-family: 'Courier New', Courier, monospace; 
    overflow: hidden; 
    white-space: nowrap; 
    border-right: 2px solid black; 
    animation: typing 4s steps(79, end), blink-caret 0.5s step-end infinite; 
    margin-left: 230px;
}

@keyframes typing {
    from { width: 0; } 
    to { width: 100%; } 
}

@keyframes blink-caret {
    from { border-color: transparent; }
    to { border-color: black; }
}

.fade-in {
    margin-top: 50px;
    margin-left: 230px;
    margin-right: 230px;
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
    animation-delay: 3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}