* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    
}

#all {
    margin: 70px auto;
    width: 90vw;
    display: flex;
    flex-wrap: wrap;
    
   
}

/* #settings, #chartCode {
    flex: 1;
} */

#settings {
    flex: 3;
}



#chartCode {
    min-height: 400px;
    box-shadow: 0 0 20px 3px rgb(40, 105, 203);
    border-radius: 20px;
    padding: 20px;
    white-space: pre;
    position: relative;
    min-width: 300px;
    overflow-x: auto;
    flex: 5;
    margin: 20px;
}

#add {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 70px auto;
    width: max-content;
}

#table {
    display: flex;
    justify-content: center;
}

input {
    height: 25px;
    padding-left: 10px;
    width: 300px;
    box-shadow: 0 0 5px 1px rgb(40, 105, 203);
    border-radius: 4px;
    border: none;
    margin-bottom: 4px;
}

input:focus {
    outline: 2px solid rgb(68, 68, 175);
    box-shadow: 0 0 10px 3px rgb(12, 93, 214);
}

#btnAdd {
    background-color: rgb(40, 105, 203);
    color: white;
    width: 300px;
    border-radius: 4px;
    height: 25px;
    border: none;
    box-shadow: 0px 4px 10px 0.8px rgb(58, 122, 249);
}

table {
    padding: 20px;
    border-collapse: collapse;


}

td {
    border: 2px solid black;
    padding: 4px;
}

#chartColor {
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: white;
    border: none;
    outline: none;
    box-shadow: none;
}

#color {
    align-items: center;
    display: flex;
    gap: 7px;
    font-size: 0.9em;

}

#chyboveHlasky {
    color: red;
}

#copyButton {
    bottom: 10px;
    right: 15px;
    position: absolute;
    display: none;
}

#copyButton.hover {
    background-color: rgb(70, 175, 175);
}

th {
    padding: 10px;
}

h1 {
    font-size: 1.6em;
    margin-bottom: 30px;
    text-wrap: wrap;
}

@media (max-width: 768px) {

    #all {
        width: 95vw;
        margin: 0px auto;
    }

    input {
        width: 90vw;
        max-width: 300px;
    }
}



