* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    font-family: Arial, sans-serif;

}


body {

    min-height: 100vh;

    background: #0d0d0d;

    color: white;

}



main {

    width: 90%;

    max-width: 1000px;

    margin: auto;

    padding: 80px 0;

}




.hero {

    margin-bottom: 80px;

}


.hero h1 {

    font-size: 55px;

}


.hero p {

    margin-top: 20px;

    color: #8b949e;

    font-size: 20px;

}




.cards {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(250px,1fr)
    );

    gap: 25px;

}




.card {

    background: #161b22;

    border: 1px solid #30363d;

    border-radius: 18px;

    padding: 35px;

    transition: .2s;

}



.card:hover {

    transform: translateY(-5px);

    border-color: #22c55e;

}



.card p {

    margin-top: 15px;

    color: #8b949e;

}



.card span {

    display: inline-block;

    margin-top: 15px;

    margin-right: 8px;

    padding: 8px 15px;

    background: #1f6f4a;

    border-radius: 20px;

}





.project {

    margin-top: 40px;

}



.project-header {

    display: flex;

    align-items: center;

    gap: 15px;

}



.project-header h2 {

    font-size: 32px;

}



.project-header span {

    background: transparent;

    border: 1px solid #1f6f4a;

    color: #22c55e;

    font-size: 13px;

}



.project .version {

    color: #536179;

    font-family: monospace;

}



.project p {

    max-width: 750px;

    line-height: 1.6;

    font-size: 18px;

}



.stack span {

    background: transparent;

    border: 1px solid #30363d;

    color: #8b949e;

}






.contact {

    margin-top: 100px;

}



.contact h1 {

    font-size: 45px;

}



.contact > p {

    margin-top: 15px;

    color: #8b949e;

}




.links {

    margin-top: 40px;

}



.link-card {

    display: flex;

    justify-content: space-between;

    padding: 25px 0;

    border-bottom: 1px solid #30363d;

    color: white;

    text-decoration: none;

    transition: .2s;

}



.link-card p {

    color: #536179;

}



.link-card span {

    color: #8b949e;

}



.link-card:hover {

    padding-left: 20px;

}



.link-card:hover span {

    color: #22c55e;

}




footer {

    margin-top: 100px;

    color: #555;

}





.repo-button {

    display: inline-block;

    margin-top: 25px;

    padding: 10px 18px;

    border: 1px solid #30363d;

    border-radius: 20px;


    color: white;

    text-decoration: none;


    font-size: 14px;


    transition: .2s;

}


.repo-button:hover {

    border-color: #22c55e;

    color: #22c55e;

}





/* LANGUAGE BUTTON */


#language-btn {

    position: fixed;

    top: 20px;

    right: 25px;


    background: #1f6f4a;


    color: white;


    border: 1px solid #22c55e;


    border-radius: 25px;


    padding: 8px 20px;


    font-weight: bold;


    cursor: pointer;


    z-index: 999;


    transition: .2s;

}



#language-btn:hover {

    transform: scale(1.05);

    background: #22c55e;

}



#pt {

    opacity: .4;

}



#en {

    opacity: 1;

}