* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
  --primary-bg-color: #FFF8EF; /* Cream */
  --text-color: #353334;      /* Light Black */
  --primary-header-font: "Gasoek One", sans-serif;
  --primary-body-font: "Libre Caslon Display", serif;
  --primary-accent-font: "Limelight", sans-serif;
  --pink-color: #FF9491;
  --yellow-color: #FFC545;
  --blue-color: #A5DCFF;
  --green-color: #798B5C;
  --black-color; #353334; 
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--primary-bg-color);
}

main {
  background-img: url(https://snipboard.io/FGOg8z.jpg);
  background-color: var(--primary-bg-color);
}

/* fonts */ 
.gasoek-one-regular {
  font-family: "Gasoek One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.limelight-regular {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.libre-caslon-display-regular {
  font-family: "Libre Caslon Display", serif;
  font-weight: 400;
  font-style: normal;
}

.hero {
  margin-top: 9rem;
}

p {
  display: normal;
  line-height: 1.6;
}

/* nav */
#nav-bar {
  display: flex;
  flex: 0 0 100%;
  height: 7rem;
  background-color: var(--primary-bg-color);
  justify-content: space-around;
  text-align: left;        
  margin: 0 auto;
  box-shadow: none 5px none rgba(0, 0, 0, 0.4);
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
}

#nav-bar a:hover {
  opacity: 55%;
}

nav ul {
  list-style: none;
  display: flex;   
  align-items: center;
}

ul {
  text-align: left;
  margin: 0 auto;
  font-family:"Libre Caslon Display", serif;
  font-size: 2rem;
}

li {
  padding-left: 7rem;
}

#logo {
  font-family: "Gasoek One", sans-serif;
  text-align: left;
  margin-left: -16rem;
  padding-right: 5rem;
  font-size: 4rem;
}

a {
  text-decoration: none;
  color: black;
}

/* header */
.section-header2 {
  text-align: right;
}

#header1 {
  font-family: "Gasoek One", sans-serif;
  font-size: 12.5rem;
  margin-left: 2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  opacity: 100%;
}

#header2 {
  font-family: "Limelight", sans-serif;
  font-size: 13rem;
  text-indent: 22.2rem;
  padding-top: 1rem;
  background-color: var(--primary-bg-color);
  border: none;
}

.header-texture {
  width: 100%;
  height: 11.3rem;
  background-image: url(https://snipboard.io/FGOg8z.jpg);
  opacity: 90%;
  margin-top: -2rem;
  box-shadow: inset 0px 10px 10px rgba(0, 0, 0, 0.3)
}

.pattern1 {
  background-color: var(--primary-bg-color);
  font-size: 2.3rem;
  margin: 0 auto;
  text-align: center;
  font-family:"Libre Caslon Display", serif;
  color: rgb 53 51 52 0.9;
  margin-top: -3rem;
  padding-bottom: 13.5rem;
}

/* sections */
h2 {
  background-color: var(--pink-color);
  color: var(--primary-color);
  width: 100%;
  max-width: 68.5rem;
  font-size: 4rem;
  border-bottom: 0.8125rem solid var(--yellow-color);
  font-family: var(--primary-header-font);
  padding: 6px;
  height: 5rem;
}

h3 {
  font-family: var(--primary-accent-font);
  font-size: 3rem;
  color: var(--black-color);
  margin-top: 1rem;
}

p {
  font-family: var(--primary-body-font);
  font-size: 1rem;
}

#project-showcase {
  font-size: 3.8rem;
  float: right; /* Pushes the box to the right */
  margin-bottom: 4rem;
}

#my-work {
  float: left;
}

#keep-in-touch {
  float: right;
}

/* bio */
#bio {
  border-left: 1rem solid var(--blue-color);
  position: relative;
  margin-bottom: 4rem;
}

#name {
  font-family: var(--primary-accent-font);
}

