@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,700&display=swap');

:root{
	--greyapple: #ecf0f1;
	--greenmatter: #003910;;
}
/* CSS Document */



/*** RESET ***/

*{
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
	text-decoration: none;
}

strong 
{
	font-weight: bold;
}

body
{
	background-color: #000;
}

h1
{
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
}

h2
{
	font-size: 32px;
	font-weight:bold;
	margin-top: 20px;
	text-decoration: underline;
}

h3
{
	font-size: 22px;
	font-weight: bold;
	margin-top: 10px;
}

h4
{
	font-size: 22px;
	font-weight: bold;
	text-decoration: underline;
}

p
{
	margin-top: 20px;
	font-size: 18px;
}

a {
	text-decoration: none;
	color: #000;
}

a:hover {
	color: var(--greenmatter);
	font-weight: bold;
	text-decoration: underline;
}

.material-icons
{
	font-size: 64px;
}

/*** HEADER ***/

.header
{
	user-select: none;
}

.header h1
{
	margin-top: 10px;
	margin-right: 5px;
	float: left;
}

.icon
{
	width: 40px;
	height: 40px;
	background-image:url("../images/hacker.png");
	background-size: cover;	
}

.header .icon
{
	float: right;
}


.header:hover h1
{
	color: (--greenmatter);
	text-decoration: underline;
	
}

nav
{
	display: grid;
	grid-template-rows: minmax(min-content, 100px) min-content;
}

nav .content
{
	background-color: var(--greyapple);
	display: grid;
	place-items: center;
	grid-auto-flow: column;
	align-content: space-evenly;
	padding-left: 10px;
}

nav .content .menu
{
	display: none;
}

nav .content .menu:hover
{
	filter:opacity(50%);
	cursor: pointer;
	user-select: none;
}

nav .content .links
{
	display: grid;
	grid-gap: 20px;
	place-items:center;
	grid-auto-flow: column;
	grid-auto-columns: minmax(min-content, 180px);
}

.links a
{
	width: 100%;
	text-align: center;
}

.buttons
{
padding-top: 40px;
padding-bottom: 40px;
}


nav .dropdown
{
	display: none;
	background-color: #CCC;
	text-align: center;
	font-size: 32px;
}

nav .dropdown a{
	color: black;
	padding: 40px;
}
nav .dropdown a:hover{
	color: var(--greenapple);
	background-color: var(--greyapple);
}


/*** MAIN CONTENT ***/

main
{
	width: 75%;
	max-width: 1400px;
	margin: 0 auto;
	margin-top: 50px;
	text-align: center;
	color: #FFF;
}

main > p
{
	max-width: 900px;
	margin: 0 auto;
}

.picture
{
	width: 100%;
	height: 100%;	
	border-radius: 50%;
	--aspect-ratio: 16/9;
	padding-bottom: calc(100%/(var(aspect-ratio)));
	max-height: 400px;
    max-width: 400px;
	border: 5px solid white;
}









aside
{
	width: 90%;
	margin: 0 auto;
	margin-top: 40px;
}

aside{
	display: grid;
	grid-template-columns: 33% 33% 33%;
	grid-gap: 1em;
	margin-bottom: 50px;

}

aside > .content
{
	height: 500px;
	background-color: var(--greyapple);
	border: 2px solid white;
	border-top-right-radius: 25px;
	border-top-left-radius: 25px;
	position: relative;
	cursor: pointer;
}

aside > .certificate, aside > .project, aside > .security, aside > .social
{
	min-height: 200px;
	height: 99%;
	background-color: var(--greyapple);
	border: 2px solid white;
	max-width: 500px;
	margin: 0 auto;
	position: relative;
}

.certificate .image, .project .image, .security .image, .social .image
{
	min-height: 200px;
	min-width: 200px;
	width: 100%;
    height: 100%;
  	max-height: 500px;
	max-width: 500px;
    --aspect-ratio2: 16/2;
    padding-bottom: calc(100%/(var(aspect-ratio2)));
	text-align: center;
	
}


