@font-face {
  font-family: Honest-Black;
  src: url('../fonts/Honest-Black.otf');
}

html {
  scroll-behavior: smooth;
}

.hero {
  background-color: #7494EA;
  display: flex;
  flex-direction: column;
}

.navbar {
  position:static;
  top: 0;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  z-index: 100;
}

.hero-content {
  height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
    color: #ffffff;
    margin-top: -2rem;
}

.navbar a {
  color: white;
  font-family: "Inter", sans-serif;
  cursor: pointer;
}

.navbar-black {
  display: flex;
  justify-content: flex-end;
  padding: 1rem;
  gap: 2rem;
}

.navbar-black a {
  color: black;
  font-family: "Inter", sans-serif;
  cursor: pointer;

}

.article-container {
  display: flex;
  flex-direction: column;
  margin: 0 5rem 5rem 5rem;
}

.article-container h3 {
  font-family: "Inter", sans-serif;
font-size: 48px;
font-weight: 700;
text-align: center;
margin: 60px 0;
}

.article-container h4 {
  font-family: "Inter", sans-serif;
font-size: 36px;
font-weight: 600;
margin: 54px 0 34px 0;
}

.article-container p {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.article-container a {
  cursor: pointer;
}

.article-container ul li {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 36px;
  padding: .3rem 0;
}

.article-container ul li:last-child {
  margin-bottom: 12px;
}

.article-container img {
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  transition: all 0.2s ease;
  border-radius: 4px;
  margin-top: 1.5rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
}

.bold-text {
  font-weight: 700;
}

.article-container figcaption {
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.article-container h5 {
font-family: "Inter", sans-serif;
font-size: 40px;
font-weight: 700;
text-align: center;
}


.section {
  min-height: 100vh;
  height: auto;
}


.hero h1, .hero h2 {
text-shadow: 4px 4px 1px #083D77;
}

h1 {
  font-family: 'Honest-Black';
  font-size: 128px;
  line-height: 100px;
}

h2 {
  font-family: 'Inter';
  font-size: 72px;
  font-weight: 700;
  margin-top: 24px;
}

#about-me {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  text-align: center;
  margin: 5rem;
}

#about-me p {
  font-size: 30px;
  margin: 24px 0;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

#about-me p:first-of-type {
  margin-top: 0;
}

.skewed-highlight {
  position: relative;
  display: inline-block;
}

.skewed-highlight::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1em;
  background-color: #c2f7dc;
  transform: translateY(-50%) skewX(-10deg);
  z-index: -1;
}

#case-studies {
  padding: 50px;
  background-color: #daffeb;
  height: auto;
  text-align: center;
  min-height: 100vh;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='186' height='186' viewBox='0 0 120 120'%3E%3Cpolygon fill='%237494EA' fill-opacity='0.76' points='120 120 60 120 90 90 120 60 120 0 120 0 60 60 0 0 0 60 30 90 60 120 120 120 '/%3E%3C/svg%3E");

}

#case-studies p {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  margin-bottom: 36px;
}

#about-me h3, #case-studies h3, #skills-certs h3, #contact h3 {
font-family: "Inter", sans-serif;
font-size: 48px;
font-weight: 700;
text-align: center;
margin-bottom: 48px;
}

#case-studies h3 {
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 4rem;
  border: .5rem solid black;
  display: inline-block;
  margin-bottom: 0;
}

.wavy-underline {
text-decoration: underline;
text-decoration-style: wavy;
text-underline-offset: 10px;
text-decoration-color: #7494EA;
}

.wavy-underline-green {
text-decoration: underline;
text-decoration-style: wavy;
text-underline-offset: 1.2rem;
text-decoration-color: #daffeb;
}

.lightgreen {
  color: #daffeb;
}

#skills-certs {
  padding: 50px;
  background-color: #fff;
  height: auto;
  position: relative;
}

.grid-container {
  margin-inline: auto;
  margin: 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 6rem;
}

.grid-container-skills {
  margin-inline: auto;
  margin: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 2rem;
}

