/* GENERAL CSS */
body {
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(0deg, #00ffffc2 1%, #ff02029a, #6403bec0 100%);
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
}
img {
margin-top: 10%;
width: 85%;
}
.images {
margin-left: 20%;
}
figcaption {
font-size: 25px;
width: 85%;
color: rgb(25, 0, 255);
}
h1 {
/* margin-top: -10%; */
text-align: center;
color: rgb(140, 6, 230);
font-size: 80px;
text-shadow: -5px 5px 20px black, 0px -5px 20px black, 5px 0px 20px black;
}
/*h1 span {
background-color: rgba(255, 238, 0, 0.5)
}*/
h2 {
text-align: center;
color: rgb(253, 228, 0);
font-size: 50px;
margin-top: 7%;
text-shadow: -5px 5px 20px rgb(8, 56, 110), 0px -5px 20px rgb(8, 56, 110), 5px 0px 20px rgb(8, 56, 110);
}
/*h2 span {
background-color: rgba(255, 0, 0, 0.438)
}*/
p {
font-size: 28px;
color: white;
}
.box {
margin-left: 16%;
width: 90%;
border: 1px solid rgba(200, 70, 70, 0);
}
a {
color: rgb(255, 255, 255);
background-color: rgba(0, 132, 255, 0.568);
}
/*a:hover {
color: rgb(255, 255, 255);
background-color: rgba(0, 132, 255, 0.568);
}*/
/* BACKGROUND IMAGE CSS */
.backgroundImg {
padding: 150px;
display: inline-block;
position: relative;
}
.backgroundImg:before {
content: "";
width: 100%;
height: 100%;
left: 0;
top: 0;
background-image: url(pics/stockton-tube.jpg);
opacity: 0.3;
background-size: cover;
background-repeat: repeat-x;
background-attachment: fixed;
/*background-position: center;*/
position: fixed;
z-index: -1;
}
/* BACKGROUND IMAGE CSS ENDS HERE*/
/*NAVBAR CSS STARTS HERE*/
nav {
margin-left: 20%;
}
.navbar {
list-style: none;
/*margin-left: 10%;*/
padding: 0px;
overflow: hidden;
display: inline;
text-align: center;
}
.nav-link li {
display: inline;
color: rgb(0, 0, 0);
text-align: center;
}
.nav-link a {
float: left;
margin-left: 1%;
padding: 14px 30px;
text-decoration: none;
background-color: rgba(63, 255, 5, 0.445);
font-size: 20px;
display: inline-block;
color: rgb(38, 0, 255);
border: 5px solid rgba(165, 9, 255, 0.658);
}
.nav-link:hover {
background-color: rgba(7, 221, 71, 0.432);
color: rgb(255, 2, 2);
font-size: 23px;
}
/*nav-bar css ends here*/
/*TECHNICAL RESUME CSS STARTS HERE*/
#skillsDiv {
margin-left: 45%;
width: 50%;
border: 1px solid rgba(200, 70, 70, 0);
}
#skillsHeader {
font-size: 30px;
}
#skillsUl {
font-size: 28px;
color: white;
}
#languageDiv {
margin-left: 25%;
width: 60%;
border: 1px solid rgba(200, 70, 70, 0);
}
#languageHeader {
font-size: 30px;
text-align: center;
}
#language {
text-align: center;
font-size: 28px;
}
#experienceDiv {
margin-left: 25%;
width: 60%;
border: 1px solid rgba(200, 70, 70, 0);
}
#experienceHeader {
font-size: 30px;
text-align: center;
}
#experience {
font-size: 28px;
}
#educationDiv {
margin-left: 25%;
width: 60%;
border: 1px solid rgba(200, 70, 70, 0);
}
#educationHeader {
font-size: 30px;
text-align: center;
}
#highschool {
font-size: 28px;
text-align: center;
}
#college {
font-size: 28px;
text-align: center;
}
/* FOOTER NAV STARTS HERE*/
footer {
position: static;
text-align: center;
/*margin-top: 100px;
margin-bottom: 50px;*/
margin-left: 25%;
display: inline;
}
.ftr-nav-link {
color: rgb(255, 0, 0);
text-decoration: none;
font-size: 22px;
float: left;
background-color: #ffee00;
}
.ftr-nav-link:hover {
color: rgb(255, 1, 1);
background-color: rgb(5, 107, 133);
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Animations<span>/title>
<link rel="stylesheet" href="styles.css">