
    @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

    .stylofsec1{
        direction: ltr;
        width: 100%;
        height: 100%;
    --first-color: #2b221b;
    background-image:-webkit-linear-gradient(-42deg, #2b221b 2%, #1f1f1f 40%);
    --white-color: #fff;
    --body-font: 'Poppins', sans-serif;
    --h1-font-size: 2.5rem;
    --h2-font-size: 1rem;
    --normal-font-size: .93rem;
    --small-font-size: .81rem;
    --z-back: -10;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
    --header-height: 3rem;
    --font-bold: 700;
}


.stylofsec1, ::before, ::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

.stylofsec1{
 
    font-family: var(--body-font);
    background-color: var(--black-color);
    color: var(--white-color);
    font-weight: var(--font-bold);
    overflow: hidden;
}

.imgsec1{
    max-width: 100%;
    height: auto;
}

.bd-grid{
    max-width: 1200px;
    margin-left: 1rem;
    margin-right: 1rem;
}

.l-header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    background-color: var(--black-color);
}

/*NAV*/
.l-main{
    height: calc(100vh - var(--header-height));
    background-color: var(--black-color);
}
/*HOME*/

.home{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: max-content max-content;
    align-content: space-around;
    row-gap: 2.3rem;
    height: 100%;
    font-weight: var(--font-bold);
}

.home-information{
    padding-left: 1.5rem;
    margin-top: 3rem;
    border-left: 5px solid var(--white-color);
    z-index: var(--z-tooltip);
}

.home-pressent{ font-size: var(--small-font-size); }
.home-title{ font-size: var(--h1-font-size); }
.home-skill{ font-size: var(--h2-font-size); }

.home-button{
    display: inline-block;
    margin-top: 1.5rem;
    font-size: .75rem;
    color: var(--white-color);
    padding: 0.625rem 1rem;
    border-radius: .25rem;
    background-image: linear-gradient(to right, var(--black-color), var(--first-color));
}

.home-img{
    position: absolute;
    right: 0;
    bottom: 0;
    width: 291px;
    z-index: var(--z-normal);
}

.home-social{
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}

    .home-social-icon{
        margin-bottom: 2rem;
        font-size: 1.33rem;
        cursor: pointer;
        transition: .5s;
    }

        .home-social-icon:hover{ color: var(--first-color); }

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-modal);
}

    .first{ background-color: var(--first-color); }

    .second{
        background-color: var(--first-color);
        left: 33.3%;
    }

    .third{
        background-color: var(--first-color);
        left: 66.6%;
    }

@media screen and (max-width: 768px){
    .nav-menu{
        position: fixed;
        top: -100%;
        left: 0;
        background-image: -webkit-gradient(linear, left top, left bottom, from(var(--black-color)), to(var(--first-color)));
        background-image: linear-gradient(var(--black-color), var(--first-color));
        width: 100%;
        height: 35%;
        padding: 1.5rem;
        border-radius: 0 0 1rem 1rem;
        transition: .5s;
    }

    .show{ top: var(--header-height); }

    
}

@media screen and (min-width: 768px){
    :root{
        --h1-font-size: 4.5rem;
        --h2-font-size: 2rem;
        --normal-font-size: 1rem;
        --small-font-size: 1.37rem;
    }

    body{ margin: 0; }
    .l-main{ height: 100vh; }

    .nav{ height: var(--header-height) + 1rem; }

    .nav.bd-grid{ padding: 1rem; }
    
    .nav-list{ 
        display: flex;
        padding-top: 0;
    }

    .nav-item{
        margin-left: 3rem;
        margin-bottom: 0;
    }

    .nav-toggle{ display: none; }

    .home{
        grid-template-rows: max-content 20px;
        align-content: center;
    }

    .home-information{ margin-top: 2rem; }
    .home-social{ 
        flex-direction: row;
        padding-top: 8rem;
        padding-bottom: 0;
    }

        .home-social-icon{
            margin-right: 2rem;
            margin-bottom: 0;
        }

    .home-img{
        width: 380px;
        right: 20%;
    }

}

@media screen and (min-width: 1200px){
    .bd-grid{
        margin-left: auto;
        margin-right: auto;
    }
}
