@import url("https://fonts.googleapis.com/css2?family=League+Spartan:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap");

* {
  padding: 0;
  margin: 0;
  font-family: "League+Spartan", "Montserrat", sans-serif;
  box-sizing: border-box;
}

body {
  background-color: #3416bf;
}

/* ---- Overlay ----*/
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.7
  ); /* Adjust the last value (0.7) to control the darkness */
  z-index: 9998; /* Set the z-index to a value just below the enlarged image */
  display: none;
}

.content,
.footer {
  background-color: #eed7a1;
}

/*---- Hero ----*/
#hero {
  background-image: url("./images/circuits.webp");
  background-size: cover;
  background-position: center;
  height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-align: center;
  line-height: 1.5;
}

#hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
  line-height: 200%;
}

#hero p {
  font-size: 20px;
  margin-bottom: 90px;
}

/*---- Navigation ----*/
.nav-btn {
  display: inline-block;
}

.cta-button {
  padding: 10px 20px;
  background-color: #ff5733;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-right: 10px;
}

.cta-button:hover {
  border: 2px solid #ffe252;
  font-size: large;
}

.cta-button:last-child {
  margin-right: 0;
}

/*---- Project ----*/
.project-item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  padding: 20px;
}

.toggleImage {
  max-width: 25%;
  height: auto;
  margin-right: 20px;
  margin-left: 20px;
  border: 1px solid #a1b8ee;
}

.toggleImage:hover {
  border: 7px solid #a1b8ee;
}

.project-description {
  flex: 1;
  background-color: #87cefa;
  color: #212b33;
  padding: 10px;
  margin: 30px;
}

.project-description h3 {
  margin-top: 0;
  padding-bottom: 15px;
  font-size: 25px;
}

.project-text {
  margin-bottom: 15px;
  line-height: 1.3;
  font-size: 20px;
}

/*---- Contacts ----*/
.img-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-row a {
  display: inline-block;
  margin: 2%;
  padding: 2%;
}

.img-row img {
  width: 80px;
  height: auto;
}

/*---- Footer ----*/
.footer {
  padding: 30px;
  clear: both;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  text-align: center;
}
