/*=====================*/
/* IMPORTS             */
/*=====================*/

@import url("https://fonts.googleapis.com/css2?family=Arizonia&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Domine&family=Great+Vibes&display=swap");


/*=====================*/
/* BROWSER RESET       */
/*=====================*/

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

/*=====================*/
/* VARIABLES           */
/*=====================*/

/* Colors */
/* grays */
$white: rgba(255, 255, 255, 1);
$black: rgba(0, 0, 0, 1);
$gray: rgba(50, 50, 50, 1);
$light-gray: rgba(80, 80, 80, 1);
$dark-gray: rgba(35, 35, 35, 1);
$transparent-gray-25: rgba(0, 0, 0, 0.25);
/* greens */
$green: rgba(59, 197, 136, 1);
/* aqua */
$aqua: rgba(49, 189, 229, 1);
$dark-aqua: rgba(0, 118, 151, 1);
$light-aqua: rgba(49, 204, 208, 1);
$highlight-aqua: rgba(0, 255, 255, 0.4);
/* sky */
$sky: rgba(1, 117, 206, 1);
$dark-sky: rgba(0, 71, 151, 1);
$light-sky: rgba(0, 126, 223, 1);
$highlight-sky: rgba(0, 154, 255, 0.4);
/* ocean */
$ocean: rgba(13, 79, 151, 1);
$dark-ocean: rgba(0, 35, 74, 1);
$light-ocean: rgba(0, 60, 112, 1);
$highlight-ocean: rgba(0, 129, 255, 0.4);

/* Box Effects */
$box-shadow: $transparent-gray-25 0px 2px 5px;

/* SVG URLs */
$seigaiha-url: url("https://gist.githubusercontent.com/5t4r8ucK/ba25ed3d707b0bd8a8dad5a2f23a0b08/raw/cf2d195f914b1f5e9b16bdf75fafff1306435f9a/Seigaiha.svg");
$asanoha-url: url("https://gist.githubusercontent.com/5t4r8ucK/035e9d917d26b6ca274e592f98567ba2/raw/b1eed87a665078dda819f4e689b158964170f5ac/asanoha.svg");
$goma-url: url("https://gist.githubusercontent.com/5t4r8ucK/01b5375d155ee3bf766daedffad1c202/raw/b7517f849f01af553c8ac1bc8995dd1e6deb5fd4/goma.svg");

/* PNG URLs*/
$noise-url: url("https://raw.githubusercontent.com/5t4r8ucK/portfolio-page/master/noise.png");

/* Sizes */
$nav-height: 1.725rem + 2.75rem + 1.05rem; /* h6 line height + margin-top + margin-bottom */
$spacing-1: 2rem;

/* Breakpoints */
$mobile-width: 20rem;
$fhd-width: 67.5rem;

/* Effects */
$ease-out-transition: 0.3s ease-out;

/*=====================*/
/* GENERAL             */
/*=====================*/

html {
  scroll-padding-top: 5.525rem;
}

body {
  color: #232323;
  font-family: "Domine", serif;
  font-size: 100%;
  font-weight: 400;
  line-height: 1.65;
}

h1 {
  font-size: 11.391rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.05rem;
}

h2 {
  font-size: 5.063rem;
  font-weight: 500;
  line-height: 1.15;
  margin: 2.75rem 0 1.05rem;
}

p {
  font-size: 1rem;
  margin-bottom: 1.15rem;
}

a {
  display: block;
  text-decoration: none;
}

/*=====================*/
/* SHARED              */
/*=====================*/

.section {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px;
  display: flex;
  padding: 5.525rem 2rem;
  position: relative;
}

.section-title {
  background-color: $white;
  text-shadow: 1px 2px 3px rgba(255, 255, 255, 0.4);
}

.inset {
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  color: transparent;
}

.display {
  font-family: "Arizonia", cursive;
}

.kern {
  letter-spacing: 0.09375rem;
}

/*=====================*/
/* STRUCTURE           */
/*=====================*/

#main {
  display: grid;
  grid-template-areas: "navbar" "about" "projects" "contact" "footer";
  grid-template-columns: 100%;
  grid-template-rows: auto minmax(100vh, auto) minmax(100vh, auto) minmax(100vh, auto) 5.525rem;
  width: 100%;
}

#navbar {
  background-color: white;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px;
  display: flex;
  grid-area: navbar;
  height: 5.525rem;
  justify-content: center;
  position: fixed;
  width: 100%;
  z-index: 6;
}

