
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

#interface{
    max-width: 1000px;
    margin: auto;
}

#message {
    display:flex;
    flex-direction: row;

    border: #4CAF50 5px dashed;
    padding: 0.5%;
    align-items: center;
}

#fakePicto{
    height: 80px;
    margin: 1%;
    width: 80px;
}

#message .material-icons{
    padding: 10px;
    font-size: 50px;
    /* font-size: 8vw; */
    cursor: pointer;
}

#message #delete {
    margin-left: auto;
}

#message .picto {
    width: 0;
    flex-grow: 1;
    max-width: 80px;
}

#input{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-right: black 2px solid;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* justify-content: stretch; */
    
    width: 100%;
}

#input * {
    min-width: 0;
}

.category {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;

    border: black 2px solid;
    border-top: none;
    border-right: none;
    padding: 1%;
}

.category > *{
    display: flex;
    flex-direction: row;
}

.picto {
    margin: 1%;
    width: 80px;
    object-fit: contain;

    flex-shrink: 1;
}


/* connection elements */
#connect {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
    margin: 0;
}

#key {
    text-align: center;
    font-size: 2em;
    width: 4em;
    text-transform: lowercase;
    margin: 5px;
}

h1{
    font-size: 50px;
}

#submit {
    background-color: #4CAF50; /* Green */
    border: none;
    color: white;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 2em;
    cursor: pointer;
    margin: 10px;
}

a {
    color: rgb(138, 138, 138);
    padding: 10px;
    font-size: 22px;
}

#header{
    margin-bottom: auto;
    align-self: flex-start;
}

#footer {
    margin-top: auto;
    align-self: flex-end;
}


/* utility */
.noselect{
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}