@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible+Mono:ital,wght@0,200..800;1,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+10&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px; /* Adjust scrollbar width */
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
    background: rgba(50, 50, 50, 0.8); /* Dark background */
    border-radius: 10px;
}

/* Scrollbar Handle */
::-webkit-scrollbar-thumb {
    background: #9fb1e4; /* Matches your theme */
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
}

/* Scrollbar Handle on Hover */
::-webkit-scrollbar-thumb:hover {
    background: #ffffff;
}

* {
    padding: 0%;
    margin: 0%;
    max-width: 100vw;
    overflow-x: hidden;
}

.home,
.about,
.projects,
.skills,
.contact {
    height: 100vh;
}

.home,
.about,
.skills,
.projects 
.contact{
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homeContent,
.aboutContent,
.skillsContent{
    height: 95%;
    width: 90%;
    background-color: rgb(39, 39, 39);
    border-radius: 20px;
}

.topBar {
    display: flex;
    padding: 10px;
    justify-content: center;
    position: relative;
    flex: 1;
    height: 5%;
}

.dots {
    display: flex;
    position: absolute;
    left: 1%;
    gap: 5px;
    padding-left: 10px;
}

.dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.red {
    background: red;
}

.yellow {
    background: yellow;
}

.green {
    background: green;
}

.top-bar-text {
    font-family: "JetBrains Mono", serif;
    color: white;
    font-size: 20px;
}

.navBar {
    width: 100%;
    height: 8%;
    background-color: rgb(100, 100, 100);
    display: flex;
    align-items: center;
    overflow-y: hidden;
}

.navBar a {
    width: 12%;
    border: 2px solid gray;
    height: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: "JetBrains Mono", serif;
    text-decoration: none;
    font-size: 15px;
}

.navBar a:hover {
    background-color: gray;
}

.content {
    display: flex;
}

.langs {
    width: 20%;
    height: 100%;
    overflow-y: hidden;
}

.lang {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    padding: 20px;
    font-size: 20px;
    color: white;
    cursor: pointer;
    height: 17.4%;
    overflow-y: hidden;
    border-top: 1px solid grey;
    border-right: 1px solid grey;
}

.langs div:hover,
.langs div.active {
    background: #444;
    transform: scale(1.05);
}

.lang img {
    width: 50px;
}

.output {
    width: 80%;
    overflow: hidden;
    height: 70vh;
}

.code-text {
    background-color: rgb(29, 29, 29);
    height: 30%;
    display: flex;
    align-items: center;
    font-size: 30px;
    padding-left: 30px;
    font-family: "Atkinson Hyperlegible Mono", serif;
    color: rgb(159, 177, 228);
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid white;
    /* Cursor effect */
    animation: blinkCursor 0.7s steps(1) infinite;
}

@keyframes blinkCursor {
    50% {
        border-color: transparent;
    }
}

.main-text {
    width: 100%;
    height: 70%;
}

.terminal {
    height: 10%;
    display: flex;
    align-items: center;
    font-size: 18px;
    color: rgb(185, 185, 254);
    font-family: "JetBrains Mono", serif;
    padding-left: 3%;
    background-color: black;
    border: 2px solid gray;
}

.Text {
    height: 80%;
    font-family: "Jersey 10", serif;
    font-size: 800%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.about {
    flex-direction: column;
    overflow: hidden;
}

.aboutTop {
    display: flex;
    width: 100%;
    height: 100%;
}

.aboutMe {
    width: 70%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aboutHeading {
    font-family: "JetBrains Mono", serif;
    font-size: 50px;
    color: white;
    margin-bottom: 30px;
    padding: 10px;
    border-bottom: 4px white dashed;
}

.aboutText p {
    color: white;
    font-size: 20px;
    margin: 60px;
    padding-left: 5px;
    border-left: 10px rgb(159, 177, 228) solid;
    font-family: "Quicksand", sans-serif;
}

.aboutText h5 {
    color: white;
    font-size: 23px;
    font-family: "Atkinson Hyperlegible Mono", serif;
}

.skillsContent {
    display: flex;
    align-items: center;
}

.aboutImage {
    width: 40%;
    padding: 30px;
    margin: 30px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutImage img{
    width: 100%;
}
.skillsLeft {
    padding: 30px;
    width: 30%;
    color: white;
    font-family: "JetBrains Mono", serif;
}

.skillsLeft h2 {
    font-family: "JetBrains Mono", serif;
    font-size: 50px;
    color: white;
    margin-bottom: 30px;
    padding: 10px;
    border-bottom: 4px white dashed;
}

.skillsLeft p {
    font-size: 20px;
    margin-bottom: 10px;
    border-left: 10px rgb(159, 177, 228) solid;
    padding-left: 5px;
}

.skillsLeft h5 {
    color: white;
    font-size: 23px;
    margin-top: 40px;
    font-family: "Atkinson Hyperlegible Mono", serif;
    color: rgb(159, 177, 228);
    font-size: 1.2rem;
    /* Adjust as needed */
    color: #fff;
    /* Ensures visibility */
    animation: glow 1.5s infinite alternate ease-in-out;
}

@keyframes glow {
    0% {
        text-shadow: 0 0 5px rgba(159, 177, 228, 0.5), 0 0 10px rgba(159, 177, 228, 0.7), 0 0 15px rgba(159, 177, 228, 0.9);
    }

    50% {
        text-shadow: 0 0 10px rgba(159, 177, 228, 0.7), 0 0 20px rgba(159, 177, 228, 1), 0 0 30px rgba(159, 177, 228, 1);
    }

    100% {
        text-shadow: 0 0 5px rgba(159, 177, 228, 0.5), 0 0 10px rgba(159, 177, 228, 0.7), 0 0 15px rgba(159, 177, 228, 0.9);
    }
}

.skillsRight {
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.RIGHTposSkills,
.LEFTposSkills {
    width: 20%;
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.skill {
    margin: 10px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
    overflow-y: hidden;
}

.skill img {
    width: 50px;
    transition: transform 0.3s ease-in-out;
}

.skill:hover {
    transform: scale(1.2);
}

.cardPOS {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.skillCard {
    transform: scale(0) rotateY(540deg);
    width: 280px;
    height: 400px;
    background: #1e1e1e;
    color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.6s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    font-family: "JetBrains Mono", monospace;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform-origin: center;
}

/* When active, it spins and appears */
.skillCard.active {
    transform: scale(1) rotateY(0deg);
    opacity: 1;
}

/* Title styling */
.skillCard .title {
    font-size: 22px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

/* Skill image */
.skillCard .skillImage {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
}

/* Description styling */
.skillCard .description {
    font-size: 16px;
    padding: 0 10px;
    flex-grow: 1;
    /* Makes the description area take up space */
}

/* Since date */
.skillCard .since {
    font-size: 14px;
    color: #b0b0b0;
    margin-top: 10px;
    font-style: italic;
}

.carousel {
    overflow: hidden;
    overflow-y: hidden;
    display: flex;
    width: 100vw;
    height: 100vh;
    transition: transform 0.5s ease-in-out;
}

.project {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: black;
    overflow: hidden;
    color: white;

}
.project img {
    width: 60%;
    border-radius: 8px;
}


.slide-arrow {
    position: absolute;
    display: flex;
    top: 350vh;
    bottom: 0;
    margin: auto;
    height: 4rem;
    background-color: grey;
    border: none;
    width: 3rem;
    font-size: 3rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 100ms;
  }
  .slide-arrow:hover,
  .slide-arrow:focus {
    opacity: 1;
  }
  #slide-arrow-prev {
    left: 0;
    padding-left: 0.25rem;
    border-radius: 0 2rem 2rem 0;
  }
  
  #slide-arrow-next {
    right: 0;
    padding-left: 0.75rem;
    border-radius: 2rem 0 0 2rem;
  }    

  .ProjectCont {
    overflow: hidden;
    width: 70%;
    height: 70vh;
    background: rgba(20, 20, 20, 0.9); /* Dark translucent background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


/* Top section (Image + Title + Languages) */
.projectTop {
    text-align: center;
    padding: 15px;
    height: 60%;
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.projectTop img {
    width: 80%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}

.projectTop img:hover {
    transform: scale(1.05);
}

.ProjectTopCont{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "JetBrains Mono", monospace;

}
.projectTop h3 {
    font-size: 2.5rem;
    margin: 10px 0;
    color: #9fb1e4; /* Elegant blue accent */
}

.projectTop p {
    font-size: 1rem;
    color: #ccc;
    opacity: 0.8;
}

/* Bottom section (Description + Status + Link) */
.projectBottom {
    padding: 15px;
    display: flex;
    font-family: "JetBrains Mono", monospace;
}

.projectBottom h5 {
    width: 60%;
    text-align: justify;
    font-size: 1.1rem;
    color: #ddd;
    font-weight: normal;
    margin-bottom: 12px;
    opacity: 0.9;
    margin-top: 20px;
}

/* Left-bottom (Status & Link) */
.BottomLeft {
    display: flex;
    align-items: center;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: 40%;
}

.BottomLeft h4 {
    font-size: 1rem;
    color: #9fb1e4;
    font-weight: bold;
}

.BottomLeft a {
    background: rgba(159, 177, 228, 0.3);
    color: #9fb1e4;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.98rem;
    font-weight: bold;
    transition: background 0.3s, color 0.3s;
}

.BottomLeft a:hover {
    background: #9fb1e4;
    color: #121212;
}

/* Contact Form Container */
.contact{
    background-color: #444;
    overflow: hidden;
}
.contact-container {
    max-width: 500px;
    height: 80%;
    margin: 50px auto;
    padding: 30px;
    background: rgba(20, 20, 20, 0.9); /* Dark semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(159, 177, 228, 0.3);
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

/* Heading */
.contact-container h2 {
    margin-bottom: 20px;
    font-family: "JetBrains Mono", serif;
    font-size: 50px;
    color: white;
}

.contact-container p{
    font-size: 20px;
    color: white;
    font-family: "JetBrains Mono", serif;

}

/* Input Groups */
.input-group {
    margin-bottom: 15px;
    text-align: left;
}

/* Labels */
.input-group label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
    color: #ccc;
}

/* Input Fields */
.input-group input,
.input-group textarea {
    width: 92%;
    padding: 12px;
    font-size: 1rem;
    color: #ffffff;
    background: rgba(50, 50, 50, 0.8);
    border: 1px solid #9fb1e4;
    border-radius: 5px;
    outline: none;
    transition: all 0.3s ease-in-out;
}

/* Input Hover & Focus */
.input-group input:focus,
.input-group textarea:focus {
    border-color: #ffffff;
    background: rgba(70, 70, 70, 0.9);
}

/* Textarea */
.input-group textarea {
    height:28vh;
    resize: none;
}

/* Submit Button */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: #121212;
    background: #9fb1e4;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

button[type="submit"]:hover {
    background: #ffffff;
    color: #121212;
}

/* Form Status */
#form-status {
    margin-top: 15px;
    font-size: 1rem;
    color: #9fb1e4;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: center;
    justify-content: center;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
}

/* Adjust image size */
.social-links img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
}

