/* ==== COLORS ==== */

/*
- Dark Grey: #2A2A28,
- Light Grey: #F5F5F5, 
- Yellow: #FFA304,
*/

/* ==== GLOBAL SETTINGS ==== */

* {
    box-sizing: border-box;
 }
  
 html {
    font-style: normal;
    font-size: 1rem;
 }

 body {
    margin: 0;
    font-family: 'Open Sans', 'Helvetica Neue', 'Arial', sans-serif;
  }

 .clearfix::after {
    content: "";
    display: block;
    clear: both;
 }

 /* ==== GENERAL SETTINGS ==== */

    /* === LINKS === */

    .socialMediaLink {
        font-weight: 700;
        font-size: 2rem;

        color: #F5F5F5;
    }

    .socialMediaLink:link {
        color: #F5F5F5;
    }

    .socialMediaLink:visited {
        color: #F5F5F5;
    }

    .socialMediaLink:active {
        color: #FFA304;
    }

    .socialMediaLink:hover {
        color: #FFA304;
    }

/* ======== HEADER ======== */

    #topSection {
        width: 100%;
        height: 16rem;

        background: #2A2A28;
    }

/* ======== MAIN AREA ======== */

    #mainSection {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 0px 5%;
        width: 100%;
        height: 100%;

        background: #2A2A28;
    }

    #mainSectionBox {
        display: flex;
        flex-direction: row;
        align-items: center;

        width: 100%;
    }

    #profilePicture {
        width: 50rem;
        height: 50rem;
        margin-right: 10%;
    }

    #profilePicture > img {
        width: 100%;
        height: 100%s;
    }

    #profileTitle >h2 {
        padding: 0;
        margin: 0;
        font-weight: 700;
        font-size: 3.75rem;

        color: #FFA304;
    }

    #profileName >h1 {
        padding: 0;
        margin: 0;
        font-weight: 800;
        font-size: 8rem;
        
        color: #FFA304;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    }

    .tags {
        font-weight: 300;
        font-size: 2.5rem;
        color:#F5F5F5;
    }

    .tags > ul {
        display: grid;
        grid-template-columns:repeat(5, auto);
        grid-template-rows: auto;
        grid-gap: 1rem;
        align-items: flex-start;

        padding: 0;
        margin: 0;
        height: 100%;
        width: 100%;
    }

    .tags > ul > li {
        display: inline-block;
    }


/* ======== ABOUT SECTION ======== */

    #aboutText {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        
        padding: 5% 10%;
        width: 100%;
        height: 100%;

        background: #FFA304;

        font-style: normal;
        font-weight: 400;
        font-size: 2rem;

        color: #2A2A28;
    }

    #aboutText p {
        margin: 0.3rem;
    }

/* ======== SOCIAL MEDIA SECTION ======== */

    #socialMedia {
        padding: 5%;
        width: 100%;
        height: 100%;

        background: #2A2A28;
    }

    #socialMedia > ul {
        display: flex;
        flex-direction: row;
        justify-content: space-between;

        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
    }

    #socialMedia >ul >li {
        display: inline-block;
    }

/* ======== COMPETENCIES ======== */

    #competencies {
        display: grid;
        grid-template-columns:repeat(6, auto);
        grid-template-rows: auto;
        grid-gap: 5rem;

        align-items: flex-start;
        justify-items: center;

        padding: 5%;
        width: 100%;
        height: 100%;

        background: #F5F5F5;
    }

    .competenciesBox {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0;
        height: 100%;

        filter: drop-shadow(0px 6px 6px rgba(0, 0, 0, 0.4));
    }

    .competenciesTitle {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 2rem;
        width: 100%;

        background-color: #FFA304;
        border-radius: 20px 20px 0px 0px;
    }

    .competenciesTitle > p {
        font-size: 2rem;
        font-weight: 700;
        text-align: center;

        color: #2A2A28;
    }

    .competenciesContent {
        display: flex;
        flex-direction: column;
        align-items: flex-start;

        padding: 2rem;
        height: 100%;

        background: #FFFFFF;
        border-radius: 0px 0px 20px 20px;
    }

    .competenciesContent > p {
        font-weight: 400;
        font-size: 1.5rem;
        width: 100%;

        color: #2A2A28;
    }

/* ======== FOOTER ======== */

    #footer {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: flex-start;

        padding: 5%;
        width: 100%;
        height: 100%;

        background: #FFA304;
    }

    #footer > p {
        font-weight: 300;
        font-size: 1.5rem;
        text-align: right;

        color: #2A2A28;
    }


/* ======== RESPONSIVE  ======== */

