:root {
  --clr-primary-400: 263 55% 52%;
  --clr-secondary-400: 217 19% 35%;
  --clr-secondary-500: 219 29% 14%;
  --clr-neutral-100: 0 0% 100%;
  --clr-neutral-200: 210 46% 95%;
  --clr-neutral-300: 0 0% 81%;

  --ff-primary: "Garnett", sans-serif;

  --fs-300: 0.6875rem;
  --fs-400: 0.8125rem;
  --fs-500: 1.25rem;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul{
  padding-inline-start: 0px;
  margin-block-start: 0px;
  margin-block-end: 0px;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  max-width: 86.5rem;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  margin:auto;
  overflow-x: hidden;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* override other styles to make responsive */
video {
  width: 100%    !important;
  height: auto   !important;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.1ms !important;
    scroll-behavior: auto !important;
  }
}

/* Embed font */
@font-face {
  font-family: Garnett;
  src: url(Garnett/Garnett-Medium.woff);
}

@font-face {
  font-family: Garnett-Black;
  src: url(Garnett/Garnett-Black.woff);
}

body {
  display: grid;
  place-content: center;
  min-height: 100vh;

  font-family: var(--ff-primary);
  font-weight: var(--fw-400);

  transition: background-color .5s linear;
}

h1{
  font-family: 'Garnett-Black';
  font-size: 6.25rem;
  text-transform: uppercase;
}

h2{
  font-family: 'Garnett-Black';
  font-size: 1.875rem;
  line-height: 2.688rem;
  margin-bottom: 1rem;
}

h3{
  font-family: 'Garnett';
  font-size: 1.875rem;
}

p{
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin-bottom: .6rem;
}

strong{
  font-family: 'Garnett-Black';
}

li{
  list-style: none;
}

nav{
  position: sticky;
  padding: 2rem 4rem;
  top: 0;
  font-family: 'Garnett-Black';
  font-size: 2.5rem;
  text-transform:uppercase;
  background-color:#fff;
  margin: 0;
  padding: 2rem 4rem;
}
/* utilities */
.uppercase{
  text-transform: uppercase;
}

.align-right{
  text-align: right;
}

.flex {
  display: flex;
  gap: var(--gap, 1rem);
}

.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 1em);
}

.bg-primary-400 {
  background: hsl(var(--clr-primary-400));
}
.bg-secondary-400 {
  background: hsl(var(--clr-secondary-400));
}
.bg-secondary-500 {
  background: hsl(var(--clr-secondary-500));
}

.bg-neutral-100 {
  background: hsl(var(--clr-neutral-100));
}

.text-neutral-100 {
  color: hsl(var(--clr-neutral-100));
}
.text-secondary-400 {
  color: hsl(var(--clr-secondary-400));
}
.border-primary-400 {
  border: 2px solid #a775f1;
}

.grid-col-span-2{
  grid-column: span 2;
}
.grid-col-span-3{
  grid-column: span 3;
}
.grid-col-span-4{
  grid-column: span 4;
}
.grid-col-span-5{
  grid-column: span 5;
}
.grid-col-span-6{
  grid-column: span 6;
}
.grid-col-span-7{
  grid-column: span 7;
}
.grid-col-span-8{
  grid-column: span 8;
}

.grid-row-span-2{
  grid-row: span 2;
}

/* components */
.stinnette, .job-title{
  position: relative;
  float: left;
}

.design {
  position: relative;
  float: right;
}

.hello{
  padding: 2rem 4rem 6rem;
  font-size: 3.125rem;
}

.company-header{
  font-size: 1.875rem;
}

.company-name{
  font-size: 6.25rem;
}

.what-i-did{
  padding-top: 1.5rem;
}

.portfolio-container{
  width: auto;
}

.portfolio-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(8, 1fr);
  padding-block: 2rem;
  padding: 0rem 4rem 2rem;
}

.text-padding{
  padding: 1rem;
}

.placeholder {
  text-align: center;
  padding: 3rem;
  background-color: #2BAB7D;
}


/* Make the panels colorful */
.panel{
  margin: 0
}

.color-white{
  background-color: #fff;
}

.color-front{
  background-color: #fff;
}

.color-dropbox{
  background-color: #fff;
}

.color-pinterest{
  background-color: #fff;
}

.color-etc{
  background-color: #fff;
}


.portfolio img, .portfolio video{
  width: auto;
  height: auto;
}

.portfolio .name {
  font-size: var(--fs-400);
  font-weight: var(--fw-400);
  line-height: 1;
}

.portfolio .position {
  font-size: var(--fs-300);
  opacity: 0.5;
}

/* Media Queries for different screen sizes */
@media only screen and (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(9, 1fr);
  }

  .grid-col-span-2 {
    grid-column: span 3;
  }

  .grid-row-span-2: span 1;

  .grid-col-span-3, .grid-col-span-4{
    grid-column: span 3;
  }

  .description{
    grid-column: span 3;
  }

  .grid-col-span-5,.grid-col-span-6{
    grid-column: span 6;
  }

  .grid-col-span-7, .grid-col-span-8{
    grid-column: span 9;
  }
}


@media only screen and (max-width: 900px) {
  nav{
    padding: 1rem 2rem;
    line-height: 1.25!important;
  }

  .hello{
    padding:1rem 2rem;
  }

  .align-right{
    text-align: left;;
  }

  .company-name{
    grid-column: span 8!important;
  }

  .what-i-did{
    grid-column: span 3!important;
  }

  .portfolio-grid {
    grid-template-columns: repeat(9, 1fr);
    padding: 1rem 2rem;
  }

  .grid-col-span-2 {
    grid-column: span 3;
  }

  .description{
    grid-column: span 8;
  }

  .grid-col-span-3, .grid-col-span-4{
    grid-column: span 3;
  }

  .grid-col-span-5,.grid-col-span-6{
    grid-column: span 9;
  }

  .grid-col-span-7, .grid-col-span-8{
    grid-column: span 9;
  }

  .grid-row-span-2{
    grid-row: span 3;
  }

  .front{
    padding-top: 0rem;
    padding-bottom: 0rem;
  }
}


@media only screen and (max-width: 600px) {
  nav{
    padding: 1rem 2rem;
    line-height: 1.25!important;
  }

  .hello{
    font-size: 1.875rem;
    padding:1rem 2rem;
  }

  .align-right{
    text-align: left;;
  }

  body{
    font-size:1rem;
  }

  h1{
    font-size: 2.5rem;
  }
  
  h2{
    font-size: 1.375rem;
    line-height: 2rem;
    margin-bottom: .5rem;
  }
  
  h3{
    font-size: 1.125rem;
  }

  .design{
    float:left;
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem 2rem;
  }

  .grid-col-span-2, .grid-col-span-3, .grid-col-span-4 {
    grid-column: span 1;
  }

   .grid-col-span-5, .grid-col-span-6, .grid-col-span-7, .grid-col-span-8, .description{
    grid-column: span 3;
  }

  .front{
    padding-top: 0rem;
    padding-bottom: 0rem;
  }
}