* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: #f5f5f5;
}

header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.85);
  padding: 10px 15px;
  z-index: 1000;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}

#menu-toggle {
  display: none;
}

.menu-icon {
  cursor: pointer;
  width: 30px;
  height: 25px;
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  transform-origin: center;
}
.menu-icon span {
  display: block;
  height: 4px;
  background: #f5f5f5;
  border-radius: 2px;
}

#menu-toggle:checked + .menu-icon span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 10px;
}
#menu-toggle:checked + .menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .menu-icon span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -10px;
}

nav {
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s;
}
nav a:hover {
  background-color: #64b5f6;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f5f5f5;
  letter-spacing: 0.5px;
  margin-right: auto;
  text-transform: uppercase;
  cursor: pointer;
}
.logo:hover {
  color: rgb(148.2012195122, 204.012195122, 248.7987804878);
  transition: color 0.3s;
}

.bio-hero {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 100vh;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  left: 0;
  top: 0;
  z-index: -1;
}

.bio-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 18, 18, 0.4), rgba(18, 18, 18, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.bio-panel {
  max-width: 420px;
  width: 100%;
  background: rgba(31, 31, 31, 0.85);
  color: #f5f5f5;
  padding: 2.25rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  line-height: 1.5;
}

@media (min-width: 992px) {
  .bio-panel {
    max-width: 700px;
    width: 100%;
    padding: 3rem;
  }
  .bio-hero {
    height: 100vh;
  }
}
.bio-pic-vertical {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
  border: 3px solid #64b5f6;
}

@media (min-width: 768px) {
  .bio-pic-vertical {
    margin-right: 20px;
  }
}
@media (max-width: 767.98px) {
  .bio-pic-vertical {
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 768px) {
  header {
    justify-content: flex-end;
    border-bottom: 1px solid black;
    height: auto;
    padding: 10px 20px;
  }
  .menu-icon {
    display: flex;
  }
  nav {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    flex-direction: column;
    padding: 20px 1.25rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.08);
    z-index: 999;
  }
  nav a {
    display: block;
    padding: 12px 8px;
    color: #f5f5f5;
    font-size: 1rem;
    border-radius: 6px;
    margin-bottom: 8px;
  }
  #menu-toggle:checked + .menu-icon + nav {
    transform: translateY(0);
  }
}
.mb-5 {
  text-align: center;
}
.mb-5 ul.list-group {
  display: grid;
  grid-auto-flow: column;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  padding: 0;
  margin: 0;
}
.mb-5 ul.list-group li.list-group-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem 1rem;
  width: 120px;
  height: 50px;
  box-sizing: border-box;
  flex: unset;
  background-color: #1f1f1f;
  color: #f5f5f5;
  border-radius: 6px;
  transition: background-color 0.3s;
}
.mb-5 ul.list-group li.list-group-item:hover {
  background-color: rgb(43.75, 43.75, 43.75);
}

.footer {
  padding: 2rem 1rem;
  background-color: #1f1f1f;
  color: #ccc;
  text-align: center;
}
.footer a {
  color: #64b5f6;
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.3s;
}
.footer a:hover {
  color: rgb(148.2012195122, 204.012195122, 248.7987804878);
}
.footer .footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.footer .footer-container .footer-contatti .contattami-link {
  font-weight: bold;
  font-size: 1.1rem;
}
.footer .footer-container .footer-social a {
  display: inline-block;
  margin: 0 0.5rem;
}
.footer .footer-bottom {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1rem;
  }
}
.contact-form {
  max-width: 600px;
  background-color: #1f1f1f;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 1.5rem;
  margin: 0 auto;
  color: #f5f5f5;
}

.contact-form input,
.contact-form textarea {
  background-color: rgb(43.75, 43.75, 43.75);
  color: #f5f5f5;
  border: 1px solid #444;
  border-radius: 5px;
  padding: 0.75rem;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background-color: #2a2a2a;
  color: #f5f5f5;
  border-color: #64b5f6;
  box-shadow: 0 0 6px rgba(100, 181, 246, 0.3);
  transition: all 0.3s;
}

.contact-form button[type=submit] {
  background-color: #64b5f6;
  color: #fff;
  border: none;
  padding: 0.75rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.contact-form button[type=submit]:hover {
  background-color: rgb(51.7987804878, 157.987804878, 243.2012195122);
}

.contact-spacer {
  height: 80px;
}

.cv-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #1f1f1f;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  color: #f5f5f5;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cv-header {
  text-align: center;
}
.cv-header .profile-pic {
  width: 140px;
  height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 50%;
  border: 4px solid #64b5f6;
  margin-bottom: 1rem;
}
.cv-header h1 {
  font-size: 2rem;
  color: #64b5f6;
}
.cv-header p {
  font-size: 1rem;
  color: #ccc;
}

.cv-section h2 {
  font-size: 1.4rem;
  color: #64b5f6;
  margin-bottom: 1rem;
  border-bottom: 2px solid #64b5f6;
  padding-bottom: 5px;
}
.cv-section ul {
  list-style: none;
  padding-left: 0;
}
.cv-section ul li {
  margin-bottom: 1rem;
}
.cv-section ul li strong {
  display: block;
  font-weight: bold;
  color: #f5f5f5;
}
.cv-section ul li span {
  font-size: 0.9rem;
  color: #ccc;
}
.cv-section ul li p {
  color: #f5f5f5;
}

.cv-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 2rem;
}

.progetti-container {
  padding: 2rem 1rem;
}
.progetti-container h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #64b5f6;
}

.project-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
  flex-wrap: wrap;
}
.project-bar:hover {
  transform: translateY(-4px);
}
.project-bar .project-img {
  flex: 1 1 300px;
}
.project-bar .project-img img {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}
.project-bar .project-text {
  flex: 2 1 400px;
  padding: 2rem;
  color: #f5f5f5;
}
.project-bar .project-text h3 {
  margin-bottom: 1rem;
  color: #64b5f6;
}
.project-bar .project-text p {
  font-size: 1rem;
  line-height: 1.5;
}

.project-1 {
  background-color: #1f2937;
}

.project-2 {
  background-color: #0d6efd;
}

.project-3 {
  background-color: #198754;
}/*# sourceMappingURL=style.css.map */