* {
    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: 0.5em;
    position: fixed;
    right: 0%;
    z-index: 9999;
}

ul li {
    display: inline-block;
	background:black;
}

ul li a {
    text-decoration: none;
    color: white;
    padding: 1px 1px;
    border: .0625em solid transparent;
    font-weight: 500;
    transition: 0.6s ease;
    font-size: 95%;
	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: 200%;
    white-space: nowrap;
}

.title p {
    color: white;
    text-align: center;
    font-size: 100%;
}

/* 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: 8px;
	max-width: none;
    float: none;
}
.ulProjects a{
	color:white;
	text-decoration: none;
}
.projects h1 {
    color: white;
    font-size: 100%;
    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 {
	margin-left: 37%;
    height: 200px;
    width: 200px;
	overflow: visible;
    perspective-origin: 100px 100px;
    margin-top: 7%;
    position: relative;
    transform-origin: 50px 0px;
    transform-style: preserve-3d;
    transform-box: fill-box;
}
body .projects .cube .frontside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: green;
	 transform: translateZ(50px);
    background-image: url(../images/project1.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .backside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: black;
	 transform: translateZ(-50px);
    background-image: url(../images/project2.png);
	background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .projects .cube .leftside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background: purple;
	 transform: translateX(-50px) rotateY(90deg);
    background-image: url(../images/project3.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
 body .cube .rightside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 1;
	 background-color: midnightblue;
	 transform: translateX(50px) rotateY(90deg);
	background-image: url(../images/project4.png);
    background-size: contain;
	background-position:center;
	background-size:cover;
}
}
 body .projects .cube .topside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background-color: yellow;
	 transform: translateY(-50px) rotateX(90deg);
}
 body .projects .cube .bottomside {
	 width: 100px;
	 height: 100px;
	 position: absolute;
	 margin: 0;
	 opacity: 0.5;
	 background: red;
	 transform: translateY(50px) rotateX(90deg);
}
