* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Bitter", sans-serif;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5;
}

#Meny {
  position: relative;
}

#Meny ul {
  list-style: none;
}

#Meny > ul > li {
  position: relative;
}

#Meny a {
  color: white;
  text-decoration: none;
  padding: 10px;
  font-weight: bold;
  display: block;
  border-radius: 5px;
}

#Meny li:hover > a {
  background-color: white;
  color: black;
}

.submeny {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  border-radius: 10px;
  min-width: 150px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 2;
}

.submeny li a {
  color: black;
  padding: 10px;
}

#Meny li:hover .submeny {
  display: block;
}


.content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: black;
  text-shadow: 1px 1px 2px white;
}

.profile-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.profile {
  background-color: whitesmoke;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 20px;
  flex: 1 1 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  text-align: center;
}

.profile:hover {
  transform: scale(1.05);
}

.image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
}

.description {
  font-size: 1rem;
  line-height: 1.6;
  color: black;
}

.adopt-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: green;
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.adopt-button:hover {
  background-color: #e85a4f;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.contact-form button {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #388e3c;
}
@media (max-width: 768px) {
  .profile-row {
    flex-direction: column;
  }
}

.back-button {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #0056b3;
}
    
