* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Erbaum", sans-serif;
}

@font-face {
    font-family: 'Erbaum';
    src: url('../assets/fonts/Erbaum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Erbaum';
    src: url('../assets/fonts/Erbaum-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
:root {
    --bg-color: #080808;
    --second-bg-color: #0d1218;
    --text-color: rgb(255, 255, 255);
    --main-color: #2903fd;
}
html {
    font-size: 60%;
    overflow-x: hidden;
}
body{
    background: var(--bg-color);
    color: var(--text-color);
}
header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 4rem;
    position: fixed;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    width: 100%;
}

header .back-arrow {
    position: absolute;
    left: 20px;
    font-size: 24px;
    text-decoration: none;
    color: white;
}

header a{
    text-decoration: none;
    color: white;
}

header .logo a {
    margin: 0;
    font-size: 24px;
    text-align: center;
    color: white;
    font-size: 3rem;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease;
}

.logo a:hover{
    transform: scale(1.1);
    color: var(--main-color);
}
section{
    min-height: 100vh;
    padding: 16rem 12% 10rem;
}

.project h2{
    font-size: 4rem;
    margin-bottom: 2rem;
    color: var(--main-color);
}

.project .heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project .actions{
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.project .actions .btn{
    padding: 1rem 2rem;
    background: var(--main-color);
    color: white;
    font-size: 1.6rem;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.project .actions .btn a{
    color: white;
}
.project .actions .btn:hover{
    background: #1f0f3c;
}

.project .actions .btn i{
    margin-right: 0.5rem;
}

.project .project-image{
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project .project-image img{
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow : 0 0 12px var(--main-color)
}

.project .project-image img:hover{
    transform: scale(1.03);
    transition: 0.3s ease;
}

.project .introduction{
    margin-top: 6rem;
    font-size: 1.8rem;
    line-height: 2.5rem;
    font-weight: 300;
}

.project .technologies{
    margin-top: 4rem;
}

.project .technologies h3{
    font-size: 2.5rem;
    margin-top: 2rem;
    color: var(--main-color);   
}

.project .technologies ul{
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
}

.project .technologies ul li{
    background: var(--second-bg-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.6rem;
    color: white;
    list-style: none;
}

.project .technologies ul li:hover{
    background: #1f0f3c;
}

.project .technologies ul li a{
    color: white;
}

.project .description {
    margin-top: 6rem;
    font-size: 1.8rem;
    line-height: 2.5rem;
    font-weight: 300;
}

.project .description p{
    margin-top: 2.5rem;
}

.project .source-code{
    margin-top: 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.project .source-code p{
    font-size: 1.8rem;
    font-weight: 300;
}

@media (max-width: 895px) {
    header {
        padding: 4rem 2rem;
    }

    section{
        padding: 16rem 2rem 10rem;
    }
    .project h2{
        font-size: 3rem;
        margin-bottom: 0;
    }
    .project .heading{
        flex-direction: column;
        gap: 2rem;
    }
    .project .heading{
        flex-direction: column;
        gap: 2rem;
    }
    .project .introduction{
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
    .project .description{
        font-size: 1.6rem;
        line-height: 2.2rem;
    }
    .project .technologies h3{
        font-size: 2rem;
    }
    .project .technologies ul li{
        font-size: 1.4rem;
    }
    .project .actions .btn{
        padding: 1rem 1.5rem;
        margin-top: 0px;
        font-size: 1.4rem;
    }
    .project .actions .btn i{
        margin-right: 0.3rem;
    }
    .project .project-image img{
        width: 100%;
        height: auto;
    }
    .project .source-code p{
        font-size: 1.6rem;
    }
}