body {
  font-family: aktiv-gotesk-extended, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #ffffff;
  color: #303030;
  margin: 80px auto 48px auto;
  max-width: 1120px;
}

a {
  color: #4980e8;
  text-decoration: none;
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  position: relative;
  bottom: 2px;
}

a:active {
  position: relative;
  top: 1px;
}

header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
}

h2 {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 48px;
  margin-bottom: 16px;
}

h3 {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 24px;
  margin-bottom: 8px;
}

h4 {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 16px;
}

p {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 2;
}

section {
  margin: 40px 0px 40px 0px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.content {
  margin-top: 120px;
  margin-bottom: 120px;
}

.avatar {
  grid-column: 3 / span 3;
}

.copy {
  grid-column: 7 / span 5;
  text-align: left;
  margin: 24px 0 0 0;
}

.casestudies h3 {
  grid-column: 1 / span 6;
}

.caserow1 {
  grid-column: 1 / span 6;
}

.caserow2 {
  display: none;
  grid-column: 7 / span 6;
}

.email {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
/**
.email h3 {
  margin: 80px 0 80px 0;
}
**/

.email p {
  margin-bottom: 16px;
}

/*!!!!! Button Styling !!!!!*/

.myButton {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  width: 340px;
  padding: 16px 0 16px 0;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(261deg, #4980e8 0%, #3cd6b9 100%);
  background-color: #63b8ee;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  margin: 0 auto 0 auto;
}

.myButton:hover {
  background: linear-gradient(261deg, #3cd6b9 0%, #4980e8 100%);
  background-color: #468ccf;
}

.myButton2 {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  width: 340px;
  padding: 16px 0 16px 0;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(261deg, #4980e8 0%, #3cd6b9 100%);
  background-color: #63b8ee;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  margin: 16px auto 0 auto;
}

.myButton2:hover {
  background: linear-gradient(261deg, #3cd6b9 0%, #4980e8 100%);
  background-color: #468ccf;
}

.btn-secondary {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  width: 340px;
  padding: 16px 0 16px 0;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #ffffffff;
  border-radius: 8px;
  border-style: solid;
  border-color: #4980e8;
  border-width: 2px;
  display: inline-block;
  cursor: pointer;
  color: #4980e8;
  margin: 16px auto 0 auto;
}

.toolsbtn {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 8px 8px 8px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #303030;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: #fff;
  margin: 16px auto 0 auto;
}

.interestsbtn {
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  padding: 8px 8px 8px 8px;
  box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #ffffffff;
  border-style: solid;
  border-color: #303030;
  border-width: 2px;
  border-radius: 8px;
  display: inline-block;
  cursor: pointer;
  color: #303030;
  margin: 16px auto 0 auto;
}

.download {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

/* !!!!! Footer Styling !!!!! */

footer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 64px auto 64px auto;
}

.twitter {
  padding: 0 20px 2px 20px;
}

.dribbble {
  margin: 0 20px 0 20px;
}

.instagram {
  margin: 0 20px 0 20px;
}

/*!!!!! CV page !!!!!*/

.contact {
  margin-top: 80px;
}

.intro {
  margin-top: 40px;
}

.intro h3 {
  grid-column: 1 / span 9;
  text-align: left;
}

.row1 {
  grid-column: 1 / span 6;
}

.row2 {
  grid-column: 7 / span 6;
}

ul {
  list-style-type: square;
  font-family: aktiv-grotesk-extended, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
  list-style-position: inside;
}

.experience li {
  padding: 8px 0 8px 0;
}

.interests {
  margin-bottom: 80px;
}

/************ Case studies ************/

.casecol1 {
  grid-column: 1 / span 6;
}

.casecol2 {
  grid-column: 7 / span 6;
}

.casecol3 {
  grid-column: 9 / span 4;
}

.casecolmid {
  grid-column: 4 / span 6;
}

.casecolmidimg {
  grid-column: 3 / span 8;
}

.casecolmidimgsml {
  grid-column: 5 / span 4;
}

.caseintro,
.visualidentity,
.MVP,
.userflows,
.paperproto,
.wireproto,
.sitemap,
.outcome {
  margin-bottom: 160px;
}

.caseintro h3,
h2 {
  grid-column: 1 / span 12;
}

.fullimg {
  grid-column: 1 / span12;
}

.userflows h3 {
  margin-bottom: -24px;
  grid-column: 1 / span 6;
}

.casestudies {
  display: none;
}

/* Media queries */

@media (max-width: 1248px) {
  body {
    width: auto;
    margin: 80px 64px 48px 64px;
  }
  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }
}

@media (max-width: 1120px) {
  section {
    margin: 40px 0px 40px 0px;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
  }
  .avatar {
    grid-column: 2 / span 2;
  }
  .copy {
    grid-column: 4 / span 4;
    text-align: left;
    margin: 0 0 0 0;
  }
  .row1,
  .userflows h3 {
    grid-column: 1 / span 4;
  }

  .row2,
  .caserow2 {
    grid-column: 5 / span 4;
  }

  .caserow1,
  .casecol1 {
    grid-column: 1 / span 4;
  }

  .casecol2 {
    grid-column: 5 / span 4;
  }

  .casecol3 {
    grid-column: 6 / span 3;
  }

  .fullimg,
  .caseintro h3,
  h2 {
    grid-column: 1 / span 8;
  }

  .casecolmid,
  .casecolmidimg {
    grid-column: 2 / span 6;
  }

  .casecolmidimgsml {
    grid-column: 4 / span 2;
  }
}

@media (max-width: 770px) {
  body {
    width: auto;
    margin: 40px 64px 32px 64px;
  }
  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 12px;
    margin-bottom: 8px;
  }

  section {
    margin: 40px 0px 40px 0px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .content {
    margin-top: 80px;
  }
  .avatar {
    grid-column: 2 / span 2;
  }
  .copy {
    grid-column: 1 / span 4;
  }
  .copy h2 {
    text-align: center;
    font-size: 40px;
  }

  .row1,
  .row2 {
    grid-column: 1 / span 4;
  }

  .caserow1 {
    grid-column: 1 / span 4;
  }

  .caserow2 {
    grid-column: 1 / span 4;
  }

  .row1 ul {
    padding-bottom: 8px;
  }

  .skillstools h2 {
    padding-top: 8px;
  }

  .casecol1 {
    grid-column: 1 / span 4;
  }

  .casecol2 {
    grid-column: 1 / span 4;
  }

  .casecol3 {
    grid-column: 1 / span 3;
  }

  .fullimg,
  .caseintro h3,
  h2 {
    grid-column: 1 / span 4;
  }

  .casecolmid {
    grid-column: 1 / span 4;
  }

  .casecolmidimg {
    grid-column: 1 / span 4;
  }

  .casecolmidimgsml {
    grid-column: 2 / span 2;
  }
  .casestudies h3 {
    grid-column: 1 / span 4;
  }
  .userflows h3 {
    grid-column: 1 / span 4;
  }
}

@media (max-width: 500px) {
  body {
    width: auto;
    margin: 24px 16px 64px 16px;
  }
  .copy {
    align-items: center;
    justify-content: center;
    max-width: 320px;
    margin: 0px auto 0px auto;
  }

  h2 {
    font-size: 32px;
  }

  p {
    font-size: 12px;
  }
  li {
    font-size: 12px;
  }

  header {
    justify-content: center;
  }

  .content {
    margin-top: 40px;
  }

  .interestsbtn {
    font-size: 12px;
  }

  .toolsbtn {
    font-size: 12px;
  }

  .casecol3 img {
    grid-column: 1 / span 2;
  }
}

@media (max-width: 374px) {
  .content {
    margin-top: 24px;
  }
  h2 {
    font-size: 24px;
    margin-top: 24px;
  }
  .copy h2 {
    font-size: 24px;
    margin-top: 0px;
  }

  section {
    margin: 24px 0px 40px 0px;
  }

  .intro {
    margin-top: 64px;
  }

  .myButton,
  .myButton2,
  .btn-secondary {
    width: 288px;
  }
}
