/*#settingModal {
    display: none;
}*/



/*******************************/
/******Allgemeines Layout******/
/*******************************/
body {margin: 1px;}

#mainC {
    display: grid;
    grid-row-gap: 5px;
    grid-column-gap: 5px;
    grid-template-columns: 35px 1fr ;
    grid-template-rows: 20px 1fr 20px;  
    width: 100%;
    height: 99vh;
    padding-top: 5px;

}
#wrapper {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
}
#areawrapper {
    grid-column: 2 / span 1;
    grid-row: 2 / span 1;
}
.copyright {
    grid-column: 2 / span 1;
    grid-row: 3 / span 1;
    
}
.copyright p {
    font-size: 10px;
    margin-top: 1px;
}


/*******************************/
/******Allgemeines Styling******/
/*******************************/
/*Typography*/
body {
    background-color: #484848;
    color: #cdcdcd;
    font-family: "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
}

h1 {
    font-weight: 400;
    color: #000000;
    font-size: 15px;
}
h2{
    text-transform: uppercase;
    font-size: 15px;
}
p {
    font-size: 15px;
}
a {
    color: #cdcdcd;
}
a:hover {
    color: #fcfcfc;
}
/*Buttons*/
.yes-button {
    border: 1px solid #1473e6;
    background-color: #1473e6;
    border-radius: 25px;
    padding: 10px 15px 10px 15px;
    color: #cdcdcd;
}
.yes-button:hover {
    border: 1px solid #0f64d2;
    background-color: #0f64d2;
    cursor: pointer;

}

.no-button {
    border: 2px solid #cdcdcd;
    background: #484848;
    border-radius: 25px;
    padding: 10px 15px 10px 15px;
    color: #cdcdcd;
    font-weight: bold;
}
.no-button:hover {
    border: 2px solid #cdcdcd;
    background: #cdcdcd;
    color: #484848;
    cursor: pointer;

}
.disabled {
    border: 1px solid #cdcdcd;
    background: #484848;
    border-radius: 5px;
    padding: 0px 4px 0px 4px;
    color: #cdcdcd;
    font-weight: normal;
    font-size: 14px;
    cursor: normal;
    cursor: default;  
    pointer-events: none;  
}



.button-1 {
    border: 1px solid #cdcdcd;
    background: #484848;
    border-radius: 5px;
    padding: 0px 4px 0px 4px;
    color: #cdcdcd;
    font-weight: normal;
    font-size: 14px;
    cursor: pointer;
}
.button-1:hover {

    background: #cdcdcd;
    color: #484848;

}



.button {
    cursor: pointer!important;
}

/*Main Buttons*/

.row-buttons {

}
.column-buttons {

}






.whitespace{ height: 3px;}
.button-column { margin-right: 0px;}
.button-row {margin-left: 7px;}

/*Einstellungen Button*/
#settingBtn, #codeBtn{
    Border-Radius: 25px;
    width: 50px;
    height: 50px;
    position: fixed; 
    bottom:40px;
}
#settingBtn{
    right: 15px;
    background: transparent;
    border: 2px solid #cdcdcd;
}
#codeBtn {
    right: 80px;
    background: #1473e6;
    border: 2px solid #1473e6;
}
#codeBtn:hover {
    background: #0f64d2;
    border: 2px solid #0f64d2;
}
.button-icon {
    fill: #cdcdcd;
    padding-top: 4px;
}

#settingBtn:hover {
    background-color: #cdcdcd;
} 
#settingBtn:hover .button-icon {
    fill: #484848;
}





/*Input Felder*/
input[type=number] {
    border-radius: 5px;
    color: #cdcdcd;
    padding-left: 5px;
    padding-right: 2px;
    /*text-align: right;*/
    background: #1b1b1b;
}
.main-setting input[type=number] {
    border: 1px solid #cdcdcd; 
    width: 35px;
}
#mainC input[type=number] {
    width: 25px;
    border: 1px solid #1473e6;
    /*background: #484848;*/
}
input[type=number]::-webkit-inner-spin-button {
  cursor: pointer;
}



/*******************************/
/*************Areas*************/
/*******************************/

.show-grid-column:hover {
    /*background-color: #525252;*/
    cursor: pointer;
}
.area-active{
    border: 3px solid #fcfcfc
}


.area-selection {
    position: relative;
    grid-template-columns: 8fr 1fr 1fr;
    grid-template-rows: 1fr 9fr;
    }
.areaName {
    position: absolute;
    top: 50%;  
    left: 50%; 
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #fcfcfc;
    color: #fcfcfc;
    font-size: 1.5vw;
    text-align: center;
    margin: auto;
    max-width: 80%;
}
.areaName:focus, .areaName:active {
    outline: none;
}
.btn-remove {
    font-size: 11.5px;
    position: absolute;
    right: 7px;
    top: 7px;
    width: 58px; 
    height: 30px;
    border-radius: 16px;
    background: transparent;
    color: #cdcdcd;
    border: 2px solid #cdcdcd;
    /*max-width: 45%;*/
}
.btn-remove:hover{
    background-color: #cdcdcd;
    border: 2px solid #cdcdcd;
    color: #484848;
    cursor: pointer;
}

