.col,
.col-1,
.col-10,
.col-11,
.col-12,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-auto,
.col-lg,
.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-auto,
.col-md,
.col-md-1,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-auto,
.col-sm,
.col-sm-1,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-auto,
.col-xl,
.col-xl-1,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-auto {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 15px;
	padding-left: 15px
}
@media (min-width:768px) {

  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%
  }
  .col-lg-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%
  }
}

.text-center {
	text-align: center!important
}

.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff
}

.btn-primary:hover {
	color: #fff;
	background-color: #0069d9;
	border-color: #0062cc
}

.btn-primary.focus,
.btn-primary:focus {
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}

.btn-primary.disabled,
.btn-primary:disabled {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
	color: #fff;
	background-color: #0062cc;
	border-color: #005cbf
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show>.btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .5)
}


.btn {
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	border: 1px solid transparent;
	padding: .375rem .75rem;
	font-size: 1rem;
	line-height: 1.5;
	border-radius: .25rem;
	transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

@media screen and (prefers-reduced-motion:reduce) {
	.btn {
		transition: none
	}
}

.btn:focus,
.btn:hover {
	text-decoration: none
}

.btn.focus,
.btn:focus {
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25)
}

.btn.disabled,
.btn:disabled {
	opacity: .65
}

.btn:not(:disabled):not(.disabled) {
	cursor: pointer
}

.container {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto
}

@media (min-width:576px) {
	.container {
		max-width: 540px
	}
}

@media (min-width:768px) {
	.container {
		max-width: 720px
	}
}

@media (min-width:992px) {
	.container {
		max-width: 960px
	}
}

@media (min-width:1200px) {
	.container {
		max-width: 1140px
	}
}

.row {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px
}

:root {
  --mainColor: #00ff37;
}

/* Hover effect 1*/
a.hover_efx_A{
  background:
     linear-gradient(
       to bottom, var(--mainColor) 0%,
       var(--mainColor) 100%
     );  background-position: 0 100%;
  background-repeat: repeat-x;
  background-size: 4px 4px;
  color: #000;
  text-decoration: none;
  transition: background-size .2s;
}

a.hover_efx_A:hover{
  background-size: 4px 50px;
}

/*--- intro --------*/
.title {
  position: absolute;
  top: 140px;
  width: 100%;
  padding: 20px;
  text-align: center;
  padding: 20px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  left: 0px;
}

.title h3 {
  font-size: 50px;
}

.intro {
  background: #000000;
  padding-top: 52.25px;
  padding-bottom: 10px;
}

.intro p {
  position: absolute;
  top: 10px;
  left: 90px;
  margin: 0 auto;
  padding: 20px;
  color: white;
  display: inline;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
}

/*--- toggle switch -----*/

.switch-btn {
  background: #e5e5e5;
  height: 40px;
  width: 80px;
  position: relative;
  border-radius: 20px;
  box-shadow: inset 0 3px 10px rgb(0, 0, 0, 0.3);
}

