/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* 
MAIN COLOR: #087f5b
GREY COLOR: #343a40
*/

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

/* ------------------------ */
/* GENERAL STYLES */
/* ------------------------ */
body {
    border-bottom: 10px solid #087f5b;
    position: relative;
}

.container {
    font-family: "Poppins";
    width: 1000px;
    margin: 0 auto;
}

.profile,
.profile-top {
    margin-bottom: 30px;
}

.container h2 {
    margin-bottom: 48px;
    font-size: 36px;
    letter-spacing: -0.5px;
    /* 24 / 30 / 36 */
}

.container h4 {
    margin-bottom: 20px;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 80px;
}

.btn:link,
.btn:visited {
    background-color: #087f5b;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;

    display: inline-block;
    border-radius: 100px;
}

.btn:hover,
.btn:active {
    background-color: #099268;
}

.btn--big {
    font-size: 18px;
    padding: 16px 32px;
}

.btn--small {
    font-size: 14px;
    padding: 8px 12px;
}

.container img {
    border-radius: 12px;
}

/* ------------------------ */
/* COMPONENT STYLES */
/* ------------------------ */

/* HEADER */
.profile {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0px;
}

.profile .profile-top {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    row-gap: 20px;
}

.profile .profile-top img {
    width: 20%;
    overflow: hidden;
    border-radius: 100%;
    /* -webkit-filter: grayscale(100%); /* Safari 6.0 - 9.0 */
    /* filter: grayscale(100%); */
}

.profile .profile-top h5 {
    color: #58696a;
    font-family: "Sofia";
}

.profile img {
    width: 40%;
}

section .about-details {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
}

section .about-details img {
    width: 300px;
    opacity: 0.5;
}

.container h1 {
    margin-bottom: 10px;
    font-size: 44px;
    font-family: "Sofia";
    line-height: 1.1;
    letter-spacing: -1px;
    /* 44 / 52 / 62 */

    /* text-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); */
}

.container h3 {
    margin-bottom: 16px;
    font-size: 20px;
    font-family: "Sofia";
    font-weight: bold;
}

.container h4 {
    font-family: "Sofia";
    font-weight: bold;
}

.profile-text,
.section-text {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.7;
    color: #58696a;
    font-family: "Questrial";
}

.container footer {
    margin-top: 80px;
    margin-bottom: 48px;
    font-size: 14px;
    color: #495057;
    text-align: center;
}

/* ------------------------ */
/* SOCIAL MEDIA LINK STYLES */
/* ------------------------ */
.fa {
    padding: 10px;
    font-size: 20px;
    width: 40px;
    text-align: center;
    text-decoration: none;
}

/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
}

.fa-linkedin {
    background: #007bb5;
    color: white;
}

/* ------------------------ */
/* SIDEBAR STYLES */
/* ------------------------ */

header {
    display: grid;
    justify-items: end;
    padding: 20px 0px;
}

nav {
    font-family: 'Poppins', sans-serif;
}

nav a:link {
    margin-right: 30px;
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav a {
    color: black;
}

nav a:hover {
    color: #58696a;
    text-decoration:underline;
}

nav a:link:last-child {
    margin-right: 0;
}