@font-face {
    font-family: Galyon-Regular;
    src: url("../fonts/Galyon-Regular.otf") format("opentype");
}
@font-face {
    font-family: Galyon-Italic;
    src: url("../fonts/Galyon-Italic.otf") format("opentype");
}
@font-face {
    font-family: Galyon-Bold;
    src: url("../fonts/Galyon-Bold.otf") format("opentype");
}
:root {
	--galyon-regular: "Galyon-Regular";
	--galyon-italic: "Galyon-Italic";
	--galyon-bold: "Galyon-Bold";
    --blue:rgb(25,63,89);
    --green: #009055;
    --light: #e9ecef;
    --gray: #adb5bd;
    --bg-footer: rgba(0,0,0,.85);
}
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    position: relative;
}
h1, h2, h3 {
    font-family: var(--galyon-bold);
}
h5 {
    font-family: var(--galyon-italic);
}
p, li {
    font-family: var(--galyon-regular);
}
/* HEADER */
/* ================================================ */
#blogHeader div {
    padding: 20px 50px;
}
#blogHeader div img {
    height: 10vh;
}
/* WHATSAPP-ICON */
/* ================================================ */
#whatsapp-icon {
    position: fixed;
    bottom: 5vh;
    right: 2.5vw;
    border-radius: 12%;
    background-color: white;
    box-shadow: 2px 2px 5px black;
    transition: all .3s ease-in-out;
    width: 60px;
    height: 60px;
    z-index: 1;
}
#whatsapp-icon:hover {
    box-shadow: none;
}
#whatsapp-icon svg {
    width: 60px;
    height: 60px;
    fill: var(--green);
}
/* SUBTITLE */
/* ================================================ */
#bgSection {
    background-repeat: no-repeat; 
    background-size: cover; 
    background-position: 0 40%; 
    height: 45vh;
}
#subtitle {
    margin: -50px 0 0 50px;
    width: fit-content;
}
#subtitle h1 {
    background-color: var(--blue);
    color: white;
    padding: 30px 20px 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-bottom: 10px solid var(--green);
    border-right: 10px solid var(--green);
    font-size: 2.5em;
}
/* BLOG */
/* ================================================ */
#main {
    display: grid;
    grid-template-columns: auto auto 30%;
    column-gap: 20px;
    padding: 50px;
}
#contactIcons {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contactIcons a {
    display: inline-block;
    border-bottom: 1px solid var(--light);
    padding: 10px 0;
}
#contactIcons a:first-of-type {
    border-top: 1px solid var(--light);
}
#contactIcons svg {
    width: 24px;
    height: 24px;
}
#contactIcons a:hover svg {
    fill: var(--green);
}
#article {
    max-width: 900px;
    margin: auto;
}
#article header {
    background-color: whitesmoke;
    padding: 50px 20px 10px;
}
#article h1 {
    letter-spacing: 2px;
}
#article p, #article li {
    color: rgb(50,50,50);
    line-height: 30px;
    margin-top: 20px;
}
#article h5 {
    margin-top: 5px;
}
#article h5:first-of-type {
    margin-top: 20px;
}
#article h5 span {
    font-weight: normal;
}
#article ul {
    list-style: circle;
    list-style-position: inside;
    margin: 40px 0;
}
#article li {
    margin-left: 20px;
}
#article li:first-of-type {
    margin-top: 20px;
}
#article li:last-of-type {
    margin-bottom: 20px;
}
#article .content {
    margin: 40px 20px 20px;
}
#profile {
    margin: 60px auto;
    padding: 30px 0;
    display: grid;
    grid-template-columns: 30% auto;
    border-top: 1px solid var(--light);
    border-bottom: 1px solid var(--light);
    max-width: 900px;
}
#profile-img {
    border-radius: 50%;
    border: 1px solid whitesmoke;
    width: 120px;
    height: 120px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 auto;
}
#profile-content {
    padding: 0 30px;
    margin-left: 30px;
}
#profile-content h3 span {
    color: var(--gray);
}
#profile-content h3:nth-child(2) {
    margin: 10px 0 20px;
}
#arrows h3 {
    border-bottom: 1px solid var(--light);
}
#arrows #content {
    display: grid;
    grid-template-columns: 50% 50%;
    column-gap: 20px;
    margin-top: 20px;
}
#arrows #content > div:last-of-type {
    margin-left: auto;
}
#arrows #content > div a {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    text-decoration: none;
}
#arrows #content > div a > p, #arrows #content > div a > svg {
    fill: var(--gray);
    transition: .2s ease-in;
}
#arrows #content > div a:hover > p {
    color: var(--green) !important;
}
#arrows #content > div a:hover svg {
    fill: var(--green);
    width: 45px;
    height: 45px;
}
#arrows > div p {
    margin-top: 0 !important;
    line-height: normal !important;
    font-size: small !important;
    color: var(--gray) !important;
}
#arrows #content > div p::first-letter {
    text-transform: uppercase;
}
#arrows #content svg {
    width: 40px;
    height: 40px;
}
#aside {
    background-color: var(--blue);
    box-shadow: 2px 2px 5px;
    padding: 50px 20px;
    height: fit-content;
}
#aside h2::before {
    content: 'Leia Também';
}
#aside h2 {
    color: var(--green);
}
#aside ul {
    list-style: none;
}
#aside li {
    border-bottom: 1px dotted white;
}
#aside li:first-of-type {
    margin-top: 10px;
    border-top: 1px dotted white;
}
#aside a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 10px;
    padding-left: 15px;
    position: relative;
    font-size: large;
    line-height: 30px;
}
#aside a::first-letter {
    text-transform: uppercase;
}
#aside a::before {
    content: '\bb \20';
    color: transparent;
    position: absolute;
    left: 0;
}
#aside a, #aside a::before {
    transition: .2s ease-in;
}
#aside a:hover, #aside a:hover::before {
    color: var(--green);
}
/* CONTACT BANNER */
/* ================================================ */
#contact {
    background-color: var(--light);
    padding: 100px 50px;
    text-align: center;
    margin-top: 50px;
}
#contact p {
    text-align: center !important;
    margin-top: 10px;
}
#contact div {
    margin: 40px auto 0;
    max-width: 900px;
    display: flex;
    justify-content: center;
}
#contact a {
    display: inline-block;
    text-transform: uppercase;
    padding: 20px;
    min-width: 150px;
    margin: 0 10px;
    background-color: var(--blue);
    color: white;
    text-decoration: none;
    font-family: var(--galyon-regular);
    cursor: pointer;
    box-shadow: 2px 2px 5px black;
    transition: .2s ease-in;
}
#contact a:hover {
    box-shadow: none;
}
#contact a:first-of-type {
    background-color: var(--green);
}
/* FOOTER */
/* ================================================ */
#blogFooter {
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 10px;
    padding: 50px;
    background-color: var(--bg-footer);
}
#blogFooter p, #blogFooter address {
    color: white;
}
#blogFooter > div:first-of-type > div {
    display: flex;
}
#blogFooter > div:first-of-type > div p {
    margin-left: 10px;
}
#blogFooter > div:first-of-type > :nth-child(2) {
    margin: 10px 0;
}
#blogFooter > :nth-child(2) {
    margin: auto;
}
#blogFooter > :nth-child(2) * {
    color: white;
}
#blogFooter > :nth-child(3) {
    margin-left: auto;
}
#blogFooter > :nth-child(3) a {
    text-decoration: none;
}
#blogFooter > div:last-of-type > p:last-of-type {
    text-align: right;
    margin-top: 10px;
}
#blogFooter > div:last-of-type > p:last-of-type > :nth-child(2) {
    margin: 0 10px;
}
#blogFooter div:first-of-type svg {
    width: 25px;
    height: 25px;
}
#blogFooter div:last-of-type a svg {
    width: 40px;
    height: 40px;
}
#blogFooter svg path {
    fill: white;
}
#blogFooter div:last-of-type a:hover path {
    fill: var(--green);
}
#end {
    display: flex;
    justify-content: space-between;
    padding: 10px 50px;
    background-color: var(--blue);
}
#end p, #end p > * {
    font-size: small;
    color: white;
    text-decoration: none;
}