.abouttext
{
	position: absolute;
	bottom: 0;
	z-index: 10;
	width: 98%;
	height: 0;
	background-color: #000;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	overflow: hidden;
	padding-left: 5px;
	text-align: center;
	font-size: 22px;
	margin-bottom: 2px;
	font-weight: bold;	
}


.certificate:hover .abouttext, .project:hover .abouttext, .security:hover .abouttext, .social:hover .abouttext
{
	height: 60px;
    -webkit-transition: height 500ms;
    transition: height 500ms;
	padding: 5px;
	padding-top: 30px;
}
	
.subtext
{
	width: 100%;
	margin: 0;
	padding: 0;
	margin-top: 360px;
	background-color: #000;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	height: 0px;
	visibility: hidden;
    overflow: hidden;
	user-select: none;
	position: absolute;
	bottom: 0;
	margin-bottom: 2px;
		cursor: pointer;
	
	
}

.subtext h4
{
	font-size: 22px;
	text-decoration: underline;
}

.subtext h4, .subtext p
{
	margin: 5px;
}


.content:hover .subtext
{
	visibility:visible;
	height: 140px;
    transition: height 1000ms;
}





/*** ABOUT ***/


.slider
{
	width: 100%;
	max-width: 1400px;
	height: 600px;
	background-color: #E8E8E8;
	display: grid;
	grid-template-columns: 30% 70%;
	margin-top: 40px;
	border: 4px solid white;
}

.skills
{
	width: 100%;
	max-width: 1400px;
	height: 400px;
	background-color: grey;
	display: grid;
	grid-template-columns: 33% 33% 33%;
	margin-top: 40px;
	border: 2px solid white;
	font-weight: bold;
}




.image
{
	width: 100%;
	height: 600px;
}

.textbox p, .textbox li, .cvtextbox p
{
max-width: 100%;
font-size: 20px;
color: black;
text-align: justify;
padding: 15px;
margin: 0;
line-height: 30px;
}

.textbox ul
{
	padding-left: 35px;
}

.cvtextbox > h4, .textbox > h4
	{
		padding: 15px;
	}
	


.subheader
{
	width: 100%;
	height: 50px;
	text-align: center;
	color: white;
}


/*** CONTACT ***/

