@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

body,
html {
    height: auto;
    overflow: auto;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    color: #e2e2e2;
}

::selection {
    background: #56D8D4;
  }

.background {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
#canvas {
    position: absolute;
    width: 100%;
    height: 100%;
}

aside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: sticky;
    top: 0;
    align-self: start; 
    height: 100vh; 
    overflow-y: auto; 
    padding-top: 20px; 
    padding-bottom: 20px;
}

.contact-icons {
    display: flex;
    padding:10px;
}

.icon-link{
    padding-right:1vw;
    padding-bottom:0.3vh
}

.icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.content {
    position: relative;
    color: #e2e2e2;
    text-align: center;
    margin-top: 20%;
}

.menu-item {
    display: flex;
    align-items: center;
    margin: 10px 0;

}

.menu-item::before {
    content: '';
    display: block;
    width: 30px;
    height: 1.6px; 
    background-color: rgb(155, 155, 155);
    margin-right: 10px;
    opacity: 0.6;
    transition: width 0.3s ease;

}

.menu-item a {
    font-weight:600;
    text-decoration: none;
    color: rgb(155, 155, 155);
    transition: color 0.3s ease;
}

.menu-item:hover::before,
.menu-item.selected::before {
    background-color: rgb(255, 255, 255);
    width: 60px;
}

.menu-item a:hover,
.menu-item.selected a {
    color: white;
}

.space-y-2>li+li {
    margin-top: 10px;
}

.tag {
    display: inline-block;
    padding: 0.25em 0.75em;
    background-color: #1c1c3c;
    color: #00ffa6b4;
    border-radius: 12px;
    font-size: 0.875rem;
    text-align: center;
    margin: 0.25em;
    font-weight: bold;
}

.about-container {
    padding-left: 10px;
    padding-right: 10px;
}


.project-container {
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.project-container:hover {
    padding: 10px;
    background-color: rgba(23, 38, 71, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.tech-image {
    background-color: rgba(23, 38, 71, 0.4); 
    padding: 1vmin; 
    border-radius: 2vmin; 
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3); 
    width: 15vmin;
    height: auto; 
    object-fit: contain;
    display: block;  
    margin: 0 auto; 
    position: relative;
    display: inline-block;
}

.skillsTechnologiesContainer {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    justify-content: center;
    margin: 0 auto;
    width: fit-content;
}

.tech-item {
    position: relative;
    display: inline-block;
}

.tech-item::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    white-space: nowrap; 
    z-index: 1;
    font-size: 12px;
}

.tech-item:hover::before {
    opacity: 1;
    visibility: visible;
}

.carousel-container {
    position: relative;
    max-width: 100%;
    margin: 20px 0;
    overflow: hidden;
}

.carousel-inner {
    width: 300%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 33.33%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.indicator-dot {
    transition: background-color 0.3s ease;
}

.indicator-dot.active {
    background-color: #fff;
}



.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    z-index: 10;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.certificate-display{
    margin-bottom:1vh;
}

@media (max-width: 1024px) {
    body {
        margin-left: 1rem;
        margin-right: 1rem;
    }
}



