:root {
    --primary-color: #27AE60;
}

*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: larger;
    font-weight: 300;
}

body {
    background-image: url("background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.75);
    background-blend-mode: overlay;
    background-position: bottom right;
    background-size:cover;
    margin: 0;
    padding: 0;
}

#content {
    margin:auto;
    text-align: center;
    padding: 74px 32px 32px;
    line-height: 1.6em;
    margin-left:15%;
    margin-right:15%;
}

nav{
  position: fixed;
  z-index: 999;
  background: #333;
  height: 42px;
  width: 100%;
}

nav ul{
  float: right;
}

nav ul.home{
  float: left;
}

nav ul li{
  display: inline-block;
  margin: 0;
  line-height: 41px;
}

nav ul li a{
  color: #f2f2f2;
  text-align: center;
  padding: 10px 26px;
  text-decoration: none;
  font-size: 17px;
}

nav ul li a:hover {
    background-color: var(--primary-color);
    color: #f2f2f2;
}

/* Add a color to the active/current link */
nav ul li a.active {
    font-weight: bold;
    text-decoration: underline;
}

.checkbtn{
  font-size: 30px;
  color: #f2f2f2;
  float: right;
  padding: 2px 15px 2px 15px;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: #217ee7;
}

.avatar {
    border-radius: 50%;
    width: 250px;
    margin-bottom: 10px;
}

.wrapping-image {
    float: left;
    padding: 0 20px 0 0;
    width: 200px;
}

.wrapping-image-bio {
    float: left;
    padding: 0 20px 0 0;
    width: 310px;
}

.icons {
    list-style-type: none;
    font-size: xx-large;
    padding: 0;
    display: flex;
    justify-content: space-between;
    width: 80%;
    max-width: 320px;
    margin: 0.5em auto;
}

.icons li {
    display: inline;
    width: 42px;
}

.icons a {
    color: black;
}

.icons a:hover {
    color: var(--primary-color);
}

.icon {
    list-style-type: none;
    font-size: xx-large;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 80%;
    max-width: 320px;
    margin: 0.5em auto;
}

.icon li {
    display: inline;
    width: 42px;
}

.icon a {
    color: black;
}

.icon a:hover {
    color: var(--primary-color);
}

.project-title {
  margin-top: 3.5em;
  margin-bottom: 0;
  text-align: left;
  color: var(--primary-color);
}

.project-description {
  margin-top: 1em;
  text-align: justify;
}

.textarea-style {
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: black;
  border-radius: 10px;
  font-size: 15px;
  text-align: justify;
  overflow: auto;
  overflow-y: scroll;
  line-height: 1.2;
  padding: 5px;
  margin: 5px;
}

.textarea-large {
  height: 350px;
}

.textarea-center {
  text-align: center;
}

#log-text {
	width: 650px;
	height: 160px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  text-align: left;
  margin: 0 auto;
  overflow: auto;
  overflow-y: scroll;
  line-height: 1.2;
  padding: 5px;
}

.developer-button {
	width: 250px;
	border-radius: 30px;
	margin: 35px auto;
	position: relative;
	background: rgba(0, 0, 0, 0.8);
  color: #fff;
  box-shadow: 0 0 10px 1px rgba(0, 0, 0, 0.5);
}


.toggle-btn {
  color: #fff;
	padding: 10px 40px;
	cursor: pointer;
	background: transparent;
	border: 0;
	outline: none;
	position: relative;
	text-align: center;
}

#btn {
	left: 0;
	top: 0;
	position: absolute;
	width: 125px;
	height: 100%;
	background: var(--primary-color);
	border-radius: 30px;
	transition: .5s;
}


@media screen and (max-width: 1065px) {
	#log-text {
		width: 100%;
    font-size: 11px;
	}
}

/* Responsive navigation menu - display links on top of each other instead of next to each other (for mobile devices) */
@media screen and (max-width: 795px) {

  html {
      font-size: small;
  }

  body {
      background-color: rgba(255, 255, 255, 0.8);
      background-repeat: repeat;
      background-size: 100% auto;
  }

  #content {
    margin: 0 10px;
  }

  nav ul:not(.home){
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #333;
    top: 42px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }

  nav ul:not(.home) li{
    display: block;
    margin: 50px 0;
    line-height: 20px;
  }

  nav ul:not(.home) li a:hover {
      background: none;
      color: var(--primary-color);
  }

  #check:checked ~ ul{
    left:0;
  }

  .checkbtn{
    display: block;
  }

  .avatar {
      border-radius: 50%;
      width: 70%;
  }

  .wrapping-image-bio {
      float: left;
      padding: 0 0px 30px 0;
      width: 100%;
  }

  .wrapping-image {
      float: left;
      padding: 0 0px 30px 0;
      width: 100%;
  }

}