.switch-btn:before {
  content: "";
  position: absolute;
  height: 36px;
  width: 36px;
  background: linear-gradient(#fff, #f2f2f2);
  left: 2px;
  top: 2px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 150ms ease-out;
  box-shadow: inset 0 8px 6px -4px rgb(0, 0, 0, 0.25);
}

input[type="checkbox"]:checked + .switch-btn:before {
  left: 42px;
}

input[type="checkbox"]:checked + .switch-btn {
  background: linear-gradient(#8ee0bb 30%, #8ee0bb);
}

input[type="checkbox"] + .switch-btn {
  background: linear-gradient(#be9898 30%, #be9898);
}
.switch {
  display: inline;
  opacity: 0;
  background-color: white;
}

/*----Nav Bar -----*/

.navbar-default {
  border: none;
}
body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  width: 100%;
  background-color: #000;
}
/*-- Pong --*/
canvas {
  display: block;
  height: 400px;
  max-width: 80%;

  padding-left: 0px;
  border-radius: 10px;
  border-style: inset;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/*---------*/
nav {
  margin: 0px auto;
  z-index: 3;
  position: fixed;
  width: 100%;
  background: url(http://alexmckeown.net/img/MidnightCity.jpg);
  filter: none;
  background-size: cover;
}

ul.menu {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0px;

}

ul.menu li {
  list-style: none;
  display: inline-block;
  padding: 20px;
  margin-bottom: -15px;
}

ul.menu li a:hover {
  cursor: pointer;
  text-decoration: none;
  color: white;
}

ul.menu li:hover {
  background: darkgrey;
  transition: 0.9s;
}

ul.menu li a {
  color: #ffff;
  text-decoration: none;
  padding: 20px;
}

.toggle {
  width: 100%;
  padding: 8px 10px;
  background: url(http://alexmckeown.net/img/MidnightCity.jpg);
  text-align: right;
  box-sizing: border-box;
  color: #fff;
  font-size: 35px;
  display: none;
}

.menu p {
  text-align: center;
  margin: 0px;
  height: 0px;
  font-family: Arial, Helvetica, sans-serif;
}


/*---- about-----*/

* {
  margin: 0;
}

#about {
  padding-top:58px;
  padding-bottom: 58px;
  color: #555;
  background-color: white;
}

#about h1 {
  text-align: center;
  color: #555 !important;
  padding-bottom: 10px;
}

#about h1::after {
  content: "";
  background: #007bff;
  display: block;
  height: 3px;
  width: 170px;
  margin: 20px auto 5px;
}

#about .container .row a:link {
  color: #6775ad !important;
  text-decoration: none !important;
}

#about .container .row a:visited {
  color: #6775ad !important;
  text-decoration: none !important;
}

#about .container .row a:hover {
  color: #2743b3 !important;
  text-decoration: none !important;
}

.about-content {
  padding-top: 20px;
}

/*---projects---*/
#projects {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1)),
    url(http://alexmckeown.net/img/code.png);
  background-size: cover;
  background-position: center;
  color: #efefef !important;
  background-attachment: fixed;
  padding-top: 58px;
  padding-bottom: 70px;
}

#projects h1 {
  text-align: center;
  color: #efefef !important;
  padding-bottom: 10px;
}

#projects h1::after {
  content: "";
  background: #efefef;
  display: block;
  height: 3px;
  width: 170px;
  margin: 20px auto 5px;
}

.projects {
  margin-top: 40px;
}

.icon {
  font-size: 40px;
  margin: 20px auto;
  padding: 15px;
  height: 100px;
  width: 90px;
  border: 3px solid #fff;
  border-radius: 50%;
}

.icon-custom {
  margin: 20px auto;
  font-size: 40px;
  height: 100px;
  width: auto;
}

#projects p {
  font-size: 18px;
  margin-top: 20px;
  color: #ccc;
}

.projects .col-lg-3:hover {
  background-color: #007bff85;
  cursor: pointer;
  transition: 0.7s;
  border-radius: 10px;
}

.projects .col-lg-3 {
  margin: 0px auto;
  border: #007bff85;
  padding-bottom: 25px;
}


div.projects .style_line {
  padding-bottom: .25em;
  text-decoration: none;
  border-bottom: 1px solid #385b86;
}

.projects .col-lg-3:hover .style_line, div.projects a.style_line:hover {
  color: #00ff37;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg id='squiggle-link' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:ev='http://www.w3.org/2001/xml-events' viewBox='0 0 20 4'%3E%3Cstyle type='text/css'%3E.squiggle{animation:shift .3s linear infinite;}@keyframes shift {from {transform:translateX(0);}to {transform:translateX(-20px);}}%3C/style%3E%3Cpath fill='none' stroke='%2300ff37' stroke-width='2' class='squiggle' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: repeat-x;
  background-size: 20%;
  border-bottom: 0;
  padding-bottom: .3em;
  text-decoration: none;
}

a.hidden_anchor{
  text-decoration: none ;
  color: #efefef !important;
  display: block;
}

.projects .col-lg-3:hover a.hidden_anchor{
  text-decoration: none !important;
  color: #efefef !important;
  display: block;
}

/*-- resume */

#resume {
  background: white;
  background-size: cover;
  background-position: center;
  color: #555;
  background-attachment: fixed;
  text-align: center;
  padding-top: 270px;
  padding-bottom: 270px;
  font-family: sans-serif;
  font-size: 38px;
}

