@import url('https://fonts.googleapis.com/css?family=Carattere');

:root {
  --backtotop: #2196F3BF;
  --background-body: rgba(185, 224, 255, 0.68);
}

body {
    font-family: 'Lato';
    margin: 0;
    padding: 0;
    background-color:  var(--background-body);
    color: #333;
    font-size: 1.1rem;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
font-family:  'Carattere';
border:0px solid black;
letter-spacing: 1.5px;
}

.navbar ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar ul li {
    margin-left: 1.5rem;
}

.navbar ul li a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar ul li a:hover {
    color: #007BFF;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon div {
    width: 30px;
    height: 3.5px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

    .menu-icon.change .bar1 {
        transform: rotate(-45deg) translate(-8px, 8px);
    }

    .menu-icon.change .bar2 {
        opacity: 0;
    }

    .menu-icon.change .bar3 {
        transform: rotate(45deg) translate(-8px, -8px);
    }
/*header style ends*/

main {
    padding: 2rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 2rem 0;
    text-align: center;
    background-color: #fff;
    margin-bottom: 1rem;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow:auto;
}
section h2 {
   margin-bottom: 1rem;
   color: #007BFF;
   position: relative;
   display: inline-block;
   text-transform: uppercase;
   letter-spacing: 1.5px;
   font-family: 'Glacial Indifference', sans-serif;
   font-size: 1.5rem;
}
section h2::after {
    content: '';
    width: 70px;
    height: 3px;
    background-color: #007BFF;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.about-content {
  display: block;
  padding: 30px;
}
.about-img {
display: block;
  width: 22%;
  height: auto;
  float: left;
  object-fit: cover; 
  margin: 0px 20px 0px 0px ! important;
  border-radius: 10px;
}
  .typewriter-container {
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: auto; /* Ensures the text spans the full width for justification */
  }

  .typewriter {
    display: inline;
  }

  @keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: orange; }
  }

  .cursor {
    border-right: .15em solid orange; /* Cursor */
    animation: blink-caret .75s step-end infinite;
  }
  .hidden {
    display: none; /* Hides about text source*/
  }
.about-text{
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  }
/* Slideshow styles */
#portfolio {
    display: block;
    padding: 10px;
}
.portfolio-item h3 {
    text-transform: capitalize;
}
.slideshow-container {
    max-width: 450px;
    min-height: 350px;
    margin: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slideshow-container {
  text-align: left;
   }
.slideshow-container p {
  text-align: justify;
  hyphens: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 10;
  -webkit-box-orient: vertical;
   }
.portfolio-item {
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.portfolio-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 5px;
}
.portfolio-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 169, 244, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    border-radius: 5px; 
    transition: visibility 0s, opacity 0.3s ease-in-out;
}
.portfolio-item:hover .overlay {
    visibility: visible;
    opacity: 1;
}

.read-btn {
    background-color: transparent;
    color: white;
    padding: 10px 20px;
    border: 2px solid white;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}
.read-btn:hover {
    background-color: #0056b3;
}
.fade {
    animation-name: fade;
    animation-duration: 1s;
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
}
@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

@-webkit-keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}

.dot {
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}
.active {
    background-color: #007BFF;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    user-select: none;
    display: none; /* Hide by default */
}
.prev {
    left: 0; 
    border-radius: 3px 0 0 3px;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slideshow-container:hover .prev, 
.slideshow-container:hover .next {
    display: block;
    z-index: 9999;
}




/* Contact section styles */
#contact {
  display: block;
  padding: 30px;
  }
#panda-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contact-form label {
    margin-top: 1rem;
    text-align: left;
    font-weight: bold;
    font-size: 1rem;
    color: #555;
    font-family: 'Arial', sans-serif;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Arial', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s;
}

#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}


#contact-form button {
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background-color: #3F96D6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    transition: background-color 0.3s, transform 0.3s;
}

