@import url('variables.css');

/* ------- Global Classes ------- */
*,
*::after,
*::before {
    box-sizing: border-box;
}

html {
    margin: 0;
    height: 100%;
    min-height: 100%;
    width: 100%;
    overflow-y: auto;
    padding-left: var(--html-padding);
    padding-right: var(--html-padding);
    background-color: var(--color-background);
    background-image:  linear-gradient(var(--color-main), var(--color-background));
    background-position-y: var(--navbar-height);
}

body {
    margin: 0;
    background-color: white;
}

.section-padding {
    height: 100px;
}

h1,
h2,
h3,
h4 {
    text-align: center;
}

h6 {
    text-align: center;
    max-width: 250px;
    text-overflow: wrap;
}

.container-ul,
.container-ol {
    text-align: center;
    margin-bottom: 15px;
    margin-top: 0px;
}

hr {
    margin-bottom: 25px;
    margin-top: 25px;
}

ul,
ol {
    display: inline-block;
    text-align: left;
}


ul {
    list-style-type: square;
}

p {
    padding-bottom: 25px;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 500px;
    margin: auto;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    margin-bottom: 25px;
    max-width: 600px;
}

button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    transition-duration: 0.25s;
}

button:hover{
    background-color: var(--hover-grey);
    color: var(--hover-white);
     box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
  
}

button:disabled,
button[disabled]{
    background-color: var(--hover-grey);
}

button:active {
  background-color: var(--color-accent);
  transform: translateY(3px);
}

h2 {
    margin-top: 100px;
}

.btn-clr {
    background: var(--color-error);
    border-radius: 10px;
    padding: 10px;
    color: white;
    border: 1px solid grey;
}

.container-colorSelectionMenu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    max-width: 600px;
    padding: 5px;
}

.container-colorSelection {
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-content: center;
    padding: 7px;
    margin-left: 10px;
    margin-right: 10px;
}

.container-drawModeSelection {
    display: flex;
    border-radius: 10px;
    justify-content: center;
    align-content: center;
    padding: 7px;
    margin-left: 10px;
    margin-right: 10px;
}

.icons {
    margin-left: 10px;
    margin-right: 10px;
}



.color-preview {
    margin-left: 10px;
    margin-right: 10px;
    display: block;
    height: 25px;
    width: 25px;
    background-color: black;
    border: 1px solid grey;
}

label {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

canvas {
    display: block;
    margin: auto;
    max-width: 512px;
    max-height: 512px;
}

iframe {
    display:  block;
    margin: auto;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 1200px;
    min-height: 850px;
}

code {
    color: var(--text-blue);
    display: inline-block;
    text-align: left;
}

.language-JavaScript,
.language-javascript,
.language-javaScript,
.language-js,
.language-ad-warning,
.language-html,
.language-HTML {
    background-color: var(--color-light);
    padding: 15px;
    width: 550px;
    display: block;
    margin: auto;
    margin-top: 15x;
    margin-bottom: 15px;

}

.language-ad-warning {
    color: white !important;
    background-color: var(--color-error) !important;
    word-break: keep-all;
    white-space: normal;
}

.divider {
    width: 80%;
}

.container-bubble {
    display: block;
    position: fixed;
    bottom: 3%;
    right: 5%;
}

.container-bubble .bubble {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    background-color: var(--color-error);
    border-radius: 10px;
    padding: 0%;
    -webkit-box-shadow: 7px 8px 18px -1px rgba(0, 0, 0, 0.58);
    -moz-box-shadow: 7px 8px 18px -1px rgba(0, 0, 0, 0.58);
    box-shadow: 7px 8px 18px -1px rgba(0, 0, 0, 0.58);
}

.bubble p {
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    color: white;
    text-shadow: -1px -1px 0 rgba(1.0, 1.0, 1.0, 0.1),
        1px -1px 0 rgba(1.0, 1.0, 1.0, 0.1),
        -1px 1px 0 rgba(1.0, 1.0, 1.0, 0.1),
        1px 1px 0 rgba(1.0, 1.0, 1.0, 0.1);
}

.finished {
    background-color: var(--color-accent) !important;
}

#title-btnpair{
    width: 110px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin-bottom: 0px;
}

.container-btnpair{
    display: flex;
    width: 120px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    margin-bottom: 5px;
}

.btn-inc{
    color: white;
    background-color: var(--color-accent);
    margin: 0%;
    width: 50px;
    border: 1px solid grey;
}

.btn-dec{
    color: white;
    background-color: var(--color-error);
    margin: 0%;
    margin-left: 5px;
    width: 50px;
    border: 1px solid grey;
}

.counter{
    margin-top: -15px;
    margin-bottom: -20px;
    margin-left: auto;
    margin-right: auto;
    width: 110px;
    height: 50px;
}

.container-all {
    display: flex;
    justify-content: center;
    justify-items: center;
    justify-self: center;
    align-self: center;
    align-items: center;;
}

.container-gl {
    border: 5px solid var(--color-main);
}

.container-menu{
    border: 1px solid var(--color-main);
    background: var(--color-light);
    -moz-box-shadow: 20px 21px 37px -8px rgba(0,0,0,0.26);
    -webkit-box-shadow: 20px 21px 37px -8px rgba(0,0,0,0.26);
    box-shadow: 20px 21px 37px -8px rgba(0,0,0,0.26);
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-items: center;
    justify-self: center;
    align-self: center;
    align-items: center;
    padding-left: 25px;
    padding-right: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-left: 50px;
}

.container-menu, h5 {
    border-bottom: 1px solid var(--color-main);
}

.container-lbl {
    display: flex;
    justify-content: center;
    justify-items: center;
    justify-self: center;
    align-self: center;
    align-items: center;
}

.container-menu p,label {
    margin: 0%;
    padding: 0%;
    text-align: center;
}

.container-menu button {
    margin: 5px;
    padding: 1px;
    text-align: center;
}

.container-menu button:hover {
    color: white;
    background-color: var(--color-accent);
    border: none;
    padding: 7px;
}



/* ------- JQuery Classes ------- */
