/* GENERAL */
body {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

/* HEADER */
.header_navbar {
    background: #4F4F4F;
}

.navbar,
.profile {
    max-width: 900px;
    margin: auto;
}

.navbar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.navbar_logo {
    grid-column: 1 / 3;
    align-self: center;
}

.navbar_items {
    grid-column: 3 / -1 ;
    display: flex;
    justify-self: end;
}

.container {
    max-width: 900px;
    margin: auto;
}

.navbar_items li {
    list-style: none;
}

.navbar_items a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    padding: 10px 0 10px 20px;
}

.header_body {
    background: #7800FF;
    color: #fff;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.title, 
.subtitle {
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.title {
    font-size: 38px;
}

.subtitle {
    font-size: 24px;
}

.profile {
    text-align: center;
    padding: 2rem;
}

.profile_picture img {
    border-radius: 50%;
    opacity: .9;
    border: 5px solid #aaa;
}

.profile_footer {
    font-weight: bold;
    font-size: 24px;
    margin: -20px 0 0;
    padding: 0 0 5rem;
}

.profile_footer p {
    line-height: 1.2em;
}

/* MAIN */
.main {
    padding-bottom: 5rem;
}

.main_item {
    grid-column: 2 / 6;
    max-width: 900px;
    margin: auto;
}

.aceleradev p {
    font-size: 1.4em;
    color: #aaa;
    font-weight: 600;
}

.main_item .title {
    margin: 50px 0;
}

/* MAIN - Challenge */
.challenges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr ));
    justify-content: space-between;
    grid-gap: 50px;
}

.card {
    padding: 35px;
    background: #4F4F4F;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    color: #fff;
}

.card a {
    color: #fff;
    font-weight: bold;
}

.card_header {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr 4fr;
    align-items: center;
}

.card_header p {
    display: inline-block;
    font-weight: bold;
    font-size: 1.5em;
}

.module {
    background:#fff;
    display: grid;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    text-align: center;
}

.module_text {
    color: #4F4F4F;
    font-weight: bold;
}

.module_number {
    font-size: 2.5em;
    font-weight: bold;
    color: #4F4F4F;
}

/* FOOTER */
.footer {
    clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
}

.footer_nav {
    background: #7800FF;
    padding: 8rem 2rem .5rem;
}

.navbar-footer {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    max-width: 900px;
    margin: auto;
}

.footer a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.footer-made {
    color: #fff;
    font-weight: bold;
    display: grid;
    justify-content: center;
}

.contact-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
    margin: 0;
}

.contact-list li {
    list-style: none;
    padding: 15px 0 15px 15px;
}

.contact-list svg {
    max-width: 32px;
    max-height: 32px;
}

.footer-made p svg {
    max-width: 16px;
    max-height: 16px;
}

@media (max-width: 920px) {
    .navbar_logo {
        display: none;
    }

    .navbar_items {
        grid-column: 1 / -1;
        justify-self: center;
        padding-left: 0;
    }

    .navbar_items a,
    .navbar-footer a {
        padding: 5px;
    }

    .main_item {
        padding: 20px;
    }

    .navbar-footer {
        justify-content: center;
        flex-direction: column;
    }

    .contact-list li {
        padding: 1px;
    }
}
