/* PADROES */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1C1C1C;
    font-family: "Roboto", sans-serif;
}

h2 {
    font-family: "Anta", sans-serif;
    color: #F7E018;
}

p,
ul {
    color: #8b8b8b;
    font-size: 16px;
    list-style: none;
}

a {
    text-decoration: none;
}

span {
    border: 1.5px solid #F7E018;
    color: #e4e4e4;
    border-radius: 20px;
    font-family: "Anta", sans-serif;
    padding: 10px;
}

span a {
    color: #e4e4e4;
}


span:hover {
    background-color: #3F3F46;
}

/* NAV */

#nav {
    background-color: #18181B;
    padding: 20px;
    text-align: center;
    font-family: "Anta", sans-serif;
}

#nav_menu li {
    display: inline-flex;
    margin: 0 10px;
}

#nav_menu li a {
    color: #e4e4e4;
}

#nav_menu li a:hover {
    color: #F7E018;
}

/* HEADER */

#header {
    padding: 70px 100px 30px;
    text-align: center;
}

#header strong {
    background-color: #F7E018;
    color: #18181B;
    border-radius: 3px;
    font-weight: bolder;
}

#header h1 {
    font-size: 40px;
    color: #e4e4e4;
    margin: 20px auto;
}

#header h2 {
    font-weight: lighter;
    font-size: 15px;
}

#header p {
    width: 700px;
    line-height: 20px;
    margin: auto;
}

@media screen and (max-width:1000px) {
    #header {
        padding: 70px auto 30px auto;
    }

    #header p {
        width: auto;
    }
}

@media screen and (max-width:700px) {
    #header h1 {
        font-size: 30px;
    }

    #header {
        padding: 70px 50px 30px;
    }
}


/* DESAFIO */
#desafio {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#desafio strong {
    font-family: "Anta", sans-serif;
}

#goal-block,
#how-works-block,
#structure-block {
    width: 350px;
    height: 350px;
    border-radius: 10px;
    margin: 40px 30px;
    padding: 30px;
    background-color: #3F3F46;
    box-shadow: 0px 7px 38px 22px #1a1a1a;
    line-height: 27px;
}

@media screen and (max-width:400px) {

    #goal-block,
    #how-works-block,
    #structure-block {
        height: 400px;
    }
}


/* PROJETOS */

#projetos {
    text-align: center;
    margin: 50px;
}

#projetos p {
    margin: 10px auto;
    max-width: 1000px;
}

#projetos p:nth-child(3) {
    margin-bottom: 40px;
}

#projetos span {
    margin: 50px auto;
    cursor: default;
}

#block-projects {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.block-projects_card {
    height: 200px;
    width: 900px;
    border-radius: 10px;
    background-color: #3F3F46;
    margin: 50px auto;
}

.block-projects_card_image {
    height: 100%;
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.block-projects_card_image.left {
    float: left;
}

.block-projects_card_image.right {
    float: right;
}

.block-projects_card_image img {
    width: 100%;
    border-radius: 10px;
}

.block-projects_card_image.left img {
    margin-left: 20px;
}

.block-projects_card_image.right img {
    margin-right: 20px;
}

.block-projects_card_title {
    height: 100%;
    width: 60%;
    padding: 20px;
}

.block-projects_card_title.right {
    float: right;
}

.block-projects_card_title.left {
    float: left;
}

@media screen and (max-width:1000px) {

    .block-projects_card {
        height: 400px;
        width: 500px;
    }

    .block-projects_card_title,
    .block-projects_card_image {
        width: 100%;
    }

    .block-projects_card_title {
        height: 200px;
    }

    .block-projects_card_image {
        height: 200px;
    }

    .block-projects_card_image img {
        height: 200px;
        width: auto;
        border-radius: 0 0 10px 10px;
    }

    .block-projects_card_image.left img {
        margin-left: 0;
    }
    
    .block-projects_card_image.right img {
        margin-right: 0;
    }

    .block-projects_card_title,
    .block-projects_card_title.left,
    .block-projects_card_title.right,
    .block-projects_card_image,
    .block-projects_card_image.left,
    .block-projects_card_image.right,
    .block-projects_card_image img {
        float: left;
    }

}

@media screen and (max-width:650px) {

    .block-projects_card {
        height: 550px;
        width: 300px;
    }

    .block-projects_card_title {
        height: 300px;
    }

    .block-projects_card_image {
        height: 200px;
    }

    .block-projects_card_image img {
        width: 300px;
        height: auto;
        margin-left: 0;
        border-radius: 0;
    }

    #projetos .block-projects_card_title span {
        display: block;
        margin: 10px;
    }
}

/* SOBRE */
#sobre {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 100px;
}

#about_image img {
    height: 300px;
    margin: auto 70px auto 100px;
    border-radius: 10px;
    box-shadow: 0px 7px 38px 22px #1a1a1a;
}

#about h2 {
    font-weight: lighter;
    font-size: 15px;
}

#about h3 {
    color: #e4e4e4;
    font-size: 40px;
}

#about p {
    margin-bottom: 30px;
}

#about span {
    margin: auto 10px 10px 0;
}

#social {
    display: flex;
    justify-content: left;
    align-items: center;
    flex-wrap: wrap;
}


@media screen and (max-width:1000px) {
    #about_image img {
        margin: auto 40px auto 0px;
        height: 200px;
    }

    #about h3 {
        font-size: 30px;
    }

    #sobre {
        padding: 0 50px;
    }
}

@media screen and (max-width:650px) {
    #sobre {
        padding: 0 30px;
    }

    #about_image {
        display: none;
    }

    #about {
        width: 100%;
    }
}

/* RODAPE */
#footer {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #18181B;
    padding: 20px;
    font-family: "Anta", sans-serif;
    margin-top: 30px;
}

#footer p {
    color: #e4e4e4;
    text-align: center;
}