:root {

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right,
    rgba(36, 38, 46, 1) 3%,
    rgba(48, 48, 48, 1) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right,
    rgba(31, 33, 41, 0.251) 0%,
    rgba(31, 33, 29, 0) 100%
  ), hsl(240, 2%, 13%);
  
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right,
    rgba(255, 217, 102, 1) 0%,
    rgba(255, 204, 85, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg,
    rgba(255, 217, 102, 0.251) 0%,
    rgba(255, 204, 82, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right,
    rgba(64, 64, 64, 1) 0%,
    rgba(64, 64, 64, 0) 50%
  );
  --text-gradient-white: linear-gradient(
    to right,
    rgba(255, 217, 102, 1),
    rgba(31, 33, 31, 1)
  );
  --text-gradient-yellow: linear-gradient(
    to right,
    rgba(255, 255, 255, 1),
    rgba(255, 217, 102, 1)
  );

  /* solid */

  --jet: rgba(56, 56, 56, 1);
  --onyx: rgba(43, 43, 43, 1);
  --eerie-black-1: rgba(33, 33, 33, 1);
  --eerie-black-2: rgba(31, 31, 31, 1);
  --smoky-black: rgba(18, 18, 18, 1);
  --white-1: rgba(255, 255, 255, 1);
  --white-2: rgba(250, 250, 250, 1);
  --orange-yellow-crayola: rgba(255, 217, 102, 1);
  --vegas-gold: rgba(255, 217, 102, 1);
  --light-gray: rgba(214, 214, 214, 1);
  --light-gray-70: rgba(214, 214, 214, 0.7);
  --bittersweet-shimmer: rgba(131, 66, 66, 1);


  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /* shadow */
  
  --shadow-1: -4px 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-2: 0 16px 30px rgba(0, 0, 0, 0.25);
  --shadow-3: 0 16px 40px rgba(0, 0, 0, 0.25);
  --shadow-4: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-5: 0 24px 80px rgba(0, 0, 0, 0.25);

  /* transition */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--orange-yellow-crayola); }

html { font-family: var(--ff-poppins); }

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
  
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
  user-select: none;
  border: 0.5px solid rgba(255,255,255, 0.05)
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

article { display: none; }

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.h2,
.h3,
.h4 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 { font-size: var(--fs-1); }

.h3 { font-size: var(--fs-2); }

.h4 { font-size: var(--fs-4); }

.article-title {
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25%;
  height: 3px;
  background: var(--text-gradient-white);
  border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}

/* Sidebar */

.sidebar {
  margin-bottom: 15px;
  /* max-height: 112px; */
  /* overflow: hidden; */
  transition: var(--transition-2);
}

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 15px;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.info-content p.title{
  text-align: center;
}


.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 3px 12px;
  border-radius: 8px;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus { background: var(--bg-gradient-yellow-1); }

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }

.info_more-btn span { display: none; }

.sidebar-info_more {
  /* opacity: 0;
  visibility: hidden; */
  transition: var(--transition-2);
}

.contacts-list {
  display: flex;
  gap: 16px;
}

.contact-item {
  min-width: 45%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
}


.social-item .social-link:hover { color: var(--light-gray); }

/* About */

.about .article-title { margin-bottom: 15px; }

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

.about-text p { margin-bottom: 15px; }

/* Clients */

.clients { margin-bottom: 15px; }

.clients-list {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 15px;
  row-gap: 5px;
  padding: 25px;
  /* padding-bottom: 25px; */
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.clients-item {
  width: 50%;
  scroll-snap-align: start;
}

.clients-item p{
  color: white;
  text-align: center;
}

.clients-item img {
  width: 100%;
  transition: var(--transition-1);
}

.clients-item img:hover {
  animation: zoom 2s ease-in-out infinite alternate;
}

@keyframes zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}



/* Resume */

.article-title { margin-bottom: 30px; }

.timeline { margin-bottom: 30px; }

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item { position: relative; }

.timeline-item:not(:last-child) { margin-bottom: 20px; }

.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--vegas-gold);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
  
}

.timeline-text::before { /* add the new bullet point */
  display: inline-block;
    content: '';
    -webkit-border-radius: 0.375rem;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
    margin-right: 0.5rem;
    background-color: #bdbdbd;
}

/* Slides */

.slideshow-container {
  width: 100%;
  position: relative;
  margin: auto;
}

.slide {
  display: none;
  width: 100%;
}

.project{
  cursor: pointer;
}

.slide h3, .slide p{
  color: white;
}

.slide img {
  height: 350px; /* Reduced image width */
  width: 100%;
  object-fit: fill;
}

.dot-container {
  text-align: center;
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot:hover {
  background-color: #FFD43B;
}

  /* Style for modal background */
  .modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal content */
.modal-content {
    /* background-color: #fff; */
    background: rgba( 255, 255, 255, 0.1 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 10px );
    -webkit-backdrop-filter: blur( 10px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    margin: 3% auto;
    padding: 20px;
    width: 60%;
    text-align: center;
    border-radius: 5px;
}

/* Close button */
.close {
    color: red;
    float: right;
    font-size: 20px;
    cursor: pointer;
}

iframe {
  width: 100%;
  height: 80vh;
  border: none;
}

.btn{
  color:white;
  /* text-decoration: underline; */
  font-size: 20px;
  margin: 5px;
}

h1{
  color:white;
  text-align: center;
}

.pcw{
  color:white;
  text-align: center;
  margin-bottom: 10px;
}

.slide p{
  text-align: center;
}

.info{
  background: black;
  border-radius: 5px;
  box-shadow: 2px 2px white;
  width: 30%;
  font-size: 10px;
  position: absolute;
  top: 330px;
  left: 20px;
  text-align: center;
  color: white;
}

.projects-content{
  display: flex;
  flex-direction: column;
}

.projects-content img{
  width: 100%;
  padding: 2%;
}

.projects-content p{
  color: white;
}

.projects-content p::before { /* add the new bullet point */
  display: inline-block;
    content: '';
    -webkit-border-radius: 0.375rem;
    border-radius: 0.375rem;
    height: 0.75rem;
    width: 0.75rem;
    margin-right: 0.5rem;
    background-color: #bdbdbd;
}
