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

body {
    font-family: Arial, sans-serif;
    background-color: #111318;
    color: #f1f1f1;
}



header {
    background-color: #191c24;
    padding: 25px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #292d38;
}

header h1 span {
    color: #7185ff;
}

nav a {
    color: #b8bdca;
    text-decoration: none;
    margin-left: 25px;
}

nav a:hover,
nav .active {
    color: #7185ff;
}



.home {
    min-height: 75vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.home div {
    max-width: 650px;
}

.small {
    color: #7185ff;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.home h2 {
    font-size: 48px;
    margin-bottom: 15px;
}

.home h3 {
    color: #7185ff;
    margin-bottom: 20px;
}

.home p {
    color: #aeb3c0;
    line-height: 1.8;
}



.button {
    display: inline-block;
    background-color: #7185ff;
    color: white;
    padding: 13px 25px;
    margin-top: 25px;
    text-decoration: none;
    border-radius: 6px;
}

.button:hover {
    background-color: #5268e0;
}



.container {
    max-width: 950px;
    min-height: 70vh;
    margin: 60px auto;
    padding: 20px;
}

.container h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.container p {
    color: #b8bdca;
    line-height: 1.8;
}



.skills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.skills div {
    background-color: #20242e;
    border: 1px solid #303644;
    padding: 18px 28px;
    border-radius: 7px;
}



.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.project {
    background-color: #20242e;
    padding: 25px;
    border: 1px solid #303644;
    border-radius: 8px;
}

.project h3 {
    margin-bottom: 12px;
}

.tag {
    color: #7185ff !important;
    margin-top: 15px;
}



footer {
    background-color: #191c24;
    color: #aeb3c0;
    text-align: center;
    padding: 22px;
    border-top: 1px solid #292d38;
}



@media (max-width: 650px) {
    header {
        flex-direction: column;
        gap: 20px;
    }

    nav a {
        margin: 5px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .home h2 {
        font-size: 32px;
    }
}

/* About page */

.about {
    max-width: 1050px;
    margin: 65px auto;
    padding: 20px;
}

.about-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 35px;
    align-items: center;
}

.about-text h2 {
    font-size: 38px;
    margin: 15px 0;
}

.about-text p {
    color: #aeb3c0;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-card {
    background-color: #20242e;
    border: 1px solid #303644;
    border-radius: 10px;
    padding: 28px;
}

.about-card h3 {
    margin-bottom: 25px;
}

.about-card p {
    padding: 13px 0;
    border-bottom: 1px solid #343945;
    color: #f1f1f1;
}

.about-card span {
    color: #8994ff;
    display: inline-block;
    width: 105px;
}

.skills-section {
    margin-top: 80px;
}

.skills-section h2,
.interests h2 {
    font-size: 30px;
    margin: 12px 0 25px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.skill-card {
    background-color: #20242e;
    border: 1px solid #303644;
    border-radius: 10px;
    padding: 22px;
    transition: 0.3s;
}

.skill-card:hover {
    border-color: #7185ff;
    transform: translateY(-5px);
}

.skill-card h3 {
    color: #7185ff;
    margin-bottom: 25px;
}

.skill-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.skill-card p {
    color: #aeb3c0;
    font-size: 14px;
    line-height: 1.6;
}

.interests {
    margin-top: 65px;
    background-color: #20242e;
    border: 1px solid #303644;
    padding: 30px;
    border-radius: 10px;
}

.interests p {
    color: #aeb3c0;
}

@media (max-width: 750px) {
    .about-top {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 450px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
.project-link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
