@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Major+Mono+Display&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto;
}

body {
    min-height: 100vh;
    background-color: #080808;
    background-size: cover;
    background-position: center;
    color: white;
    animation: fadeIn 0.8s ease;
}

html {
    scroll-behavior: smooth;
}

header{
    margin: 130px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 100px;
    background-color: linear-gradient (135deg, rgba(230, 11, 153, 0.1), rgba(169, 10, 242, 0));
    border-radius: 5px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 32px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-family: "Space Grotesk", sans-serif;
}

.logo span {
    color: #6b51ca;
}

.navbar a {
    position: relative;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin-left: 40px;
    font-family: "Space Grotesk", sans-serif;
}

.navbar a::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background: #6b51ca;
    transition: .3s;
}

.navbar a:hover::before {
    width: 100%;
}


.title {
    text-align: left;
    font-size: 25px;
    font-family: "Space Grotesk", sans-serif;
    display: flex;
    justify-content: center;
    margin: 50px;
    padding: 50px;
    padding-top: 50px;
}

.title span {
    color: #6b51ca;
}


/*----- skills -----*/

/*----- Skills & tools -----*/
.about-left {
    margin: 50px;
}

.about-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.st {
    margin: 0;
    position: relative;
    top: -290px;
    left: 315px;
}

.st h5 {
    position: relative;
    top: -85px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    font-weight: lighter;
    color: #777;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 400px;
}

.python {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.hc {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.js {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.c {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.smt {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

.sql {
    border: 0.5px solid #6b51ca;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    background: #13112a;
    color: #AFA9EC;
    padding: 10px;
}

/*----tools ---- */
.tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 400px;
}


.figma {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.git {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ap {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ai {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.ad {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}

.sqlite {
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
}


/*---- web presentation -----*/
.section {
    scroll-margin-top: 100px;
}

.top-header {
    justify-content: center;
    padding: 1.5rem;
    display: flex;
    gap: 12px;
}



.projecttitle h1 {
    text-align: left;
    font-size: 55px;
    font-family: "Space Grotesk", sans-serif;
    display: flex;
    justify-content: center;
    margin: 0 auto;
}

.top-header p {
    text-align: center;
    font-family: "Space Grotesk", sans-serif;
}


.projecttitle h1 span {
    color: #6b51ca;
}

.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    align-items: stretch;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.project-box {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    height: 450px;
    background: #111;
    border: 0.5px solid #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.project-box:hover {
    border: 1px solid #6b51ca;
    transition: 0.5s;
}

.project-box>i {
    font-size: 40px;
    color: #6b51ca;
    margin-bottom: 25px;
    align-items: left;
}


.project-box p {
    font-family: "Space Grotesk", sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #666;
    line-height: 1.6;
    text-align: left;
}

.project-box h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: #fff;
    text-align: left;
}


.project-box .tools {
    font-size: 10px;
    display: inline-flex;
    flex-wrap: wrap;
}

.project-box .skills {
    font-size: 15px;
}

.top-header span {
    color: #fff;
}

.btn {
    font-size: 14px;
    font-weight: bold;
    size: 10px;
    border: 1px solid transparent;
    background-color: transparent;
    cursor: pointer;
}

.btn a {
    color: #666;
    text-decoration: none;
}

.btn a:hover {
    color: #6b51ca;
    transition: 0.5s;
}

.btn2 {
    font-size: 14px;
    font-weight: bold;
    size: 10px;
    border-radius: 6px;
    font-family: "Space Grotesk", sans-serif;
    color: #888;
    border: 0.5px solid #222;
    background: #111;
    padding: 10px;
    width: fit-content;
    cursor: pointer;
}
.btn2:hover{
    border: 0.5px solid #534AB7;
}
.btn2 a {
    color: #bab9b9;
    text-decoration: none;
}

.btn2 a:hover {
    color: #6b51ca;
    transition: 0.5s;
}



/*------footer------*/

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 50px;
    width: 100%;
    background-color: rgb(10, 10, 10);
    bottom: 0;
    left: 0;
    margin-top: 50px;

}

footer p {
    font-weight: lighter;
}


/*----- media screen------*/
@media (max-width:830px) {

    .container1 {
        width: 100%;
        background: #111;
        border: 0.5px solid #1e1e1e;
        border-radius: 16px;
        overflow: hidden;
        font-family: "Space Grotesk", sans-serif;
    }

    .btn {
        font-size: 14px;
        size: 10px;
        border: 1px solid transparent;
        background-color: transparent;
        cursor: pointer;
        padding: 40px;
    }

    .project-box h3{
        font-size: 17px;
    }
}

/* Custom scrollbar styles */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #121212;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #6b51ca;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Color when hovering */
}


@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}