/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Lexend Deca", sans-serif;
    line-height: 1.6;               
}

.rock-3d-regular {
    font-family: "Rock 3D", system-ui;
    font-weight: 400;
    font-style: normal;
}

.lexend-deca-paragraph {
    font-family: "Lexend Deca", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
  }

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/* TRANSITION */
a, .btn {
    transition: all 300ms ease;
}

section {
    padding: 60px 10%;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    font-family: "Rock 3D";
}

h2 {
    font-weight: 600;
    color: #333;
}

p {
    line-height: 1.6;
    font-size: 1.1rem;
}

.intro {
    display: flex;               
    align-items: flex-start;        
    gap: 30px;                      
    margin-top: 20px;  
}

.intro-text {
    color: rgb(85, 85, 85);
    flex: 1;
}

.intro-text hr {
    margin: 15px 0;
    border: none;
    border-top: 2px solid #ccc;
}

.profile-pic {
    border-radius: 2%;
    width: 150px;
    height: 200px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.copyright {
    text-align: center;
    padding-bottom: 1%;
}

/* Carousel Section */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}
  
.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
    transition: transform 0.5s ease;
    position: relative;
    z-index: 1;
}
  
.project-card {
    width: 90%;
    max-width: 700px;
    padding: 2rem;
    background: #f0f8ff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    text-align: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
    opacity: 0;
    filter: blur(3px);
    transform: scale(0.9);
    position: relative;
    z-index: 1;
}
  
.project-card.center {
    filter: none;
    transform: scale(1.1);
    opacity: 1;
    z-index: 2;
}
  
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #444;
    padding: 0.5rem 1rem;
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn.left{
    left: 10px;
}

.carousel-btn.right{
    right: 10px;
}
  
.carousel-btn:hover {
    color: #000;
}

.project-card img {
    width: 150px;           
    height: 150px;           
    object-fit: contain;    
    border-radius: 0%;      
    display: block;          
    margin: 0 auto 1rem; 
  }

a {
color:#333
}