* {
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    scroll-behavior: smooth;
}


header{
    background-image:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../images/bground.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center;
}


ul {
    list-style-type: none;
    margin-top: 1.5em;
    position: fixed;
    right: 0%;
    z-index: 9999; 
}

ul li {
    display: inline-block;    transform: rotate(-45deg);
}

ul li a {
    text-decoration: none;
    color: white;
    padding: .3125em 1em;
    border: .0625em solid transparent;
    font-weight: 500;
    transition: 0.6s ease;
    font-size: 1.25em;
}

ul li a:hover {
    background-color: white;
    color: black;
}

.title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.title h1 {
    color: white;
    font-size: 600%;
    white-space: nowrap;
}

.title p {
    color: white;
    text-align: center;
    font-size: 200%;
}

/* Projects Section */

.projects {
    height: 100vh;
    box-sizing: border-box;
    background-image:linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.3)), url(../images/proj.jpg);
    background-size: cover;
    background-position: center;
}
.ulProjects{
	color:white;
	direction:ltr;
	font-size: large;
	background:black;
	margin-top: 7px;
}
.ulProjects a{
	color:white;
	text-decoration: none;
}
.ulProjects li{
	margin: inherit;
	padding: 0px 0px 0px 0px;
}

.projects h1 {
    color: white;
    font-size: 400%;
    padding-top: 5%;
    padding-left: 8%;
}

.projects h1:after {
    content: '';
    position: absolute;
    width: 23%;
    height: 2px;
    background-color: white;
    margin-left: -320px;
    margin-top: 7%;
}
.left-side{
	width: 31%;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
    float: left;
    box-shadow: inset 5px 0 5px -5px #29627e;
    font-style: italic;
}
.right-side{
	width: 31%;
    padding-left: 0.5rem;
    margin-left: 0.5rem;
    float: right;
    box-shadow: inset 5px 0 5px -5px #29627e;
    font-style: italic;
}


/* CONTACT INFORMATION */

.contact {
    height: 100vh;
    box-sizing: border-box;
    background-image:linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.5)), url(../images/conn.jpg);
    background-size: cover;
    background-position: center;
}

.contact h1 {
    color: white;
    font-size: 420%;
    padding-top: 5%;
    padding-left: 8%;
}

.contact h1:after {
    content: '';
    position: absolute;
    width: 25%;
    height: 2px;
    background-color: white;
    margin-left: -27%;
    margin-top: 7%;
}

.contact h2{
    color: white;
    font-size: 200%;
    margin-top: 5%;
    margin-left: 3%;
}

.contact h4{
    color: white;
    font-size: 250%;
    margin-top: 5%;
    margin-left: 3%;
}

.contact a {
    text-decoration: none;
    color: white;
}

.contact a:hover {
    text-decoration: underline;
}

.contact .socialmedia {
	float:right;
	padding-right:1%;
}

.socialmedia a:hover {
    text-decoration: none;
    transform: scale(1.3);
}




/*=================
projects
==================*/
@keyframes spin {
	 from {
		 transform: rotateY(0deg);
	}
	 to {
		 transform: rotateY(360deg)rotateX(180deg)rotateZ(180deg);
	}
}
 body .cube {
    overflow: visible;
    perspective-origin: 100px 100px;
    margin-top: 7%;
    margin-left: -7%;
    position: relative;
    transform-origin: 150px 150px;
    transform-style: preserve-3d;
    transform-box: fill-box;
    height: 200px;
    width: 200px;
    -webkit-animation: spin 15s infinite linear;
  vertical-align: middle;
  text-align: center;
	    
}

 body .projects .cube .frontside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: green;
	 transform: translateZ(150px);
    background-image: url(../images/project1.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .backside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: black;
	 transform: translateZ(-150px);
    background-image: url(../images/project2.png);
	background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .leftside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background: purple;
	 transform: translateX(-150px) rotateY(90deg);
    background-image: url(../images/project3.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .cube .rightside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: midnightblue;
	 transform: translateX(150px) rotateY(90deg);
	background-image: url(../images/project4.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .topside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background-color: yellow;
	 transform: translateY(-150px) rotateX(90deg);
}
 body .projects .cube .bottomside {
	 width: 300px;
	 height: 300px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background: red;
	 transform: translateY(150px) rotateX(90deg);
}
/*
@media only screen and (min-height: 560px){
	.ulProjects{
	float:right;
	color:white;
	direction:ltr;
	font-size: large;
    margin-right: 1%;
	max-width: 50%;
	background:black;
	margin-top: 17px;
}
.ulProjects a{
	color:yellow;
	text-decoration: none;
}
.ulProjects li{
	margin: inherit;
	padding: 0px 0px 0px 0px;
}
}
*/