/* ===================================================
   Daniel Isaac E Portfolio v2
   Part 1
=================================================== */

:root{

--bg:#050816;
--bg2:#0b1020;
--card:rgba(16,22,41,.72);

--white:#ffffff;
--text:#dbe4ff;
--muted:#97a6c4;

--primary:#ff3b3b;
--secondary:#5b8cff;

--border:rgba(255,255,255,.08);

--shadow:0 20px 60px rgba(0,0,0,.45);

--radius:22px;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

html{
scroll-behavior:smooth;
}

body{

font-family:'Inter',sans-serif;

background:var(--bg);

color:var(--text);

overflow-x:hidden;

}

/* ===========================
Background
=========================== */

.background{

position:fixed;

inset:0;

z-index:-10;

overflow:hidden;

}

.grid{

position:absolute;

width:100%;

height:100%;

background-image:

linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),

linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);

background-size:55px 55px;

animation:gridMove 20s linear infinite;

}

@keyframes gridMove{

0%{

transform:translate(0,0);

}

100%{

transform:translate(-55px,-55px);

}

}

.glow{

position:absolute;

border-radius:50%;

filter:blur(120px);

opacity:.25;

}

.glow1{

width:400px;

height:400px;

background:#ff3b3b;

top:-120px;

left:-120px;

animation:float1 8s ease-in-out infinite;

}

.glow2{

width:500px;

height:500px;

background:#2957ff;

right:-180px;

top:20%;

animation:float2 12s ease-in-out infinite;

}

.glow3{

width:300px;

height:300px;

background:#ff3b3b;

bottom:-120px;

left:35%;

animation:float3 10s ease-in-out infinite;

}

@keyframes float1{

50%{

transform:translateY(50px);

}

}

@keyframes float2{

50%{

transform:translateX(-80px);

}

}

@keyframes float3{

50%{

transform:translateY(-60px);

}

}

/* ===========================
Loader
=========================== */

#loader{

position:fixed;

inset:0;

background:#050816;

display:flex;

justify-content:center;

align-items:center;

flex-direction:column;

gap:20px;

z-index:99999;

transition:.8s;

}

.loader-logo{

width:90px;

height:90px;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

font-weight:800;

background:linear-gradient(135deg,#ff3b3b,#ff7b7b);

color:white;

animation:pulse 1.6s infinite;

}

#loader p{

color:white;

letter-spacing:2px;

font-size:15px;

}

@keyframes pulse{

50%{

transform:scale(1.1);

}

}

/* ===========================
Progress Bar
=========================== */

#progressBar{

position:fixed;

top:0;

left:0;

height:4px;

width:0%;

background:#ff3b3b;

z-index:9999;

}

/* ===========================
Navigation
=========================== */

header{

position:fixed;

top:0;

left:0;

width:100%;

padding:20px 8%;

z-index:999;

}

.navbar{

display:flex;

justify-content:space-between;

align-items:center;

background:rgba(15,20,35,.55);

backdrop-filter:blur(18px);

border:1px solid rgba(255,255,255,.06);

padding:18px 35px;

border-radius:18px;

box-shadow:var(--shadow);

}

.logo{

font-size:26px;

font-weight:800;

color:white;

}

.logo span{

color:#ff3b3b;

}

.navbar ul{

display:flex;

list-style:none;

gap:35px;

}

.navbar a{

text-decoration:none;

color:white;

font-size:15px;

transition:.3s;

}

.navbar a:hover{

color:#ff3b3b;

}

.menu-btn{

display:none;

font-size:25px;

cursor:pointer;

}

/* ===========================
Hero
=========================== */

.hero{

min-height:100vh;

display:grid;

grid-template-columns:1.2fr .8fr;

align-items:center;

gap:80px;

padding:150px 8% 80px;

}

.small-title{

font-size:18px;

color:#ff7b7b;

margin-bottom:20px;

}

.hero h1{

font-size:72px;

font-weight:900;

line-height:1.05;

margin-bottom:20px;

}

.hero h2{

font-size:30px;

font-weight:600;

color:#8db8ff;

margin-bottom:25px;

min-height:40px;

}

.hero-text{

font-size:18px;

line-height:1.8;

color:var(--muted);

max-width:650px;

}

.hero-buttons{

display:flex;

gap:18px;

margin-top:40px;

flex-wrap:wrap;

}

.primary-btn{

background:#ff3b3b;

color:white;

padding:16px 34px;

border-radius:14px;

text-decoration:none;

font-weight:700;

transition:.35s;

}