#contact-form button:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.social-media {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-media a {
    transition: background-color 0.3s, transform 0.3s;
    text-decoration: none;
    color: white;
    padding: 0px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    width: 40px;
    height: 40px;
    position: relative;
}

  .facebook { background: #3b5998; }
  .linkedin { background: #0077b5; }
.social-media .fab{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2rem;
  }

.social-media a:hover {
    background-color: #0056b3;
    transform: scale(1.3);
}


    .back-to-top {
      display: none; /* Hidden by default */
      position: fixed;
      bottom: 46px;
      right: 30px;
      z-index: 1000; 
      background-color:  var(--backtotop);
      color: #fff;
      padding: 8px 12px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      font-size: 14px;
      opacity: 0.6;
    }

    .back-to-top:hover {
      background-color: #555;
    }
.back-to-top .arrow {
  border: solid white;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

/* footer section */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
	font-size: 0.8rem;
	font-weight: bold:
}

/* Share Buttons */
  .share-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-direction: row;
    width: 100%;
    padding: 12px 0px;
  }
  .share-buttons a {
    text-decoration: none;
    position: relative;
    background: white;
    border: 2px solid black;
    color: black;
    padding: 0px;
    border-radius: 50px;
    display: inline-block;
    text-align: center;
    width: 32px;
    height: 32px;
    box-shadow: 0 0 0 2px white;
  }
.share-buttons .fab{
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
font-size: 16px;
  }

/* setup tooltips */
.tooltip {
  position: relative;
}
.tooltip:before,
.tooltip:after {
  display: block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.tooltip:after {
  border-right: 6px solid transparent;
  border-bottom: 6px solid white; 
  border-left: 6px solid transparent;
  content: '';
  height: 0;
  width: 0;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
}
.tooltip:before {
  background: white;
  border-radius: 6px;
  color: black;
  content: attr(data-title);
  font-size: 18px;
  padding: 5px 12px;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tooltip.expand:before {
  transform: scale3d(.2,.2,1) translateX(-50%);
  transition: all .2s ease-in-out;
}
.tooltip.expand:after {
  transform: translate3d(-50%, 6px, 0);
  transition: all .1s ease-in-out;
}
.tooltip.expand:hover:before,
.tooltip.expand:hover:after {
  opacity: 1;
  transform: scale3d(1,1,1) translateX(-50%);
}
.tooltip.expand:hover:after {
  transition: all .2s .1s ease-in-out;
}
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
padding: 10px 30px 20px 30px;
  }
  .link {
    width: 100px; 
    height: 25px; /* Adjust height as needed */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 0px solid #ccc;
    text-decoration: none;
    color: white;
  }
#copyright-section a{
  text-decoration: none;
  color: white;
 }
#copyright-section{
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 1px;
  padding: 6px 0px;
  padding-top: 20px;
border-top: 0px solid black;
box-shadow: 0px -2px 2px 0px rgba(255, 255, 255, 0.05);
 }

/*Responsive For Mobile*/
@media (max-width: 768px) {
    .navbar ul {
        display: none;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    .navbar ul li {
       text-align: center;
       margin: 1rem 0;
       font-size:18px;
       font-weight: bold;
    }
    .menu-icon {
        display: block;
      }
    .navbar ul.active {
        display: flex;
        color: blue;
      }
    .about-img{
         width: 150px;
      }
    section h2 {
        font-size: 22px;
      }
    section {
        font-size:14px;
      }
    .slideshow-container {
        max-width: 90% ! important;
     }
    footer {
         font-size:11px;
      }
  .share-buttons a {
    width: 20px ! important;
    height: 20px ! important;
    box-shadow: 0 0 0 1.5px white ! important;
     }
  .share-buttons .fab{
    font-size: 12px ! important;
    }
   .share-buttons {
    padding: 10px 0px ! important;
    }

}
/*Responsive For Mobile ENDS*/

