* {
    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.1em;
	background: black;
}

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: 400%;
    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,.5),rgba(0,0,0,.5)), url(../images/proj.jpg);
    background-size: cover;
    background-position: center;
}
.ulProjects{
    color: white;
    direction: ltr;
    font-size: large;
    margin-left: 50px;
    max-width: 42%;
    float: none;
    padding: 1px 0px 9px 0px;
}
.ulProjects a{
	color:white;
	text-decoration: none;
}
.projects h1 {
    color: white;
    font-size: 125%;
    padding-top: 5%;
    padding-left: 8%;
	padding-top: 50px;
}

/* CONTACT INFORMATION */

.contact {
    height: 100vh;
    box-sizing: border-box;
    background-image:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5)), url(../images/conn.jpg);
    background-size: cover;
    background-position: center;
}

.contact h1 {
    color: white;
    font-size: 175%;
    padding-top: 5%;
    padding-left: 8%;
	padding-top: 20%;
}

.contact h2{
    color: white;
    font-size: 150%;
    margin-top: 5%;
    margin-left: 3%;
}

.contact h4{
    color: white;
    font-size: 150%;
    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%;
	position: relative;
}

.socialmedia a:hover {
    text-decoration: none;
    transform: scale(1.3);
}




/* --------------------projects-------------*/
@keyframes spin {
	 from {
		 transform: rotateY(0deg);
	}
	 to {
		 transform: rotateY(360deg);
	}
}
 body .cube {
	-webkit-animation: spin 15s infinite linear;
	margin-right: 17%;
    height: 100px;
    width: 100px;
	overflow: visible;
    perspective-origin: 50px 50px;
    margin-top: -175px;
    position: relative;
    transform-origin: 75px 0px;
    transform-style: preserve-3d;
    transform-box: fill-box;
	float:right;
}
body .projects .cube .frontside {
	width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: green;
	 transform: translateZ(100px);
    background-image: url(../images/project1.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .backside {
    width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: black;
	 transform: translateZ(-100px);
    background-image: url(../images/project2.png);
	background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .leftside {
    width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background: purple;
	 transform: translateX(-100px) rotateY(90deg);
    background-image: url(../images/project3.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .cube .rightside {
    width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: midnightblue;
	 transform: translateX(100px) rotateY(90deg);
	background-image: url(../images/project4.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
}
 body .projects .cube .topside {
    width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background-color: yellow;
	 transform: translateY(-100px) rotateX(90deg);
}
 body .projects .cube .bottomside {
    width: 200px;
    height: 200px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background: red;
	 transform: translateY(100px) rotateX(90deg);
}