*{box-sizing:border-box}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:#fff;
    color:#101722;
    font-family:Inter,Arial,Helvetica,sans-serif;
    line-height:1.5;
}

.container{
    width:min(900px,calc(100% - 40px));
    margin:auto;
}

a{
    text-decoration:none;
    color:inherit;
}


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

.topbar{
    height:57px;
    border-bottom:1px solid #edf1f6;
    background:#fff;
    position:sticky;
    top:0;
    z-index:100;
}

.nav{
    height:100%;
    display:flex;
    align-items:center;
}

.brand{
    font-size:25px;
    font-weight:900;
    font-style:italic;
    letter-spacing:-4px;
    width:130px;
    flex-shrink:0;
}

.brand span{
    color:#1e6cff;
}

.nav nav{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:31px;
    margin-left:auto;
}

.nav nav a{
    font-size:13px;
    font-weight:700;
    color:#101722;
    white-space:nowrap;
}

.nav nav a:hover,
.nav nav .active{
    color:#1265ff;
}

.cv{
    margin-left:25px;
    border:1px solid #75a5ff;
    color:#1265ff;
    border-radius:4px;
    padding:8px 11px;
    font-size:10px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
}

.cv img{
    width:12px;
    height:12px;
    object-fit:contain;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-toggle{
    display:none;
    border:0;
    background:transparent;
    color:#101722;
    font-size:24px;
    line-height:1;
    padding:4px;
    cursor:pointer;
}


/* =========================
   HERO
========================= */

.hero{
    min-height:415px;
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    border-bottom:1px solid #edf1f6;
}

.hero-copy{
    padding-right:17px;
}

.hello{
    display:inline-flex;
    align-items:center;
    background:#f6f9ff;
    color:#1265ff;
    padding:4px 8px;
    border-radius:12px;
    font-size:10px;
    margin-bottom:14px;
}

.hero h1{
    font-size:39px;
    line-height:1.03;
    letter-spacing:-2.2px;
    margin:0 0 7px;
}

.hero h1 span{
    color:#1265ff;
}

.hero h2{
    font-size:21px;
    font-weight:500;
    margin:0;
    color:#111820;
}

.hero h2 i{
    display:inline-block;
    height:22px;
    border-right:1px solid #1265ff;
    margin-left:7px;
    vertical-align:middle;
}

.hero-copy>p{
    font-size:12px;
    line-height:1.75;
    color:#59667a;
    max-width:365px;
    margin:12px 0 20px;
}

.hero-buttons{
    display:flex;
    gap:11px;
}

.btn{
    font-size:10px;
    font-weight:700;
    padding:10px 16px;
    border-radius:4px;
}

.btn span{
    margin-left:5px;
}

.blue{
    background:#126cff;
    color:#fff;
}

.outline{
    border:1px solid #a9b3c1;
    background:#fff;
}


/* =========================
   SOCIAL ICONS
========================= */

.socials{
    display:flex;
    gap:10px;
    margin-top:18px;
}

.socials a{
    width:70px;
    height:70px;
    border:1px solid #e4e9ef;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fff;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    overflow:hidden;
    transition:all .3s ease;
}

.socials a img{
    width:36px;
    height:36px;
    object-fit:contain;
    display:block;
}

.socials .wa img{
    width:44px;
    height:44px;
}

.socials .in img{
    width:38px;
    height:38px;
}

.socials .up img{
    width:40px;
    height:40px;
}

.socials a:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.12);
}


/* =========================
   HERO PHOTO
========================= */

.hero-photo{
    height:390px;
    position:relative;
    display:grid;
    place-items:center;
}

.circle{
    position:absolute;
    width:270px;
    height:270px;
    background:#eef4ff;
    border-radius:50%;
}

.hero-photo>img{
    position:relative;
    z-index:2;
    width:275px;
    height:350px;
    object-fit:cover;
    object-position:center top;
    border-radius:150px 150px 0 0;
}

.blue-dot{
    position:absolute;
    z-index:3;
    width:25px;
    height:25px;
    background:#286dff;
    border-radius:50%;
    bottom:52px;
    left:69%;
    box-shadow:0 4px 10px rgba(40,109,255,.18);
}

