:root{
    --blue:#09438f;
    --blue-light:#165ebc;
    --blue-bright:#4d91e8;
    --blue-dark:#061b36;

    --yellow:#dedb26;
    --yellow-light:#ece94c;

    --background:#07111f;
    --background-soft:#0a1728;

    --panel:#0d1d31;
    --panel-light:#112641;

    --border:#183557;

    --text:#f5f7fa;
    --muted:#91a5bc;
    --muted-dark:#657b94;
}


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


html{
    scroll-behavior:smooth;
}


body{
    background:var(--background);
    color:var(--text);

    font-family:
        Tahoma,
        Arial,
        sans-serif;

    line-height:1.9;
    overflow-x:hidden;
}


body::before{
    content:"";

    position:fixed;

    inset:0;

    background:
        radial-gradient(
            circle at 15% 15%,
            rgba(9,67,143,.17),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 55%,
            rgba(222,219,38,.035),
            transparent 24%
        );

    pointer-events:none;

    z-index:-1;
}


a{
    color:inherit;
    text-decoration:none;
}


button,
input,
textarea,
select{
    font-family:inherit;
}


.container{
    width:min(1120px,90%);
    margin:auto;
}


/* HEADER */

.header{
    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(7,17,31,.90);

    backdrop-filter:blur(15px);

    border-bottom:1px solid rgba(255,255,255,.055);
}


.navbar{
    min-height:72px;

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:25px;
}


.logo{
    font-size:17px;

    font-weight:bold;

    white-space:nowrap;
}


.logo span{
    color:var(--yellow);
}


.nav-menu{
    display:flex;

    gap:22px;

    align-items:center;

    margin-right:auto;

    color:var(--muted);

    font-size:13px;
}


.nav-menu a{
    transition:.2s;
}


.nav-menu a:hover{
    color:var(--yellow);
}


.languages{
    display:flex;

    align-items:center;

    gap:7px;
}


.language{
    padding:4px 9px;

    border:1px solid var(--border);

    border-radius:6px;

    font-size:10px;

    color:#9db0c5;
}


.language.active{
    background:var(--yellow);

    color:#111a29;

    border-color:var(--yellow);

    font-weight:bold;
}


.mobile-menu-button{
    display:none;

    background:none;

    color:white;

    border:none;

    font-size:25px;

    cursor:pointer;
}


/* HERO */

.hero{
    min-height:100vh;

    display:flex;

    align-items:center;

    padding:125px 0 75px;
}


.hero-grid{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;
}


.hero-label{
    color:var(--yellow);

    font-size:12px;

    margin-bottom:15px;
}


.hero-label span{
    color:#45627f;

    margin:0 5px;
}


.hero h1{
    font-size:clamp(43px,6vw,72px);

    line-height:1.15;

    margin-bottom:12px;
}


.hero h1 span{
    color:var(--blue-bright);
}


.hero h2{
    color:#d5deea;

    font-size:18px;

    font-weight:normal;

    margin-bottom:18px;
}


.hero-content > p{
    color:var(--muted);

    max-width:590px;

    font-size:14px;
}


.hero-buttons{
    display:flex;

    gap:10px;

    flex-wrap:wrap;

    margin-top:27px;
}


.button{
    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 18px;

    border-radius:7px;

    font-size:13px;

    border:1px solid var(--border);

    cursor:pointer;

    transition:.2s;

    background:transparent;

    color:inherit;
}


.button:hover{
    transform:translateY(-2px);
}


.button-primary{
    background:var(--yellow);

    color:#121927;

    border-color:var(--yellow);

    font-weight:bold;
}


.button-primary:hover{
    background:var(--yellow-light);

    box-shadow:
        0 12px 30px
        rgba(222,219,38,.09);
}


.button-secondary{
    color:#d9e3ee;
}


.button-secondary:hover{
    color:white;

    border-color:#2e6cad;
}


.hero-mini-info{
    display:flex;

    margin-top:40px;

    gap:28px;

    flex-wrap:wrap;
}


.hero-mini-info div{
    display:flex;

    flex-direction:column;

    gap:1px;
}


.hero-mini-info strong{
    color:var(--yellow);

    font-size:19px;
}


.hero-mini-info span{
    color:#7389a2;

    font-size:10px;
}


/* CODE WINDOW */

.code-window{
    direction:ltr;

    background:#081523;

    border:1px solid #183b62;

    border-radius:12px;

    overflow:hidden;

    box-shadow:
        0 28px 70px
        rgba(0,0,0,.25);
}


.code-window-top{
    height:42px;

    background:#0d1e31;

    border-bottom:1px solid #1a3c62;

    display:flex;

    align-items:center;

    padding:0 14px;

    position:relative;
}


.window-buttons{
    display:flex;

    gap:7px;
}


.window-dot{
    width:9px;
    height:9px;

    border-radius:50%;
}


.window-dot.red{
    background:#e96868;
}


.window-dot.yellow{
    background:var(--yellow);
}


.window-dot.blue{
    background:#3983db;
}


.code-file{
    position:absolute;

    left:50%;

    transform:translateX(-50%);

    font-family:monospace;

    font-size:11px;

    color:#6d849d;
}


.code-content{
    padding:27px;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size:13px;

    line-height:2;
}


.code-line{
    white-space:nowrap;
}


.code-space{
    height:13px;
}


.indent{
    padding-left:25px;
}


.indent-two{
    padding-left:50px;
}


.code-comment{
    color:#506985;
}


.code-purple{
    color:#b59af5;
}


.code-blue{
    color:#67a8f5;
}


.code-yellow{
    color:var(--yellow);
}


