/***** Estilos gerais da página *****/

* {
    font-family: 'Lato', Helvetica, sans-serif;
}

body {
    background-color: #F8F9FA;
}

/***** Cabeçalho *****/

.header {
    background-color: #343A40;
    padding-top: 100px;
    padding-bottom: 30px;
}

.header h1 {
    color: #E6E6E6;
    font-size: 30px;
    font-weight: bold;
}

.header p span {
    font-size: 15px;
    color: #0085FC;
    background-color: #fff;
    padding: 5px;
    font-weight: bold;
}

.header img {
    width: 80%;
    height: auto;
    max-width: 90px;
    display: inline-block;
    margin-left: 20px;
    margin-right: 10px;
    margin-bottom: 20px;
    vertical-align: bottom;
    border: 3px solid #fff;
}

.social-media-header {
    margin-left: 20px;
}

/* Flexbox container */

.flexrow {
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.sectionwrap {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: 10px;
    margin-left: 10px;
}

.sectionwrap h1 {
    margin-bottom: 20px;
}

/* Área central (conteúdo) */

.main {
    flex: 40%;
    background-color: #F8F9FA;
}

.main h1 {
    text-align: center;
    font-size: 25px;
    margin-top: 30px;
}

.destaque-azul {
    background-color: #467AFF;
    color: #FFF;
}

.destaque-cinza {
    background-color: #4D4D4D;
    color: #E9ECEF;
}

/* Estilos extras para igualar a altura dos cards e a posição dos botões (seção com cards dos trabalhos na área principal da página) */

.card-fix {
    min-height: 280px;
}

.card-fix a {
    position: absolute;
    bottom: 25px;
}

/* Barra lateral */

.side {
    display: none;
}

.skill-expert {
    color: #28A745;
}

.skill-medio {
    color: #FFC107;
}

.skill-basico {
    color: #343A40;
}

.skill-description {
    font-size: 14px;
}

/* Rodapé */

.footer {
    background-color: #fff;
    padding-top: 40px;
    padding-bottom: 200px;
    text-align: center;
}

.footer p {
    font-size: 15px;
}

#footer-lg {
    display: none;
}

/***** Links como botões *****/

.header a {
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
    background-color: #fff;
    color: #343A40;
    width: 60px;
    height: 60px;
    border-radius: 5px;
}

.header a:hover {
    background-color: #0085FC;
    color: #fff;
}

.footer a {
    text-decoration: none!important;
    padding: 10px;
    font-size: 30px;
    background-color: #343A40;
    color: #fff;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    transition-duration: 0.3s;
}

.footer a:hover {
    background-color: #0085FC;
    color: #fff;
}

/* Estilos dos cards da seção "O que eu faço" */

.col-container {
    display: table;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.col {
    display: table-cell;
}

.destaque-azul, .destaque-cinza {
    padding: 45px;
}

.visual {
    text-align: center;
    vertical-align: middle;
    font-size: 40px;
}

.descricao h1 {
    text-align: left;
    margin-left: 45px;
    font-size: 30px;
}

.descricao p {
    text-align: left;
    font-size: 16px;
}

/***** Estilo modificado para telas médias e grandes *****/

@media only screen and (min-width: 768px) {
    /* Cabeçalho */
    .header img {
        margin-left: 0;
    }
    .header h1, .main h1 {
        font-size: 40px;
    }
    .header p span, .footer p {
        font-size: 20px;
    }
    .header img {
        max-width: 150px;
        margin-left: 60px;
        margin-bottom: 0;
    }
    .social-media-header {
        margin-left: 0;
        margin-top: 0;
    }
    .header a {
        text-decoration: none;
        padding: 10px;
        font-size: 30px;
        background-color: #fff;
        color: #343A40;
        width: 100px;
        height: 100px;
        border-radius: 5px;
        transition-duration: 0.3s;
    }
    /* Área principal */
    .sectionwrap {
        margin-right: 0;
        margin-left: 0;
    }
    .main {
        flex: 70%;
        padding: 20px;
    }
    /* Rodapé */
    #footer-sm {
        display: none;
    }
    #footer-lg {
        display: block;
    }
    .footer a {
        font-size: 15px;
    }
}

/***** Estilo modificado para telas grandes *****/

@media only screen and (min-width: 1111px) {
    /* Mostra a barra lateral em telas grandes */
    .side {
        display: block;
        flex: 30%;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 20px;
        padding-top: 75px;
        background-color: #F8F9FA;
    }
}