body {
  font-family: 'lato', sans-serif;
  width: 100vw;
}

section {
    background-color: #fefefe;
    padding: 3rem 0;
    line-height: 20px;
}

img {
    display: block;
    max-width: 100%;
    float: left;
}

.split {
    display: flex;
    flex-direction: column;
}

@media (min-width: 40em) {
    .split {
        flex-direction: row;
    }
    .split > * {
        flex-basis: 100%;
    }
}


.container {
    margin-inline: auto;
    width: min(90%, 70.5 rem);

}

.sub-section-alternative {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 70px;
}

.hero-area {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.hero {
    background-color: #fefefe;
    height: flex;
    color: #524f4a;
    font-size: 14px;
    align-items: left;
}

.hero-text {
    margin-top: 70px;
    margin-left: 0px;
    margin-right: 150px;
    margin-bottom: 100px;
    font-size: 30px;
    display: grid;
    text-align: left;
    align-items: left;
    padding: 0px;
    justify-content: left;
}

footer {
    height: flex;
    background-color: #fefefe;
    color: #505020;
    text-align: center;
    padding-bottom: 10px;
    font-size: 13px;
}

nav {
    display: flex;
    justify-content: space-between;
}


ul {
    display: flex;
    list-style-type: none;
    width: 500px;
    justify-content: space-around;
    font-size: 25px;
}

li {
    /* width: 200px; */
    text-decoration: none;
}

h1 {
    font-size: 70px;
    margin: 100px;
    font-weight: 400;
    font-style: none;
    color: #75752f;
    font-family: 'Lato', sans-serif;
}

h2 {
    font-size: 30px;
    font-style: none;
    color: #75752f;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    margin: 30px;
    padding-right: 50px;
}

h3 {
    font-size: 35px;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    color: #444444;
    line-height: 40px;
}

h4 {
    font-size: 20px;
    font-style: none;
    color: #444444;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin: 30px;
    padding-right: 50px;
}

p {
  background-color: #fefefe;
  height: flex;
  color: #524f4a;
  font-size: 15px;
  align-items: left;
  font-family: 'Lato', sans-serif;
}

small {
  margin: 0px;
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: #505020;
  align-items: right;
  font-weight: 400;
  text-transform: uppercase;
}

b {
    color: #9e9e7d;
    text-transform: bold;
    font-weight: 500;
}

u {
    text-decoration: underline;
    text-decoration-color: 1px #afa5bd;
}

.hero-text {
    margin-left: 40px;
}

/* Buttons mostly */

.button {
    width: 100px;
    height: 15px;
    border-radius: 25px;
    background-color: #75752f;
    color: #ffffff;
    text-align: center;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 10px;
    margin-top: 10px;
    text-decoration: none;
    text-transform: uppercase;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.button:hover {
    background-color: #9e9e7d;
    color: #444444;
    width: 100px;
    height: 15px;
    border-radius: 25px;
    text-align: center;
    font-size: 13px;
    letter-spacing: 2px;
    padding: 10px;
    margin-top: 10px;
    transition: 0.5s ease-in-out;
    text-decoration: none;
    align-items: center;
    align-content: center;
}

.button.active {
    background-color: #a6a998;
    color: #e2e2e2;
} 

a {
    text-decoration: none;
    color: #ffffff;
    transition: ease-in-out 0.1s;
    justify-content: center;
    align-items: center;
}

.socials {
    padding-bottom: 10px;
    padding-top: 10px;
    color: #eae9e7;
    font-size: 25px;
}

.social {
    margin: 20px;
}

.sub-section {
    display: flex;
    justify-content: space-around;
    padding: 60px;
}



/* Projects */

.project-card {
    width: 300px;
    height: 80px;
    border: 1px solid #524f4a;
    justify-content: space-between;
    padding: 10px;
    align-items: center;
    display: center;
}

.project-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 100px;
    margin-top: 0px;
    align-items: center;
}

.projects {
    margin: 0;
    padding: 10rem;
    font-family: "Tenor Sans", sans-serif, system-ui, -apple-system;
    font-size: 70px;
    background: transparent;
    color: #fefefe;
    display: grid;
    align-items: center;
    align-content: center;
    height: flex;
    max-width: 100%;
    grid-template-columns: min-content 1fr;
  }


#projects {
	padding: 2rem 0;
}

