/* =======google fonts=========*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@400;0,500;0,600;0&display=swap");

/*======== variable fonts=======*/
:root {
    --header-height: 3.5rem;

    /*======colors========*/
    /*
    change fav color
    default: hsl(162, 100%, 40%)  - Blue: hsl(210, 100%, 70%)
    orange: hsl(14, 100%, 65%)    - Purple: hsl(250, 100%, 75%)
    pink: hsl(356, 100%, 75%)

    for more color: https://colors.dopely.top/
    */

    --hue: 210;
    --first-color: hsl(var(--hue), 100%, 70%);
    --first-color-alt: hsl(var(--hue), 56%, 35%);
    --title-color: hsl(228, 8%, 95%);
    --text-color: hsl(228, 8%, 65%);
    --body-color: hsl(228, 15%, 20%);
    --container-color: hsl(228, 15%, 15%);  


/*======== fonts ============*/
/*.5rem 8px 1rem 16px...*/
    --body-font: "Poppins", sans-serif;
    --biggest-font-size: 2rem;
    --bigger-font-size: 1.25rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;

    --font-regular: 400;
    --font-medium: 500;
    --font-semi-bold: 600;

    --z-tooltip: 10;
    --z-fixed: 100;
}

/* Responsive typography */
@media screen and (min-width: 1150px){
    :root {
        --biggest-font-size: 4rem;
        --bigger-font-size: 2rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
        --smaller-font-size: .813rem;
    }
}

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

html{
    scroll-behavior: smooth;
}

input, textarea, button, body{
    font-family: var(--body-font);
    font-weight: var(--normal-font-size);
}

body{
    background-color: var(--body-color);
    color: var(--text-color);
}

input, textarea, button{
    outline: none;
    border: none;
}

h1, h2, h3, h4{
    color: var(--title-color);
    font-weight: var(--font-medium);
}

ul{
    list-style: none;
}

a{
    text-decoration: none;
}

img, svg{
    max-width: 100%;
    height: auto;
}

/* reusable css */
.container{
    max-width: 1120px;
    margin-inline: 1.5rem;
}

.grid{
    display: grid;
    gap: 1.5rem;
}

.section{
    padding-block: 5rem 2rem;
}

.section_title, .section_subtitel{
    text-align: center;
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
}

.section_title{
    font-size: var(--h1-font-size);
    margin-bottom: 1.5rem;
}

.section_subtitel{
    font-size: var(--small-font-size);
    margin-bottom: .25rem;
}

.section_subtitel span{
    color: var(--first-color);
}

.main{
    overflow: hidden;
}

/*header & nav*/
.header{
    position: fixed;
    width: 100%;
    background-color: var(--container-color);
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
}

.nav{
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo{
    color: var(--title-color);
    font-weight: var(--font-medium);
}

.nav_logo span{
    color: var(--first-color);
}

.nav_toggle, .nav_close{
    display: flex;
    font-size: 1.25rem;
    color: var(--title-color);
    cursor: pointer;
}

/*nav for mobile*/
@media screen and (max-width:1023px){
    .nav_menu{
        position: fixed;
        top: 0;
        right: -100%;
        background-color: hsla(0, 0%, 10%, .3);
        width: 75%;
        height: 100%;
        padding: 4.5rem 0 0 3rem;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px); /*for safari*/
        transition: right .4s;
    }
}

.nav_list{
    display: flex;
    flex-direction: column;
    row-gap: 3rem;
}

.nav_link{
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: color .4s;
}

.nav_link:hover{
    color: var(--first-color);
}

.nav_close{
    position: absolute;
    top: 1rem;
    right: 1.5rem;
}

/*show menu*/
.show-menu{
    right: 0;
}

/*home*/
.home{
    background-color: var(--container-color);
}

.home_container{
    padding-top: 2rem;
    row-gap: 2.5rem;
}

.home_content{
    display: grid;
    row-gap: 2rem;
}

.home_data{
    text-align: center;
}

.home_subtitle, .home_education{
    font-size: var(--bigger-font-size);
}

.home_subtitle span, .home_title{
    color: var(--first-color);
}

.home_title{
    font-size: var(--biggest-font-size);
    font-weight: var(--font-semi-bold);
}

.home_description{
    margin-block: 1rem 1.5rem;
}

.home_social{
    display: flex;
    justify-content: center;
    column-gap: 1.25rem;
}

.home_social-link{
    display: flex;
    background-color: var(--first-color-alt);
    padding: .5rem;
    color: var(--title-color);
    font-size: 1.5rem;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform .4s;
}

.home_social-link{
    transform: translateY(-.25rem);
}

.home_image{
    justify-self: center;
}

.home_blob{
    width: 320px;
    fill: var(--first-color);
    filter: drop-shadow(0 12px 12px hsla(var(--hue), 100%, 40%, .2));
}

/* .home_img{ adjust your photo here
    width: 300px;
    transform: translateX(-40px);
} */

/*====button====*/
.button{
    display: inline-block;
    background-color: var(--first-color);
    padding: 1rem 1.75rem;
    color: var(--title-color);
    font-weight: var(--font-medium);
    transition: box-shadow .4s;
}

.button:hover{
    box-shadow: 0 8px 24px hsla(var(--hue), 100%, 40%, .25);
}

/*====about====*/