@font-face {
  font-family: "Din Rounded";
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/DINNextRoundedLTPro-Bold.woff) format("woff");
}
@font-face {
  font-family: "Din Next";
  font-style: normal;
  font-weight: 400;
  src: url(../fonts/DINNextLTPro-Medium.woff) format("woff");
}
@font-face {
  font-family: "Din Next";
  font-style: italic;
  font-weight: 400;
  src: url(../fonts/DINNextLTPro-MediumItalic.woff) format("woff");
}
@font-face {
  font-family: "Din Next";
  font-style: normal;
  font-weight: 600;
  src: url(../fonts/DINNextRoundedLTPro-Bold.woff) format("woff");
}
:root {
  --mint: #afefca;
  --green: #71bf4d;
  --white: white;
  --black: black;
  --headline-type: "Din Rounded", "Gill Sans", "Gill Sans MT", Calibri,
    "Trebuchet MS", sans-serif;
  --body-type: "Din Next", "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS",
    sans-serif;
}
html {
  height: 100%;
}
body {
  background-color: white;
  color: black;
  font-family: var(--body-type);
  text-align: left;
  line-height: normal;
}
main {
  display: flex;
  flex-direction: column;
}
p {
  margin-bottom: 20px;
  font-size: 16px;
}
h1 {
  font-size: 20px;
  font-family: var(--headline-type);
}
h2 {
  font-family: var(--headline-type);
  font-size: 18px;
}
h4 {
  font-style: italic;
  font-size: 12px;
}
aside .work-example {
  max-width: 100%;
}
a {
  color: var(--green);
  text-decoration: underline;
}
aside {
  flex: 0 0 100%;
}
aside:first-child {
  margin-bottom: 30px;
}
/* Header */
header {
  height: 70vh;
  background: linear-gradient(
      to right,
      rgba(255, 255, 255, 100%) 0%,
      rgba(255, 255, 255, 255) 50%,
      rgba(255, 255, 255, 0%) 100%
    ),
    url("../images/pattern.jpg");
  background-size: cover;
}
header section {
  background: url("../images/headshot.png") bottom right no-repeat;
  background-size: contain;
  height: 100%;
  position: relative;
  display: flex;
}
header section h1,
header section p {
  text-shadow: 2px 2px var(--white);
}
header section {
  font-family: var(--headline-type);
}
.gh-logo {
  animation: float 2s ease;
  width: 200px;
}

.gh-logo path {
  fill: var(--mint);
}
.gh-logo .vertical-stroke,
.gh-logo rect {
  stroke: var(--mint);
}

.vertical-stroke {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw 1s ease 1s forwards;
}


/* Sections */
section,
footer {
  padding: 50px;
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
}

section .logos {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 25px;
}

section .logos div {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-content: center;
}

section .logos div img {
  width: 350px;
  max-width: 100%;
}
section .logos div .round-logo {
  width: 200px;
}

section .company-logo {
  height: 80px;
  max-width: 100%;;
  margin-bottom: 15px;
}

.section-container.full section {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.section-container.quote {
  background-color: var(--mint);
}

/* Footer */
footer {
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* Media Queries */
@media screen and (min-width: 800px) {
  h1 {
    font-size: 55px;
    font-family: var(--headline-type);
  }
  h2 {
    font-family: var(--headline-type);
    font-size: 24px;
  }
  h4 {
    font-style: italic;
    font-size: 14px;
  }
  header {
    height: 60vh;
  }
  header section p {
    font-size: 24px;
  }
  header aside {
    align-content: center;
  }
  aside {
    flex: 0 0 calc(50% - 1.5rem);
    margin-bottom: 0;
  }
  section,
  footer {
    padding: 120px 50px;
    justify-content: space-between;
    gap: 25px;
  }
  section {
    flex-direction: row;
  }
  .section-container.quote section {
    padding: 60px 140px;
  }
  section .logos {
    gap: 10px;
  }
  section .logos div {
    flex: 0 0 32%;
  }
  
}

/* Animations */
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes float {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
