@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@200;400&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

body, html{
    height: 100%;
    padding: 0;
    margin: 0;
}

footer {
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
}

a {
    color: #ffaa00;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ff9900;
}

h1 {
    font-family: 'Raleway', sans-serif;
    text-align: center;
    color: #ffaa00;
    padding: 20px 0;
    margin: 0;
    font-size: 3rem;
    font-weight: 200; /* Poids pour un style fin */
}

#container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
    background-color: #151515;
    border-radius: 10px;
}

#qrForm {
    flex: 1;
    min-width: 300px;
}

::placeholder {
    color: #505050;
    font-style: italic;
}

#right {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hidden {
    display: none;
}

#qrCodeImage {
    max-width: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 10px auto;
}

button {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffaa00;
    color: #000000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 auto;
    transition: 1s;
}

button:hover {
    transition: 1s;
    background-color: #ff9900;
}

#submit-btn {
    margin-top: 20px;
}

#btn-download {
    margin: 20px auto;
}

.download-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

label {
    display: block;
    margin-bottom: 8px;
}

label:not(:first-child) {
    margin-top: 20px;
}

input[type="text"],
input[type="number"],
input[type="search"],
select {
    width: 100%;
    background-color: #1e1e1e;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus,
select:focus {
    outline: none;
    -webkit-border-color: #ff9900;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

select:disabled,
input:disabled {
    background-color: #333333;
    color: #777777;
    cursor: not-allowed;
    opacity: 0.6;
}

option {
    background-color: #1e1e1e;
    color: #ffffff;
}

option:hover,
option:focus {
    background-color: #ffaa00;
    color: #000000;
}

::selection {
    background-color: #ffaa00;
    color: #000000;
}

.details {
    font-size: 12px;
    color: #808080;
}

p {
    line-height: 1.6;
    margin: 1em 0;
    color: #ffffff;
}

h2 {
    font-family: 'Raleway', sans-serif;
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    margin: 0.5em 0 0.5em 0;
}


@media only screen and (max-width: 768px) {
    #container {
        flex-direction: column;
        gap: 20px;
    }
}