#student {
  font-family: var(--primary-body-font);
  font-weight: normal;
}

.bio-text {
  display: flex;
}

#bio p {
  font-family: var(--primary-body-font);
  width: 100%;
  max-width: 30rem;
  padding: 2rem;
  padding-top: 14rem;
  margin-top: 2rem;
}

.bio-img {
  z-index: 5;
  margin-top: -1rem;
  margin-left: -3rem;
  border-radius: 10px;
}

.texture {
  position: absolute;
  z-index: 1;
  top: 5rem;
  left: 0px;
  width: 30rem;
  height: 30rem;
}

/* project showcase */
#project-showcase {
  border-right: 1rem solid var(--blue-color);
  width: 100%;
  background-color: var(--primary-bg-color);
}


.projects {
  border-radius: 10px;
  margin: 1rem;
  border: 10px solid #353334;
  width: 100%;
  max-width: 320px;
}

.websites {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 6rem;
  margin-bottom: 3rem;
  margin-left: 1rem;
}

.section-header2 {
  float: right;
}

.projects:hover {
  transform: scale(1.1);
  transition: transform 0.4s ease;
  border: 10px solid black;
}

.project-card1 {
  background: var(--primary-bg-color);
}

.project-titles {
  font-family: var(--primary-accent-font);
  font-size: 2rem;
  padding-left: 2rem;
}

.project-desc {
  font-family: var(--primary-body-font);
  padding-left: 2rem;
  max-width: 21rem;
  width: 100%;
  padding-right: 1rem;
}

/* my work */
#my-work {
  border-left: 1rem solid var(--blue-color);
  margin-bottom: 7rem;
}

.blue-line {
  width: 83rem;
  height: 1.5rem;
}

.poster {
  width: 24rem;
  border-radius: 10px;
  margin-left: 2rem;
  margin-bottom: 2rem;
}

.poster-section {
  display: flex;
}

.posters-disc {
  max-width: 488px;
  width: 100%;
}

#my-work p {
  font-family: var(--primary-body-font);
  width: 100%;
  max-width: 29rem;
  padding: 1rem;
  padding-top: 1rem;
  margin-top: 21rem;
}
.pheader {
  text-align: right;
  width: 99%;
  border-bottom: 10px solid var(--blue-color);
  border-radius: 10px;
  margin-left: .5rem;
  margin-top: -2rem;
  margin-bottom: .5rem;
}

 /* tattoo image styling */
.tattooh {
  text-align: left;
  width: 102%;
  border-bottom: 10px solid var(--blue-color);
  border-radius: 10px;
  margin-left: .5rem;
  margin-bottom: 2rem;
}

.tattoos {
  background-color: var(--green-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1rem;
  margin-bottom: 2rem;
  padding: 2rem;
  margin-right: 10px;
  width: 100%;
  max-width: 85rem;
  height: auto;
  min-height: 11rem;
  gap: 1rem;
}
#tattoo-one {
  position: relative;
  top: auto;
  left: auto;
  width: 36px;
  height: auto;
  z-index: 20;
  border-radius: 10px;
  border: 5px solid #353334;
}

#tattoo-two {
  position: relative;
  top: auto;
  left: auto;
  width: 138px;
  height: auto;
  z-index: 10;
  border-radius: 10px;
  border: 5px solid #353334;
}
#tattoo-three {
  position: relative;
  top: auto;
  left: auto;
  width: 135px;
  height: auto;
  z-index: 30;
  border-radius: 10px;
  border: 5px solid #353334;
}

#tattoo-four {
  position: relative;
  top: auto;
  left: auto;
  width: 204px;
  height: auto;
  z-index: 50;
  border-radius: 10px;
  border: 5px solid #353334;
}
#tattoo-five {
  position: relative;
  top: auto;
  left: auto;
  width: 180px;
  height: auto;
  z-index: 40;
  border-radius: 10px;
  border: 5px solid #353334;
}
#tattoo-six {
  position: relative;
  top: auto;
  left: auto;
  width: 179px;
  height: auto;
  z-index: 30;
  border-radius: 10px;
  border: 5px solid #353334;
}

