body {
  margin: 0; /* Remove default margin */
  height: 200vh; /* Full height of the viewport */
  background: linear-gradient(to bottom, #222034,black); /* Gradient background */
  font-family: "Syne", sans-serif;
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.avatar-image {
  margin-top: 30px;
}


/* PORTFOLIO GRID*/
.portfolio-grid{
display: flex;
flex-wrap: wrap; /* Allow wrapping to new rows */
justify-content: center; /* Center the images */
gap: 15px; /* Space between images */
}

.portfolio-container {
  flex: 1 1 calc(50% - 15px); /* Responsive width, adjusted for gap */
  max-width: calc(50% - 15px); /* Ensure a max width for uniformity */
  text-align: center; /* Center the text and images */
}

.portfolio-container-full {
  flex: 1 1 100%; /* Take up the full width */
  max-width: 100%; /* Ensure it spans the entire row */
  text-align: center; /* Center the text and images */
  margin-bottom: 15px; /* Add space below the container if needed */
}

.image-caption {
    display: block; /* Make it a block element */
    margin-top: 5px; /* Space between image and caption */
    text-align:center
    color: rgba(255, 255, 255, 0.87); /* Match text color */
}

.portfolio-image {
    width: 100%; /* Make the image take the full width of the container */
    height: auto; /* Maintain aspect ratio */

    object-fit: cover; /* Ensure the image covers the area without distortion */
    transition: transform 0.3s; /* Smooth transition for hover effect */
    cursor: pointer; /* Indicate it's interactive */

    
}

.portfolio-image:hover {
transform: scale(1.05); /* Enlarge on hover */
}


/* Media query for tablet and smaller screens */
@media (max-width: 768px) {
.portfolio-image {
  width: calc(50% - 10px); /* Two images per row on tablet */
}
}

/* Media query for mobile */
@media (max-width: 576px) {
.portfolio-image {
  width: 100%; /* One image per row on mobile */
}
}



.image-container {
  text-align: center;
  width: 100%;
}



.video-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.link {
  min-width: 50% !important;
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }

  .link {
    width: 100%;
  }
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

.w3-yellow,
.w3-hover-purple:hover,
.w3-text-black {
  color: rgba(255, 204, 217) !important;
  background-color: rgba(255, 255, 179, 0.3) !important;
}



.gallery {

  overflow: hidden; margin: 30px -20px;

}
.gallery > a {

  float: left; width: 33.3333%; padding: 1px; box-sizing: border-box; position: relative;

}

.gallery > a:first-child { left: -1px; }
.gallery > a:last-child { right: -1px; }

.gallery > a > img {

  display: block; width: 100%;

}


.social-icons {
  display: flex;
  justify-content: center; /* Center the icons */
  gap: 20px; /* Space between icons */
  margin-top: 20px;
}

.social-icons i {
  font-size: 25px; /* Set the desired size here */
  
}

.social-icons i {
  display: inline-flex; /* Use inline-flex for centering */
  justify-content: center; /* Center the icon within the link */
  align-items: center; /* Center vertically */
  width: 1.7em; /* Set width for the circle */
  height: 1.7em; /* Set height for the circle */
  border-radius: 50%; /* Make the background circular */
  background-color: #65635a; /* Background color (adjust as needed) */
  text-decoration: none; /* Remove underline */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.social-icons i:hover {
  background-color: #fe3a3ae5; /* Change background color on hover (optional) */
}


.links-container {
  display: flex;
  flex-direction: column; /* Stack buttons vertically */
  gap: 12px; /* Space between buttons */
}

.links-container a {
  display: flex; /* Use flexbox for alignment */
  align-items: center; /* Center icon vertically */
  justify-content: center; /* Center the text horizontally */
  padding: 0x; /* Add some padding for better click area */
  text-decoration: none; /* Remove underline */
  position: relative; /* Allow absolute positioning of the icon */
  width: 100%;
}

.links-container a .fab {
  position: absolute; /* Position icon absolutely */
  left: 0px; /* Space from the left */
  font-size: 1.4em; /* Adjust icon size as needed */
  color: inherit; /* Make icon color inherit from text */
}

.links-container a span {
  margin-left: 15px; /* Space for the icon */
}


.grog-pink,.grog-hover-pink:hover{color:#000000!important;background-color:#d77bba!important}

.grog-pink:hover {
  background-color: #e69bcf !important; /* your hover colour */
}