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

body {
	height: 100%;
	display: flex;
	flex-direction: column;
	font-family: "Raleway", sans-serif;
	background: #24252A;
}

p {
	font-size: 14px;
	line-height: 1.6;
	color: #edf0f1;
}

li {
	line-height: 1.6;
}

nav {
	height: 80px;
	width: 100%;
}

label.logo {
	color: #edf0f1;
	font-size: 35px;
	line-height: 80px;
	padding: 0 25px;
	font-weight: 400;
}

nav ul {
	float: right;
	margin-right: 15px;
}

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

nav ul li a {
	color: #edf0f1;
	font-size: 14px;
	padding: 7px 13px;
	
	text-transform: none;
	transition: all 0.3s ease 0s;
}

a.active, a:hover {
	color: #e41dd4;
}

.checkbtn {
	font-size: 25px;
	color: #edf0f1;
	float: right;
	line-height: 80px;
	margin-top: 28px;
	margin-right: 25px;
	cursor: pointer;
	display: none;
	height: 60px;
}

#check {
	display: none;
}

@media (max-width: 858px) {
.checkbtn {
		display: block;
	}
	
#nav ul {
		position: fixed;
		z-index:2;
		width: 100%;
		height: 100vh;
		background: #24252A;
		top: 95px;
		right: -100%;
		text-align: right;
		transition: all .5s;
	}
	
#nav ul li {
		display: block;
		margin: 25px -5px;
		line-height: 30px;
	}
	
#nav ul li a{
		font-size: 17px;
	}
	
 a:hover {
		background: none;
		color: #e41dd4;
	}
	
#check:checked ~ ul {
		right: 0;
	}
}
/* footer */

.footer {
	font-size: 12px;
	color: #edf0f1;
	padding: 0 25px;
	flex-shrink: 0;
}

/*content*/

.content {
  flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  padding: 15px;
}

.content1 {
  flex: 1 0 auto; /* Prevent Chrome, Opera, and Safari from letting these items shrink to smaller than their content's default minimum size. */
  padding: 15px;
  height: 80vh;
}

/*portfolio*/

#portfolio {
	padding-top: 25px;
	margin-left: -10px;
}

#portfolio .row .column{
	float:left;
	width: 25%;
	padding: 5px;
	margin-bottom: 25px;
}

#portfolio .img-responsive {
	max-width: 100%;
	max-height: auto;
	margin-left: auto;
	margin-right: auto;
	
}
/*text overlay*/
#portfolio .column {
	position: relative;
	width: 100%;
}
#portfolio .column .image {
	display: block;
	width: 100%;
	height: auto;
}
#portfolio .column .textoverlay {
	color:#edf0f1;
	font-size: 30px;
	line-height: 1.5em;
	text-shadow: 2px 2px 2px #000;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	
}
/*new overlay on hover*/
#portfolio .column .hover_color {
	border-radius: 85px;
	position: absolute;
	top: 0;
	left: 0.5%;
	height: 100%;
	width: 99%;
	opacity: 0;
	transition: .5s ease;
}
#portfolio .column:hover .hover_color {
	opacity:1;
}
#portfolio .column .normal {
	transition: .5s ease;
}
#portfolio .column:hover .normal {
	opacity: 0%;
}
#portfolio .column .hover_color {
	background-color: rgba(228,29,212,0.7); 	
}

#portfolio .row .column1{
	float:left;
	width: 25%;
	padding-top: 50px;
	padding-left: 5px;
	padding-right: 5px;
	margin-bottom: 5475px;
}

#portfolio .img-responsive {
	max-width: 100%;
	max-height: auto;
	margin-left: auto;
	margin-right: auto;
	
}
/*text overlay*/
#portfolio .column1 {
	position: relative;
	width: 100%;
}
#portfolio .column1 .image {
	display: block;
	width: 100%;
	height: auto;
}
#portfolio .column1 .textoverlay {
	color:#edf0f1;
	font-size: 30px;
	line-height: 1.5em;
	text-shadow: 2px 2px 2px #000;
	text-align: center;
	position: absolute;
	top: 53%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	
}

