@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: black;
    --text-color: #e7e7e7;
    --content-bg: #103;
    
    --link-color: #6314ca;
    --link-hover-bg: #6a24c5;
    --link-hover-text: white;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    color: var(--text-color);
    background: var(--content-bg);
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);

    height: 80px;

    margin: 16px;
    padding: 20px;

    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

#centre_header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 3rem;
}

#droite_header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-content: flex-start;
    width: 100px;
}
#droite_header button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    cursor: pointer;

    transition: all 0.3s ease-in-out;
    
    text-align: center;
}
#droite_header a {
    text-align: center;
}
header button,
header a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 600;
    
    margin: 12px 0;
    padding: 8px;

    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}
#droite_header a:hover,
#droite_header button:hover {
    color: var(--link-hover-bg);
    background: none;
}
#droite_header i {
    font-size: 1.6em;
}

.container {
    display: flex;
    flex-direction: row;

    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#form {
    width: 45vw;
}

#form h3 {
    margin-top: 7px;
    margin-bottom: 5px;
}

input[type="submit"] {
    color: var(--text-color);
    background-color: var(--link-color);
    border: none;
    
    cursor: pointer;
    margin-top: 10px;
}

select,
button,
input {
    font-size: 1rem;
    padding: 10px;
    margin-bottom: 12px;
    width: 100%;

    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: background-color 0.3s;
}

button:hover,
input:hover,
a:hover {
    color: var(--link-hover-text);
    background: var(--link-hover-bg);
    text-decoration: none;
}

.content_ {
    background: var(--content-bg);
    
    margin: 16px;
    padding: 20px;
    
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}
.content_:hover {
    transform: scale(1.005);
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 2rem 0;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(128, 128, 128, 0.418);
}
h2 {
    border-bottom: 3px solid var(--link-color);
    font-size: 22px;
}

.barre {
    display: flex;
    flex-direction: row;
    
    justify-content: space-between;
    gap: 8px;
}

.aff {
    width: 50px;
}

#profile {
    background: var(--content-bg);
    margin: 16px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

#profile p {
    margin: 10px 0;
}

#profile ul {
    list-style-type: none;
    padding-left: 0;
}

#profile ul li {
    margin: 5px 0;
}

#profile form {
    margin-top: 20px;
}