.header {
  text-align: center;
  width: 100%;
}

.vignette {
  background: radial-gradient(circle at bottom, transparent 60%, black 170%);
  height: 100%;
  left: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
}

/*=====================*/
/* SECTIONS            */
/*=====================*/

#about {
  align-items: center;
  background-color: #31bde5;
  background-image: url("https://gist.githubusercontent.com/HalloweenCreature/ba25ed3d707b0bd8a8dad5a2f23a0b08/raw/cf2d195f914b1f5e9b16bdf75fafff1306435f9a/Seigaiha.svg");
  background-size: 100px 51px;
  grid-area: about;
  justify-content: center;
  z-index: 4;
}

#projects {
  align-items: center;
  background-color: #232323;
  background-image: url("https://gist.githubusercontent.com/HalloweenCreature/035e9d917d26b6ca274e592f98567ba2/raw/b1eed87a665078dda819f4e689b158964170f5ac/asanoha.svg");
  background-size: 100px 58px;
  flex-direction: column;
  grid-area: projects;
  z-index: 3;
}

#contact {
  align-items: center;
  background-color: #0d4f97;
  background-image: url("https://gist.githubusercontent.com/HalloweenCreature/01b5375d155ee3bf766daedffad1c202/raw/b7517f849f01af553c8ac1bc8995dd1e6deb5fd4/goma.svg");
  background-size: 100px 58px;
  flex-direction: column;
  grid-area: contact;
  z-index: 2;
}

#footer {
  background-color: #232323;
  grid-area: footer;
  z-index: 1;
}

/*=====================*/
/* NAVBAR              */
/*=====================*/

.nav-list {
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  list-style-type: none;
}

.nav-list-item {
  height: 100%;
}

.nav-link {
  color: #323232;
  align-items: center;
  display: flex;
  height: 100%;
}

.nav-link:hover {
  color: #323232;
}

.nav-link-text {
  color: inherit;
  font-size: 1.5rem;
  font-variant-caps: all-small-caps;
  font-weight: 700;
  letter-spacing: 0.05rem;
  line-height: 1.15;
  margin: 0;
  padding: 0.575rem 1rem;
  transition: 0.3s ease-out;
}

.nav-link-text:hover {
  border-bottom: 1px solid #323232;
  border-top: 1px solid #323232;
}

/*=====================*/
/* ABOUT               */
/*=====================*/

.main-title {
  background-color: #007697;
  text-shadow: 1px 2px 3px rgba(0, 255, 255, 0.4);
}

.byline {
  background-color: #007697;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 2.75rem 0 1.05rem;
  text-shadow: 1px 2px 3px rgba(0, 255, 255, 0.4);
}

/*=====================*/
/* PROJECTS            */
/*=====================*/

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  grid-gap: 2rem;
  margin-top: 5.525rem;
  max-width: 67.5rem;
  width: 100%;
}

.tile {
  align-items: center;
  background: white;
  border-radius: 0.25rem;
  box-shadow: 1px 4px 4px rgba(0, 0, 0, 0.25);
}

.tile-link {
  color: #323232;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tile-link:hover {
  color: #323232;
}

.tile-figure {
  box-sizing: border-box;
  height: auto;
  padding: 0;
  width: 100%;
}

.tile-header {
  background-color: #31bde5;
  border-radius: 0 0 0.25rem 0.25rem;
  flex-grow: 2;
  padding: 0.575rem 1rem;
  width: 100%;
}

.tile-title {
  font-weight: 700;
  letter-spacing: 0.05rem;
  margin: 0;
  text-align: center;
}

.tile-link .tile-figure img {
  border-radius: 0.25rem 0.25rem 0 0;
  display: block;
  filter: grayscale(100%);
  object-fit: cover;
  transition: 0.3s ease-out;
  width: 100%;
}

.tile-link:hover .tile-figure img {
  filter: grayscale(0%);
}

/*=====================*/
/* CONTACT             */
/*=====================*/
.contact-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 5.525rem;
  max-width: 67.5rem;
  width: 100%;
}
	
@media screen and (max-width: 67.5rem) {
  .contact-links {
    flex-direction: column;
  }
}

.contact-link {
  color: white;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 0.575rem 1rem;
}

.contact-link:hover {
  color: white;
}

.icon {
  font-size: 2.587rem;
  height: 1em;
  line-height: 1;
  width: 1em;
}

.contact-link-text {
  margin: 0;
}
