* {
	box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: 'Roboto', sans-serif;
}

body {
	background: url(../img/grey.png);
}

hr {
	height: 3px;
    background: #00aeef;
    border: none;
    margin-bottom: 25px;
}

h1, h2, h3, h4{
    color: #00538a;
    font-family: 'Roboto Slab', serif;
}

h1{
	padding-bottom: 50px;
}

h2 {
	margin-bottom: 25px;
}

p {
    padding-bottom: 25px;
}

a {
	font-weight: 900;
	text-decoration: none;
	color: #00538a;
	transition: 0.3s all;
}

a:hover {
	color: #f8931d;
	cursor: pointer;
}

#header {
	border-top: 10px solid #00aeef;
    border-bottom: 10px solid #00aeef;
    padding: 10px 40px;
    margin-top: 10px;
    background: url(../img/what-the-hex.png);
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
    z-index: 100;
    position: relative;
}

#header>#mobile-robot {
	display: none;
}

#header>.content{
	display: flex;
    max-width: 1000px;
    margin: auto;
}

#logo {
	width: 120px;
	z-index: 10;
}

#navigation {
	flex-grow: 1;
    display: flex;
}

#navigation>ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    font-size: 1.2em;
}

#navigation>ul:after {
    content: "";
    height: 5px;
    background: #00538a;
    width: 100%;
    position: absolute;
    z-index: 1;
    left: 0;
    top: 60px;
}

#navigation>ul>a{
	text-decoration: none;
    color: #00538a;
    z-index: 10;
    position: relative;
    width: 80px;
    height: 80px;
    border: 5px solid #00aeef;
    background: white;
    border-radius: 15px;
    transform: rotateZ(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all;
}

#navigation>ul>a:hover{
	-webkit-animation-name: navigation; /* Safari 4.0 - 8.0 */
	-webkit-animation-duration: 0.2s; /* Safari 4.0 - 8.0 */
	animation-name: navigation;
	animation-duration: 0.2s;
	background-color: #00538a;
	color: #f8931d;
	cursor: pointer;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes navigation {
  0% {transform: rotateZ(45deg);}
  50% {transform: rotateZ(25deg);}
  100% {transform: rotateZ(45deg);}
}

/* Standard syntax */
@keyframes navigation {
  0% {transform: rotateZ(45deg);}
  50% {transform: rotateZ(25deg);}
  100% {transform: rotateZ(45deg);}
}

#navigation>ul>a.highlight {
	background-color: #00538a;
	color: #f8931d;
}

#navigation>ul>a.highlight:hover{
	animation-name: none;
	-webkit-animation-name: none;
}


#navigation>ul>a>li{
    z-index: 10;
    transform: rotateZ(-45deg);
}

.social {
	max-width: 1000px;
    margin: auto;
    position: relative;
}

.social-icons {
    position: absolute;
    right: -14px;
    bottom: -144px;

}

.social-icons.footer-social{
	position: relative;
	float: right;
    top: -20px;
}

