/* --------------------------------- */
/* Reset */
/* --------------------------------- */

html {
  box-sizing: border-box;
  font-size: 16px;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

img {
  max-width: 100%;
  height: auto;
}



/* --------------------------------- */
/* Base */
/* --------------------------------- */

main,
section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 0;
}

section.background-light {
  background-color: #F4F3F7;
}

.container {
  width: 80%;
  max-width: 800px;
}

.block {
  max-width: 80%;
  margin-bottom: 60px;
}

h1, h2, h3, p, li, a {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  color: #252525;
}

h1 {
  margin-bottom: 30px;
  font-size: 4.5rem;
  font-weight: 500;
}

h2, h3, p, ul {
  margin-bottom: 15px;
}

h2 {
  font-size: 2rem;
  font-weight: 500;
}

h4 {
  margin-bottom: 60px;
  font-family: "Baskervville", serif;
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  opacity: .5;
}

p, li {
  font-size: 1.15rem;
  line-height: 1.65rem;
  font-weight: 300;
}

ul {
  margin-top: 15px;
  margin-left: 45px;
}

li {
  margin-bottom: 5px;
}

.block:last-of-type,
p:last-of-type,
li:last-of-type {
  margin-bottom: initial;
}

.intro {
  display: inline-block;
  min-width: 200px;
}

.spacer-15 {
  height: 15px;
}

.spacer-30 {
  height: 30px;
}

.flex-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.seperator-container {
  position: relative;
  height: 30px;
  margin-top: -10px;
  margin-bottom: -20px;
}
.seperator {
  position: absolute;
  z-index: 1;
  height: 30px;
  width: 100%;

  background-image: url('./images/seperator.png');
  background-size: contain;
  background-repeat: no-repeat;
}

/* --------------------------------- */
/* Main */
/* --------------------------------- */

main {
  background-color: #251846;
}

main h1,
main p {
  color: #ffffff;
}

.main-description {
  max-width: 80%;
}

.main-links {
  gap: 15px;
  margin-top: 30px;
}

.social-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
}

.linkedin {
  background-image: url('./images/linkedin-white.png');
}

.github {
  background-image: url('./images/github-white.png');
}


/* --------------------------------- */
/* Case Studies */
/* --------------------------------- */

.team-titles {
  margin-right: 30px;
}





/* --------------------------------- */
/* Responsive */
/* --------------------------------- */

@media screen and (max-width: 700px) {

  .block,
  .main-description {
    max-width: 100%;
  }

}

@media screen and (max-width: 450px) {

  h1 {
    font-size: 3.5rem;
  }

  p, li {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  ul {
    margin-left: 30px;
  }

}