@import url('https://fonts.googleapis.com/css2?family=Bitcount+Grid+Single:wght@100..900&family=Fredoka:wght@300..700&display=swap');

html {
    --dark: #A62639;
    --red: #DB324D;
    --bg: #511C29;
    --gray: #A29C9B;
    --dark-gray: #202020;
    --black: #111111;
}

body {
    margin: 0;
    background-color: var(--black);
    height: 100dvh;
}

* {
    font-family: "Fredoka";
    font-weight: normal;
    margin: 0;
}

.emphasis {
    position: relative;
    color: white;
}

.emphasis::before {
    content: "respect";
    color: transparent;
    position: absolute;
    margin: unset;
    top: 0;
    left: 0;
    background-color: var(--red);
    transform: translateY(25%);
    z-index: -1;
}

.hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 50%;
    padding: 2rem;
    margin-top: 3rem;
    box-sizing: border-box;
}

.hero .left {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 5%;
    padding-top: 0;
    width: 50%;
    box-sizing: border-box;
    gap: 1rem;
}

.hero .left h1 {
    font-size: 6rem;
    color: var(--red);
    line-height: 90%;
}

.hero .left p {
    width: 75%;
    font-size: 1.5rem;
    color: white;
    margin-top: 1rem;
}

.hero .left .buttons {
    display: flex;
    gap: 2rem;
    width: 100%;
    margin: 1rem 0;
}

.hero .left .buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    width: 100%;
    padding: 1.5rem 2rem;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: var(--red);
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
}

.hero .left .buttons .github {
    background-color: white;
    color: black;
}

.hero .left .buttons .github img {
    height: 2rem;
    aspect-ratio: 1/1;
}

.hero .right {
    display: flex;
    align-items: center;
    justify-content: right;
    height: 100%;
    width: 50%;
    margin-right: 5rem;
}

.hero .right .terminal {
    width: 90%;
    height: 90%;
    padding: 2rem;
    box-sizing: border-box;
    background-color: #202020;
    border-radius: 2rem;
}

.hero .right .terminal .command {
    font-family: "Bitcount Grid Single", sans-serif;
    color: green;
    font-size: 1.3rem;
    width: 100%;
    padding-bottom: 1rem;
    border-bottom: 2px solid #303030;
}

.hero .right .terminal .response {
    font-family: "Bitcount Grid Single", sans-serif;
    color: white;
    font-size: 1.3rem;
    width: 100%;
    padding-top: 1rem;
    margin-left: 1rem;
}

.projects {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 15%;
    padding-right: 5%;
    background-color: #161616;
    color: white;
}

.projects .project {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.projects .project > img {
    width: 60%;
    border-radius: 1rem;

}

.projects .project .project_data .project_title {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--dark-gray);
}

.projects .project .project_data .project_title .featured {
    color: var(--red);
}

.projects .project .project_data .project_title h1 {
    font-size: 3rem;
}

.projects .project .project_data .project_title p {
    font-size: 1.2rem;
}

.projects .project .project_data .project_information {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.projects .project .project_data .project_information .cards {
    display: flex;
    gap: 1rem;
}

.projects .project .project_data .project_information .cards .card {
    background-color: var(--dark);
    border-radius: 5px;
    padding: .5rem 1rem;
}

.projects .project .project_data .project_information .buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.projects .project .project_data .project_information .buttons a {
    display: flex;
    justify-content: center;
    gap: 1rem;

    width: 100%;
    padding: 1.5rem 2rem;
    border-radius: 5px;
    box-sizing: border-box;
    background-color: var(--dark);
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    align-items: center;
}

.projects .project .project_data .project_information .buttons .github {
    background-color: white;
    color: black;
}

.projects .project .project_data .project_information .buttons .github img {
    height: 2rem;
    width: 2rem;
    aspect-ratio: 1/1;
}

.infos {
    position: relative;
    display: flex;
    gap: 1rem;
    padding: 4rem 10%;
    padding-bottom: 7rem;
    margin-bottom: 3rem;
    border-top: 2px solid var(--dark);
}

.infos .info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: white;
    padding: 0 2rem;
}

.infos .info p {
    color: gray;
}

@media(max-width: 700px) {
    .hero {
        flex-direction: column;
        width: 100% !important;
        height: fit-content !important;
    }

    .hero > div {
        width: 100% !important;
    }

    .projects .project {
        flex-direction: column;
    }

    .infos {
        flex-direction: column;
    }
}