/*Scrollbar customization*/
/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #5614c7; 
  border-radius: 4px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #682FAD; 
}
/*Scrollbar customization*/

html{
  scroll-behavior: smooth;
}

body {
  color: #6dbfa7;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

header {
  padding-bottom: 50px;
}

#HeaderBar {
  position: fixed;
  width: 100%;
  height: 72px;
  /*
  Pentru navbaru' ala fixat da' arata ca drq..
  position: fixed;
  width: 100%;
  height: auto;
  */
  background-color: #5614c7; /*682FAD*/
  color: #6dbfa7;
  padding-left: 8px;
  padding-right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  top: 0;
  transition: top 1s;
}

main {
  padding-top: 0px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 2px;
}

section {
  margin-bottom: 100px;
}

h2 {
  font-size: 2em;
  margin-bottom: 20px;
}

/*For Image Responsiveness*/
.responsive {
  height: auto;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 54px;
}

.project-image {
  width: 200px; /* Adjust width as needed */
  height: 200px; /* Adjust height as needed */
  overflow: hidden; /* This hides any overflowing parts of the image */
  border-radius: 50%; /* Applies the circular shape */
}

.project-image img {
  width: 100%; /* Ensures image fills its container */
  height: 100%; /* Ensures square aspect ratio */
}
}

/* Fancy elements - customize to your liking! */
h1 {
  font-family: cursive;
  font-size: 3em;
}

img {
  size: 1px 1px 1ps 1px;
  height: 80px;
  width: auto;
  alt-text: "Preset Text for Image";
}

.project-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Accessibility features */
body {
  font-size: 1.2em;
  background: #161616 url("images/backgroundrvzwn.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-blend-mode: screen;
}

/*links*/
a, not #mailmodallink a {
  color: #7cf3f7;
  text-decoration: none; /* Ensure underline is removed for links*/
}

/*SubButton*/
/*
.subscribe-button {
  border-radius: 4px;
  background-color: #8a2525;
  border: none;
  color: #FFFFFF;
  text-align: center;
  font-size: 26px;
  padding: 10px;
  width: 160px;
  transition: all 0.5s;
  cursor: pointer;
  margin: 5px;
}

.subscribe-button span {
  cursor: pointer;
  display: block;
  position: relative;
  transition: 0.5s;
}

.subscribe-button span:after {
  content: '\00bb';
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.subscribe-button:hover span {
  padding-right: 8px;
}

.subscribe-button:hover span:after {
  opacity: 1;
  right: 0;
}
*/
/*SubButton*/

.top-button,
.bottom-button {
  position: fixed; /* Keep buttons in place while scrolling */
  bottom: 20px; /* Adjust distance from bottom */
  right: 10px; /* Adjust distance from right */
  padding: 8px 8px;
  background-color: #808080; /* Customize color */
  color: #fff; /* Customize text color */
  text-decoration: none; /* Remove underline */
  cursor: pointer;
  border-radius: 20%;
}

.top-button:hover,
.bottom-button:hover {
  transform: scale(1.2); /* Increase size by 20% */
  transition: transform 0.2s ease-in-out; /* Add smooth transition */
}

.top-button {
  bottom: 68px; /* Adjust distance from bottom for two buttons */
}

@keyframes slideFromBelow {
  0% {
    transform: translateY(200%);
  }
  100% {
    transform: translateY(0);
  }
}

.scroll-animation {
  animation: 2s ease-out 0s slideFromBelow; /*animation-time | effect method | delay until animation-time | animation*/
}

/* For Hover Text Box */
/*
.hcard{
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.image-box-hcard {
  opacity: 1;
  display: block;
  width: 100%;
  height: 200px;
  transition: 0.5s ease;
  backface-visibility: hidden;
}

.content-hcard {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.hcard:hover .image-box-hcard {
  opacity: 0.3;
}

.hcard:hover .content-hcard {
  opacity: 1;
}
*/
/* For Hover Text Box */

/*For Social Media Icons*/
#socialicons{
  padding: 20px;
  font-size: 20px; 
  width: 20px; 
  text-align: center; 
  text-decoration: none; 
  margin: 5px 2px; 
  border-radius: 100%;
  color: #c0c6cf; /*Silverish shade*/
  background: #020202;
}

#socialicons:hover {
    opacity: 0.7;
    color: #6dbfa7;
    background: #5614c7;
}
/*For Social Media Icons*/

footer {
   left: 0;
   bottom: 0;
   width: auto;
}