.cursor{
    display:inline-block;

    width:7px;
    height:15px;

    background:var(--yellow);

    vertical-align:middle;

    animation:cursorBlink 1s infinite;
}


@keyframes cursorBlink{

    50%{
        opacity:0;
    }

}


/* GENERAL */

.section{
    padding:95px 0;
}


.section-soft{
    background:rgba(9,67,143,.035);

    border-top:1px solid rgba(255,255,255,.04);

    border-bottom:1px solid rgba(255,255,255,.04);
}


.section-header{
    margin-bottom:38px;
}


.section-label{
    display:block;

    color:var(--yellow);

    font-size:11px;

    margin-bottom:4px;
}


.section-header h2,
.classes-box h2,
.contact-header h2{
    font-size:clamp(26px,4vw,38px);

    margin-bottom:8px;
}


.section-header p{
    color:var(--muted);

    max-width:700px;

    font-size:13px;
}


.section-action{
    margin-top:20px;
}


/* ABOUT */

.about-grid{
    display:grid;

    grid-template-columns:1.2fr .8fr;

    gap:60px;

    align-items:start;
}


.about-text{
    color:#a6b5c6;

    font-size:14px;
}


.about-text p{
    margin-bottom:17px;
}


.about-text strong{
    color:white;
}


.about-code{
    direction:ltr;

    background:var(--panel);

    border:1px solid var(--border);

    border-radius:10px;

    padding:23px;

    font-family:monospace;

    font-size:12px;

    line-height:2.1;
}


/* EXPERIENCE */

.experience-list{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:11px;
}


.experience-item{
    min-height:75px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:15px;

    color:#aab9c9;

    background:rgba(13,29,49,.7);

    border:1px solid var(--border);

    border-radius:8px;

    font-size:13px;

    transition:.2s;
}


.experience-item:hover{
    color:white;

    border-color:rgba(222,219,38,.5);

    transform:translateY(-2px);
}


/* SKILLS */

.skills-list{
    display:flex;

    flex-wrap:wrap;

    gap:10px;
}


.skills-list span{
    border:1px solid var(--border);

    border-radius:999px;

    padding:8px 14px;

    font-size:12px;

    color:#a7b7c9;

    transition:.2s;
}


.skills-list span:hover{
    color:white;

    border-color:var(--blue-light);

    background:rgba(9,67,143,.12);
}


/* ACHIEVEMENTS */

.achievement-grid{
    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:13px;
}


.achievement-card{
    background:rgba(13,29,49,.72);

    border:1px solid var(--border);

    padding:21px;

    border-radius:9px;

    transition:.2s;
}


.achievement-card:hover{
    transform:translateY(-2px);

    border-color:#28598f;
}


.achievement-year{
    display:block;

    color:var(--yellow);

    font-size:10px;

    margin-bottom:5px;
}


.achievement-card h3{
    font-size:16px;

    margin-bottom:5px;
}


.achievement-card p{
    color:var(--muted);

    font-size:12px;
}


/* CLASSES */

.classes-box{
    display:grid;

    grid-template-columns:1fr auto;

    gap:40px;

    align-items:center;

    padding:37px;

    border-radius:13px;

    border:1px solid #21476f;

    background:
        linear-gradient(
            135deg,
            rgba(9,67,143,.14),
            rgba(222,219,38,.025)
        );
}


.classes-content p{
    color:var(--muted);

    max-width:690px;

    font-size:13px;
}


.class-topics{
    display:flex;

    flex-wrap:wrap;

    gap:7px;

    margin-top:20px;
}


.class-topics span{
    padding:5px 10px;

    border-radius:5px;

    border:1px solid var(--border);

    background:#081728;

    color:#9aadc2;

    font-size:10px;
}


/* CONTACT */

.contact-layout{
    display:grid;

    grid-template-columns:1.35fr .65fr;

    gap:30px;

    align-items:start;
}


.contact-form{
    background:rgba(13,29,49,.7);

    border:1px solid var(--border);

    border-radius:12px;

    padding:27px;
}


.form-row{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;
}


.form-group{
    margin-bottom:15px;
}


.form-group label{
    display:block;

    margin-bottom:6px;

    color:#c3cfdd;

    font-size:12px;
}


.form-group input,
.form-group textarea,
.form-group select{
    width:100%;

    border:1px solid var(--border);

    border-radius:7px;

    background:#081624;

    color:white;

    padding:11px 12px;

    outline:none;

    font-size:12px;

    transition:.2s;
}


.form-group textarea{
    resize:vertical;

    min-height:130px;
}


.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
    border-color:var(--blue-light);

    box-shadow:
        0 0 0 3px
        rgba(9,67,143,.13);
}


.contact-side{
    border:1px solid var(--border);

    background:rgba(9,67,143,.07);

    border-radius:12px;

    padding:24px;
}


.contact-small-title{
    display:block;

    color:var(--yellow);

    font-size:10px;

    margin-bottom:8px;
}


.github-link{
    display:block;

    direction:ltr;

    text-align:left;

    color:#74adf5;

    font-family:monospace;

    font-size:12px;

    overflow-wrap:anywhere;

    margin-bottom:14px;
}


.contact-side p{
    color:var(--muted);

    font-size:12px;
}


.website-field{
    position:absolute;

    left:-9999px;

    opacity:0;

    height:0;

    overflow:hidden;
}


/* FOOTER */

footer{
    border-top:1px solid rgba(255,255,255,.05);

    padding:27px 0;

    color:#647b94;

    font-size:10px;
}


.footer-content{
    display:flex;

    justify-content:space-between;

    gap:20px;
}


.footer-content a:hover{
    color:var(--yellow);
}