body {background-image: url('images/bgimage.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  max-width: 100%;
  margin: auto;
  padding: 20px;
  font-family: Tahoma, sans-serif;
  color: white;}

/* Navigation Links */
nav { text-align: center;
  background-color: #222;
  padding: 10px;}

nav a {color: lime;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold}

nav a:hover {color: orangered;
  border-color: orangered;
  transform: scale(1.05);}
nav a.active {color: black;
  background-color: orangered;
  border-color: orangered;}

nav {width:100%; text-align:center}
nav a {display:block; width:30%;
text-decoration:none;}
/* display:block = top to bottom */
nav li {list-style:none}
nav li a {border:2px #AAA solid; padding:6px}
@media only screen and (min-width:640px){
nav a {display:inline}
/* display:inline = left to right */
nav li {display:inline; padding:0 18px}
} /* Close 640 Media Query for larger screens */


/* Header Banner */
header {padding-top: 3%;
  background-image: url('images/banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-align: center;
  position: relative;}

header h1 {color: lime;
  margin: 0 auto;
  width: fit-content;}

/* Headings */
h1 {color: lime;
text-align: center;}

h2 {color: lime;
text-align: center;}

h3 {color: lime;
text-align: center;}

/* Paragraph Styling */
p {font-weight: bold;
  font-size: 14px;
  color: orange;
text-align: center;}

/* List styling all */
ul {font-weight: bold;
  font-size: 14px;
  color: orange;
text-align: center;
list-style-position: inside;}

ol {font-weight: bold;
  font-size: 14px;
  color: orange;
text-align: center;
list-style-position: inside;}

dl {font-weight: bold;
  font-size: 14px;
  color: orange;
text-align: center;
list-style-position: inside;}

/* Professional Experience Section */
.professional-experience p {  color: orange;
text-align: center;}

/* Images */
img {
  padding: inherit;
  margin:auto;
  width: 300px;
  display: block;}

  /*Figures*/
figure {width:480px; 
    display:inline-block; 
    margin:10px; 
    text-align:center}

figcaption {font-weight: bold;
  font-size: 14px;
  color: orange;}


/* SVG Box */
svg {display: block;
  margin: 20px auto;}

svg rect {fill: blue;
  stroke: black;
  stroke-width: 3;
  opacity: 0.5;}

svg text { fill: white;
  font-size: 14px;}

/* Resume Button Image */
.resume-button img {border: none;
  display: block;
  margin: 20px auto;
width: 100px;}

/* Box Newsletter */

.box {width: 200px;
  height: 150px;
  margin: 20px auto;
  perspective: 1000px;}

.box > .front, 
.box > .back {width: 100%;
  height: 100%;
  border-radius: 8px;
  position: absolute;
  backface-visibility: hidden; /* hides back side when flipped */
  display: flex;
  align-items: center;
  justify-content: center;
  color: whitesmoke;
  font-weight: bold;}

.box > .front {
  background-color: black;
  border: 2px solid orangered;
}

.box > .back {background-color: orangered;
  transform: rotateY(180deg);
  border: 2px solid black;}

/* Flip container on hover */
.box:hover > .front {transform: rotateY(180deg);}

.box:hover > .back {transform: rotateY(360deg);}


/* ===== Info Bar Styles ===== */

.info-bar {background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;}

.info-bar h1 {font-size: 1.8em;
    margin: 0;
    letter-spacing: 1px;
    font-weight: 600;
    transition: transform 0.3s ease, color 0.3s ease;}
.info-bar:hover h1 {transform: scale(1.05) translateY(-3px);
    color: orangered;}



/* Footer */
footer {padding-top: 3%;
  padding-bottom: 3%;
  background-image: url('images/banner.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  text-align: center;
  color: white;
  margin-top: 50px;}

footer a {color: lime;
  text-decoration: none;
  margin: 0 10px;}


footer a:hover {color: orangered;}