/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/**/

* {
  margin: 0;
  padding: 0;
}

/* Variables */

:root {
  /* Colors */
  --sheddy-accent: #b97a57;
  --sheddy-dark: #905131;
  --quart-sheddy-dark: rgba(144, 81, 49, 0.25);

  --fucksheddy-accent: #aa834a;
  
  --half-black: rgba(0,0,0,0.5);
  --half-white: rgba(255,255,255,0.5);
  --quart-black: rgba(0,0,0,0.25);
  --transparent: rgba(255,255,255,0);
}

/* Animations */
@keyframes xscroll {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: 176px;
  }
}

@keyframes diagscroll {
  from {
    background-position-x: 0;
    background-position-y: 0;
  }
  to {
    background-position-x: 40px;
    background-position-y: 40px;
  }
}

/* Main */

body {
  background: white;
  color: black;
  font-family: Montserrat;
}

h1 {
  color: var(--sheddy-accent);
  border-bottom: solid var(--quart-sheddy-dark);
  border-width: 2px;
  margin-bottom: 8px;
  /* text-shadow: 3px 3px 12px rgba(0, 0, 0, 21%); */
  padding-bottom: 10px;
}

header {
  text-align: center;
}

nav {
  background: var(--sheddy-accent);
  font-weight: 640;
  font-size: 16px;
  width: 100%;
  /*padding: 20px;*/
  margin: auto;
  letter-spacing: 1px;
}

nav ul {
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
}

nav li {
  list-style: none;
  font-size: larger;
  text-align: center;
  display: flex;
}

nav li a {
  text-decoration: none;
  color: white!important;
  padding: 0.5em 0.75em;
  transition: background 0.5s, color 0.5s;
}

nav li a:hover {
  color: var(--sheddy-accent)!important;
  background: white;
  transition: background 0.5s, color 0.5s;
}

a {
  color: var(--sheddy-accent);
  font-weight: bold;
}

a:hover {
  color: var(--sheddy-dark);
}

.container {
  padding: 16px;
  border: 4px var(--sheddy-accent) solid;
  border-radius: 32px;
  width: 75%;
  text-align: center;
  display: block;
  margin: auto;
}

/* Headers & Footers */

#header {
  /*padding: 25px;*/
  /*position: fixed;*/
  width: 100%;
  padding-top: 16px;
  margin-bottom: 16px;
  font-size: 80px;
  font-weight: 960;
  background: linear-gradient(var(--half-white)), url("/assets/image/checkers.png"), var(--sheddy-accent)/*var(--quart-black)*/;
  user-select: none;
  animation: diagscroll 4s linear infinite;
  z-index: 59;
}

#header-alt {
  position: relative;
  left: 0;
  width: fit-content;
  margin-bottom: 16px;
  background: white;
  position: fixed;
  z-index: 59;
}

#header-alt a {
  width: 100%;
  display: inline-flex;
  text-align: left!important;
  font-size: 32px;
  color: black!important;
  user-select: none;
}

#header-alt a:hover {
  color: white!important;
  background: black;
}

#footer {
  position: relative;
  bottom: 0;
  background: linear-gradient(var(--transparent)/*, var(--quart-black)*/);
  margin: auto;
  padding: 30px;
  /*padding-bottom: 5px;*/
  margin-top: 25px;
  z-index: 10;
  text-align: center;
}

/* Projects */

.projects {
  display: grid;
  grid-template-columns: auto auto auto auto;
  margin: auto;
  justify-content: center;
  width: 100%;
}

.projects a {
  image-rendering: pixelated!important;
  position: relative;
  background-size: 320px!important;
  margin: 16px;
  border: 16px white;
  border-radius: 16px;
  transform: scale(1);
  width: 320px;
  height: 320px;
  transition: transform 0.5s, opacity 0.5s;
}

.projects a:hover {
  transform: scale(1.05);
  opacity: 0.75;
  transition: transform 0.5s, opacity 0.5s;
}

.projects #fucksheddy {
  background-image: url("/projects/fucksheddy/FUCKSHEDDY.png");
}