@font-face {
  font-family: "Anvers-Regular";
  src: url("./fonts/webfonts/Anvers-Regular.woff2") format('woff2');
  font-weight: normal;
  font-style: normal;
}


body {
  font-family: "Anvers-Regular", "Lora", serif;
  margin: 0;
  padding: 0;
}

.parallax {
  /* The image used */
  background-image: url("background.webp");

  /* Set a specific height */
  min-height: 500px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding-top: 20px;
}
.sidebarContact ul {
  display: flex;
  flex-direction: row;
}

.facephoto {
  height: 25rem;
  width: auto;
}
a {
  background-color: rgb(250, 235, 215, 0.6);
  padding: 7px 10px 7px 10px;
  margin: 10px;
  margin-bottom: 1px;
  gap: 5px;
  color: rgb(2, 37, 76);
  border-top: 3px solid rgb(2, 37, 76);
  border-bottom: 3px solid rgb(2, 37, 76);
  border-right: 3px solid rgb(2, 37, 76);
  border-left: 3px solid rgb(2, 37, 76);
  border-radius: 5px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  border-radius: 10px;
  white-space: nowrap;
}
a:hover {
  color: rgb(138, 173, 214);
  background-color: rgb(2, 37, 76);
  border-top: 3px solid rgb(138, 173, 214);
  border-bottom: 3px solid rgb(138, 173, 214);
  border-right: 3px solid rgb(138, 173, 214);
  border-left: 3px solid rgb(138, 173, 214);
}

a:hover img {
  filter: invert(1);
}


li {
  list-style-image: url("./icons/penNib.svg");
}

.header {
  background-color: rgb(138, 173, 214, 0.6);
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  height: 25rem;
  justify-content: space-between;
}

.everythingbutthephoto {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sidebarContact {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: 10px;
}
.sidebarContact li{
  list-style-image: none;
  list-style: none;
}
h1,
h2 {
  font-family:  "Montserrat", sans-serif;
  color: rgb(250, 235, 215);
  font-weight: 300;
  font-size: 5.5rem;
  padding-left: 20px;
}
.education {
  display: flex;
  flex-direction: column;
  columns: 3;
  column-gap: 20px;
}
.education li{
  list-style-image: none;
  list-style: none;
}
h3 {
  background-color: rgb(138, 173, 214);
  color: rgb(250, 235, 215);
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 300;
  padding: 10px;
  margin-left: -15px;
  margin-right: -15px;
  text-transform: uppercase;
}

h4 {
  font-size: 2rem;
  font-family: "Anvers-Regular", "Lora", sans-serif;
}

.timeframe {
  font-size: 1.5rem;
  float: right;
  font-weight: normal;
}

h5 {
  font-size: 1.5rem;
  font-family: "Anvers-Regular", "Lora" sans-serif;
}
p {
  font-size: 1.5rem;
  font-family: "Anvers-Regular", "Lora", sans-serif;
}

li {
  font-size: 1.5rem;
  font-family: "Anvers-Regular", "Lora", sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border-width: 0;
}

.sr-only-focusable:focus,
.sr-only-focusable:active {
  height: auto;
  width: auto;
  margin: auto;
  overflow: visible;
  white-space: normal;
}

details.hamburger summary {
  list-style: none;
  align-self: right;
  font-size: 7rem;
  color: rgb(250, 235, 215);
  padding-top: 30px;
  padding-left: 20px;
}

details.hamburger summary::-webkit-details-marker {
  display: none;
}
.education {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
}
.merits {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
}
.experience {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
}
.introduction {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
}


.languages {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 0px;
}

.skills {
  background-color: rgb(250, 235, 215, 0.6);
  margin: 20px;
  border-radius: 10px;
  padding: 15px;
}

.footer {
  background-color: rgb(138, 173, 214);
  text-align: center;
  padding: 10px;
  font-family:  "Montserrat", sans-serif;
  font-size: 1.5rem;
}
/* #8AADD6 */

@media (max-width: 480px) {
  h1 {
    font-size: 4rem;
  }
  .wordwrap {
    content: "-";
    display: inline-block;
  }

  .facephoto {
    display: none;
  }
  .sidebarContact ul {
    flex-direction: column;
    gap: 25px;
    margin-top: -10px;
  }
}