#projects .item {
	display: flex;
    align-items: center;
	justify-content: center;
	max-width: 800px;
	margin: 0 auto;
	margin-bottom: 7rem;
	/* gap: 2rem; */
}

#projects .item:nth-of-type(even) {
	flex-direction: row-reverse;
}

#projects .item .left {
	flex: 1;
}

#projects .item .right {
	margin-left: -150px;
	flex: 1;
	background-color: #fefefe;
	padding: 3rem 3rem;
	border-radius: 12px;
	box-shadow: 0px 0px 20px #0000005e;
    z-index: 2;
}

#projects .item:nth-of-type(even) .right {
	margin-left: 0;
}

#projects .item:nth-of-type(even) .left {
	margin-left: -150px;
}

#projects .item .left .img {
	height: 500px;
	overflow: hidden;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0px 0px 20px #d9c18048;
	position: relative;
}

#projects .item .left .img::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	background-color: #dfdfdf8a;
}

#projects .item .left .img img {
	object-fit: cover;
	transition: 0.3s ease transform;
}

#projects .item:hover .left .img img {
	transform: scale(1.1);
	z-index: 1;
}

#projects .item .right .project-title {
	font-size: 30px;
	font-family: 'Tenor Sans', sans-serif;
    font-style: bold;
    font-weight: 500;
	margin-bottom: 1rem;
}

#projects .item .right .project-sub-title {
	font-size: 20px;
	margin-bottom: 2rem;
  line-height: 30px;
}

#projects .item .right .project-desc {
	color: #505020;
  font-size: 11px;
  font-family: 'Poppins';
  font-weight: 500;
  text-transform: uppercase;
	margin-bottom: 2rem;
  text-align: right;
}

#projects .item .right .external-link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: calc(0.6em - 4px) calc(1.6em - 4px);
}

#projects .item .right .external-link svg {
	width: 25px;
}

@media only screen and (max-width: 768px) {
	#projects .item {
		flex-direction: column;
	}
	#projects .item .left {
		width: 100%;
	}
	#projects .item .right {
		margin-left: 0;
		width: 90%;
		margin-top: -150px;
	}
	#projects .item:nth-of-type(even) {
		flex-direction: column;
	}
	#projects .item:nth-of-type(even) .left {
		margin-left: 0;
	}
}
@media only screen and (max-width: 450px) {
	#projects .item .right .buttons {
		flex-direction: column;
	}
	#projects .item .right .buttons a {
		width: 100%;
		text-align: center;
    align-content: center;
	}
}


/* Navigation shtuff */
  
nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    min-height: 8vh;
    background-color: #fefefe;
    color: #444444;
    font-family: 'Poppins', sans-serif;
    position: fixed;
    top: 0;
    width: 100%;
    border-radius: 0px 0px 15px 15px;
    z-index: 3;
}

.nav-links {
    display: flex;
    width: 40%;
    justify-content: space-around;
}

.nav-links a {
    color: #524f4a;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 15px;
}

.nav-links li {
    list-style: none;
}

.burger {
    display: none;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: rgb(159, 177, 148);
    margin: 5px;
    transition: all 0.3s ease;
}

.logo {
    color: #524f4a;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 20px;
    height: 80px;
    margin: 15px;
    align-items: center;
}





@media screen and (max-width: 1024px){
    .nav-links {
        width: 60%;
    }
}


@media screen and (max-width: 760px){
    body {
        overflow-x: hidden;
    }
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color:#ffffff;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }
    .nav-links li {
        opacity: 100%;
    }
    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade{
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to{
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate (-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate (45deg) translate(-5px, -6px);
}












  /*! 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;
  }