
html
{
    font-size: 62.5%;
}

body
{
    margin: 0;
    font-family:'poppins';
    background-color: rgba(229, 229, 203, 100%);
}

.wrapper
{
    max-width: 1200px;
    margin: 0 auto;    
}

/* NavBar */

header
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav
{
    margin: 4em;
}

nav ul
{
    list-style-type: none;
    display: flex;
    gap: 6.6em;
    margin: 0;
}

nav ul li a
{
    text-decoration: none;
    color: black;
    text-transform: capitalize;
    font-size: 1.5rem;
    position: relative;
}

nav a.active::before
{
    position: absolute;
    content: "";
    width: 85%;
    height: 1px;
    border-bottom: 2px solid black;
    bottom: -1px; 
}

nav ul li a::before
{
    position: absolute;
    content: "";
    width:0%;
    height: 1px;
    border-bottom: 2px solid rgb(138, 135, 135);
    bottom: -1px; 
    transition: width .8s;
}

nav ul li a:hover::before
{
    width: 85%;
}

/*Header*/

main{
    display: flex;
    gap: 11em;
    margin-top: 1em;
    
}

.right-col
{
    padding: 2.8em 5.1em;
    background-color: rgb(217, 217, 217);
}

h1, h2, h3, p
{
    margin: 0;
}

.title{
    margin-bottom: 2.1em;
}

.title h1
{
    font-size:2.5rem;
    font-weight: 40em;
}

.title p
{
    font-size: 1.7rem;
    font-weight: 50em;
}

.descriptive-text
{
    font-size: 1.6rem;
    font-weight: 40em;
    margin-bottom: 1.2em;
}

.exp-section
{
    margin-bottom: 3.7em;
}

.exp-section h1
{
    color: rgba(0, 0, 0, 0.75);
    text-transform: capitalize;
    font-weight: 50.0em;
    font-size: 1.7rem;
    margin-bottom: 0.5em;
}

.exp-description
{
    background: #F0F0F0;
    padding-top: 1.1em;
    padding-bottom: 2em;
    padding-left: 3.5em;
    padding-right: 3.4em;
    font-size: 1.3rem;
}

.exp-description h2
{
    margin-bottom: 0.7em;
    font-weight: 30rem;
}

.exp-description p
{
    font-weight:normal;
}

.skills-bar
{
    padding: 1.5em 3em;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    
}

.skills-bar .bar
{
    margin: 2em 0;
}

.skills-bar .info
{
    font-size: 1.6rem;
    font-weight: 40em;
}

.skills-bar .bar .progress-line
{
    width: 100%;
    height: 1em;
    background: #FFFDFD;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.05),
                      0px 1px rgba(255, 255, 255, 0.8) ;
        
    margin-top: 0.5em;
    position: relative;
}

.skills-bar .bar .progress-line span
{
    height: 100%;
    width: 80%;
    background-color: black;
    position: absolute;
}

.bar .progress-line.creativity span
{
    width: 99%;
}
.bar .progress-line.reliability span
{
    width: 60%;
}

.skills-bar .bar .progress-line span::before
{
    position: absolute;
    content: "";
    right: 0;
    top: -10px;
    width: 0;
    height: 0;
    border: 0.7em solid transparent;
    border-bottom-width: 0;
    border-right-width: 0;
    border-top-color: #000;
}
.skills-bar .bar .progress-line span::after
{
    position: absolute;
    content: "80%";
    background-color: black;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 50rem;
    padding: 0.1em 0.8em;
    border-radius: 3px;
    right: 0;
    top: -28px;
}

.bar .progress-line.creativity span::after
{
    content: "99%";
}
.bar .progress-line.reliability span::after
{
    content: "60%";
}

.social-media-section
{
    display: flex;
    margin-top: 4em;
    padding-left: 0.5em;
    width: 80%;
    justify-content: space-between;
}

.icon span{
    font-size: 1.5rem;
    padding: 15px 16px;
    background-color: #F0F0F0;
    border-radius: 50%;
    width:2.5em
}

#menu-bar
{
    display: none;
}

header label
{
    font-size: 2rem;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    display: none;
}

/* mobile phones */

@media all and (max-width: 758px)
{
    header
    {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1000;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(229, 229, 203, 100%);
    }

    header label
    {
        display: initial;
    }

    header nav
    {
        position: absolute;
        top: 100%;
        margin: 0; 
        left: 0;
        right: 0;
        background-color: lightgray;
        border-top: 1px solid black;
        display: none;
    }

    nav ul
    {
        list-style-type: none;
        display: grid;
        padding: 1em 0;
        height: 50vh; 
        margin: 0;
        gap:0;
    }

    #menu-bar:checked ~ nav
    {
        display: initial;
    }

    nav ul li
    {
        display: grid;
    }

    nav ul li a
    {
        text-decoration: none;
        color: black;
        text-transform: capitalize;
        font-size: 2.5rem;
        text-align: center;
        padding-top: 1em;
        font-weight: 400;
    }

    

    nav ul li a:hover
    {
        background-color: lightgrey;
    }

    nav a.active::before
    {
        position: absolute;
        content: "";
        width: 0;
        height: 0;
        border-bottom: none;
        bottom: 0; 
    }

    nav ul li a::before
    {
        position: absolute;
        content: "";
        width:0%;
        height: 0px;
        border-bottom: none;
        bottom: 0; 
        transition: width 0;
    }

    nav ul li a:hover::before
    {
        width: 0;

    }

    main{
        display: flex;
        flex-direction: column;
        gap: 6em;
        padding: 1em;   
    }

    .left-col
    {
        width: 100%;
        max-width: 480px;
    }

    .left-col img{
        width: 100%;
    }

    .right-col
    {
        padding: 1.6em 2.5em;
    }

    .exp-description
    {
        padding-top: 1em;
        padding-bottom: 1em;
        padding-left: 2.2em;
        padding-right: 2.2em;
    }

    .icon{
        padding-right: 1.1em;
    }

    .icon span
    {
        font-size: 1.1rem;
        padding: 15px 16px;
        background-color: #F0F0F0;
        border-radius: 50%;
        width:2.5em
    }
}

