.card {
  --grad: #7494EA, rgb(0, 255, 115);
  padding: 2.5rem;
  /*margin-top: 1rem; */
  background-image: linear-gradient(to bottom left, #ffffff, #f2f6f9);
  border-radius: 2rem;
  gap: 1.5rem;
  display: grid;
  grid-template: 'title title' 'content content' 'bar bar' / 1fr auto;
  font-family: "Inter", sans-serif;
  color: #000000;
  cursor: pointer;
  transition:
  transform 0.3s cubic-bezier(.4,2,.6,1),
  box-shadow 0.3s cubic-bezier(.4,2,.6,1);
  box-shadow: 
    inset -2px 2px hsl(0 0 100% / 1),
    -20px 20px 40px hsla(0, 0%, 0%, 0.135) ;
  
  .title {
    font-size: 1.5rem;
    grid-area: title;
    align-self: end;
    text-transform: uppercase;
    font-weight: 600;
    
  }

  .content {
    grid-area: content;
    & > *:first-child { margin-top: 0rem}
    & > *:last-child { margin-bottom: 0rem}
  }
  &::after {
    content: "";
    grid-area: bar;
    height: 3px;
    background-image: linear-gradient(90deg, var(--grad));
  }
}

.card:hover, .card:focus-visible {
  transform: scale(1.05);
  box-shadow:
    0 8px 32px 0 rgba(0,0,0,0.25),
    0 1.5px 6px 0 rgba(0,0,0,0.10),
    inset -2px 2px hsl(0 0 100% / 1);
  z-index: 2;
}


.content button {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  
}




#contact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-color: #daffeb;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='363' height='363' viewBox='0 0 200 200'%3E%3Cg %3E%3Cpolygon fill='%23399d80' points='100 57.1 64 93.1 71.5 100.6 100 72.1'/%3E%3Cpolygon fill='%235ebfa1' points='100 57.1 100 72.1 128.6 100.6 136.1 93.1'/%3E%3Cpolygon fill='%23399d80' points='100 163.2 100 178.2 170.7 107.5 170.8 92.4'/%3E%3Cpolygon fill='%235ebfa1' points='100 163.2 29.2 92.5 29.2 107.5 100 178.2'/%3E%3Cpath fill='%2381E2C3' d='M100 21.8L29.2 92.5l70.7 70.7l70.7-70.7L100 21.8z M100 127.9L64.6 92.5L100 57.1l35.4 35.4L100 127.9z'/%3E%3Cpolygon fill='%234c71b1' points='0 157.1 0 172.1 28.6 200.6 36.1 193.1'/%3E%3Cpolygon fill='%23698bcd' points='70.7 200 70.8 192.4 63.2 200'/%3E%3Cpolygon fill='%2385A6EA' points='27.8 200 63.2 200 70.7 192.5 0 121.8 0 157.2 35.3 192.5'/%3E%3Cpolygon fill='%23698bcd' points='200 157.1 164 193.1 171.5 200.6 200 172.1'/%3E%3Cpolygon fill='%234c71b1' points='136.7 200 129.2 192.5 129.2 200'/%3E%3Cpolygon fill='%2385A6EA' points='172.1 200 164.6 192.5 200 157.1 200 157.2 200 121.8 200 121.8 129.2 192.5 136.7 200'/%3E%3Cpolygon fill='%234c71b1' points='129.2 0 129.2 7.5 200 78.2 200 63.2 136.7 0'/%3E%3Cpolygon fill='%2385A6EA' points='200 27.8 200 27.9 172.1 0 136.7 0 200 63.2 200 63.2'/%3E%3Cpolygon fill='%23698bcd' points='63.2 0 0 63.2 0 78.2 70.7 7.5 70.7 0'/%3E%3Cpolygon fill='%2385A6EA' points='0 63.2 63.2 0 27.8 0 0 27.8'/%3E%3C/g%3E%3C/svg%3E");
}

#contact h3 {
  background-color: #fff;
  padding: 1rem 2rem;
  border-radius: 4rem;
  border: .5rem solid black;
}

#contact a {
  background-color: #adc3ff;
  font-size: 1.5rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 4rem;
  border: .4rem solid black;
  font-family: "Inter", sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  vertical-align: middle;
}

