body {
  background-color: lightblue;
  color: black;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

textarea {
  max-height: 100px;
}

a {
  text-decoration: none;
}

h1 {
  color: #1e3a5f;
  font-weight: 700;
  margin-top: 5px;
}

p {
  color: black;
}

h3,
h4,
h5 {
  color: #3c6e71;
}

.container {
  width: 60%;
  margin: 2rem auto;
  background: linear-gradient(145deg, #e8f7ff, #f5fcff);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0, 119, 182, 0.15);
  padding: 2.5rem;
}

.img-icon {
  height: 32px;
  width: 32px;
}

#footer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: auto;
  background-color: #023e8a;
}

#footer p {
  margin: 0;
  color: white;
}

.badge_github {
  border: 1px solid white;
  border-radius: 5px;
}

.card {
  background: #d6ecfa;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1px solid #b6dcf7;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card:hover {
  background: #c2e3f9;
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

#photo-profile {
  float: right;
  width: 200px;
  border-radius: 50%;
  border: 2px solid #0096c7;
}

/* Button */
.bottone {
  background-color: #0077b6;
  color: white;
  border-radius: 5px;
  border: none;
  padding: 2px 5px 2px 5px;
  text-decoration: none;
}

.bottone:hover {
  background-color: #0096c7;
}

/* Navbar */

.navbar {
  background-color: #023e8a;
}

.dropdown-menu {
  background-color: #023e8a;
}

.nav-item {
  border-radius: 12px;
}

.nav-item:hover,
.dropdown-item:hover {
  background-color: #0096c7;
}

#logo {
  margin-right: 10px;
}

.carousel-item img {
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  height: 400px;
}

.preview img {
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  height: 100px;
}

.card-container {
  width: 33.33%;
}

@media screen and (max-width: 720px) {
  .container {
    width: 95%;
  }
  .carousel-item img {
    height: 250px;
  }

  #photo-profile {
    max-width: 100px;
  }
}

@media screen and (max-width: 1180px) {
  .card-container {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .card-container {
    width: 100%;
  }
}
