/* First Developing My Porto Project */

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #d5ecfc, #ffffff);
  font-family: "Open Sans", Andalus, serif;
  font-size: 18px;
  font-weight: 400;
}

h2 {
  text-align: left;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a,
button {
  transition: all 0.3s ease;
}

p {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.8;
  text-align: justify;
}

#xp-content {
  position: relative;
  display: flex;
  text-align: justify;
  overflow-x: hidden;
}

/* Profile Section */

.profile-pict img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.social-icon {
  display: inline-block;
  margin-right: 10px;
  background-color: #343a40; /* warna background */
  color: white;
  width: 36px;
  height: 36px;
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #007bff; /* warna hover (biru) */
  color: white;
}

/* About Me Section */

/* Experience Section */

.xp-card {
  border-radius: 0;
  background-color: #0099cc;
  padding: 15px;
  width: 240px;
  height: 160px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.6);
}

.xp-pos-desc {
  font-family: "Open Sans", Andalus, serif;
  font-size: 28px;
}

.xp-periode {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: bold;
}

.bg-primary {
  background-color: rgba(135, 206, 250, 0.5);
  border: 1px;
}

/* Project Section */

.card-title {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
}

.card-text {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
}

.center-text {
  display: flex;
  align-items: center;
  height: 200px; /* atau height sesuai kebutuhan */
  text-align: center;
}

.card-img-small {
  height: 150px;
  object-fit: contain;
  width: 100%;
}

/* Gallery Section */

.gallery-column {
  float: left;
  width: 25%;
  padding: 10px;
}

.gallery-tittle {
  align-items: left;
  font-size: 35px;
}

.gallery img {
  max-width: 100%;
  height: auto;
  padding: 0;
  margin: 0;
}

.project-tittle {
  align-items: left;
  font-size: 35px;
}

/* CTA Section */

.h-cta {
  text-align: center;
}

.p-cta {
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Footer Section */

.copyright-text {
  margin-top: 80px;
  margin-bottom: 30px;
}

/* Swipe-up Button */
.swipeup {
  position: fixed;
  bottom: 30px;
  right: 20px;
  background: linear-gradient(to right, rgb(0, 51, 255), cyan) !important;
  border: solid 1px silver;
  z-index: 999;
}

/* The grid: Four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Style the images inside the grid */
.column img {
  opacity: 0.8;
  cursor: pointer;
}

.column img:hover {
  opacity: 1;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the close button and the text) */
.container {
  position: relative;
  display: none;
}

/* Expanding image text */
#imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the image */
.closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
}
