@charset "utf-8";

@font-face {
    font-family: Grenze;
    src: url("Grenze/Grenze-Regular.ttf") format("truetype");
    font-weight: normal;
}


@font-face {
    font-family: Grenze;
    src: url("Grenze/Grenze-Bold.ttf") format("truetype");
    font-weight: bold;
}

html {
    background-color: black;
    color: rgb(171, 171, 171);
    font-size: 12px;
    font-family: Grenze, Verdana, Geneva, sans-serif;
    background: url("hexagon-pattern-2657990_1280.png") top left / 20% repeat content-box; /* https://pixabay.com/illustrations/hexagon-pattern-pattern-hexagon-2657990/ I edited it to make it darker*/
}

body {
    margin: 0px 200px;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

a {
}

p {
   font-weight: normal;
   font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header {
    background: linear-gradient(black 80%, rgba(0, 0, 0, 0) );
    width: 100%;
    margin: 0px 0px 0 0px;
    font-family: Grenze, Verdana, Geneva, sans-serif;
}

header > figure {

    width: 100%;
    margin: 0px auto 10px auto;
    display: block;
    align-content: center;
    text-align: center;
}

header img {
    width:250px;
    margin: 20px auto;
    display: block;
    border-radius: 100%;
}

header figcaption {
    font-size: 3em;
    font-weight: bold;
    color: white;
}

nav.headernav {
    width: 100%;
    margin: 20px 0 0 0;
    /*border: 1px solid red;*/
}

header > nav {
    
}

nav.headernav ul {
    display: flex;
    flex-flow: row nowrap;
    padding: 0px 20px;
}

nav.headernav ul li {
    flex: 1 1 auto;
    margin: 5px 10px;
    padding: 0;
    /*border: 1px solid red;*/
    text-align: center;
    list-style-type: none;
    font-size: 2em;
    height: 40px;
}

nav.headernav ul li a:active, nav.headernav ul li a:hover {
    background-color: rgb(90, 90, 90);
}

nav.headernav ul li a{
    /*border: 1px solid red;*/
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 10px 0 0 0;
    background-color: gray;
    font-weight: bold;
    border-radius: 10px;
    color: black;
}

nav.headernav ul li a:active,
nav.headernav ul li a:hover {
    transform: scale(1.1);
}

body > article {
    margin: 2% 10%;
    display: block;
}

section > article {
    display: block;
}

section {
   font-size: 2em;
}

section h1 {
    font-size: 1.4em;
    
}

section ul {
    list-style-type:square;
}

h1,h2,h3,h4,h5,h6, figcaption{
     font-family: Grenze, Verdana, Geneva, sans-serif;
}

h1 a {
    color: rgb(150, 150, 150);
    text-decoration: none;
}

h1 a:active, h1 a:hover {
    color: rgb(200, 200, 200);
}

section.intro {
    display: block;
}

section.intro article,
.hobbies {
    font-size: 20px;
    display: block;
    margin-right: 80px;

}



section.portfolio {
    display: block;
    width: 100%;
}

section.portfolio li {
    font-weight: normal;
}

section.hobbies {
    
}

footer {
    height: 180px;
    padding: 0px;
    width: 100%;
    margin: 60px 0 -10px 0;
    background: linear-gradient(rgba(0, 0, 0, 0), black);
    color: black;
}

footer ul {
    list-style-type: none;;
}

footer li:nth-of-type(6) {
    color: black;
}

.footernav {
    
    /*border: 1px solid green;*/
    height: 100%;
    width: 100%;
    padding: 0px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    flex: 1 100%;
    column-gap: 0%;
}

.footernav a, .footernav li {
    color: darkgrey;

}

nav.footernav ul, nav.footernav div {
    /*border: 1px solid blue;*/
    align-items: flex-start;
    justify-content: space-between;
    max-height: 70%;
    width: 20%;
    font-size: 1.5em;
}

nav.footernav ul:first-of-type {
    justify-items: start;
    padding: 0;
    padding-left: 0px;
}

nav.footernav ul:nth-of-type(1) li {
    /*border: 1px solid green;*/
    column-gap: 0px;
    line-height: 25px;
}

nav.footernav ul:nth-of-type(2) {
    text-align: center;
    align-items: end;
    padding: 0;
}

nav.footernav ul:nth-of-type(2) li {
    margin: 0px auto;
}

.footernav div {
    align-content: center;
    justify-items: end;
}

.footernav div img {
    width: 40%;
    display: block;
}


li.icons a {
    width: 45%;
    display: inline-block;
    margin: 0;
}

li.icons a:hover,
li.icons a:active {
    transform: scale(1.2);
}

li.icons a:nth-of-type(2) {
    float: right;
    align-items: start;
    height: 30px;
    margin: 5px 0 0 0;
}

li.icons img {
    height: 40px;
    display: block;
    margin: 0px;
}

li.icons a:nth-of-type(2) img {
    height: 30px;
    margin: 0px;
}

li.icons {
    height: 50px;
    width: 70px;
    margin: 0px auto;
}

/*Specifics for portfolio page*/

.main article {
    text-align: center;
}

.main h1 {
    font-size: 2em;
}

section.projects {
  width: 80%;
  margin: 50px auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
}

section.projects > div {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}


section.projects > div > h1 {
  width: 160px;
  min-width: 160px;
  text-align: right;
  padding-top: 10px;
  font-size: 1.2em;
}

section.projects a {
  text-decoration: none;
  color: rgb(200, 200, 200);
}

section.projects a:active,
section.projects a:hover {
  color: rgb(90, 90, 90);
}

figure.project {
  width: 550px;
  height: auto;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 30px 0;
  perspective: 100px;
}

figure.project img {
  width: 100%;
  opacity: 0.3;
  display: block;
  filter: blur(00.05em);
}
figure.project figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: static;
  text-align: center;
  padding: 12px 10px 0;

}

figure.project a {
  display: block;
  text-decoration: none;
  color: rgb(200, 200, 200);
}

figure.project a:hover,
figure.project a:active {
  color: rgb(90, 90, 90);
}

figure.project figcaption {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1em;
  position: absolute;
  width: 100%;
  top: 30%;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}
.project__title {
  font-size: 1.4em;
}

.project__desc {
  font-size: 0.85em;
  opacity: 0.85;
  line-height: 1.5;
}

@media only screen and (max-width:1200px) {
    figure.project figcaption {
        font-size: 1.2em;
        top: 15%;
    }

    section.projects > div > h1{
        padding-top: 20px;
        align-content: start;
        font-size: 1.2em;
    }
}

@media only screen and (max-width:769px) {
    section.projects h1{
        display: none;
    }

    section.projects figure {
        width: 100%;
        display: block;
        margin: 0;
    }

    figure.project figcaption {
        font-size: 1em;
        top: 20%;
    }

    figure.project {
    }

    section.intro > img {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    html {
        font-size: 10px;
    }

    section.projects {
        width: 80%;
        display: block
    }

    figure.project {
        width: 100%;
        display: inline-block;
        margin: 0px;
    }

    nav.headernav {
        margin-left: 0px;
    }

    nav.headernav a{
        width: 200px;
    }

    nav.headernav ul{
        
    }

    nav.headernav li {
        justify-content: center;
    }

    nav.headernav ul li a:active,
    nav.headernav ul li a:hover {
    transform: scale(2);
    }

    figure.project figcaption {
        top: 10%;
    }

    
}
    


.job-card {
    background: rgb(49, 49, 49);
  border: 1px solid #8e8e8e;
  border-radius: 5px;
  padding: 20px 24px;
  max-width: 100%;
  margin-bottom: 50px;
}

.job-card__header {
    color: white;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.job-card__title {
    color: white;
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 500;
}

.job-card__company,
.job-card__dates {
    color: white;
  font-size: 14px;
  margin: 0;
}

.job-card__dates {
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}

.job-card__description {
  font-size: 14px;
  color: white;
  line-height: 1.6;
  border-top: 1px solid #a1a1a1;
  padding-top: 12px;
  margin-bottom: 12px;
}

.job-card__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0px;
}

.job-card__skill-tag {
  font-size: 14px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgb(216, 216, 0);
  color: black;
  border: 1px solid black;
}