
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
  height: 100%;
}


.hero {
  position: relative;
  height: 100vh;
  background-image: url('images/img1.jpg');
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sosial-media a {
  display: inline-block;
  margin: 10px;
  text-decoration: none;
  color: white;
  background-color: #333;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.sosial-media a i {
  margin-right: 8px;
}

.sosial-media a:hover {
  background-color: #555;
}



.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 40px;
  text-align: center;
  color: white;
  border-radius: 15px;
}


.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}


.hero p {
  font-size: 1.5em;
  margin-bottom: 20px;
}


.sosial-media a {
  margin: 0 10px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  background-color: #1da1f2;
  padding: 10px 20px;
  border-radius: 25px;
  transition: background-color 0.3s;
}

.sosial-media a:hover {
  background-color: #9ebfd5;
}


@media (max-width: 768px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1.2em;
  }

  .sosial-media a {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }
}

.profile-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-container {
  position: relative;
  width: 250px;
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.profile-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.biodata-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-align: center;
  padding: 20px;
}

.detail-button {
  position: absolute;
  bottom: 15px;
  right: 15px;
  padding: 6px 12px;
  background-color: #1da1f2;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.detail-button:hover {
  background-color: #8de8f2;
}


.profile-container:hover .biodata-overlay {
  opacity: 1;
}


main{
    margin:0;
    padding: 0;
    background-image:url('images/img1.jpg');
    background-position: center;
    position: relative;
}

footer{
  background-color: #1da1f2;
  text-align: center;
  height: 20px;

}