#tattoo-one:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--pink-color);
}

#tattoo-two:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--yellow-color);
}
#tattoo-three:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--blue-color);
}
#tattoo-four:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--pink-color);
}
#tattoo-five:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--yellow-color);
}
#tattoo-six:hover { 
  transform: scale(1.1);
  transition: transform 0.4s ease;
  z-index: 100;
  border: 10px solid var(--blue-color);
}

/* video styling */
.video {
  margin: 0 auto;
  margin-left: 2rem;
  margin-top: 1rem;
}

.vh {
  text-align: right;
  width: 100%;
  border-bottom: 10px solid var(--blue-color);
  border-radius: 10px;
  margin-left: .5rem;
}
.videos {
  margin-top: 4rem;
}

#europe-video {
  border-radius: 10px;
  animation-name: bounce;
  animation-duration: 3s;
  animation-iteration-count: infinite; /* Makes it repeat forever */
  animation-timing-function: ease-in-out;
}

#boat-day-video {
  border-radius: 10px;
  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite; /* Makes it repeat forever */
  animation-timing-function: ease-in-out;
}
#paris-video {
  border-radius: 10px;
  animation-name: bounce;
  animation-duration: 3s;
  animation-iteration-count: infinite; /* Makes it repeat forever */
  animation-timing-function: ease-in-out;
}

#europe-video:hover {
  border: 5px solid var(--yellow-color);
}

#boat-day-video:hover {
  border: 5px solid var(--yellow-color);
}
#paris-video:hover {
  border: 5px solid var(--yellow-color);
}

/* keep in touch */
#keep-in-touch {
  border-right: 1rem solid var(--blue-color);
  width: 100%;
  text-align: right;
}

.flink img{
  width: 7rem;
  padding: 1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.flink img:hover {
  transform: scale(1.1);
  opacity: 0.7;
}

.links {
  display: flex;
  justify-items: space-between;
  margin-top: 6rem;
  gap: 6rem;
  padding-left: 20rem;
  padding-top: 2rem;
  margin-bottom: 10rem;
}

.pattern2 {
  padding-bottom: 2rem;
  text-align: center;
}



/* images */
.bio-img {
  width: 30rem;
  margin-left: 4rem;
  margin-top: 2rem;
  border-radius: 10px;
  padding: 0rem;
}


/* footer */

footer {
  background-color: var(--primary-bg-color);
  text-align: center;
  margin: 0 auto;
  padding: 4.5rem;
}

.pattern2 {
  background-color: var(--primary-bg-color);
  font-size: 2.3rem;
  margin: 0 auto;
  font-family:"Libre Caslon Display", serif;
  color: rgb 53 51 52 0.9;
  padding-bottom: 1rem;
}

.footer-link:hover {
  opacity: 55%;
}

.footer-link2:hover {
  opacity: 55%;
}


/* keyframes */
@keyframes bounce {
    0% {
        transform: translateY(0); /* Start position */
    }
    50% {
        transform: translateY(-20px); /* Move up 50px */
    }
    100% {
        transform: translateY(0); /* Return to start position */
    }
}

/* media querys */
@media (max-width: 800px) {
  
body {
    margin-left: 220px;
}

main {
    margin-left: 0;
    max-width: calc(100vw - 220px);
    overflow-x: hidden;
}

  .pattern1 {
    display: none;
  }
  
  .pattern2 {
    display: none;
  }
  
  .texture {
    display: none;
  }
  
  .hero {
  margin-top: 1rem;
}
  /* nav */
  #nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 220px;   
    height: 100vh;    
    background: var(--primary-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem 1rem;
    border-right: 1px solid #ddd;
    overflow-y: auto;
  }
  
  
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0;
  }
  
  li {
    padding-left: 0;  
    text-align: center;
  }
  
  #logo {
    font-family: var(--primary-header-font);
    text-align: center;
    margin-left: 0;
    padding-right: 0;
    font-size: 3rem;
    padding-bottom: 1rem;
  }
  
  #header1 {
    padding-top: 4rem;
  }
  
  /* header */
  #header1 {
      font-size: 4rem;
      margin-left: 0;
      text-align: center;
  }
  
  #header2 {
      font-size: 3rem;
      text-indent: 0;
      text-align: center;
      margin-left: 0;
      margin-right: 0;
      word-wrap: break-word;
      overflow-wrap: break-word;
  }
  
  h2 {
      width: 100%;
      font-size: 2rem;
      height: auto;
      text-align: center;
  }
 
  /* bio */
  .bio-text {
      flex-direction: column;
  }
  
  .bio-img {
      width: 100%;
      margin: 0 auto;
      padding: 1rem;
  }
  
  #bio p {
      max-width: 100%;
      padding: 1rem;
      padding-top: 2rem;
      margin-top: 1rem;
  }
  
  .texture {
      display: none;
  }
  
  .websites {
      flex-direction: column;
      margin-left: 0;
  }
  
  .projects {
      margin: 1rem 0;
      width: 100%;
  }
  
  iframe {
      width: 100%;
      height: 250px;
  }
  
  .project-titles {
      font-size: 1.5rem;
  }
  
  .project-desc {
      max-width: 264px;
      padding: 1rem;
  }
  
  /* project showcase */
  .websites {
      flex-direction: column;
      align-items: center;
      margin-left: 0;
      gap: 1rem;
  }
  
  .projects {
      width: 100%;
      max-width: 100%;
  }

  .project-desc {
  max-width: 264px;
}