#contact a svg {
  height: 2.5rem;
  width: auto;
}

.cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 16rem;
}

footer {
  font-family: "Inter", sans-serif;
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem;
}

.skill-card {
  border: 4px solid #000;
  box-shadow: 8px 8px 0 #000;
  transition: all 0.2s ease;
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.skill-card:hover {
  box-shadow: 6px 6px 0 #000;
  transform: translate(2px, 2px);
}

.skill-card img {
  width: 50%;
  margin-bottom: 20px;
}

.skill-card p {
  text-align: center;
}




/* extra small devices (phones) */
@media (max-width: 480px) {
h1 {
  font-size: 5rem;
  line-height: 6rem;
  margin-top: 4rem;
  text-align: center;
}

h2 {
  font-size: 3rem;
  line-height: 4rem;
  text-align: center;
}

#about-me {
  margin: .5rem;
  padding: 0;
}

#about-me h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

#about-me p {
  font-size: 1.5rem;
}

.grid-container {
  margin: 0;
}

.card {
  padding: 1.5rem;
}

#case-studies h3 {
  margin-bottom: 4rem;
}

#case-studies p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

#skills-certs h3 {
  line-height: 4rem;
}

#contact {
  padding: 1rem;
}

#contact h3 {
  margin-top: -8rem;
  font-size: 2.5rem;
}

#contact a {
  text-align: center;
}

.article-container {
  margin: 0 1.5rem 1.5rem 1.5rem;
}

}

/* small devices (large phones, portrait tablets) */
@media (min-width: 481px) and (max-width: 767px) {
.hero {
  padding: 1.5rem;
}

  h1 {
  font-size: 5rem;
  line-height: 6rem;
  margin-top: 4rem;
  text-align: center;
}

h2 {
  font-size: 3rem;
  line-height: 4rem;
  text-align: center;
}

#about-me {
  padding: 20px;
}

#about-me h3 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

#about-me p {
  font-size: 1.5rem;
}

.card {
  padding: 1.5rem;
}

.grid-container {
  margin: 2rem;
}

#case-studies p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

#skills-certs h3 {
  line-height: 4rem;
}

#contact {
  padding: 1rem;
}

#contact h3 {
  margin-top: -8rem;
  font-size: 2.5rem;
}

#contact a {
  text-align: center;
}

.article-container {
  margin: 0 1.5rem 1.5rem 1.5rem;
}

}

/* medium devices (landscape tablets, small laptops) */
@media (min-width: 768px) and (max-width: 1024px) {
.hero {
  padding: 1.5rem;
}

  h1 {
  font-size: 6rem;
  line-height: 6rem;
  margin-top: 4rem;
  text-align: center;
}

h2 {
  font-size: 3rem;
  line-height: 4rem;
  text-align: center;
}

#about-me {
  padding: 20px;
}

#about-me h3 {
  font-size: 2.5rem;
margin: 2rem 0;
}

#about-me p {
  font-size: 2rem;
}

.card {
  padding: 1.5rem;
}

#case-studies p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

#skills-certs h3 {
  line-height: 4rem;
}

#contact {
  padding: 2rem;
}

#contact h3 {
  margin-top: -4rem;
  font-size: 2.5rem;
}

#contact a {
  text-align: center;
}

}

/* large devices (desktops, large laptops) */
@media (min-width: 1025px) {
  .hero {
  padding: 1.5rem;
}

  h1 {
  font-size: 7rem;
  line-height: 6rem;
  margin-top: 4rem;
  text-align: center;
}

h2 {
  font-size: 4.5rem;
  line-height: 6rem;
  text-align: center;
}

#about-me {
  padding: 20px;
}

#about-me h3 {
  font-size: 2.5rem;
margin: 2rem 0;
}

#about-me p {
  font-size: 2rem;
}

.card {
  padding: 1.5rem;
}

#case-studies p {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

#skills-certs h3 {
  line-height: 4rem;
}

#contact {
  padding: 2rem;
}

#contact h3 {
  margin-top: -4rem;
  font-size: 3rem;
}

#contact a {
  text-align: center;
}
}