html, body {
	margin: 0px;
	padding: 0px;
}

body {
	background-image: radial-gradient(rgba(155, 160, 166, 0.3), rgba(34, 97, 165, 0.6)), url("images/gplaypattern_@2X.png");
    background-attachment: fixed;
}

.spacer {
    width: 100%;
    height:  125px;
}

.navbar-spacer {
    width: 100%;
    height: 45px;
}

.navigation {
	background-color: rgba(27, 57, 89, 0.7);
	border-bottom: 5px solid rgba(0, 57, 89, 0.7);
	margin: 0px;
	padding: 0px;
	width: 100%;
	overflow: hidden;
	position: fixed;
    box-shadow: 2px 0 10px #000;
    z-index: 1000;
}

.navigation li {
	display: inline-block;
	color: white;
	height: 40px;
	padding: 0px 10px;
	font-family: 'Roboto', sans-serif;
    transition: background-color 0.75s, box-shadow 0.75s, text-shadow 0.75s;
}

.navigation li:hover {
	background-color: rgba(0, 57, 89, 0.7);
	cursor: pointer;
    text-shadow: 0 0 2px #fff;
    box-shadow: 0 2px 10px 0;
}

.imgPortfolio {
    max-height: 300px;
    max-width: 300px;
	border-top-right-radius: 20%;
	border-bottom-right-radius: 20%;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll; /* Changes to scroll on mobile */
    }

    .imgPorfolioCircle {
        border-radius: 50%; /* Rounded corners only on mobile devices */
    }
}

.panel {
    max-width: 940px;
	margin: auto;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 40px;
    border: black 1px solid;
    box-shadow: 0 2px 10px 0;
    color: rgb(0, 57, 89);
    animation: fadeIn 2.0s ease forwards;
}

.col {
    min-width: 40%;
}

.panel-content {
    padding: 50px 0px;
}

.underline {
    display: inline-block;
    border-bottom: 5px solid rgb(0, 57, 89);
    padding-bottom: 10px;
}

h1 h2 {
	font-family: 'Roboto', sans-serif;
    margin: 0;
}

#imgToggle {
    display: none;
}

.onoffswitch {
    position: relative; width: 125px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}

.onoffswitch-label {
    float: right;
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 15px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "ICONS OFF";
    padding-left: 10px;
    background-color: #EEEEEE; color: #003959;
}
.onoffswitch-inner:after {
    content: "ICONS ON";
    padding-right: 10px;
    background-color: #1B3959; color: #FFFFFF;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 21px; margin: 4.5px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 91px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
#imgToggle:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

#imgToggle:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}

#imgToggle:checked ~ .row .col-md-4 img {
        display: none;
}

#imgToggle:checked ~ .row .col-md-4 p {
    visibility: visible;
    margin-top: 50px;
}

.imgLogos {
    width: 40%;
    height: 40%;
    display: block;
    margin: 0 auto 0;
    position: relative;
    transition: top ease 0.35s;
    top: 50px;
    z-index: 1;
    visibility: visible;
}

.txtLogos:hover > .imgLogos {
    top: 0px;
}

.col-md-4 .txtLogos:hover {
	visibility: visible;
}

.col-md-4 .txtLogos {
    text-align: center;
    margin: 0 0 50px;
    visibility: hidden;
}

.clear {
	clear: both;
}

#imgGame {
    max-width: 75%;
	max-height: 75%;
}

.button {
    border-radius: 5px;
    border: 2px solid rgba(0, 57, 89, 0.7);
}

.button:active {
    border-color: rgba(27, 57, 89, 0.7);
    background: white;
    transform: translateY(2px);
}