.section-header2 {
    text-align: center;
}

.project-card1 {
    width: 100%;
    max-width: 320px;
    margin: 2rem auto 0;
}
  /* my work */
    /* posters */
  .poster-section {
      flex-direction: column;
      align-items: center;
  }
  
  .poster {
      width: 90%;
      margin-left: 0;
  }
  
  .pheader {
    margin-top: 1rem;
    text-align: center;
  }
  
  #my-work p {
      max-width: 100%;
      margin-top: 1rem;
      padding: 1rem;
  }
  
    /* tattoo images */
  .tattoos {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      padding: 1rem;
      width: 100%;
      height: auto;
      background-color: var(--green-color);
  }
  
  .tattooh {
    text-align: center;
    width: 100%;
  }
  
  #tattoo-one,
  #tattoo-two,
  #tattoo-three,
  #tattoo-four,
  #tattoo-five,
  #tattoo-six {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }
  
    /* videos */
  .videos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
  }
  
  .video {
    width: 100%;
    margin: 0;
  }
  
  .video iframe {
    width: 100%;
    height: 250px;
  }
  
  .vh {
    text-align: center;
  }
  /* keep in touch */
  .links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 4rem;
    justify-items: center;
  }
  
  .flink img {
      width: 4.5rem;
  }
  
  /* footer */
  footer {
      padding: 2rem;
  }
  
  
  
}

/* Mobile phone responsive design */
@media (max-width: 480px) {
  body {
    margin-left: 0;
  }
  
  #nav-bar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid #ddd;
  }
  
  nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 1rem;
  }
  
  li {
    padding: 0.5rem;
  }
  
  #logo {
    font-size: 2rem;
    padding-bottom: 0.5rem;
  }
  
  main {
    max-width: 100vw;
  }
  
  .project-card1 {
    margin: 1rem auto;
  }
  
  .flink img {
    width: 3rem;
  }
}



/* to do:
- read me
- reflection
- re-link recipe page
- style links (visited, active)
- make sure images have alt text
- document AI prompts in readme

stretch goals 
- fix border around website snippets
*/