body {
  font-family: "Funnel Sans", sans-serif !important;
  background-image: url("./images/bg3.jpg");
  background-color: rgb(255, 255, 255);
  background-repeat: repeat-y;
  background-attachment: fixed;
  background-position: top left;
  background-size: contain;
  line-height: 1.8rem;
  color: rgb(36, 54, 66);
}

a {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  text-decoration: none;
  text-transform: uppercase;
}
a:hover {
  color: rgb(158, 200, 185);
}

h1 {
  justify-content: center;
  text-align: center;
  color: rgb(218, 255, 251);
}

/* ===================navbar==================== */

.navlinks {
  list-style: none;
  gap: 20px;
  display: flex;
  flex-direction: row;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 6rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 2.2rem;
  transition: top 0.3s;
  background-color: rgb(36, 54, 66, 0.9);
}

/* ===================about==================== */

#hero {
  display: flex;
  flex-wrap: wrap;
  background-color: rgb(255, 255, 255, 0.8);
  margin-top: 7rem;

  h1 {
    color: rgb(106, 30, 85);
    text-align: start;
  }
}

#hero-image {
  width: 100%;
}

/* ===================skills==================== */

.skills {
  background-color: rgb(56, 116, 120, 0.8);
  color: rgb(226, 241, 231);

  h4 {
    font-size: 1.2rem;
    text-transform: uppercase;
  }
}

.tools {
  background-color: rgba(206, 233, 215, 0.6);
  backdrop-filter: blur(8px) brightness(80%);
}

.icon {
  font-size: 3.5rem;
  color: rgb(106, 30, 85);
  pad: 1rem;
}

/* ===================portfolio==================== */

.portfolio {
  width: 100%;
  background-color: rgb(36, 54, 66, 0.9);
}

.project-card {
  width: 300px;
  position: relative;
  overflow: hidden;
}

.project-info {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(59, 28, 50, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.project-card:hover .project-info {
  opacity: 1;
}

.project-info h3 {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 8%;
}

.project-description {
  text-align: center;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.project-details {
  text-align: center;
  font-size: 0.8rem;
  text-transform: none;
  line-height: 1.1rem;
}

.project-info:hover {
  opacity: 1;
  transition: all 0.5s ease-in-out;
  backdrop-filter: blur(2px) brightness(80%);
}

/* ===================contact==================== */

.contact {
  width: 100vw;
  background-color: rgb(226, 241, 231, 0.6);

  h1 {
    justify-content: center;
    color: rgb(106, 30, 85);
  }
}

.contact-icon {
  font-size: 2.5rem;
  color: rgb(56, 116, 120);
}
.contact-icon:hover {
  color: rgb(106, 30, 85);
}

label {
  text-transform: uppercase;
}

input,
#message {
  background-color: rgb(255, 255, 255, 0.6);
  backdrop-filter: blur(3px) brightness(100%);
  border: 0px;
  width: 100%;
}

input {
  height: 2.4rem;
}

.btn-c-dark {
  background-color: rgb(36, 54, 66, 0.9);
  color: white;
}

.btn-c-med {
  background-color: rgb(56, 116, 120, 0.9);
  color: white;
  padding: 0.5rem;
  font-weight: 100;
  text-transform: none;
  font-size: 1rem;
}

.btn-c-med:hover {
  background-color: rgb(106, 30, 85);
  color: white;
}

.btn-c-dark:hover {
  background-color: rgb(59, 28, 50);
  color: white;
}

/* ===================footer==================== */

footer {
  background-color: rgb(36, 54, 66, 0.9);
  width: 100%;
}

.footerlinks li {
  color: white;
  font-size: 0.8rem;
  list-style: none;
}

.footerlinks a {
  font-size: 0.8rem;
}

/* ===================media queries==================== */

@media screen and (width < 590px) {
  .navlinks {
    flex-direction: column;
  }

  .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    text-align: end;
    padding: 0.5rem 1rem;
    min-height: 6rem;
  }

  #hero {
    margin-top: 10rem;
  }
}

@media screen and (width < 390px) {
  a {
    font-size: 0.8rem;
  }

  /* .navlinks {
    gap: 0.5rem;
  } */

  .footerlinks a {
    font-size: 0.6rem;
  }
}