@media (max-width: 3000px) {

    #competencies {
    display: grid;
    grid-template-columns:repeat(3, auto);
    grid-template-rows:repeat(2,auto);
    grid-gap: 3rem;
    }
}

@media (max-width: 2210px) {

    #profileTitle >h2 {
        font-size: 2.5rem;
    }

    #profileName >h1 {
        font-size: 6rem;
    }

    .tags {
        font-size: 2rem;
    }
}

@media (max-width: 1860px) {

    #profilePicture {
        width: 40rem;
        height: 40rem;
    }

    #profileTitle >h2 {
        font-size: 2.34rem;
    }

    #profileName >h1 {
        font-size: 5rem;
    }

    .tags {
        font-size: 1.56rem;
    }

    #aboutText {
        font-size: 1.5rem;
    }

    #socialMedia {
        padding: 5%;
    }

    .socialMediaLink {
        font-size: 1.75rem;
    }

    .competenciesTitle > p {
        font-size: 1.75rem;
    }

    .competenciesContent > p {
        font-size: 1.5rem;
    }

    #footer > p {
        font-size: 1.25rem;
    }
}

@media (max-width: 1510px) {
    
    #profileTitle >h2 {
        font-size: 2.1rem;
    }

    #profileName >h1 {
        font-size: 4.5rem;
    }

    .tags {
        font-size: 1.4rem;
    }
}

@media (max-width: 1440px) {

    #profilePicture {
        width: 32rem;
        height: 32rem;
    }
}

@media (max-width: 1280px) {
    
    #profileTitle >h2 {
        font-size: 1.875rem;
    }

    #profileName >h1 {
        font-size: 4rem;
    }

    .tags {
        font-size: 1.25rem;
    }

    #competencies {
        display: grid;
        grid-template-columns:repeat(2, auto);
        grid-template-rows:repeat(3,auto);
        grid-gap: 2.5rem;
    }
}

@media (max-width: 1201px) {

    #profilePicture {
        width: 30rem;
        height: 30rem;
        margin-right: 5%;
    }

    #profileTitle >h2 {
        font-size: 1.59rem;
    }

    #profileName >h1 {
        font-size: 3.4rem;
    }

    .tags {
        font-size: 1.06rem;
    }
}

@media (max-width: 1024px) {

    #topSection {
        height: 4rem;
    }

    #mainSection {
        padding: 0px 10%;
    }
  
    #mainSectionBox {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    #profileContent {
        display: flex;
        flex-direction: column;
        align-items: center;

        padding: 0px;
        width: 100%;
        height: 100%;
    }

    #profilePicture {
        flex-direction: column;
        align-items: center;
        margin-right: 0rem;

        width: 50rem;
        height: 50rem;
    }

    #profileTitle >h2 {
        font-size: 2.1rem;
        text-align: center;
    }

    #profileName >h1 {
        font-size: 4.5rem;
        text-align: center;
    }

    .tags {
        font-size: 1.4rem;
    }

    #aboutText {
        padding: 10%;
    }

    #competencies {
        display: grid;
        grid-template-columns:repeat(1, auto);
        grid-template-rows:repeat(6,auto);
        grid-gap: 3rem;
    }

    #socialMedia {
        padding: 10%;
    }

    #footer {
        padding: 5% 10%;
    }
}

@media (max-width: 900px) {

    #profilePicture {
        width: 45rem;
        height: 45rem;
    }
}

@media (max-width: 790px) {

    #profilePicture {
        width: 40rem;
        height: 40rem;
    }
}

@media (max-width: 670px) {

    #profileTitle >h2 {
        font-size: 1.59rem;
    }

    #profileName >h1 {
        font-size: 3.4rem;
    }

    .tags {
        font-size: 1.06rem;
    }

    #profilePicture {
        width: 30rem;
        height: 30rem;
    }

    #aboutText {
        font-size: 1.2rem;
    }

    #socialMedia > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        gap: 4rem;
    }

    .socialMediaLink {
        font-size: 1.4rem;
    }

    .competenciesTitle > p {
        font-size: 1.5rem;
    }

    .competenciesContent > p {
        font-size: 1.2rem;
    }

    #footer {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        
        padding: 5% 10%;
        gap: 1rem;
    }

    #footer > p {
        font-size: 1rem;
        text-align: center;
    }
}

@media (max-width: 500px) {
   
    #profilePicture {
        width: 25rem;
        height: 25rem;
    }
}

@media (max-width: 410px) {
   
    #profilePicture {
        width: 20rem;
        height: 20rem;
    }

    .tags {
        font-size: 0.8rem;
    }
}