.input
{
	width: 70%;
	max-width: 450px;
	height: 70px;
	border: 4px solid grey;
	padding-left: 10px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.box
{
	width: 70%;
	max-width: 450px;
	height: 300px;
	border: 4px solid grey;
	padding-left: 10px;
	padding-top: 10px;
}

.submit
{
	width: 70%;
	max-width: 470px;
	height: 70px;
	border: 4px solid grey;
	text-align: center;
	padding-left: 10px;
}

.submit:hover
{
	font-weight: bold;
	text-decoration: underline;
	cursor: pointer;
}


@media only screen and (min-width: 2200px)
{
	aside .content{min-height: 800px;}
}

@media only screen and (max-width: 1300px)
{
	.slider { grid-template-columns: 100%; height: 100%;}
	.slider .textbox {margin-bottom: 50px;}
	.slider .image {height: 100%;}
	.skills { grid-template-columns: 100%; height: 100%; }
	
	
}


@media only screen and (max-width: 1000px)
{
	nav .content .menu {display: initial; }
	nav .content .links { display: none;}
	aside{ grid-template-columns: 100%; margin: 0 auto; margin-top: 50px;}
	.certificate{width: 300px;}
	.input, .box {width: 70%;}
	.submit{width: 73%;}
	aside > .content{width: 80%;margin: 0 auto;	}
	.maincolumn{position: relative;}  
}

@keyframes profileslide
{
0% { left: -1000px; }
85% {left: 100px;}
100% {left: 0;}
}






/** SLIDER **/

.carousel
{
	position: relative;
	height: 600px;
	width: 100%;
	margin: 0 auto;
	border: 4px solid white;
}

.carousel_image
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.carousel_track-container
{
	background-color: #CCC;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.carousel_track
{
	padding: 0;
	margin: 0;
	list-style: none;
	position: relative;
	height: 100%;
	transition: transform 250ms ease-in;
}

.carousel_slide
{
	width: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	background-color: #CCC;
}

.carousel_button
{
	 background-color: Transparent;
    background-repeat:no-repeat;
    border: none;
    cursor:pointer;
    overflow: hidden;
    outline:none;
}

.carousel_button
{
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: 0;
	cursor: pointer;
	 z-index: 1;
}

.carousel_button--left
{
	left: -100px;
}

.carousel_button--right
{
	right: -100px;
}

.carousel_button img
{
	width: 50px;
}

.carousel_nav
{
	display: flex;
	justify-content: center;
}

.carousel_indicator
{
	border: 0;
	border-radius: 70%;
	width: 25px;
	height: 25px;
	background-color: rgba(0,0,0,.3);
	margin: 0 12px;
	cursor: pointer;
}

.carousel_indicator.current-slide
{
	background-color: rgba(0,0,0,.75);
}

.is-hidden {display: none;}


.carousel_nav
{
	position: relative;
	top: -40px;
}




/* Slider Content */

.cv
{
	text-align: center;
}


.imagebox, .cvbox, .interestbox
{
	width: 30%;
	height: 100%;
	float: left;
}


.cvbox, .interestbox
{
	padding-top: 100px;
}

.cvbox img, .interestbox img
{
	width: 100%;
	height: 350px;;
}

.image
{
	width: 100%;
}

.textbox, .cvtextbox
{
width: 65%;
color: black;
padding: 15px;
margin: 0;
line-height: 30px;
float: left;
text-align: justify;
}

.leftarrowhover, .rightarrowhover
{
	
}

.carousel_button--right
{
	width: 100px;
	height: 150px;
	background-image: url("../images/rightarrow.png");
}

.carousel_button--right:hover
{
	background-image: url("../images/rightarrowhover.png");
}

.carousel_button--left
{
	width: 100px;
	height: 150px;
	background-image: url("../images/leftarrow.png");
}
	
.carousel_button--left:hover
{
	background-image: url("../images/leftarrowhover.png");
}




@media only screen and (max-width: 1000px)
{
	
	.subheader
	{
		margin-top: 100px;
	}
	
	.carousel
	{
		height: 1450px;
		margin-top: 100px;
	}
	
	.imagebox
	{
	float: none;
	width: 100%;
	height: 900px;
	margin: 0 auto;
	}
	
	.imagebox img
	{
	height: 900px;
	}
	
	.cvtextbox
	{
		width: 90%;
		text-align: center;
		margin: 0 auto;
	}
	
	.cvbox, .interestbox
	{
		width: 100%;
		text-align: center;
		height: 300px;
	}
	
	
	.cvbox img, .interestbox img
	{
		width: 300px;
		height: 300px;
	}
	
	.image
	{
		height: 800px;
	}
	
	
	.textbox
	{
	float: none;
	padding: 0;
	width: 90%;
	margin: 0 auto;
	}
	
	
	.textbox p, .cvtextbox p
	{
		text-align: left;
	}
	
.carousel_button 
{
	
top: -50px;	
}
	
.carousel_button--left
{
	left: 0px;
}

.carousel_button--right
{
	right: 0px;
}

.carousel_button--right, .carousel_button--left
	{
		width: 50px;
		height: 75px;
		background-size: cover;
	}
	
	h4
	{
		text-align: center;
	}
	
	

	
}





	

@media only screen and (max-width: 670px)
{
.carousel
	{
		height: 1730px;
	}
}




@keyframes firstnav
{
	0% { opacity: 0;}
	100% {opacity: 1;}
}




@keyframes firstmain
{
	0% { opacity: 0;}
	100% {opacity: 1;}
}



@keyframes firstaside
{
	0% { opacity: 0;}
	100% {opacity: 1;}
}







