:root{
    --border:#BB0;
    --border-color-input:#323239;
    --border-radius-input:5px;
}
header img{
    border-radius: 50px;
}
.main {
    justify-content: center;
    width: 100%;
    /*! align-items: center; */
    /*! align-content: center; */
    align-content: flex-start;
}
.main h2{
    font-size: 2.3em;
}
.alert {
    font-size: .8em;
    color: #F00;
}
.header{
    width: 100%;
    text-align: center;
}
#twitch_faq .header{
display:flex;
}
#twitch_faq .header a{
display:inline-block;
}
#twitch_faq .header a[name=seeMyQuestion]{
    background: #1c3a3a;
    color: #FFF;
}
#twitch_faq .header a[name=seeMyQuestion]:hover{
    color: #FF0;
    transform:scale(1);
}
.header h2{
    color:var(--border);
}
.header p{
    width: 70%;
    margin: 0 auto;
}
.liveInfo{
width:100%;
height:auto;
background:#3338;
position: relative;
overflow: hidden;
}
.liveInfo h3{
    font-size: 1rem;
    display: inline-block;
    width:250%;
    padding-left: 100%;
            animation: marquee 10s linear infinite;
    
}
.liveInfo h4{
    border-top: 1px solid var(--border-color-input);
    font-size: .9rem;
}
footer{
    border-top: 1px solid var(--border);
}
#twitch_faq {
position:relative;
    width: 35%;
    background: #FFF;
    padding: 15px;
    border-radius:0 30px 30px 0;
    box-shadow: 3px 3px 3px #000;
    height: 75%;
}
#twitch_faq .header{
    border-bottom:1px solid #555;
    padding:.5rem;
}
table#history{
    width: 100%;
    border-collapse: collapse;
}
table#history tbody{
    font-size: 0.8em;
}
table#history thead tr th{
    border-bottom: 1px solid #000;
}
h3:has(+#history){
    border-bottom:1px solid #FF0;
    background:#1c3a3a;
    color: #FFF;
    padding:5px;
}
table#history tbody tr td {
    padding: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px; /* Limite la largeur de la cellule */
}
table#history tbody tr:hover{
    background: #CED858;
}
#twitch_faq a {
    color: #202626;
    text-decoration: none;
    transition: .7s;
    display:block;
}

#twitch_faq a:hover {
    color: #1c3a3a;
    transform:scale(1.2);
}

#twitch_faq a:active {
    color: #F9F;
}

.compoment {
    display: flex;
    flex-direction: column;
    width: 75%;
}
.compoment:has([for=checkPolicy]){flex-direction: row;}
[for=checkPolicy] a{
font-size:11pt;
}
#twitch_faq .compoment label a:hover{
color:#AA2222
}
[ID^=twitch-embed] {
    width: 100%;
    height: 100%;
   border-radius:53px 0 53px 53px;
}
[ID^=twitch-embed] iframe {
    border-radius: 25px 0 25px 25px;
}
.tooltip {
    position: relative; /* Nécessaire pour que l'élément ::after soit positionné relativement à .tooltip */
    display: inline-block; /* Pour que l'élément puisse être survolé correctement */
}

.tooltip::after {
    content: attr(title-replace);
    position: absolute;
    bottom: 100%; /* Place l'info-bulle au-dessus de l'élément */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out;
    font-family: Arial, Helvetica, sans-serif;
}
.playerTwitch aside{
    position: absolute;
    bottom: 0;
    z-index: 10;
    background:#666;
    border-radius:25px;
    padding: 5px;
}
.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
}

.listStreamer {
    display: flex;
    justify-content: space-around;
    height: 100%;
}

.listStreamer .adscence,
.playerTwitch {
    width: 25%;
    height: 250px;
    position: relative;
}

.playerTwitch a {
    color: #FFF;
    text-decoration: none;
    transition: .7s;
    font-size: 1em;
    display: block;
    padding: 5px;
    text-align: center;
}

.playerTwitch a:hover {
    font-size: 1.2em;
    color: #338;
    background: #22A5EE;
}

.compoment button {
    width: 50%;
    border: none;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    color: #FFF;
    background: linear-gradient(#22A5EE, #3A2E55);
    cursor: pointer;
    transition: .7s;
}

.compoment button:hover {
    color: #333;
    background: linear-gradient(#3EE, #5AA);
}

.compoment textarea {
    height: 75px;
    resize: none;
    border: 1px solid var(--border-color-input);
    border-radius: var(--border-radius-input);
    font-size: 1rem;
    padding: 0.5rem;
}

.compoment input {
    border: 1px solid var(--border-color-input);
    height: 20px;
    border-radius: 5px;
    font-size: 1rem;
    padding: 1rem;
}

#contentFAQ {
position:relative;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    width: 75%;
    justify-content: space-around;
    align-self: center;
    padding: 9px;
    
}

#twitch-embed {
    width: 65%;
    height: 100%;
}
@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}
@media (max-width: 576px) {

    .main {
        width: 100%;
    }

    #twitch-embed {
        width: 100%;
        height: 100%;
    }

    #twitch_faq {
        width: 100%;
        background: #222;
        padding: 15px;
        border-radius: 30px;
        box-shadow: 3px 3px 3px #000;
        height: 75%;
    }
}