#resume h1::after {
  content: "";
  background: #007bff;
  display: block;
  height: 3px;
  width: 170px;
  margin: 20px auto 5px;
}

#resume .btn {
  margin: 30px;
}

/*--get in touch---*/

#contact {
  background: #efefef;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #777;
}

.contact-form {
  padding: 15px;
}

.form-control {
  border-radius: 0 !important;
  border: none !important;
}

::placeholder {
  color: #999 !important;
}

.follow {
  background: #fff;
  padding: 10px;
  margin: 15px;
  text-align: left;
}

.contact-info .fa {
  margin: 10px;
  color: #007bff;
  font-weight: bold;
}

#contact h1 {
  text-align: center;
  color: #555 !important;
  padding-bottom: 10px;
}

#contact h1::after {
  content: "";
  background: #007bff;
  display: block;
  height: 3px;
  width: 170px;
  margin: 20px auto 5px;
}


/*Initalising Hamburger (Desktop Version)*/
.hamburger {
  display: none;
  width: 45px;
  min-height: 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: -translate(-50%, -50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
  transition: .5s;
  background-color: rgba(255, 255, 255, 0.899);
  filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#8e44ad,endColorstr=#8e44ad)";
  /*IE 5.5-7*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#8e44ad,endColorstr=#8e44ad)";
  /*IE8*/
  zoom: 1;

}

@media (max-width: 765.5px) {

  canvas {
    border-style: none;/* Remove game border  */
  }
  nav {
    background: url(http://alexmckeown.net/img/MidnightCity.jpg);
    filter: opacity(95%);
  }

  ul.menu {
    width: 100%;
    display: none;
    margin: 0px;
    padding: 0px
  }

  ul.menu li {
    display: block;
    text-align: center;
    background-color: darkgrey;
    font-size: 1.1rem;
  }
  ul.menu li:hover{
    background-color: #535252;

  }
  ul.menu li a {
    display: block;

  }

  ul.menu.active {
    display: block;
    position: fixed;
  }
  .hamburger::after {
    top: 14px;
  }

  /* Hamburger icon - Middle line */
  /* also controls the other lines - Mother ship/Parent */
  .hamburger {
      display: inline;
      left: 12px;
      top: 30px;
  }

  /* Hamburger icon - Bottom Line */
  .hamburger::before {
      top: -14px;
  }

  /* Hamburger icon - Top & Bottom Line*/
  .hamburger::before,
  .hamburger::after {
      content: '';
      position: absolute;
      width: 45px;
      min-height: 5px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
      transition: .5s;
      background-color: darkgrey;
      background-color: transparent;
      background-color: rgba(255, 255, 255, 0.899);
  }

  /* Activated Hamburger icon - Top line WHEN the wrapper is activated */
  .hamburger-wrapper.active .hamburger::after {
      top: 0;
      transform: rotate(-45deg);
      background-color: white;
     
  }

  /* Activated Hamburger icon - Middle line WHEN the wrapper is activated */
  .hamburger-wrapper.active .hamburger {
      background: rgba(0, 0, 0, 0);
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0);
      transition: 0.1s;
  }

  /* Activated Hamburger icon - Bottom line WHEN the wrapper is activated */
  .hamburger-wrapper.active .hamburger::before {
      top: 0;
      transform: rotate(45deg);
      background-color: white;
  }

  /* End of Hamburger Icon */

  /* Container of Hamburger icon */
  .hamburger-wrapper {
      position: relative;
      left: 0;
      transform: -translate(-50%, -50%);
      width: 72px;
      min-height: 65px;
      cursor: pointer;

      background: url(http://alexmckeown.net/img/MidnightCity.jpg);
  }

  /* .active (when the hamburger wrapper is pressed or "activated" the following occurs) */
  .hamburger-wrapper.active {
      color: white;
      background: darkgrey;
  }

  .intro {
    padding-top: 70px;
  }

  .intro p {
    display: none;
  }

  .switch {
    display: none;
  }

  .title {
    top: 50px;
    margin: 0 auto;
    left: 0px;
  }
}
