/* ==================================================== /
# Project Title: Portfolio Website
# Started:  26/05/2025 19:06
# Author: Jordan
/ ==================================================== */

/*  ;                Variables Core Style                 */
:root {
  --main-background: rgba(22, 22, 22, 0.4);
  --image-colour-background: rgba(211, 68, 255, 0.2);
  --hover-background: rgba(211, 68, 255, 0.3);
  --main-colour: rgb(208, 143,214);
  --second-colour: rgb(105, 16, 156);
  --white: #FFFFFF;
}

/* Global Styling */
body {
  background-image: url(../../media/images/backgrounds/canada.webp);
  background-repeat: no-repeat;
  background-size: cover;
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  font-family: Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5 {
  text-decoration: underline;
}

h1 {
  font-size: 4rem;
  color: var(--main-colour);
  background-color: var(--main-background);
  padding: 16px;
  border-radius: 10px;
  border: var(--main-colour) solid 3px;
}

h3 {
  font-size: 2rem;
}

h5 {
  font-size: 1.25rem;
  text-decoration: underline;
}

main {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-background);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

/* Classes & ID Styling */
#logo {
  /* These units of measurement need double checking */
  height: 40vh;
  border-radius: 15rem;
  border: var(--second-colour) solid 0.5rem;
  margin: 0.5rem;
}

.link-icon {
  border-radius: 100px;
  padding: 1px;
  background-color: var(--image-colour-background);
}

.link-icon:hover {
  background-color: var(--hover-background);
}

#current-project {
  display: flex;
  flex-direction: column;
  align-items:center; 
  width: 70vw;
  padding: 1rem;
  border-radius: 25px;
  background-color: var(--main-background);
  color: var(--white);
}

#current-project p {
  padding: 1rem 2rem 1rem 2rem;
}

.progress-bar {
  position: relative;
  width: 500px;
  height: 3em;
  background-color: #202020;
  border-radius: 1.5em;
  color: var(--white);
}

.progress-bar::before {
  content: attr(data-label);
  display: flex;
  align-items: center;
  position: absolute;
  left: 0.5em;
  top: 0.5em;
  bottom: 0.5em;
  width: calc(var(--width, 0) * 1%);
  min-width: 2rem;
  max-width: calc(100% - 1em);
  background-color: var(--main-colour);
  border-radius: 1em;
  padding: 1em;
}

footer {
  display: flex;
  /* height: 2vh; */
  width: 100vw;
  justify-content: space-evenly;
  color: var(--white);
  /* position: absolute; */
}

footer>p a {
  text-decoration: underline;
}