body {
  background: url("../images/bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.nav-link:hover {
  color: #3b82f6;
  transition: 0.3s;
}
.section {
  display: none;
}
.section.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

.evidence {
  font-weight: bold;
}

.aboutLink {
  color: darkcyan;
  font-weight: bold;
}

.aboutLink:hover {
  color: orange;
}

.hidden-div {
  width: 90%;
  height: 900px;
  margin-left: 5%;
  position: absolute;
  background-color: black;
  opacity: 0.95;
  cursor: pointer;
  display: none;

  .close-div {
    text-align: right;
    padding: 10px;
    border-bottom: 1px solid white;
  }
}

.message-item {
  list-style-type: none;
  margin-left: 20px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Gestione menu mobile */
#mobile-menu {
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}
.menu-hidden {
  max-height: 0;
}
.menu-visible {
  max-height: 400px;
}
/* */

.title-icon {
  cursor: pointer;
}

#home {
  .profile-img {
    width: 40%;

    @media screen and (max-width: 450px) {
      width: 65%;
    }
  }

  .contact-msg-result {
    width: 100%;
    border: 1px solid darkcyan;
    text-align: center;
    padding: 10px;
    border-radius: 20px 20px 20px 20px;
    box-shadow: 1px 1px 0px 0px black;
    margin-top: 30px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: normal;

    &.result_success {
      background-color: green;
      color: white;
    }
    &.result_error {
      background-color: red;
      color: white;
    }
  }
}

#esperienze {
  .company-name {
    color: orange;
    a {
      color: darkcyan;

      .resume-ico {
        width: 5%;

        @media screen and (max-width: 450px) {
          width: 15%;
        }
      }
    }
    a:hover {
      color: darkgrey;
    }
  }
}

#tecnologie {
  .tech-div {
    color: orange;
    .tech-ico {
      width: 5%;

      @media screen and (max-width: 450px) {
        width: 15%;
      }
    }
  }
}

#cv {
  .cv-txt {
    font-size: 1.5rem;
  }

  .flag-div-container {
    margin: 20px;
    cursor: pointer;

    .flag-img {
      width: 50%;
      margin-left: 25%;
    }
  }
}

#progetti {
  .portfolio-img-div {
    border: 0px solid red;
    cursor: pointer;
  }
}

