* {
  font-family: "Montserrat", sans-serif;
}
body {
  overflow-x: hidden;
}

/*navbar*/

.navbar {
  background: linear-gradient(to right, #8121d0, #291c3a) !important;
  box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.nav-item {
  width: 130px;
}

.nav-link {
  display: flex;
  justify-content: center;
  color: white;
}

.nav-link:hover {
  font-weight: bold;
  color: #291c3a;
}

.navbar-collapse {
  margin-left: 200px;
}

.hire-me {
  border: none;
  color: #331c52;
  padding-top: 8px;
}

.hire-me:hover {
  color: white;
  background-color: #9073b6;
  border: none;
}

.btn-link {
  display: none;
}

.logo-icons {
  width: 7rem;
}

/* first content*/

.start-container {
  background-color: #331c52;
  padding-left: 4%;
  padding-right: 4%;
}

#start-img {
  max-width: 85%;
}

#second-text {
  font-size: 400%;
  color: #9073b6 !important;
}

.social-first {
  font-size: 240%;
  color: #9073b6;
}

.social-form {
  text-decoration: none;

  color: #331c52;
}

.social-form,
.social-first {
  transition: 0.2s ease;
}

.social-first:hover {
  color: #e1ebed !important;
}

.social-form:hover {
  color: #8121d0 !important;
}

.contact-me {
  display: flex;
  align-items: center;
  height: 40px;
  margin-right: 20px;
  border: 3.2px solid;
  border-radius: 10px;
  color: #9073b6;
}

.contact-me:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #291c3a;
}

.contact-icons {
  margin-bottom: 50px;
}

.skill-details {
  background-color: #291c3a;
  height: auto;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  padding-left: 4%;
  padding-right: 4%;
}

.skill-item1 {
  margin: 0;
  font-weight: bold;
  font-size: 50px;
  padding-bottom: 9px;
}

.skill-item2 {
  margin: 0;
  padding-left: 25px;
  color: #d8c6ef !important;
}
.skill-icons {
  transition: transform 0.1s ease;
}

.skill-icons:hover {
  transform: scale(1.1);
  cursor: auto;
}

.skill-icons img {
  max-width: 60%;
  min-width: 50px;
}

/* end first content*/

/*start order*/
.order-container {
  background-color: #e1ebed;
  color: #331c52;
}
.order-card {
  width: 20rem;
  height: 20rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-color: #d8c6ef;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.order-card:hover {
  transform: scale(1.05);
}
.order-details {
  height: 16rem;
}
.order-btn {
  width: 90%;
}

/*end order*/

/* second container*/

.second-container {
  padding-left: 4%;
  padding-right: 4%;
  background-color: #e1ebed;
  color: #331c52;
}

.icon-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #331c52;
  width: 80px;
  height: 70px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.icon-box:hover {
  transform: scale(1.1);
  cursor: auto;
}
.card {
  width: 18rem;
  height: 26.5rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  background-color: #d8c6ef;
  transition: transform 0.3s ease;
  position: relative;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  padding: 5px;
  border-radius: 10px;
}

.card-details {
  padding-left: 15px;
  padding-top: 10px;
  color: #331c52;
}

.card-details p {
  font-size: small;
}
.card-description {
  height: 3rem;
}

.btn-dark {
  background-color: #331c52;
  font-weight: bold;
}

.btn-dark:hover {
  background-color: #8121d0;
}

/* end second container*/

/* form*/
.contact-form {
  background: linear-gradient(to right, #ffffff, #d8c6ef) !important;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
}
.contact-container {
  background-color: #d8c6ef;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 5px;
}

.contact-item {
  text-decoration: none;
  width: 100%;
  font-weight: 500;
}

.contact-form .form-control {
  border-radius: 5px;
}

.form-control {
  background-color: #d8c6ef;
}

.contact-form form {
  padding: 14%;
}
.contact-form form .row {
  margin-bottom: -14%;
}
.contact-form h3 {
  margin-bottom: 5%;
  margin-top: -15%;
  text-align: center;
  color: #331c52;
}

.btn-send-form {
  border-radius: 5px;
  width: 100%;
}
/* form*/

/*scroll up button*/

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  left: 20px; /* Este în partea stângă acum */
  width: 40px;
  height: 40px;
  background-color: #8121d0 ;
  color: white;
  border: none;
  border-radius: 20%;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 20px;
  opacity: 0; /* Inițial ascuns */
  transition: opacity 0.3s ease; /* Animație lină */
  z-index: 1000;
  transition: transform 0.3s ease;
}
.scroll-to-top:hover {
  transform: scale(1.1);
}
.scroll-to-top.show {
  opacity: 1; /* Devine vizibil */
}

/*end scroll up button*/

@media (max-width: 994px) {
  #home-btn {
    padding-top: 30px;
  }

  .nav-item {
    padding-left: 15px;
  }

  #second-text {
    font-size: 350%;
  }

  .contact-me {
    margin-top: 2px;
  }

  .skill-icons {
    display: none;
  }

  .btn-link {
    display: block;
  }

  .nav-link {
    justify-content: start;
  }

  .navbar-collapse {
    margin-left: 0;
  }

  .hidden {
    display: none !important;
  }

  .projects-container {
    display: flex;
    justify-content: center;
  }

  .scroll-to-top {
    bottom: 40px;
    left: 20px;
    width: 25px;
    height: 25px;
  }
}
