* {
    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: 0.75em;
	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: 250%;
    white-space: nowrap;
}

.title p {
    color: white;
    text-align: center;
    font-size: 130%;
}

/* 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: smaller;
    margin-left: 13px;
	max-width: 347px;
    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: 100%;
    padding-top: 5%;
    padding-left: 8%;
	padding-top: 30%;
}

.contact h2{
    color: white;
    font-size: 100%;
    margin-top: 5%;
    margin-left: 3%;
}

.contact h4{
    color: white;
    font-size: 100%;
    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-left: 30%;
    height: 100px;
    width: 100px;
	overflow: visible;
    perspective-origin: 50px 50px;
    margin-top: 7%;
    position: relative;
    transform-origin: 75px 0px;
    transform-style: preserve-3d;
    transform-box: fill-box;
}
body .projects .cube .frontside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: green;
	 transform: translateZ(75px);
    background-image: url(../images/project1.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
	float:left;
}
 body .projects .cube .backside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: black;
	 transform: translateZ(-75px);
    background-image: url(../images/project2.png);
	background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .leftside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background: purple;
	 transform: translateX(-75px) rotateY(90deg);
    background-image: url(../images/project3.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .cube .rightside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: midnightblue;
	 transform: translateX(75px) rotateY(90deg);
	 background-image: url(../images/project4.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
}
 body .projects .cube .topside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background-color: yellow;
	 transform: translateY(-75px) rotateX(90deg);
}
 body .projects .cube .bottomside {
	 width: 150px;
	 height: 150px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background: red;
	 transform: translateY(75px) rotateX(90deg);
}