/*new overlay on hover*/
#portfolio .column1 .hover_color {
	border-radius: 85px;
	position: absolute;
	top: 5.5%;
	left: 0.5%;
	height: 94.75%;
	width: 99%;
	opacity: 0;
	transition: .5s ease;
}
#portfolio .column1 .hover_color .textoverlay {
	color:#edf0f1;
	font-size: 30px;
	line-height: 1.5em;
	text-shadow: 2px 2px 2px #000;
	text-align: center;
	position: absolute;
	top: 50.25%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 100%;
	
}
#portfolio .column1:hover .hover_color {
	opacity:1;
}
#portfolio .column1 .normal {
	transition: .5s ease;
}
#portfolio .column1:hover .normal {
	opacity: 0%;
}
#portfolio .column1 .hover_color {
	background-color: rgba(228,29,212,0.7); 	
}


#tv {
	padding-top: 25px;
}
#tv img {
	max-width: 100%;
}

video {
	width: 100%;
	height: auto;
}

#myWebVideo {
	width: 540px;
	height: 540px:
}

#myYTVideo {
	width: 1280px;
	
}
	
.portfolio {
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-gap: 1em;
	padding: 1em;
	background: #5a6d7b;
}

.portfolio p {
	color: black;
	margin-top: 10px;
}

.portfolio img {
	width: 100%;
	height: auto;
}

a.button {
	background: #e41dd4;
	display:flex;
}

a.button img {
	transition: opacity 0.3s;
	-webkit-transition: opacity 0.3s;
}

a.button:hover img {
	opacity: .3;
}

.portfolio_item {
	background: #edf0f1;
}

.portfolio_desc {
	padding: 1.5em;

}

.portfolio_title {
	font-size: 1em;
	margin-top: 0;
}

.portfolio-lightboxes {
	/*display: none;*/
}

.portfolio-lightbox {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	color: #edf0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0,1);
	transform-origin: right;
	transition: transform ease-in-out .5s;
}

.portfolio-lightbox:target {
	transform: scale(1,1);
	transform-origin: left;
}

.portfolio-lightbox_content {
	width: auto;
	background: black;
	padding: 1em;
	position: relative;
}

.portfolio-lightbox_title {
	padding-top: 10px;
} 

.close {
	position: absolute;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: -1em;
	right: -1em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}

/*Slideshow Container*/
#web img {
	vertical-align: middle;
}

.slideshow-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,0.5);
	color: #edf0f1;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(0,1);
	transform-origin: right;
	transition: transform ease-in-out .5s;
}

.slideshow-container:target {
	transform: scale(1,1);
	transform-origin: left;
}

.mySlides, .mySlides2, .mySlides3, .mySlides4, .mySlides5, .mySlides6, .mySlides7, .mySlides8, .mySlides9, .mySlides10, .mySlides11, .mySlides12, .mySlides13, .mySlides14, .mySlides15 {
	width: auto;
	background: black;
	padding: 1em;
	position: relative;
}

.portfolio-lightbox_title {
	padding-top: 10px;
} 

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 48px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "prev button" to the left */

.prev {
  left: 0px;
  border-radius: 3px 0 0 3px;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.text {
  color: #edf0f1;
  font-size: 15px;
  padding: 8px 12px;
  position: relative;
  bottom: 8px;
  width: 100%;
  text-align: center;
}
/* Number text (1/3 etc) */
.numbertext {
  width: 100px;
  color: #edf0f1;
  font-size: 12px;
  padding: 8px 12px;
  position: relative;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/*close button for web portfolio*/
.close1 {
	position:relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2.5em;
	right: -37.5em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;

	

}

.close1::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}

.close2 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -52.5em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close2::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}

.close3 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -40em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close3::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close4 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -75em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close4::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close5 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -36em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close5::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close6 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -62.5em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close6::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close7 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -26.5em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close7::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close8 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -33em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close8::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close9 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -25em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close9::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
.close10 {
	position: relative;
	width: 2em;
	height: 2em;
	background: #e41dd4;
	top: 2em;
	right: -29.5em;
	border-radius: 50%;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.close10::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
/*contact*/

#contact {
 	width: 600px;
	margin: 0 auto;
 }

#contact h2 {
	font-weight: 200;
	padding-bottom: 20px;
	color: #edf0f1;
	text-align: center;
	vertical-align: middle;
}

#contact p {
	text-align: center;
	vertical-align: middle;
}

