/*============================

Universal Styling

============================*/

* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: 'Raleway', sans-serif;
  text-align: center;
  color: #234058;
}

h1 {
  font-size: 2.7rem;
  padding-top: .5rem;
}

h2,
h3 {
  font-size: 2rem;
}

p, ul li {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  color: #234058;
}

.home-text a {
  color: #e35d93;
  text-decoration: none;
  text-transform: uppercase;
}

.home-text a:hover {
  color: black;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  text-decoration: overline;
}

/*============================

Nav Styling

============================*/

header {
	width: 100%;
	height: 3%;
	z-index: 9999;
}

.logo {
	max-width: 50%;
	float: left;
	padding: 1rem;
}

nav label, #hamburger {
	display: none;
}

nav label {
	display: inline-block;
	color: #234058;
	font-style: normal;
	font-size: 2.5rem;
	text-align: center;
	float: right;
	padding: 1rem;
}

.menu-items a {
	color: #234058;
  font-family: 'Raleway', sans-serif;
  font-weight: bold;
  font-size: 1.5rem;
	margin: 0 auto;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
  padding: .25rem;
}

.menu-items {
	display: none;
  padding: 6rem 1rem 1rem 1rem;
  text-align: center;
}

nav input:checked~.menu-items {
	display: block;
}

.menu-items-name {
  border-radius: .25rem;
 -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}

/*========================================

  Welcome Styling

===========================================*/

main {
	clear: both;
  background: #f9bba5;
}

.home-text {
  text-align: center;
  margin: 1rem auto;
  width: 80%;
  padding-bottom: 2rem;
}

.fotorama {
  margin: auto;
  width: 90%;
  padding-bottom: 2rem;
  display: flex;
  justify-content: center;
}
#top {
  position: fixed;
  bottom: 2rem;
  right: 1.6rem;
  z-index: 99;
  background-color: #beb9b3;
  color: white;
  cursor: pointer;
  padding: 1rem;
  border-radius: .5rem;
  font-size: 1rem;
}

#top:hover {
  background-color: #234058;
}
/*========================================

  Education Styling

===========================================*/

.education {
  background: #86a3a9;
  padding: 2% 0 4% 0;
  text-align: center;
}

.education p {
  text-align: left;
  text-transform: none;
  width: 50%;
  display: inline-block;
  font-size: 1rem;
}

.woods {
  display: flex;
  justify-content: center;
  padding: 1% 0% 1% 0%;
}

.twentytwo {
  display: flex;
  justify-content: center;
  padding: 1% 0% 1% 0%;
}


/*========================================

  Resume Styling

===========================================*/

.work {
  font-family: 'Oswald', sans-serif;
  background: #beb9b3;
  padding: 2% 0 0 0;
  text-align: center;
}

.portfolio h2 {
font-size: 30px;
padding: 10px 0px 0px 0px;
}

.underline {
  border-bottom: 3px solid #234058;
  width: 500px;
  padding-bottom: 0px;
  margin: 0px auto;
}

.work h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 2%;
}

.work li {
  padding: .6%;
  font-size: .9rem;
  text-align: center;
}

.button {
  line-height: 4rem;
  padding: .5rem 1.2rem;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  border-radius: .4rem;
  background-color: #234058;
  box-shadow: inset 0 -1rem 2rem #2f5574;
}

.button:hover {
  background-color: #2f5574;
}

.button:active {
  box-shadow: inset -2px -2px 3px rgba(255, 255, 255, .6), inset 2px 2px 3px rgba(0, 0, 0, .6);
}

/*========================================

  Portfolio Styling

===========================================*/
.portfolio {
  background: #f9bba5;
  padding: 5px 0px;
  text-align: center;
}

.image-link {
  display: inline-block;
  padding-top: .6rem;
  margin: 0rem 1rem;
}
.top-row, .second-row, .third-row, .fourth-row {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.img-with-text p {
  display: flex;
  justify-content: center;
  font-size: .9rem;
  padding-bottom: 1rem;
}
/*========================================

  Footer Styling

===========================================*/
footer{
  padding-top: 2%;
}

footer p {
  font-family: 'Raleway', sans-serif;
  padding-left: 5%;
  font-size: .9rem;
}

footer img {
  float: right;
  padding-right: 4%;
}

/*===========================

Responsive Web Coding - 562 (Custom for Navigation)

===========================*/
@media screen and (min-width: 565px) {
  .menu-items {
    padding: 7.1rem 1rem 1rem 1rem;
  }
  .logo {
    max-width: 40%;
  }

}

/*===========================

Responsive Web Coding - 768px by 1024px (Tablet)

===========================*/

@media screen and (min-width: 768px) {
	.logo {
		max-width: 35%;
    padding: .25rem;
	}
	nav {
		width: 50%;
		float: right;
	}
	.menu-items {
		display: flex;
    padding: 1.25rem 0;
    margin-right: 1rem;

	}
	.menu-items a {
		flex-basis: 0;
		text-align: center;
		border: none;
    font-size: 1.3rem;
	}
	nav label, #hamburger {
		display: none;
	}
	nav input:checked~.menu-items {
		display: flex;
	}

  p {
    font-size: 1.6rem
  }

  .work li {
    font-size: .9rem;
  }

  .home-text p {
    font-size: 1.4rem;
    line-height: 1.9rem;
  }
  .fotorama {
    width: 65%;
  }
  #top {
    bottom: 3rem;
    right: 2rem;
    font-size: 1.2rem;
  }
  .top-row, .second-row, .third-row, .fourth-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
}

/*===========================

Responsive Web Coding - 1366px by 768px (Laptop)

===========================*/

@media screen and (min-width: 1000px) {
  .menu-items {
    padding: 2.5rem 0;
  }
  .menu-items a {
    font-size: 1.7rem;
  }
  h1 {
    font-size: 3.5rem;
  }
  .home-text {
    width: 60%;
  }
  .home-text p {
    font-size: 1.3rem;
    line-height: 2.5rem;
  }

  .education p {
    font-size: 1.2rem;
    padding-right: 10%;
    padding-top: 2%;
  }

  h3 {
    font-size: 2rem;
    padding-right: 8%;
  }
  .fotorama {
    width: 75%;
  }
.woods {
  padding-left: 10%;
}
  .twentytwo {
    padding-right: 10%;
  }

  .pright {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .pleft {
    display: flex;
    justify-content: space-between;
  }

  .pright p {
    padding-left: 10%;
    padding-top: 2%;
  }
  #top {
    bottom: 4rem;
    right: 2.5rem;
    font-size: 1.3rem;
  }
  .top-row, .second-row, .third-row, .fourth-row {
    padding: 1% 2% 0 2%;
    justify-content: space-evenly;
  }
}