.primary-btn:hover{

transform:translateY(-5px);

box-shadow:0 20px 35px rgba(255,59,59,.35);

}

.secondary-btn{

border:1px solid rgba(255,255,255,.08);

padding:16px 34px;

border-radius:14px;

color:white;

text-decoration:none;

transition:.35s;

}

.secondary-btn:hover{

background:white;

color:#050816;

}

.socials{

display:flex;

gap:20px;

margin-top:45px;

}

.socials a{

width:55px;

height:55px;

display:flex;

align-items:center;

justify-content:center;

border-radius:50%;

background:rgba(255,255,255,.05);

border:1px solid rgba(255,255,255,.08);

font-size:22px;

color:white;

transition:.3s;

text-decoration:none;

}

.socials a:hover{

background:#ff3b3b;

transform:translateY(-8px);

}

/* ===========================
Hero Card
=========================== */

.hero-card{

background:var(--card);

backdrop-filter:blur(25px);

border:1px solid rgba(255,255,255,.08);

border-radius:26px;

padding:35px;

box-shadow:var(--shadow);

animation:floatCard 6s ease-in-out infinite;

}

@keyframes floatCard{

50%{

transform:translateY(-12px);

}

}

.status{

display:flex;

align-items:center;

gap:10px;

margin-bottom:25px;

font-weight:600;

color:#7cff99;

}

.dot{

width:12px;

height:12px;

background:#00ff66;

border-radius:50%;

box-shadow:0 0 15px #00ff66;

}

.hero-card h3{

font-size:30px;

margin-bottom:20px;

}

.line{

height:1px;

background:rgba(255,255,255,.08);

margin-bottom:25px;

}

.skill{

padding:15px;

background:rgba(255,255,255,.04);

margin-bottom:15px;

border-radius:14px;

font-size:16px;

transition:.35s;

}

.skill:hover{

background:#ff3b3b;

transform:translateX(10px);

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

.about{

padding:120px 8%;

max-width:1300px;

margin:auto;

}

.about h2{

font-size:48px;

margin-bottom:35px;

font-weight:800;

position:relative;

display:inline-block;

}

.about h2::after{

content:"";

position:absolute;

left:0;

bottom:-10px;

width:70px;

height:4px;

background:#ff3b3b;

border-radius:10px;

}

.about p{

font-size:18px;

line-height:2;

color:var(--muted);

max-width:900px;

margin-bottom:60px;

}

.stats{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.stats div{

background:rgba(255,255,255,.03);

border:1px solid rgba(255,255,255,.08);

padding:35px;

border-radius:20px;

text-align:center;

transition:.35s;

cursor:pointer;

}

.stats div:hover{

transform:translateY(-12px);

border-color:#ff3b3b;

box-shadow:0 20px 40px rgba(255,59,59,.18);

}

.stats h3{

font-size:46px;

color:#ff3b3b;

margin-bottom:10px;

}

.stats p{

margin:0;

font-size:16px;

color:var(--text);

}

/* ===========================
SECTION
=========================== */

section{

position:relative;

z-index:2;

}

/* ===========================
SCROLLBAR
=========================== */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#050816;

}

::-webkit-scrollbar-thumb{

background:#ff3b3b;

border-radius:20px;

}

/* ===========================
TEXT SELECTION
=========================== */

::selection{

background:#ff3b3b;

color:white;

}

/* ===========================
LINKS
=========================== */

a{

transition:.35s;

}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:1200px){

.hero{

grid-template-columns:1fr;

text-align:center;

}

.hero-text{

margin:auto;

}

.hero-buttons{

justify-content:center;

}

.socials{

justify-content:center;

}

.hero-card{

margin-top:50px;

}

.stats{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:900px){

.navbar{

padding:16px 20px;

}

.navbar ul{

display:none;

}

.menu-btn{

display:block;

}

.hero{

padding-top:130px;

}

.hero h1{

font-size:54px;

}

.hero h2{

font-size:26px;

}

.hero-text{

font-size:17px;

}

.about{

padding:80px 7%;

}

.about h2{

font-size:38px;

}

.stats{

grid-template-columns:1fr;

}

}

@media(max-width:600px){

.hero h1{

font-size:42px;

}

.hero h2{

font-size:22px;

}

.primary-btn,

.secondary-btn{

width:100%;

text-align:center;

}

.hero-buttons{

flex-direction:column;

}

.socials{

flex-wrap:wrap;

}

.hero-card{

padding:25px;

}

}
