.header-custom {
  grid-row: 1;
  box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: #1A1A2E;
}
.header-custom ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #1A1A2E;
}
.header-custom ul a {
  display: block;
  padding: 19px 30px;
  position: relative;
}
.header-custom ul a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #FFD700;
  transition: width 0.3s ease;
}
.header-custom ul a:hover::after {
  width: 100%;
}
.header-custom .logo {
  float: left;
  font-size: 25px;
  padding: 15px 30px;
}
.header-custom .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}
.header-custom .menu-icon {
  padding: 28px 20px;
  position: relative;
  float: right;
  cursor: pointer;
}
.header-custom .menu-icon .nav-icon {
  display: block;
  width: 18px;
  height: 2px;
  position: relative;
  transition: background-color 0.2s ease-out;
  background-color: #FFD700;
}
.header-custom .menu-icon .nav-icon::before,
.header-custom .menu-icon .nav-icon::after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  transition: all 0.2s ease-out;
  position: absolute;
  background-color: #FFD700;
  top: 5px;
}
.header-custom .menu-icon .nav-icon::before {
  top: 5px;
}
.header-custom .menu-icon .nav-icon::after {
  top: -5px;
}
.header-custom .menu-btn {
  display: none;
}
.header-custom .menu-btn:checked ~ .menu {
  max-height: 240px;
}
.header-custom .menu-btn:checked ~ .menu-icon .nav-icon {
  background-color: transparent;
}
.header-custom .menu-btn:checked ~ .menu-icon .nav-icon::before {
  transform: rotate(-45deg);
  top: 0;
}
.header-custom .menu-btn:checked ~ .menu-icon .nav-icon::after {
  transform: rotate(45deg);
  top: 0;
}

main h2 {
  text-align: center;
  color: #f1f1f1;
}
main .hero {
  position: relative;
  background: url("https://i.pinimg.com/736x/b4/1a/8a/b41a8acccf85813efcddf1d93061ecc6.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}
@media (min-width: 48em) {
  main .hero {
    background: url(https://www.techspot.com/images2/news/bigimage/2024/09/2024-09-03-image-32.jpg) no-repeat center center/cover;
  }
}
main .hero .hero-text {
  position: relative;
  z-index: 3;
  color: #FFD700;
}
main .hero h1 {
  margin: 10px;
}
main .hero p {
  margin: 20px 10px;
}
main .hero button {
  border-radius: 10px;
  padding: 10px 20px;
  margin: 10px;
  border: none;
  cursor: pointer;
  background: #1A1A2E;
  color: #FFD700;
  transition: background 0.3 ease;
}
main .hero button:hover {
  background: #FFD700;
  color: #1A1A2E;
}
main .hero .overlay {
  position: absolute;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2;
}
main .about {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  padding: 20px;
}
main .about h2 {
  margin: 10px;
}
main .about img {
  height: 350px;
  width: auto;
  margin-bottom: 20px;
  border-radius: 10%;
}
main .about p {
  color: #f1f1f1;
}
@media (min-width: 48em) {
  main .about {
    flex-direction: row;
    text-align: left;
    margin: 10px;
    display: flex;
    justify-content: center;
  }
  main .about img {
    margin-left: 20px;
    margin-bottom: 0;
  }
  main .about p {
    margin-right: 30px;
    width: 60%;
  }
}
main .projects {
  position: relative;
}
main .projects .d-block,
main .projects .w-100 {
  height: 700px !important;
  -o-object-fit: cover;
     object-fit: cover;
}
main .projects .div-text {
  background-color: rgba(26, 26, 46, 0.774); /* Un colore neutro per il contrasto */
  padding: 10px 0;
  text-align: center;
  border-radius: 8px;
}
main .projects .div-text p {
  margin: 0;
}
main .skill {
  display: grid;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}
main .skill div {
  background-color: #1A1A2E;
  width: 300px;
  border-radius: 10px;
  box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.1);
  color: #f1f1f1;
}
main .skill div h3 {
  text-align: center;
  margin: 10px;
}
@media (min-width: 48em) {
  main .skill {
    flex-direction: row;
    text-align: left;
    margin: 10px;
    display: flex;
    justify-content: center;
    gap: 40px;
  }
}
main .project-info {
  background-color: #1A1A2E;
  padding: 20px;
  margin: 40px auto;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
}
main .project-info p {
  color: #f1f1f1;
  font-size: 16px;
  line-height: 1.6;
}
main .project-info a {
  color: #FFD700; /* Un blu per link che si abbina bene */
  text-decoration: none;
  font-weight: bold;
}
main .project-info a:hover {
  text-decoration: underline;
}
main .contacts {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: auto 30px;
}
main .contacts input,
main .contacts textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
}
main .contacts button {
  background: #1A1A2E;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 10px;
  font-size: 1rem;
}
main .contacts button:hover {
  background: #FFD700;
  color: #1A1A2E;
}
@media (min-width: 48em) {
  main .contacts {
    margin: auto;
  }
}

.footer {
  background-color: #e08f8f;
  text-align: center;
  padding: 20px;
  margin-top: 50px;
}
.footer ul {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
}
.footer ul img {
  height: 40px;
  width: auto;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 100%;
  padding: 0 30px;
}

body {
  margin: 0;
  background-color: #37375e !important;
  color: #f1f1f1;
}

.grid-conteiner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  height: 100%;
}

h1, h2, h3 {
  font-family: "Montserrat", sans-serif;
}

body, p, li {
  font-family: "Roboto", sans-serif;
}

p {
  line-height: 1.5;
}

ul {
  line-height: 1.5;
}

h2 {
  margin-top: 50px !important;
}

main {
  flex: 1;
  padding-top: 68px;
}

.header-custom a {
  text-decoration: none;
  color: #FFD700;
}

@media (max-width: 48em) {
  .hero h1 {
    font-size: 9vw;
  }
  .hero p {
    font-size: 4vw;
  }
  .hero button {
    font-size: 4vw;
  }
}
@media (min-width: 48em) {
  .header-custom li {
    float: left;
  }
  .header-custom .menu {
    clear: none;
    float: right;
    max-height: 0;
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: row;
  }
  .header-custom .menu-icon {
    display: none;
  }
  .hero h1 {
    font-size: 4.7vw;
  }
  .hero p {
    font-size: 2vw;
  }
  .hero button {
    font-size: 1.7vw;
  }
}/*# sourceMappingURL=style.css.map */