#contact .form-control {
	border-radius: 4px;
	border: none;
	box-shadow: none;
	box-sizing: border-box;
	margin-top: 12px;
	margin-bottom: 14px;

}

#contact input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;	
	height: 50px;
	resize: vertical;
}

#contact textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 4px;	
	height: 50px;
	resize: vertical;
}

#contact input[type="submit"] {
	background-color: #5a6d7b;
	color;	#fff;
	height: 60px;
	font-weight: 200;
	transition: all 0.4s ease-in-out;
}

#contact input[type="submit"]:hover{
	background-color: #e41dd4;
}
/*About*/

#about {
	margin-left: 0px;
	margin-right: 0px;
}

#about H3 {
	font-weight: 400;
	padding-bottom: 20px;
	color: #edf0f1;
}

#about .row{
	background: #5a6d7b;
	display: table;
	width: 100%;
}
#about .row .column {
	display: table-cell;
	padding: 25px;
}

#about .column {
	float: left;
	width: 50%;
	padding: 25px;
	
}

#about p {
	padding-top: 10px;
}

#about .column img {
	display: block;
	max-width: 100%;
	max-height: 100vh;
	margin-left: auto;
	margin-right: auto;
	margin-top: 32px;
}

#about .column .list li {
	color: #edf0f1;
	list-style: square;
	margin-top: 10px;
	

}

#about .about-skills .row .column {
	float: left;
	width: 5%;
	padding-left: 2em;
	padding-right: 3.5em;
	padding-bottom: 35px;
}

#about .about-skills img {
	width:auto;
	height: auto;
	max-width: 100px;
	margin-bottom: 0px;
	margin-top: 0px;
}
/* clear floats after the columns */

#about .about-skills .row:after {
	content: "";
	display: table;
	clear: both;
}  

#about .row:after {
	content: "";
	display: table;
	clear: both;
}  

#about .about-history .column {
	float:left;
	width: 100%;
	padding: 10px;
}

#about .about-history .column h2 {
	padding-top: 15px;
	font-weight: 400;
	color: #edf0f1;
}

#about .about-history .column p{

	font-size: 17px;
	margin-top: 10px;
	margin-bottom: 10px;

}

#about .about-education .row h4{
	color: #edf0f1;
	margin-top: 25px;
	margin-bottom: 25px;
	margin-left: 5px;
	text-decoration: underline;
}

#about .about-education .row ul li {
	color: #edf0f1;
	list-style: square;
	list-style-position: outside;
	margin-top: 10px;
	margin-left: 25px;
	padding-right: 5px;
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {

label.logo {
	font-size: 7vw;
	line-height: 1.2em;
	padding: 0 25px;
	font-weight: 400;
	
}

label.logo .txt-rotate {
	padding: 0 25px;
}
#contact {
	width: 100%;
}

  #about .column {
	width:100%;
	word-wrap:break-word;
 }
  #about .column img {
	margin-top: 30px;
}

#about .about-education .row {
	margin-bottom: -25px;
}

#about .about-skills .row .column {
	width: 25%;
} 
#about .about-skills img {
	margin-top: 0px;
}


#portfolio .row .column {
    width: 100%;
  }

 #portfolio .column .hover_color {
    width: 99%;
  }
  
  #portfolio .row .column1 {
    width: 100%;
    padding: 5px;
    margin-bottom: 25px;
  }

 #portfolio .column1 .hover_color {
    top: 0%;
    padding: 5px;
    height: 100%; 
    width: 99%;

  }
  
#portfolio .column1 .textoverlay {
	top: 50%;
	left: 50%;

}

#myWebVideo {
	width: 340px;
	height: 340px:
}

#myYTVideo {
	width: 480px;
	
}


.footer {
    position: fixed;
    bottom: 0;

}  
 
 .close1 {
	
	top: 2.5em;
	right: -32em;
	}

.close1::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
 .close2 {
	
	top: 2.5em;
	right: -32em;
	}

.close2::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
 .close3 {
	
	top: 2.5em;
	right: -32em;
	}

.close3::after {
	content: 'X';
	color: #edf0f1;
	font-weight: 700;	
}
}

/* On smaller screens, decrease text size */
@media screen and (max-width: 320px) {
  .prev, .next,.text {font-size: 11px}

}


}