@font-face {
    font-family: 'Nunito';
    src: url('resources/nunito.black.woff') format('woff'),
         url('resources/nunito.black.ttf') format('truetype');
}

body
{
    font-family: Arial;
    background-color: #1c1a26;
    overflow: hidden;
    opacity: 0;
    transition: opacity 1s;
}

.topnav
{
    background-color: #2c2a36;
    overflow: hidden;
    user-select: none;
}

.topnav a
{
    float: right;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s;
}

.topnav a:hover
{
    background-color: #4c4a56;
}

.topnav a.active 
{
    background-color: #1E88E5;
    color: white;
    float: left;
    font-family: 'Nunito';
    padding: 12px 16px;
}

.footer {
   user-select: none;
   position: fixed;
   left: 0;
   bottom: 0;
   width: 100%;
   background-color: #2c2a36;
   color: white;
   text-align: center;
   padding-bottom: 15px;
   padding-top: 15px;
}

.credits-link {
    text-decoration: none;
    color: white;
    transition: all 0.15s;
    cursor: pointer;
}

.credits-link:hover {
    color: #a6a5ab;
}

#blocklyContainer {
  position: relative;
  width: 60%;
  height: 84.5vh;
  float: left;
}

#blocklyDiv {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#consoleContainer {
    height: 84.5vh;
    user-select: none;
}

#console {
    height: 93.55%;
    width: 100%;
    background-color: #16151e;
    color: #dddddd;
    line-height: 1.5;
    font-family: Consolas, monospace;
    user-select: text;
}

#canvasContainer {
    height: 93.55%;
    width: 100%;
    background-color: white;
}

.controlButton{
    user-select: none;
    border: none;
    border-radius: 3px;
    background-color: #2c2a36;
    width: 30px;
    height: 30px;
    margin: 5px 5px;
    transition: all 0.3s;
    cursor: pointer;
}
.controlButton:hover{
    background-color: #3c3a46;
}
.controlButtonImg{
    margin-top: 4px;
}

::-webkit-scrollbar {
    width: 0px;
}

#notePicker {
    background-image: url(resources/notes.png);
    border: 1px solid #ccc;
    height: 109px;
    width: 46px;
}



.dropdown {
    float: right;
    overflow: hidden;
}
  
.dropdown .dropbtn {
    font-size: 17px;  
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;

    transition: all 0.3s;
}
  
.navbar a:hover, .dropdown:hover .dropbtn {
    background-color: #4c4a56;
}
  
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #23212b;
    min-width: 106.5px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
  
.dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
  
.dropdown-content a:hover {
    background-color: #2c2a36;
}
  
.dropdown:hover .dropdown-content {
    display: block;
}

.credits-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.5);
    user-select: none;
}
  
/* Modal Content */
.credits-modal-content {
    background-color: #4c4a56;
    margin: auto;
    padding: 20px;
    width: 50%;
    border-radius: 10px;
    color: white;
    text-align: center;
    transition: all 0.15s;
}

/* The Close Button */
.credits-modal-close {
    color: white;
    float: right;
    font-size: 22px;
    font-weight: bold;
    transform: translateY(-7px);
    transition: all 0.15s;
}
  
.credits-modal-close:hover,
.credits-modal-close:focus {
    opacity: 50%;
    text-decoration: none;
    cursor: pointer;
}

.credits-modal-link {
    text-decoration: none;
    color: white;
    transition: all 0.15s;
}

.credits-modal-link:hover {
    color: #a6a5ab;
}

.credits-modal-separator {
    color: #a6a5ab;
}

#project-name:hover {
    background-color: unset;
}

#project-name {
    padding: 11px;
}

#project-name-input {
    border: solid #4c4a56 2px;
    border-radius: 20px;
    width: 150px;
    height: 20px;
    background-color: #2c2a36;
    color: white;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 17px;
}

#project-name-input:focus {
    outline: none;
}

.basic-canvas-input:focus {
    outline: none;
}