/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  color: #5f4b32;
  text-decoration: none;
}

.heading {
  text-align: center;
  margin-bottom: 25px;
}

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

section {
  padding: 50px 0;
}
@media (max-width: 991px) {
  section {
    padding: 25px 0;
  }
}

.animate {
  opacity: 0;
}

.animate.active {
  opacity: 1;
}

.active.fade-right {
  animation: fade-right 0.5s ease-in;
}

.active.fade-left {
  animation: fade-left 0.5s ease-in;
}

.active.fade-up {
  animation: fade-up 0.3s ease-in;
}

@keyframes fade-left {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-right {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fade-up {
  0% {
    transform: translateY(25px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
body {
  font-family: "Nunito Sans", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #5f4b32;
  line-height: 1.5;
  background: #f3ead3;
}

h1 {
  font-size: 30px;
  margin: 0;
}
@media (max-width: 991px) {
  h1 {
    font-size: 28px;
  }
}
@media (max-width: 767px) {
  h1 {
    font-size: 25px;
  }
}

h4 {
  font-size: 24px;
}

/**
 * Clear inner floats
 */
.clearfix::after {
  clear: both;
  content: "";
  display: table;
}

/**
 * Main content containers
 * 1. Make the container full-width with a maximum width
 * 2. Center it in the viewport
 * 3. Leave some space on the edges, especially valuable on small screens
 */
.container {
  max-width: 1180px; /* 1 */
  margin-left: auto; /* 2 */
  margin-right: auto; /* 2 */
  padding-left: 20px; /* 3 */
  padding-right: 20px; /* 3 */
  width: 100%; /* 1 */
}

/**
 * Hide text while making it readable for screen readers
 * 1. Needed in WebKit-based browsers because of an implementation bug;
 *    See: https://code.google.com/p/chromium/issues/detail?id=457146
 */
.hide-text {
  overflow: hidden;
  padding: 0; /* 1 */
  text-indent: 101%;
  white-space: nowrap;
}

/**
 * Hide element while making it readable for screen readers
 * Shamelessly borrowed from HTML5Boilerplate:
 * https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css#L119-L133
 */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

header {
  padding: 20px 0;
  background-color: #f3ead3;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 5;
}
header nav {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 991px) {
  header nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: -100%;
    width: 100%;
    font-size: 2rem;
    font-weight: 600;
    background-color: #f3ead3;
    padding-left: 0;
    height: calc(100vh - 70px);
    justify-content: center;
    transition: all 0.3s ease-in-out;
    animation: hide-menu 0.3s ease-in-out;
  }
}
header .nav-list {
  display: flex;
  margin-left: auto;
  gap: 20px;
  margin-bottom: 0;
}
@media (max-width: 991px) {
  header .nav-list {
    flex-direction: column;
    padding-left: 0;
    margin-inline: auto;
  }
}
header .nav-item {
  overflow: hidden;
  position: relative;
}
header .nav-link {
  left: 0;
  transform: translateX(0);
  transition: all 0.3s ease-in-out;
  text-transform: uppercase;
  color: #5f4b32;
  display: inline-block;
}
header .nav-link:after {
  content: attr(data-after);
  position: absolute;
  left: 0;
  transform: translateX(-200%);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 992px) {
  header .nav-link:hover {
    transform: translateX(100%);
    color: #5f4b32;
  }
  header .nav-link:hover::after {
    opacity: 1;
    transform: translateX(-100%);
  }
}
header .nav-link:focus {
  color: #3e3120;
}
header .mobile-menu {
  flex-direction: column;
  width: 30px;
  height: 30px;
  justify-content: space-around;
  display: none;
  margin-left: auto;
  position: relative;
  cursor: pointer;
}
@media (max-width: 991px) {
  header .mobile-menu {
    display: flex;
  }
}
header .mobile-menu span {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #5f4b32;
  transition: all 0.3s ease-in-out;
  transform-origin: center;
}
header .mobile-menu span:nth-child(1) {
  top: 15%;
}
header .mobile-menu span:nth-child(2) {
  top: 45%;
}
header .mobile-menu span:nth-child(3) {
  top: 74%;
}

@media (max-width: 991px) {
  body.show-mobile-menu header nav {
    display: flex;
    right: 0;
    animation: show-menu 0.3s ease-in-out;
  }
}
body.show-mobile-menu header .mobile-menu span {
  position: absolute;
  transform-origin: center;
}
body.show-mobile-menu header .mobile-menu span:nth-child(2) {
  transform: translateX(100%);
  opacity: 0;
  display: none;
}
body.show-mobile-menu header .mobile-menu span:nth-child(1) {
  transform: rotate(45deg);
}
body.show-mobile-menu header .mobile-menu span:nth-child(3) {
  transform: rotate(-45deg);
  top: 15%;
}

@keyframes show-menu {
  0% {
    display: flex;
    right: -100%;
  }
  100% {
    display: flex;
    right: 0;
  }
}
@keyframes hide-menu {
  0% {
    display: flex;
    right: 0;
  }
  100% {
    display: flex;
    right: -100%;
  }
}
footer {
  background-color: #f9f1db;
  padding: 20px 0;
}
footer a:hover {
  color: initial;
}
footer p {
  text-align: center;
  color: #5f4b32;
  margin-bottom: 25px;
}
footer .footer-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}
footer .footer-icons svg {
  transition: all 0.3s ease-in-out;
  color: #5f4b32;
}
footer .footer-icons svg:hover {
  transform: scale(1.1);
}
footer .footer-content {
  display: flex;
  justify-content: space-between;
}

#introduction {
  min-height: calc(100vh - 60px);
  background-color: #f3ead3;
  color: #5f4b32;
}
#introduction .content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 100px 0;
}
@media (max-width: 991px) {
  #introduction .content {
    padding: 50px 0;
    flex-direction: column-reverse;
    gap: 50px;
  }
}
#introduction p {
  font-size: 22px;
}
#introduction .main-text {
  max-width: 680px;
}
@media (min-width: 991px) {
  #introduction .main-text h1 {
    margin-bottom: 15px;
  }
}
#introduction .image-container {
  max-width: 600px;
}
@media (max-width: 991px) {
  #introduction .image-container {
    max-width: 500px;
  }
}
#introduction .button-container {
  margin-top: 20px;
}

