@charset "UTF-8";

body {
  align-items: center;
  color: #202020;
  display: flex;
  flex-direction: column;
  font-family: 'Merriweather', serif;
  font-variant-ligatures: none;
  font-size: 1.0em;
  letter-spacing: 0.13rem;
  margin: 0px 0px 0px 0px;
  min-height: 100vh;
  text-align: center;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  margin: 20px 100px 0px 0px;
  width:100%;
}

.logo {
  color: #fcc5c5;
  font-family: 'Cutive Mono', monospace;
  font-size: 0.9em;
  font-weight: 600;
  text-decoration: none;
}

.logo:hover {
  color: #c90c0c;
}

main {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  max-width: 1400px;
  margin: 0px 0px 10px 0px;
  width: 100%;
}

.top-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin: 10px 0px 0px 0px;
  width:80%;
}

.top-row-left {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  width: 315px;
}

.top-row-left img {
  height: auto;
  margin: 0px 0px 0px 0px;
  width: 250px;
}

.top-row-right {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin: 0px 0px 0px 0px;
  width: 315px;
}

.name {
  font-size: 1.8em;	
  font-weight: 300;
  margin: 0px 0px 0px 0px;
}

.city {
  font-size: 0.9em;
  font-weight: 300;
  margin: 10px 0px 0px 0px;
}

.email {
  font-size: 0.9em;
  font-weight: 300;
  margin: 10px 0px 10px 0px;
}

.message {
	color: #A9A9A9;
  font-size: 0.9em;
  margin: 10px 0px 10px 0px;
  text-decoration: none;
}

.message:hover {
  color: #202020;
}

.top-link-active {
  color: #c90c0c;
  font-size: 1.0em;
  font-weight: 600;
  margin: 12px 0px 0px 0px;
  text-decoration: none;
}

.top-link-inactive {
  color: #A9A9A9;
  font-size: 1.0em;
  font-weight: 600;
  margin: 12px 0px 0px 0px;
  text-decoration: none;
}

.top-link-inactive:hover {
  color: #202020;
}

hr {
  margin: 30px 0px 30px 0px;
  width:80%;
}

.work-row {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width:80%;
}

.work-row-left-or-none {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0px 20px 0px 0px;
}

.work-row-left-or-none img {
  border: 1px solid black;
  width: 200px;
  height: auto;
  margin: 0px 0px 0px 0px;
}

.work-row-right-or-only {
  align-items: center;
  display: flex;
	flex-direction: column;
  flex-grow: 1;
	justify-content: center;
  margin: 0px 0px 0px 20px;
}

.work-row-right-or-only-container1 {
  align-items: center;
  display: flex;
	flex-direction: column;
  justify-content: center;
  margin: 0px 0px 0px 0px;
}

.work-row-right-or-only-container1-image-wrapper {
  display: none;
}

.work-row-right-or-only-container1 h2 {
  font-size: 1.2em;
  font-weight: 300;
  margin: 0px 0px 0px 0px;
}

.work-row-right-or-only-container2 {
  align-items: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  margin: 0px 0px 0px 0px;
  text-align: left;
}

.work-row-right-or-only-container2 a {
  color: #A9A9A9;
  font-weight: 600;
  text-decoration: none;
}

.work-row-right-or-only-container2 a:hover {
  color: #202020;
}

footer {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: auto;
}

.copyright {
  color: #A9A9A9;
  font-size: 1.0em;
}

/* 800px */

@media (max-width:800px){

    .top-row {
      width:90%;
    }

    .top-row-left {
      width: 250px;
    }

    .top-row-left img {
      width: 225px;
      height: auto;
    }

    .top-row-right {
      width: 250px;
    }

    .name {
      font-size: 1.6em;
    }

    .city {
      font-size: 0.9em;
      margin: 8px 0px 0px 0px;
    }

    .email {
      font-size: 0.9em;
      margin: 8px 0px 8px 0px;
    }

    .top-link-active {
      font-size: 0.9em;
    }

    .top-link-inactive {
      font-size: 0.9em;
    }

    hr {
      margin: 20px 0px 20px 0px;
      width:90%;
    }

		.work-row {
		  flex-direction: column;
      width:90%;
		}

		.work-row-left-or-none {
			display: none;
		}

    .work-row-right-or-only {
      margin: 0px 0px 0px 0px;
    }

		.work-row-right-or-only-container1 {
      align-items: center;
      flex-direction: row;
      justify-content: center;
      margin: 0px 0px 10px 0px;
		}

    .work-row-right-or-only-container1-image-wrapper {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 250px;
    }

    .work-row-right-or-only-container1-image-wrapper img {
      border: 1px solid black;
      display: flex;
      width: 125px;
      height: auto;
    }

    .work-row-right-or-only-container1-text-wrapper {
      align-items: center;
      display: flex;
      justify-content: center;
      width: 250px;
    }

    .work-row-right-or-only-container1-text-wrapper h2 {
      font-size: 1.2em;
      margin: 0px 0px 0px 0px;
    }

    .work-row-right-or-only-container2 {
      font-size: 0.9em;
      font-weight: 300;
      text-align: left;
    }

    footer {
      margin-bottom: 20px;
    }

}

/* 560px */

@media (max-width:560px){

    header {
      font-size: 0.8em;
      margin: 20px 50px 0px 0px;
    }

    .top-row-left {
      width: 200px;
    }

    .top-row img {
      width: 180px;
      height: auto;
    }

    .top-row-right {
      width: 200px;
    }

    .name {
      font-size: 1.4em;
    }

    .work-row-right-or-only-container1-image-wrapper {
      width: 200px;
    }

    .work-row-right-or-only-container1-text-wrapper {
      width: 200px;
    }

    .work-row-right-or-only-container1-text-wrapper h2 {
      font-size: 1.1em;
    }

}

/* 460 px */

@media (max-width:460px){

		.top-row {
			flex-direction: column;
		}

    .top-row-left {
      width: auto;
    }

    .top-row-left img {
      width: 200px;
      height: auto;
      margin: 0px 0px 20px 0px;
    }

    .top-row-right {
      width: auto;
    }

		.work-row-right-or-only-container1 {
			flex-direction: column-reverse;
      margin: 0px 0px 0px 0px;
		}

    .work-row-right-or-only-container1-image-wrapper {
      width: auto;
    }

    .work-row-right-or-only-container1-image-wrapper img {
      height: auto;
      margin: 20px 0px 10px 0px;
      width: 150px;
    }

    .work-row-right-or-only-container1-text-wrapper {
      width: auto;
    }

}

	
	
	