/*
© 2024-2025 Virgil Onillon
Ce travail est sous licence CC BY-NC-SA 4.0.
Voir : https://creativecommons.org/licenses/by-nc-sa/4.0/
*/

#allumer_server {
    cursor: pointer;
    border: #00ff00 solid 2px;
}
#allumer_server:hover {
    background-color: #00ff00;
}

#eteindre_server {
    cursor: pointer;
    border: #ff0000 solid 2px;
}
#eteindre_server:hover {
    background-color: #ff0000;
}

#game-choice {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 100vh;
}

#game-choice > div {
    display: flex;
    background-color: rgb(30, 30, 30);

    align-items: left;
    flex-direction: column;

    width: fit-content;
    padding: 20px;

    box-shadow: 0 2px 1px -1px #0003, 0 1px 1px #00000024, 0 1px 3px #0000001f;
    border-radius: 3px;
}

.ligne_bouton {
    display: flex;
    align-items: center;
    padding: 0.5em;
    margin-top: 1em;

    border: 2px solid rgb(56, 56, 56);
    background-color: rgb(18, 18, 18);
}

.ligne_bouton:hover {
    border-color: rgb(235, 153, 71) !important;
}

.ligne {
    display: flex;
    align-items: center;
    padding: 0.5em;
    margin-top: 1em;
}

a, span {
    text-decoration: none;
    font-size: 1.5em;
}

#profile-picture {
    border-radius: 50%;
    max-width: 15em;
}

hr {
    margin-top: 1em;
    width: 100%;
    height: 1px;

    border-width: 0;
    background-color: #383838;
}

#version {
    font-size: 0.8em;
    margin-top: -0.5em;
}








html p,h4 {
    color: rgba(255, 255, 255, .87);
}

/*boutons eteindre et allumer*/
#btn_wol {
    background-color: green;
    border-color: green;
}

#btn_hibernate {
    background-color: red;
    border-color: red;
}

.bouton1 {
    border-style: solid;
    border-radius: 5px;
    color: white;
}

.bouton1:hover {
    background-color: white !important;
    border-width: 2px;
    color: black;
    cursor: pointer;
}



/*page de connexion*/

#prelogin_div {
    text-align: center;
    background: rgb(30, 30, 30);
    padding: 15px;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

#prelogin_div h3 {
    display: inline-block;
    color: rgba(255, 255, 255, .87);
}



/* bouton google */

.gsi-material-button {
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-appearance: none;
    background-color: #f2f2f2;
    background-image: none;
    border: none;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #1f1f1f;
    cursor: pointer;
    font-family: 'Roboto', arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: 0.25px;
    outline: none;
    overflow: hidden;
    padding: 0 12px;
    position: relative;
    text-align: center;
    -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
    transition: background-color .218s, border-color .218s, box-shadow .218s;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    max-width: 400px;
    min-width: min-content;
}
  
.gsi-material-button .gsi-material-button-icon {
    height: 20px;
    margin-right: 12px;
    min-width: 20px;
    width: 20px;
}
  
.gsi-material-button .gsi-material-button-content-wrapper {
    -webkit-align-items: center;
    align-items: center;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
    height: 100%;
    justify-content: space-between;
    position: relative;
    width: 100%;
}
  
.gsi-material-button .gsi-material-button-contents {
    color: black !important;
    
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-family: 'Roboto', arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
}
  
.gsi-material-button .gsi-material-button-state {
    -webkit-transition: opacity .218s;
    transition: opacity .218s;
    bottom: 0;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}
  
.gsi-material-button:disabled {
    cursor: default;
    background-color: #ffffff61;
}
  
.gsi-material-button:disabled .gsi-material-button-state {
    background-color: #1f1f1f1f;
}
  
.gsi-material-button:disabled .gsi-material-button-contents {
    opacity: 38%;
}
  
.gsi-material-button:disabled .gsi-material-button-icon {
    opacity: 38%;
}
  
.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
    background-color: #001d35;
    opacity: 12%;
}
  
.gsi-material-button:not(:disabled):hover {
    -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
  
.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
    background-color: #001d35;
    opacity: 8%;
}