.dot-grid{
    position:absolute;
    right:5px;
    top:86px;
    width:105px;
    height:100px;
    background-image:radial-gradient(#dfe7f3 1.5px,transparent 1.5px);
    background-size:12px 12px;
}


/* =========================
   SECTIONS
========================= */

.section{
    padding:31px 17px;
    border-bottom:1px solid #edf1f6;
}

.section-label{
    font-size:9.5px;
    letter-spacing:1.5px;
    font-weight:800;
    color:#1265ff;
}

.section-label span{
    display:inline-block;
    width:15px;
    border-top:1px solid #1265ff;
    margin-left:7px;
    vertical-align:middle;
}


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

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:55px;
    margin-top:12px;
}

.about h2{
    font-size:19px;
    line-height:1.3;
    margin:0 0 11px;
}

.about h2 span{
    color:#1265ff;
}

.about p{
    font-size:11.5px;
    color:#59667a;
    max-width:340px;
}


/* =========================
   STATS
========================= */

.stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
    margin-top:15px;
}

.stats div{
    border:1px solid #e5eaf1;
    border-radius:5px;
    padding:10px;
    text-align:center;
    box-shadow:0 2px 8px #f2f5f9;
}

.stats b{
    display:block;
    color:#1265ff;
    font-size:19px;
}

.stats small{
    font-size:10px;
    color:#536077;
}


/* =========================
   DETAILS
========================= */

.details{
    padding-top:2px;
}

.details div{
    display:grid;
    grid-template-columns:24px 72px 1fr;
    align-items:center;
    border-bottom:1px solid #e8edf3;
    padding:7px 0;
    font-size:11px;
}

.details div:last-child{
    border-bottom:0;
}

.details b{
    display:flex;
    align-items:center;
    justify-content:center;
}

.details b img{
    width:15px;
    height:15px;
    object-fit:contain;
}

.details strong{
    font-size:9px;
}

.details span{
    color:#59667a;
}


/* =========================
   SKILLS
========================= */

.title{
    font-size:19px;
    line-height:1.2;
    margin:4px 0 15px;
}

.skill-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.skill-grid article{
    min-height:96px;
    border:1px solid #e3e9f0;
    border-radius:6px;
    padding:16px;
    display:flex;
    gap:12px;
    align-items:center;
    box-shadow:0 3px 10px #f2f5f9;
}

.skill-icon{
    width:64px;
    height:64px;
    min-width:64px;
    border-radius:16px;
    display:grid;
    place-items:center;
    flex:none;
    background:#edf5ff;
}

.skill-icon img{
    width:34px;
    height:34px;
    object-fit:contain;
}

.skill-icon.search{
    background:#edf5ff;
}

.skill-icon.css{
    background:#eaf8f0;
}

.skill-icon.js{
    background:#fff2a9;
}

.skill-icon.wp{
    background:#edf5ff;
}

.skill-grid h3{
    font-size:15px;
    margin:0 0 2px;
}

.skill-grid p{
    font-size:10px;
    line-height:1.55;
    color:#59667a;
    margin:0;
}


/* =========================
   PROJECTS
========================= */

.project-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.project-head span{
    font-size:0;
    color:#1265ff;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px;
}

.project-grid article{
    border:1px solid #e4e9f0;
    border-radius:6px;
    overflow:hidden;
    box-shadow:0 3px 10px #f1f4f8;
    background:#fff;
}

.project-grid article>img{
    display:block;
    width:100%;
    height:108px;
    object-fit:cover;
}

.project-grid h3{
    font-size:15px;
    margin:10px 13px 4px;
}

.project-grid p{
    font-size:10px;
    color:#59667a;
    margin:0 13px 5px;
    line-height:1.55;
}

.project-grid a{
    display:inline-block;
    color:#1265ff;
    font-weight:700;
    font-size:0;
    margin:0 13px 12px;
}


/* =========================
   BLOGGING
========================= */

.blog-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
}

.blog-items{
    display:flex;
    gap:23px;
    align-items:center;
}

.blog-items span{
    font-size:12px;
    white-space:nowrap;
    display:flex;
    align-items:center;
    gap:5px;
}

.blog-items span img{
    width:14px;
    height:14px;
    object-fit:contain;
}

.blog-items .green{
    color:#00a947;
}


/* =========================
   CONTACT
========================= */

.contact{
    display:grid;
    grid-template-columns:1fr 1.3fr;
    gap:30px;
    align-items:center;
    padding-top:27px;
    padding-bottom:27px;
}

.contact h2{
    font-size:18px;
    margin:5px 0;
}

.contact p{
    font-size:9px;
    color:#59667a;
    margin:0;
}

.contact-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}