.social-icons>ul {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.social-icons.footer-social>ul {
    flex-direction: row;
}

.social-icons>ul>a{
	text-decoration: none;
    color: #00538a;
    z-index: 10;
    position: relative;
    width: 40px;
    height: 40px;
    border: 5px solid #00aeef;
    background: white;
    border-radius: 8px;
    transform: rotateZ(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s all;
    margin-top: 15px;
    fill: #00538a;
}

.social-icons.footer-social>ul>a {
    margin-left: 15px;
}

.social-icons>ul>a:hover{
	-webkit-animation-name: navigation; /* Safari 4.0 - 8.0 */
	-webkit-animation-duration: 0.2s; /* Safari 4.0 - 8.0 */
	animation-name: navigation;
	animation-duration: 0.2s;
	background-color: #00538a;
	fill: #f8931d;
	cursor: pointer;
}

.social-icons>ul>a>li{
    z-index: 10;
    transform: rotateZ(-45deg);
    display: flex;
}

.social-icons .icon {
	height: 20px;
	width: 20px;
	margin: 0;
}

.main {
	width: calc(100% - 80px);
    min-height: calc(100vh - 262px);
    max-width: 1000px;
    margin: auto;
    background: #ffffff;
    border-left: 10px solid #f6f6f6;
    border-right: 10px solid #f6f6f6;
    text-align: justify;
    padding: 50px;
}

.index-logo {
	width: 200px;
	padding-bottom: 25px;
	margin: auto;
}

.button {
    border: 2px solid #00aeef;
    border-radius: 10px;
    padding: 10px 15px;
    background: #ffffff;
    text-decoration: none;
    color: #00538a;
    font-weight: 900;
    transition: 0.3s all;
    display: inline-block;
}

.button:hover{
	background-color: #00aeef;
	color: #ffffff;
	cursor: pointer;
}

.card {
    text-align: center;
    width: 150px;
    margin: 20px 0 40px;
    padding: 0;
    overflow: hidden;
}
.card img {
    width: 100%;
}
.card h4 {
    padding: 10px 20px;
}

.card:hover h4 {
    color: #ffffff;
}

.card:hover {
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5)
}

.last-news, .news-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.last-news>h2{
	width: 100%;
}

.news-preview {
    width: calc(50% - 20px);
    margin-bottom: 25px;
}

.news-preview>p {
	padding: 10px 0;
}

.a-title {
    font-weight: 900;
    text-decoration: none;
    color: #00538a;
    transition: 0.3s all;
    border-bottom: 1.5px solid;
    padding-bottom: 0;
    margin-bottom: 25px;
}

.a-title:hover {
	color: #f8931d;
	cursor: pointer;
}

.a-title:before {
	content: "+ Show "
	
}

.a-title.a-open:before {
	content: "- Hide "
	
}

.a-content {
    position: relative;
    transition: all 0.3s;
    transform: scaleY(0);
    transform-origin: 50% 0%;
    max-height: 0;
}

.a-content.a-open {
    height: auto;
    max-height: 10000px;
    transform: scaleY(1);
}

.partner-logo {
    float: right;
    max-width: 300px;
    width: 100%;
    padding: 0 0 20px 20px;
}

#email {
	width: 120px;
    margin-bottom: 25px;
}

.contact-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.contact-form, .contact-personnel {
    width: calc(50% - 20px);
    text-align: center;
}

input, textarea {
    width: 100%;
    margin-bottom: 5px;
    border: 2px solid #00aeef;
    border-radius: 5px;
    min-height: 30px;
    padding: 5px 10px;
}

input.button {
    width: auto;
}

.contact-person {
    margin-bottom: 40px;
}

.contact-person:last-of-type {
    margin-bottom: 0;
}

.contact-person img {
	border-radius: 50%;
    border: 5px solid #00aeef;
    width: 120px;

}

.contact-person p {
	padding: 0;
	font-weight: 900;
}

.icon {
    background-size: 20px 20px;
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-bottom: -5px;
    margin-right: 5px;
}

.icon.envelope {
    background: url(../img/envelope.svg);
}

.footer {
    height: 110px;
    background: url(../img/what-the-hex.png);
    border-top: 10px solid #00aeef;
    box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.5);
    margin-top: -20px;
}

.footer>.footer-content{
	max-width: 1000px;
	margin: auto;
	padding: 10px 40px;
}

.footer>.footer-content>p{
	padding: 0;
	color: #00538a;
}

.footer-logos {
    display: inline;
}

.footer-logos img {
    height: 35px;
    margin: 10px 10px 10px 0;
}

.gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.gallery>.item {
    width: 50%;
    padding: 20px;
}

.gallery>.item>img {
	width: 100%;
}

.gallery>.item.active{
	position: fixed;
    top: 50%;
    left: 50%;
    width: 60%;
    margin: auto;
    transform: translate(-50%, -50%);
    max-width: 750px;
    z-index: 99999;
}

.gallery>.item:hover {
	cursor: pointer;
}

.gallery>.item.active:after {
    content: '';
    background: rgba(0,0,0,0.75);
    width: 1000vw;
    height: 1000vh;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    z-index: -1;
    overflow: hidden;
}

.date {
    width: 100%;
    display: block;
    margin: -25px 25px 25px 0;
}

.game-container {
    margin-bottom: 40px;
}

.game-img{
    width: 100%;
    max-width: 550px;
    margin: 0 auto 20px;
    display: block;
}

table {
    border-collapse: collapse;
    border: 3px solid #f6f6f6;
}

td, th {
    padding: 10px 20px;
    text-align: center;
}

tr:nth-child(even), th {
    background: #f6f6f6;
}

@media (max-width: 750px) {
	.gallery>.item {
    	width: 100%;
    }

    .gallery>.item.active{
    	width: 95%;
    }
}