body {
  margin: 0 auto;
  padding: 50px;
  color: white;
  background-color: gray;
  background-size: cover;
  font-family: sans-serif;
}

main {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 30px;
  /*border-top-left-radius: 12px;
	border-top-right-radius: 12px;*/
  border-radius: 12px;
  min-width: 350px;
  max-width: 768px;
  margin: 30px auto 10px auto;
  margin-bottom: 3px;
  overflow: auto;
}

p,
h1,
h2,
h3,
h4 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-weight: normal;
  text-align: justify;
  line-height: 110%;
}

h1 {
  font-size: 2em;
  font-weight: bold;
  font-family: Verdana, Geneva, sans-serif;
  text-align: center;
  color: white;
  text-shadow: 5px 5px 2px #000000;
}

h2 {
  font-size: 1.8em;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

h3 {
  font-size: 1.8em;
  font-weight: bold;
  text-align: center;
}

h4 {
  font-size: 1.6em;
  font-weight: normal;
  text-align: left;
}

p {
  /*text-align: justify;*/
  font-size: 1.1em;
  font-family: Verdana, Geneva, sans-serif;
  margin-bottom: 0;
  width: 100%;
  line-height: 1.25;
}

/* GitHub & LinkedIn links */
ul#linkList {
  margin-left: 0;
  padding-left: 0;
  padding-top: 15px;
  margin-top: 25px;
  margin-bottom: 0px;
  list-style: none;
  list-style-type: none;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 20px 20px 0 0;
}
ul#linkList li {
  font-size: 1.4em;
}
ul#linkList li img {
  width: 170px;
  transition: all 1s ease-in-out;
}

ul#linkList li img:hover {
  transform: scale(1.18, 1.18);
}
#imgContainer {
  padding: 0;
  border: 4px solid white;
  border-radius: 0 0 10px 10px;
}
/*  Repositories  */
#repoList .repo {
  padding: 0.5em;
  border: 1px solid white;
  border-radius: 10px;
  text-align: center;
  margin: 1em;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  overflow: hidden;
  text-overflow: ellipsis;
}
#repoList .repo:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
#repoList .repoName {
  margin-top: 0.7em;
  font-size: 1.5rem;
}
#repoList .repoDescription {
  text-align: center;
  font-size: 1.1rem;
}
#repoList .repoLanguages {
  text-align: center;
  font-size: 1.1rem;
}

/* Contact form */
small {
  margin-top: 0;
  margin-bottom: 3px;
  color: #f00;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.8em;
}
label {
  font-family: Helvetica, sans-serif;
  font-size: 15pt;
}

form {
  margin: auto;
  padding: 2%;
  padding-bottom: 2%;
  line-height: 200%;
  width: 45%;
  min-width: 300px;
}

/* linkovi */
a {
  font-size: 1em;
  color: white;
}

a:link {
  text-decoration: none;
} /* unvisited link */
a:visited {
  text-decoration: none;
} /* visited link */
a:hover {
  text-decoration: underline;
} /* mouse over link */
a:active {
  text-decoration: underline;
} /* selected link */
/* footer */
footer {
  background-color: rgba(0, 0, 0, 0.6);
  text-align: center;
  margin: 7px auto;
  min-width: 350px;
  max-width: 600px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding-left: 30px;
  padding-right: 30px;
}

footer img {
  float: none;
  margin: auto 0;
}
/* dodano zbog nepoznavanja php string funkcija */
.velikoPocetno {
  text-transform: capitalize;
}

/* naknadno dodana navigacija  */
nav {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 30px;
  margin: -50px auto 0 auto;
  min-width: 350px;
  max-width: 600px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

nav ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  font-family: Arial, sans-serif;
  text-align: center;
}
nav ul li {
  display: inline-block;
}
nav ul li a {
  color: #ccc;
  padding: 3px 1px;
  margin: 0px 25px;
  font-size: 1.1em;
  line-height: 1.1;
  border-bottom: 2px solid rgba(255, 255, 255, 0);
  transition: all 0.35s ease-in-out 100ms;
  -moz-transition: all 0.35s ease-in-out 100ms;
}

nav ul li a:hover {
  border-bottom: 2px solid white;
  color: white;
  text-decoration: none;
}

@media only screen and (min-width: 801px) {
  body {
    background-image: url("snowMountainsLarge.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
  }
}
@media only screen and (max-width: 800px) {
  body {
    background-color: #333;
    padding: 0;
  }
  main {
    background-color: #333;
    margin: 10px auto;
  }
}
