/* ******************** GLOBAL *********************/
:root {
    --bg-footer: #e1ebff;

    --secondary-color-web: #a8b0ff;
    --secondary-color-software: #eea8ff;
    --secondary-color-game: #a8ffb4;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    appearance: none;
    list-style: none;
    text-decoration: none;
}


body {
    background-color: white;
    font-family: sans-serif;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    padding: 30px 10px 20px 10px;
}

footer {
    background-color: var(--bg-footer);
    width: 100%;
    height: 70px;
    transition: height 0.3s ease;
    -webkit-box-shadow: 0px -10px 20px -18px rgba(0,0,0,0.19);
    -moz-box-shadow: 0px -10px 20px -18px rgba(0,0,0,0.19);
    box-shadow: 0px -10px 20px -18px rgba(0,0,0,0.19);
}

@media screen and (min-width: 800px) {
    footer {
        height: 80px;
    }
}


/*********************** PROJECTS ************************/
h1 {
    color: #2457be;
    font-size: 1.8rem;
    margin-bottom: 18px;
}

.project-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    justify-items: center;
}

.project .card-container {
    background-color: white;
    border-radius: 10px;
    height: 100%;
    width: 290px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 10px -3px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 10px -3px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 10px -3px rgba(0,0,0,0.3);
    cursor: pointer;
}

.project .card-container:hover {
    transform: scale(1.02);
}

.project .card-container .header-container {
    width: 100%;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
}

.header-container h2 {
    font-size: 1.65rem;
    color: black;
}

.web-project {
    background-color: var(--secondary-color-web);
}

.software-project {
    background-color: var(--secondary-color-software);
}

.game-project {
    background-color: var(--secondary-color-game);
}

.header-container h2 {
    text-align: center;
}

.project .card-container .text-container {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 16px 15px;
}

.text-container .summary {
    color: #444444;
    font-size: 1rem;
}


@media screen and (min-width: 650px) {
    main {
        padding: 40px 10px 30px 10px;
    }

    h1 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .project-container {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}


@media screen and (min-width: 980px) {
    .project-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px;
    }
}

/************************ NAVBAR **************************/
.nav-links {
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 15px 5px 10px 5px;
}

.nav-links a:hover {
    color: rgb(0, 60, 213);
}


/************************* FOOTER **************************/
.footer-container {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 10px 20px;
    transition: gap 0.3s ease;
    margin: auto;
}

.social-icons i {
    scale: 1.6;
    transition: scale 0.3s ease;
    cursor: pointer;
}

.copyright {
    color: black;
    font-size: 0.7rem;
    margin-bottom: 2px;
}

@media screen and (min-width: 800px) {
    .social-icons {
        gap: 30px;
    }

    .social-icons i {
        scale: 1.8;
    }

    .copyright {
        font-size: 0.8rem;
    }
}



