* {
  --borderradius: 20px;
  --whiteColor: #00a6fb;
  --lightColor: #0582ca;
  --middleColor: #006494;
  --darkColor: #003452;
  --blackColor: #061923;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  color: aliceblue;
}
body {
  background-color: var(--blackColor);
  display: grid;
  margin: 0px;
}

header {
  position: sticky;
  top: 0px;
  z-index: 1;
}
#socialMedia {
  background-color: var(--lightColor);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
#socialMedia img {
  height: 40px;
  margin: 0px 20px;
}

nav {
  background-color: var(--middleColor);
  font-size: 15px;
  font-weight: bold;
  position: sticky;
  top: 100px;
  z-index: 1;
}
nav ul {
  display: flex;
  justify-content: center;
  padding: 0px;
  margin: 0px;
}
nav li {
  list-style: none;
  padding: 20px 40px;
}
nav li:hover {
  background-color: var(--lightColor);
  text-decoration: underline;
}
nav li:hover a {
  color: black;
}
section {
  display: flex;
  flex-direction: column;
}
h1,
h2 {
  background-color: var(--whiteColor);
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
h1 {
  height: 100px;
  margin: 0px 0px 0px 0px;
}
h2 {
  height: 60px;
}
h3 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--middleColor);
  padding: 15px;
}
.projectName {
  background-color: var(--darkColor);
}
p {
  color: black;
  margin: 20px;
  padding: 10px;
}
.imgdiv {
  display: flex;
  justify-content: center;
}
.imgdiv img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
#projects h3 {
  padding: 0px;
}
#zitat {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 0px 40px 0px;
}
a {
  text-decoration: none;
}

.projects {
  background-color: var(--darkColor);
  padding: 10px;
}
.projects img {
  max-height: 150px;
  object-fit: contain;
}
.projects:hover {
  background-color: var(--lightColor);
  transition: 1s;
}
.projects:hover h3 {
  background-color: var(--lightColor);
  color: black;
  text-decoration: underline;
  transition: 1s;
}
#projects {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.projectsBig {
  background-color: var(--lightColor);
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.projectsBig h2 {
  background-color: var(--lightColor);
}
.projectsBig img {
  width: 100%;
  max-width: 100%;
  height: auto;
}
.projectsBig:hover {
  background-color: var(--darkColor);
  transition: 1s;
}
.projectsBig:hover h2 {
  background-color: var(--darkColor);
  color: aliceblue;
  text-decoration: underline;
  transition: 1s;
}
.projectsBig:hover p {
  color: aliceblue;
  transition: 1s;
}

.timeline {
  position: relative;
  margin: 20px 0px 20px 30px;
  padding-left: 18px;
  border-left: 3px solid #0074d9;
  z-index: 0;
}
.timeline-item {
  margin-bottom: 25px;
  position: relative;
}
.timeline-date {
  font-weight: bold;
  margin: 0px 0px 5px 5px;
}
.timeline-content {
  margin-left: 25px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  width: 15px;
  height: 15px;
  background: #fff;
  border: 3px solid #0074d9;
  border-radius: 50%;
}

.skillsPortfolio {
  display: grid;
  grid-template-columns: auto;
  grid-auto-rows: 150px;
}
.skills,
.flags {
  background-color: var(--darkColor);
  border-radius: var(--borderradius);
  padding: 15px;
  margin: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.flags {
  padding: 10px;
}
.skillsTitle {
  color: aliceblue;
  font-weight: bold;
  font-size: 17px;
}
.skills img,
.flags img {
  height: 80px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.flags img {
  height: 90px;
}
.skills:hover,
.flags:hover {
  background-color: var(--middleColor);
  transition: 0.75s;
}

footer {
  background-color: var(--whiteColor);
  color: aliceblue;
  margin-top: 20px;
  text-align: center;
  padding: 10px;
  width: 100%;
}
footer p {
  font-size: 17px;
  margin: 10px;
}

::selection {
  background: var(--blackColor);
  color: #fff;
}
li::selection {
  background: var(--whiteColor);
  color: #fff;
}
i::selection {
  background: var(--whiteColor);
  color: #fff;
}
h3::selection {
  background: var(--whiteColor);
  color: #000;
}
@media (min-width: 600px) {
  #skillsPortfolio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  #sql {
    grid-column: 2;
    grid-row: 3;
  }
  #english {
    grid-column: 2;
    grid-row: 1;
  }
  #swu {
    grid-column: 2;
    grid-row: 1;
  }
  #projectBig5 {
    margin-bottom: 50px;
  }
}
@media (min-width: 900px) {
  h2,
  h3 {
    border-radius: var(--borderradius);
  }
  body {
    grid-template-columns: 25% auto auto 25%;
    grid-template-rows: auto;
    column-gap: 20px;
  }
  header,
  nav {
    grid-column: 1 / 5;
  }
  article,
  section{
    grid-column: 2 / 4;
  }
  .imgdiv {
    grid-column: 1 / 5;
  }
  #projectsBig {
    grid-column: 1 / 5;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    column-gap: 60px;
    row-gap: 60px;
    margin: 70px 100px;
  }
  .projectsBig {
    border-radius: var(--borderradius);
    margin-top: 0px;
  }
  .projectsBig img {
    width: 100%;
  }
  #projectBig1,
  #projectBig3,
  #projectBig5 {
    grid-column: 1;
  }
  #projectBig2,
  #projectBig4 {
    grid-column: 2;
  }

  #project1 {
    border-top-left-radius: var(--borderradius);
    border-bottom-left-radius: var(--borderradius);
  }
  #project3 {
    border-top-right-radius: var(--borderradius);
    border-bottom-right-radius: var(--borderradius);
  }
  .projects img {
    border-radius: var(--borderradius);
  }

  #socialMedia {
    background-color: var(--whiteColor);
    position: fixed;
    top: 13px;
    right: 0px;
    z-index: 1;
  }
  footer {
    grid-column: 1 / 5;
    grid-row: 6;
  }
}
