/* This file contains the formatting for the website */

/* Imports fonts used in the website */
@import url('https://fonts.googleapis.com/css?family=Kreon|Nunito');

/* Creates visible borders for images */
img {
    border: 1px solid black;
    margin: 5px 10px 5px 0;
}

/* Used for header modification */
.header {
    margin: auto;
    width: 99.7%;
    margin-bottom: 1px;
}
.header img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;
    height: 100%;
    border: none;
}

/* Adds visual elements to the navigation bar */
.navbar {
    display: flex;
	flex-wrap: wrap;
    margin: 2px 0;
    width: 100%;
    text-align: center;
    padding: 0;
    }
.navbar > a {
	border: 1px solid black;
	width: 100%;
	text-align: center;
    padding: 10px 0;
    margin: 5px 0;
    background-image: url("./src/button.png");
}
.navbar a:hover {
    background-image: url("./src/button-pressed.png");
    color: #EBA97F;
}

/* Play Store button settings */
.img-link {
    width: 100%;
}

.google-play {
   margin-left: 10px;
   height: 50px;
   text-align: center;
   width: 200px;
   margin-bottom: 10px; 
   border: none;
   background-color: transparent;
}


/* Manages "Development team information" -elements */
.intro {
    padding-bottom: 20px;
}

/* Development team logo formatting */
.logo {
    margin-bottom: 10px;
    width: 99.6%;
    height: 200px;
    background-color: #000000;
    padding: 2px;
}

.logo img {
    margin: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    height: 200px;
}
/* manages the position of profile sections */
.profile {
	text-align: center;
	margin-left: auto;
    margin-right: auto;
}
.profile h3 {
	margin: 0;
    font-size: 22px;
	background-color: transparent;
}
.profile p {
	width: 99.6%;
	margin: 0;
	font-size: 16px;
}
.profile img {
	margin: 0;
	padding: 0;
    margin-left: auto;
    margin-right: auto;
	height: 200px;
	width: 150px;
}

/* Manages the footer */
.footer {
    background-color: rgba(0, 0, 0, 0.8);
    border: none;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}

.header, .content, .intro, .footer {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid white;
}

/* This manages the image locations in the footer */
.tuni, .tiko, .msml {
    float: left;
    width: 100%;
    height: 250px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 3px;
}

/* The next section only modifies text layout in different elements */
div {
    margin: auto;
    margin-bottom: 10px;
    width: 90%;
    padding: 0 1px 0 1px;
}
div h3 {
    width: 100%;
    margin: 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 3px 0;
}
div p {
    margin: 0 10px 5px 10px;
    padding: 2px;
    width: 95%;
}
div li {
    width: 85%;
}

/* modifies general settings on the page */
body {
    background-image: url("./src/bg.png");
    background-attachment: fixed;
  	background-position: center;
    color: #FFFFFF;
    font-family: Nunito;
    font-size: 12px;
}
a:link, a:visited, a:active {
    color: #EB9A30;
    text-decoration: none;
    font-family: Nunito;
}
a:hover {
    color: #EBA97F;
}

/* Settings for screens wider than 950px*/
@media screen and (min-width: 950px) {
    body {
        font-size: 16px;
    }
	.tuni, .msml, .tiko {
        width: 33.1%;
        height: 250px;
		margin: 0;
        padding: 0;
		padding-bottom: 0;
    }
    .profile div {
		display: inline-block;
		width: 20%;
		margin: 5px;
		
	}
	.vertti, .lassi, .arttu, .ville {
		display: inline-block;
		margin: 0;
		padding: 0;
	}
	
    div li {
        width: 90%;
    }
    .navbar > a{
		width: 33.1%;
        padding: 7px 0;
	}
}
