* {
  box-sizing: border-box;
}

body {
  margin: 1%;
  font-family: 'Inconsolata', monospace;
  color: darkslateblue;

}

/* header {
  height: 5%;
} */
.menu {
  margin-bottom: 15px;
}

.menu input {
  display: none;
}

.menu label {
  display: inline-block;
  margin-left: 5px;
  color: rgb(161, 50, 50);
  padding: 15px 20px 15px 20px;
  border: 1px solid rgb(161, 50, 50);
  border-radius: 25% 25% 0 0;
  font-weight: 700;
}

.menu input:checked + label {
  background: black;
  color: rgb(207, 195, 23);
}

article {
  display: none;
}

.menu input:nth-of-type(1):checked ~ main article:nth-of-type(1),
.menu input:nth-of-type(2):checked~ main article:nth-of-type(2) {
  display: block;
}

.menu main {
  border-top: 1px solid rgb(161, 50, 50);
  ;
}

a {
  text-decoration: none;
  opacity: 1.0;
  word-wrap: break-word;
}

a:hover {
  color: magenta;
}

p {
  margin: 5px;
}

h1 {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 2%;
  top: 20%;
}

.header-title {
  font-size: 2em;
  color: rgb(161, 50, 50);
  margin-top: 2%;
  margin-bottom: 2%;
}

h2 {
  font-size: 1.7em;
  font-weight: 700;
}

h4 {
  font-size: 1em;
  font-weight: 700;
  margin-top: 3%;
  margin-bottom: 2%;
  padding: 1%;
}

#banner {
  height: 35%;
  width: 100%;
  margin-bottom: 2%;
  background-image: url("../images/Libya_desert_2.jpg");
  background-position: center;
  background-color: rgb(255, 255, 255, 0.5);
  background-blend-mode: lighten;
  text-align: center;
  padding-top: 5%;
  color: rgb(138, 17, 17);
  position: relative;
  z-index: -1;
}

.banner-text {
  display: inline;
}

#banner img {
  height: 150px;
  width: auto;
  border-radius: 50%;
  margin-top: 20px;
  ;

}

.card {
  color: darkslateblue;
}

.card:hover {
  background-color: rgb(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  transition: all 0.9s ease-in-out;
  font-size: 1.2em;
  color: rgb(173, 173, 81);
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

footer {
  text-align: center;
  margin-top: 5%;
  margin-bottom: 5%;
}


h2 a {
  margin-left: 60px;
  color: darkslateblue;
}

/* .icon-menu {
  font-size: 3em;
  float: left;
  top: 1px;
  left: 10px;
  position: absolute;
  padding-right: 5%;
  padding-bottom: 10%;
} */

.tab {
  background-color: white;
  color: darkslateblue;
  line-height: 30px;
  padding: 15px;
  font-size: 0.6em;
  border: 1px solid darkslateblue;
  font-family: 'Inconsolata', monospace;
  position: relative;
  z-index: 10;

}

.tab:hover {
  background-color: darkslateblue;
  color: white;
}

.container {
  margin: 3px auto;
  margin-top: 3%;
  width: 85%;
  text-align: justify;
  font-size: 1.2em;
  content: "";
  clear: both;
  display: table;
}

strong {
  font-weight: bold;
  color: rgb(161, 50, 50);
}

/* projects */

.project {
  margin: 0 auto;
  width: 90%;
  height: 25%;
  border: 1px solid darkslateblue;
  margin: 2% 1% 1% 0;
  border-radius: 20px;
  display: inline-block;
  background-image: url("../images/Libya_desert_2.jpg");
  background-position: center;
  background-color: rgb(255, 255, 255, 0.8);
  background-blend-mode: lighten;
  z-index: -1;
}

.project-image {
  width: 250px;
  height: 250px;
  float: left;
  margin: 15px;
  border: 1px solid;
  position: relative;
}

.project li {
  font-weight: bold;
  line-height: 1.7em;
  color: rgb(161, 50, 50);
  margin: 2px;
  display: block;
  text-align: justify;
}

.project ul {
  margin: 10px;
}

/* contact */
figcaption {
  display: none;
}

a:hover figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  filter: invert(65%);
  filter: drop-shadow(2px 6px 8px rgb(202, 183, 15));
  transition: filter 1.2s ease-in;

}

#icon-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

#icon-links a {
  padding: 3%;
  display: inline-block;
  /* background-color: rgb(255, 255, 255, 1); */
  /* background-blend-mode: lighten */
}