/*!
 * Start Bootstrap - Stylish Portfolio (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    width: 100%;
    height: 100%;
    background: rgb(254, 199, 46);
}

body {
    font-family: 'Work sans', 'Arial', 'sans-serif';
}

a {
  color: #227ccc;
  transition: color 0.3s;
}

a:hover {
  color: #9bd0ff;
  text-decoration: none;
  transition: color 0.3s;
}

.text-vertical-center {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.text-vertical-center h1 {
    margin: 0;
    padding: 0;
    font-size: 4.5em;
    font-weight: 700;
}

/* Custom Button Styles */

.btn-dark {
    border-radius: 5px;
    color: #fff;
    background-color: rgba(0,0,0,0.7);
    margin: 20px;
    z-index:5;
}

.btn-dark:hover,
.btn-dark:focus,
.btn-dark:active {
    color: #fff;
    background-color: rgba(0,0,0,0.9);
}

.btn-light {
    border-radius: 0;
    color: #333;
    background-color: rgb(255,255,255);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    color: #333;
    background-color: rgba(255,255,255,0.8);
}


.btn-circle {
  width: 70px;
  height: 70px;
  margin-top: 15px;
  padding: 7px 16px;
  border: 2px solid white;
  border-radius: 100% !important;
  font-size: 40px;
  color: white;
  background: transparent;
  -webkit-transition: background 0.3s ease-in-out;
  -moz-transition: background 0.3s ease-in-out;
  transition: background 0.3s ease-in-out;
}
.btn-circle:hover,
.btn-circle:focus {
  outline: none;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.btn-circle i.animated {
  -webkit-transition-property: -webkit-transform;
  -webkit-transition-duration: 1s;
  -moz-transition-property: -moz-transform;
  -moz-transition-duration: 1s;
}
.btn-circle:hover i.animated {
  -webkit-animation-name: pulse;
  -moz-animation-name: pulse;
  -webkit-animation-duration: 1.5s;
  -moz-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  -moz-animation-timing-function: linear;
}



/* Custom Horizontal Rule */

hr.small {
    max-width: 100px;
}

/* Side Menu */

#sidebar-wrapper {
    z-index: 1000;
    position: fixed;
    right: 0;
    width: 250px;
    height: 100%;
    transform: translateX(250px);
    overflow-y: auto;
    background: #222;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar-nav li {
    text-indent: 20px;
    line-height: 40px;
}

.sidebar-nav li a {
    display: block;
    text-decoration: none;
    color: #999;
}

.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.2);
}

.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}

.sidebar-nav > .sidebar-brand {
    height: 55px;
    font-size: 18px;
    line-height: 55px;
}

.sidebar-nav > .sidebar-brand a {
    color: #999;
}

.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: none;
}

#menu-toggle {
    z-index: 2;
    position: fixed;
    top: 0;
    right: 0;
}

#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    -ms-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.toggle {
    margin: 5px 5px 0 0;
}

/* Header */

.circle-on-background {
    color: white;
    line-height: 2;
    display: table;
    position: relative;
    width: 100%;
    background: url(../img/bgcopy.jpg) no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.plain-footer {
  background: rgb(254, 199, 46);
  color: white;
  line-height: 2;
  display: table;
  position: relative;
  width: 100%;
}

/* Services */

.services {
    padding: 50px 0;
    background: #777777;
}

.service-item {
    margin-bottom: 30px;
}

/* Call to Action */

.call-to-action {
    padding: 50px 0;
}

.call-to-action .btn {
    margin: 10px;
}

/* Footer */

footer {
    padding: 100px 0;
    overflow: hidden;
}

.fa {
  color: #fff;
  transition: color 1s;
}

.fa:hover {
  color: rgb(254, 199, 46);
  transition: color 1s;
}

li .special-fa:hover {
  color: rgb(253, 230, 167);
  transition: color 1s;
}

.fa-times {
  color: #222;
}

.fa-times:hover {
  color: rgb(254, 199, 46);
}

#to-top {
  display: none;
  position: fixed;
  bottom: 5px;
  right: 5px;
}


/* changing colour for the intro */

.class1 {
    color: white;
}

.class2 {
    color: white;
    background: black;
    height: 10%;
}

#mainframe {
  position:absolute;
  left: -250px;
  top: 50px;
  height: 400px;
  z-index:0;
}

.circle-img {
  border-radius: 50%;
}

.powered-by {
  color: #f1f1f1;
  display: block;
  text-align:right;
}

.powered-by img{
  height: 30px;
}

.proviso p {
  font-size: 10px;
  text-align: right;
}

.henryach p {
  font-size: 12px;
  text-align: right;
}

.landing-logo {
  width: 40%;
  max-width: 200px;
}


.landing-text {
  position:relative;
  z-index:1;
}

.logo-mini{
  width: 90vw;
  max-width: 300px;
  padding: 10px 0px 30px 0px;
}

.about {
  background: rgb(254,199,46);
  color: #222;
}

.about p{
  text-align:left;
}

h2 {
  margin: 20px
}

.performance {
  display: table;
  padding: 20px 0px;
  width: 100%;
  color: #fff;
  background: url(../img/bg2copy.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

#myChart {
  margin: 20px 0px;
  width: 100%;
  max-height: 200vh;
}

.footer-row {
  position:relative;
}

.footer-row div {
  z-index:1;
}

.welcome-to {
  padding-top: 20px;
}

.welcome-to p {
  text-align: center;
}

.examples-div {
  text-align: center;
  padding: 20px;
}

.game-img {
  width: 40vw;
  max-width:200px;
  padding: 5px 0px;
  display: inline-block;
  transition: max-width 1s;
}

.game-img:hover {
  max-width: 220px;
  transition: max-width 1s;
}

@media(min-width:768px) {
  p {
    font-size: 20px;
  }

  h2 {
    font-size: 42px;
    margin: 40px
  }

  .stats{
    text-align:center;
    padding: 30px;
  }
  .stats p{
    display: inline-block;
    margin: 20px 20px;
  }
  #myChart {
    width: 70%;
    max-height: 80vh;
  }
  #stats-2{
    display:inline;
    width:100%
  }
  #mainframe {
    position:absolute;
    left: -50px;
    height: 700px;
    z-index:0;
  }
  .examples-div {
    text-align: center;
    padding: 40px;
  }

}

@media(min-width:1200px) {
  .stats p{
    display: inline;
    margin: 0px 30px;
  }
  #stats-2{
    width:auto;
  }
}
