@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400&display=swap");

/* GENERAL ====================================== */
* {
    padding: 0;
    margin: 0;

    box-sizing: border-box;

    font-family: "Poppins", sans-serif;
    font-weight: 200;
}

.bold {
    font-weight: 400;
}
/*
|
|
=============== H E A D E R ===============
|
|
*/
header {
    background-color: #292b41;
    color: #dfdad8;

    height: 5vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 1.5rem;
}

header .container {
    background-color: #292b41;

    position: fixed;

    height: 3rem;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

/* PHOTO AND LOGO WHEN ON DESKETOP OR LARGER SCREENS */
header .photo {
    font-size: 1.1rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

header .photo img {
    margin: 0 0.5rem;
    width: 2rem;
}

/* MENU */
header .nav-bar {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 50%;
}

header .nav-bar ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
}

header .menu-itens {
    display: flex;

    margin: 0 1rem;
}

header .menu-itens-link {
    text-decoration: none;

    font-size: 1.1rem;

    color: #dfdad8;
}

header .menu-itens-link:hover {
    background-color: #dfdad8;
    color: #292b41;

    border-radius: 0.2rem;

    font-weight: 400;
}

/* SOCIAL MEDIA ICONS */
header .social-media {
    display: flex;
    align-items: center;

    color: #dfdad8;
}

header .social-media-link {
    color: #dfdad8;

    display: flex;
    margin: 0 0.3rem;

    text-decoration: none;

    font-size: 1.6rem;
}

header .social-media-link:hover {
    transform: scale(1.2);
}

/*  MOBILE MENU ICON */
header .mobile-menu-icon {
    display: none;
    align-items: center;

    padding-top: 0.3rem;
}

header .mobile-menu-icon button {
    border: none;

    background-color: transparent;

    cursor: pointer;
}

header .mobile-menu-icon img {
    width: 1rem;
}

/* MOBILE MENU */
header .mobile-menu {
    display: none;
}
/*
|
|
=============== M A I N ===============
|
|
*/
main {
    background-color: #292b41;
    background-image: url("/images/logo-background.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;

    display: flex;
    justify-content: center;
    height: 95vh;

    color: #dfdad8;
}

main .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* LOGO AND NAME */
main .logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

main .logo img {
    width: 25rem;
}

main .name {
    font-size: 3rem;
    letter-spacing: 0.5rem;

    padding-top: 1rem;
}

main .web-developer {
    font-size: 1.3rem;
    letter-spacing: 0.5rem;
}

/* TEXT */
main .text {
    font-size: 1.4rem;
    padding: 3rem;
    text-align: center;
}

/* DOWNLOAD CV */
main a {
    display: none;

    font-size: 1.3rem;

    text-decoration: none;

    background-color: #dfdad8;
    color: #292b41;

    border-radius: 0.4rem;

    padding: 0 1.5rem;
}

main a:hover {
    transform: scale(1.2);
}
/*
|
|
=============== P R O J E C T S ===============
|
|
*/
.projects {
    background-color: #dfdad8;
    color: #292b41;

    padding-top: 6vh;

    padding-bottom: 6vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.projects h1 {
    font-size: 5rem;
    padding-bottom: 2rem;
}

.projects .container {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    justify-items: center;

    gap: 1rem;
}

.projects .card {
    background-color: rgba(255, 255, 255, 0.3);
    color: #292b41;

    width: 500px;
    height: 500px;

    border-radius: 0.7rem;

    display: grid;
    align-items: center;
    justify-items: center;

    text-align: center;
}

.projects .card:hover {
    box-shadow: #b6b6b6 0rem 0rem 1rem;
}

.project .card p {
    color: #292b41;
    padding: 0 5rem;
}

.projects a {
    background-color: #292b41;
    color: #dfdad8;

    text-decoration: none;

    padding: 0.5rem;
    border-radius: 0.3rem;

    margin: 0 1rem;
}

.projects a:hover {
    font-weight: 400;
}
/*
|
|
=============== A B O U T   M E ===============
|
|
*/
.about-me {
    background-color: #292b41;
    background-image: url("/images/logo-background.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;

    color: #dfdad8;

    padding-top: 6vh;

    padding-bottom: 6vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.about-me h1 {
    font-size: 5rem;
    padding-bottom: 2rem;
}

.about-me .container {
    width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.about-me .mt {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 500px;
}

.about-me .mt h3 {
    padding: 1rem;
    font-size: 2rem;
}

.about-me .title {
    font-size: 1.3rem;
}

.about-me .photo {
    background-color: rgba(255, 255, 255, 0.2);

    display: flex;
    align-items: baseline;
    justify-content: center;

    border-radius: 1rem;
}

.about-me .name {
    padding-top: 1rem;
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
}

.about-me .web-developer {
    letter-spacing: 0.2rem;
}

.about-me .skills {
    display: flex;
    flex-direction: column;
}

.about-me .skills ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    text-align: center;

    list-style: none;

    padding: 0.5rem 0.3rem;
}

.about-me .skills li {
    padding: 1rem 0;
}

.about-me .skills i {
    padding: 0 1.5rem;
    font-size: 2rem;
}

.about-me .skills li:hover {
    transform: scale(1.2);
}

.about-me .text {
    display: flex;
    flex-direction: column;
    justify-content: start;
    width: 500px;
}

.about-me .text h3 {
    padding: 1rem 0;
    font-size: 2rem;
}

.about-me .description {
    text-align: justify;
}

.about-me ul {
    padding: 0 3rem;
}
/*
|
|
=============== C O N T A C T S ===============
|
|
*/
.contacts {
    background-color: #dfdad8;
    color: #292b41;

    padding-top: 6vh;

    padding-bottom: 6vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
}

.contacts .container {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}
.contacts h1 {
    text-align: center;
    font-size: 5rem;
    padding-bottom: 2rem;
}

.contacts .text {
    padding-bottom: 2rem;
}

.contacts h3 {
    font-size: 1.5rem;
}

.contacts .link {
    text-decoration: none;
    color: #292b41;
    font-size: 1.2rem;
}

.contacts .link:hover {
    text-decoration: underline;
}

.contacts p {
    font-size: 1.2rem;
}

.contacts .matorrestech {
    font-size: 1.2rem;
}

.contacts .social-media a {
    color: #292b41;
}

.contacts .social-media i:hover {
    transform: scale(1.2);
}
/*
|       
|
=============== F O O T E R ===============
|
|
*/
footer {
    background-color: #292b41;
    color: #dfdad8;

    text-align: center;

    padding: 0.5rem;
}
