* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    font-size: 62.5%;
}
header {
    display: flex;
    flex-wrap: wrap;
    background-color: #000000;
    padding: 2rem;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    color: #fff;
    justify-content: space-evenly;
}
body {
    background-color: #000000;
}
h1 {
    display: inline-block;
    font-size: 4.8rem;
}

nav ul li {
    padding-top: 1.5rem;
    font-size: 2rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    display: inline-block;
    justify-content:flex-end;
    margin-left: 2.5rem;
}

main {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-around;
}

div {
    background-color: rgb(255, 255, 255);
    height: 15rem;
    width: 30rem;
    padding: 2rem;
    border: 1px solid  rgb(255, 255, 255);
    border-radius: 2rem;
    margin: 2rem;
    opacity: 0.6;
    text-align: center;
    line-height: 0.1rem;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 10px 10px 10px #aaa;
}

div:hover {
    opacity: 1.0;
    transform: rotate(-1deg) scale(1.1);
}
.InsGlobalExecution{
    background-image: url(./assets/01-Ins-Global-Execution-Context.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuGlobalExecution{
    background-image: url(./assets/02-Stu-Global-Execution-Context.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsFunctionalExecution{
    background-image: url(./assets/03-Ins-Functional-Execution.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuFunctionalExecution{
    background-image: url(./assets/04-Stu-Functional-Ececution.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsStacks{
    background-image: url(./assets/05-Ins-Stacks.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuStacks{
    background-image: url(./assets/06-Stu-Stacks.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsQueues{
    background-image: url(./assets/07-Ins-Queues.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}
.StuQueues{
    background-image: url(./assets/08-Stu-Queues.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsCallbackQueues{
    background-image: url(./assets/09-Ins-Callback-Queue.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuCallbackQueues{
    background-image: url(./assets/10-Stu-Callback-Queue.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsHigherOrderFunctions{
    background-image: url(./assets/11-Ins-Higher-Order-Function.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuHigherOrderFunctions{
    background-image: url(./assets/12-Stu-Higher-Order-Functions.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsClosures{
    background-image: url(./assets/13-Ins-Closures.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuClosures{
    background-image: url(./assets/14-Stu-Closures.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsFactoryFunctions{
    background-image: url(./assets/15-Factory-Functions.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuFactoryFunctions{
    background-image: url(./assets/16-Stu-Factory-Functions.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsFactoryvsConstructor{
    background-image: url(./assets/17-Ins-Factory-vs-Constructor.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuFactoryvsConstructor{
    background-image: url(./assets/18-Stu-Factory-vs-Constructors.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.InsEventDelegationHandling{
    background-image: url(./assets/19-Ins-Event-Delegation-Handling.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

.StuEventDelegationHandling{
    background-image: url(./assets/20-Stu-Event-Delegation-Handling.PNG);
    background-size:200px 80px;;
    background-repeat: no-repeat;
    background-position:bottom;
}

/* Dark mide Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ff0000;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: rgb(255, 255, 255);
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: rgb(0, 255, 0);
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px rgb(29, 128, 210);
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }
  
  .row {
    margin: 20px;
    display: flex;
  }
  .col {
    margin: 20px;
  }
  /* Dark mide Switch */