.contact-cards a{
    display:flex;
    align-items:center;
    gap:8px;
    border:1px solid #e3e9f0;
    border-radius:5px;
    padding:10px;
    box-shadow:0 2px 8px #f2f5f9;
}

.contact-cards b{
    width:52px;
    height:52px;
    min-width:52px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.contact-cards b img{
    width:22px;
    height:22px;
    object-fit:contain;
}

.contact-cards .green-icon img{
    width:32px;
    height:32px;
}

.contact-cards strong,
.contact-cards small{
    display:block;
}

.contact-cards strong{
    font-size:10px;
}

.contact-cards small{
    font-size:9px;
    color:#59667a;
    margin-top:2px;
}


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

footer{
    border-top:1px solid #edf1f6;
    padding:14px 0;
    color:#59667a;
    font-size:7.5px;
}

footer .container{
    display:flex;
    justify-content:space-between;
}


/* =========================
   TABLET
========================= */

@media(max-width:800px){

    .nav nav{
        gap:14px;
    }

    .brand{
        width:80px;
    }

    .hero{
        grid-template-columns:1fr;
        min-height:auto;
        padding:45px 17px;
    }

    .hero-copy{
        text-align:center;
        padding:0;
        display:flex;
        flex-direction:column;
        align-items:center;
    }

    .hero-copy>p{
        max-width:500px;
    }

    .hero-photo{
        order:-1;
        height:315px;
    }

    .circle{
        width:225px;
        height:225px;
    }

    .hero-photo>img{
        width:225px;
        height:285px;
    }

    .dot-grid{
        right:12%;
        top:60px;
    }

    .about-grid,
    .contact{
        grid-template-columns:1fr;
    }

    .skill-grid{
        grid-template-columns:1fr 1fr;
    }

    .blog-row{
        display:block;
    }

    .blog-items{
        margin-top:20px;
        flex-wrap:wrap;
    }
}


/* =========================
   SMALL TABLET / MOBILE
========================= */

@media(max-width:600px){

    .socials{
        gap:10px;
    }

    .socials a{
        width:58px;
        height:58px;
    }

    .socials a img{
        width:30px;
        height:30px;
    }

    .socials .wa img{
        width:38px;
        height:38px;
    }

    .socials .in img{
        width:32px;
        height:32px;
    }

    .socials .up img{
        width:34px;
        height:34px;
    }

    .skill-icon{
        width:58px;
        height:58px;
        min-width:58px;
    }
}


/* =========================
   PHONE HAMBURGER MENU
========================= */

@media(max-width:560px){

    .container{
        width:calc(100% - 24px);
    }

    .topbar{
        height:auto;
        padding:9px 0;
    }

    .nav{
        height:auto;
        flex-wrap:wrap;
        gap:0;
        position:relative;
    }

    .brand{
        width:auto;
        margin-right:auto;
        font-size:22px;
    }

    .cv{
        order:initial;
        margin-left:8px;
        padding:7px 9px;
    }

    .menu-toggle{
        display:block;
        margin-left:8px;
    }

    .nav nav{
        display:none;
        order:10;
        width:100%;
        margin:10px 0 0;
        padding:8px 0 0;
        flex-direction:column;
        align-items:stretch;
        justify-content:flex-start;
        gap:0;
        border-top:1px solid #edf1f6;
    }

    .nav nav.show{
        display:flex;
    }

    .nav nav a{
        width:100%;
        font-size:12px;
        padding:11px 8px;
        border-bottom:1px solid #f0f2f5;
        white-space:nowrap;
    }

    .nav nav a:last-child{
        border-bottom:0;
    }

    .nav nav a:hover,
    .nav nav .active{
        color:#1265ff;
        background:#f7faff;
    }

    .hero h1{
        font-size:35px;
    }

    .hero h2{
        font-size:18px;
    }

    .hero-photo{
        height:315px;
    }

    .hero-photo>img{
        width:225px;
        height:285px;
    }

    .circle{
        width:235px;
        height:235px;
    }

    .stats,
    .skill-grid,
    .project-grid,
    .contact-cards{
        grid-template-columns:1fr;
    }

    .details{
        margin-top:13px;
    }

    .project-grid article>img{
        height:auto;
    }

    .blog-items{
        display:grid;
        grid-template-columns:1fr 1fr;
    }

    .contact{
        padding:25px 17px;
    }

    footer .container{
        flex-direction:column;
        gap:5px;
        text-align:center;
    }
}