.area-info {
    font-size: 13px;
    text-align: center;
    line-height: 25px;
    position: absolute;
    right: 70px;
    top: 7px;
    width:58px; 
    height:26px;
    background-color: #1473e6;
    color: #cdcdcd;
    border: 2px solid #1473e6;
    /*max-width: 45%;*/
}
.btn-save{
    font-size: 11.5px;
    position: absolute;
    right: 70px;
    top: 7px;
    width:58px; 
    height:30px;
    border-radius: 16px;
    background-color: #1473e6;
    color: #cdcdcd;
    border: 2px solid #1473e6;
    /*max-width: 45%;*/
}
.btn-save:hover{
    background-color: #0f64d2;
    border: 2px solid #0f64d2;
    cursor: pointer;
}




/*******************************/
/********Modales Fenster********/
/*******************************/

/*Allgemeines Design*/
.modal {

  position: fixed; 
  z-index: 1; 
  padding-top: 100px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4); 
}

#codeModal {
    display: none;
}
/* Close Button SETTINGS */
.close {
  /*color: #aaaaaa;*/
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  /*color: #000;*/
  text-decoration: none;
  cursor: pointer;
}


/* Inhalt */
.modal-content {
  background-color: #484848;
  border: 1px solid #1473e6;
  margin: auto;
  width: 670px;
  max-width: 90%;*/
}
.main-setting {
  padding-bottom: 20px;
}
.main-setting p, .main-setting h2 {
    margin-bottom: 0px;
}


/*Titel*/
.modal-title {
    background-color: #fcfcfc;
    padding: 8px 15px 8px 15px;
}
.modal-title h1{
    margin: 0px;
}


.modul-wrapper {
    padding: 50px 15px 15px 15px;
   
}



/**/
/*SETTINGS MODAL DESIGN*/
/**/
#column-setting {
    grid-area: column-setting;
}
#row-setting {
    grid-area: row-setting;
}
#gap-setting {
    grid-area: gap-setting;
}
#close-settings {
    grid-area: close-settings;
    justify-self: end;
}


/*Grid Settings für den Inhalt des Modalen Fensters*/
.setting-wrapper {
    display: grid;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-template-columns: 200px 200px 200px;
    grid-template-rows: 1fr 1fr 1fr;
    grid-template-areas: 
        "column-setting row-setting gap-setting"
        "column-setting row-setting gap-setting"
        "column-setting row-setting gap-setting"
        ". . close-settings"
}




/**/
/*GET-THE-CODE MODAL DESIGN*/
/**/
#get-css {
    grid-area: get-css;
}
#get-html {
    grid-area: get-html;
}
#copyCss {
    grid-area: copy-css;
    justify-self: end;
}
#copyHtml {
    grid-area: copy-html;
    justify-self: end;
}
#close-code {
    grid-area: close-code;
    justify-self: end;
}
#copyCss .yes-button, #copyHtml .yes-button {
    width: 70.31px;
    border: 2px solid #1473e6;
}
#copyCss .yes-button:hover, #copyHtml .yes-button:hover {
    border: 2px solid #0f64d2;
}


/*Grid Settings für den Inhalt des Modalen Fensters*/
.code-wrapper {
    display: grid;
    grid-row-gap: 20px;
    grid-column-gap: 40px;
    grid-template-columns: 300px 300px;
    grid-template-rows: 1fr 50px 50px;
    grid-template-areas: 
        "get-css get-html"
        "copy-css copy-html"
        ". close-code"
}

/*Codeblock Styling*/
.codeblock {
    background-color: #1b1b1b;
    border: 1px solid #cdcdcd;
    padding: 10px;
    border-radius: 5px;
    height: 140px;
    overflow: auto;
}




/*Scrollbar Styling*/
.codeblock::-webkit-scrollbar-track
{
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 2px;
    background-color: #484848;
}

.codeblock::-webkit-scrollbar
{
    width: 6px;
    background-color: #484848;
}

.codeblock::-webkit-scrollbar-thumb
{
    background-color: #cdcdcd;
    border-radius: 2px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}






/*******************************/
/********Column Buttons on main********/
/*******************************/

#column-button-grid {
/*   display: flex;
     justify-content: space-evenly;*/
     display: grid;    

    grid-row-gap: 5px;
    grid-column-gap: 5px;
    grid-column: 2 / span 1;
    grid-row: 1 / span 1;
}
.column-buttons {
    grid-row: 1;
}

/*******************************/
/********Row Buttons on main********/
/*******************************/

#row-button-grid {
/*   display: flex;
     justify-content: space-evenly;*/
     display: grid;   
   
     grid-row-gap: 5px;
     grid-column-gap: 5px;
     width: 40px;
     margin-left: 0px;
     grid-column: 1 / span 1;
     grid-row: 2 / span 1;
}
.row-buttons {
    grid-column: 1;

}