@media only screen and (max-width: 740px) {
    #main {
        grid-template-columns: none;
        grid-template-rows: auto auto auto;
    }
    #contactIcons {
        flex-direction: row;
    }
    #contactIcons a {
        border-bottom: none;
        border-right: 1px solid var(--light);
        padding: 0 10px;
    }
    #contactIcons a:first-of-type {
        border-top: none;
        border-left: 1px solid var(--light);
    }
    #aside {
        margin-top: 30px;
    }
    #aside h2::before {
        content: 'Mais';
    }
    #blogFooter {
        grid-template-columns: none;
        grid-template-rows: auto auto auto;
    }
    #blogFooter > * {
        margin: 50px auto 0 !important;
    }
    #blogFooter > div:first-of-type > * {
        margin-top: 25px;
    }
    #blogFooter > div:first-of-type > div:last-of-type {
        justify-content: center;
    }
}
@media screen and (max-width: 500px){
    #blogHeader div img {
        height: 7vh;
    }
    #subtitle h1 {
        font-size: 1.4em;
    }
    #main {
        padding: 50px 0 0;
    }
    #contactIcons {
        margin-left: 15px;
    }
    #article p, #article li {
        margin-top: 15px;
        font-size: .95em;
    }
    #article ul {
        margin: 20px 0;
    }
    #article li {
        margin-left: 10px;
    }
    #profile {
        grid-template-columns: none;
        grid-template-rows: auto auto;
    }
    #profile-img {
        background-color: white;
        margin-top: -80px;
    }
    #profile-content {
        margin: 10px 0 0;
    }
    #arrows {
        padding: 0 20px;
    }
    #arrows #content {
        grid-template-columns: 49% 49%;
        column-gap: 0;
    }
    #arrows #content svg {
        width: 25px;
        height: 25px;
    }
    #arrows > div p {
        font-size: x-small !important;
    }
    #contact {
        margin-top: 0;
        padding-top: 150px;
    }
    #blogFooter {
        padding: 50px 10px 80px;
    }
    #end {
        flex-direction: column;
        align-items: center;
        font-size: x-small;
        padding: 10px;
    }
}
@media only screen and (max-width: 370px) {
    #contact div {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }
    #contact div a:last-of-type {
        margin-top: 10px;
    }
}