@keyframes slide-in {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
#about-me {
  animation: slide-in 0.3s ease-in-out;
  animation-delay: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
#about-me .paragraph {
  max-width: 80%;
  margin-inline: auto;
}
#about-me .skills-list {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  margin: 25px 0;
}
#about-me .icon {
  cursor: pointer;
}
#about-me .icon svg {
  transition: transform 0.3s ease-in-out;
}
#about-me .icon svg path {
  transition: fill 0.3s ease-in-out;
}
#about-me .icon:hover svg {
  transform: scale(1.1);
}

#blog a:hover {
  color: initial;
}
#blog .blog-content {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
#blog .blog-card {
  flex-basis: 48%;
  border-radius: 5px;
  border: 1px solid #d3c2c2;
  padding: 20px;
}
@media (max-width: 767px) {
  #blog .blog-card {
    flex-basis: 100%;
  }
}

#contact .contact-content {
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
}
#contact .contact-content form {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#contact .contact-content form input,
#contact .contact-content form textarea {
  margin-block: 10px;
  background: transparent;
  padding: 4px;
  font-size: 14px;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #d3d3a0;
  outline: none;
}
#contact .contact-content form input:focus,
#contact .contact-content form textarea:focus {
  border-bottom-color: #5f4b32;
}
#contact .contact-content form .btn-secondary {
  margin-block: 10px;
  line-height: 1.5;
  font-size: 16px;
}

.btn-primary {
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  background-color: transparent;
  color: #5f4b32;
  border-radius: 5px;
  border: 1px solid #5f4b32;
  background-size: 201% 100%;
  background-image: linear-gradient(to right, transparent 0%, transparent 50%, #5f4b32 50%, #5f4b32 100%);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.btn-primary:hover {
  background-position: -100% 0%;
  color: white;
  background-color: transparent;
  border-color: #f3ead3;
}
.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: transparent;
  box-shadow: none;
  border: 1px solid #5f4b32;
}
.btn-primary:focus:hover {
  color: white;
}
.btn-primary:active {
  color: #5f4b32;
}
.btn-primary:active:focus {
  box-shadow: none;
}

.btn-secondary {
  padding: 7px 10px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  border: transparent;
  background-color: #e44e58;
  color: white;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.btn-secondary:hover {
  background-color: #dd222e;
}

.project-card {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 30px 0;
}
.project-card:nth-child(odd) {
  flex-direction: row-reverse;
}
@media (max-width: 767px) {
  .project-card {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
}
.project-card .project-image {
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
}
.project-card .project-image img {
  transition: all 0.3s ease-in-out;
}
.project-card .project-image:hover img {
  transform: scale(1.1);
}
.project-card .project-detail {
  align-self: flex-start;
}
.project-card .project-description {
  margin-block: 10px;
}
.project-card .button-container {
  display: flex;
  column-gap: 25px;
}
@media (max-width: 800px) {
  .project-card .button-container {
    column-gap: 15px;
  }
}

/*# sourceMappingURL=style.css.map */
