/*==================================================
    PETE HEMMING PORTFOLIO
==================================================*/

:root{

    --blue:#2f6cff;
    --green:#a8e51c;
    --text:#1d1d1d;
    --light:#f8f8f8;
    --white:#ffffff;
    --grey:#777;
    --border:#ececec;

    --radius:28px;

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

    --transition:.35s ease;

}

/*==================================================
    RESET
==================================================*/

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

html{

    scroll-behavior:smooth;

}

body{

    font-family:
        Inter,
        Helvetica,
        Arial,
        sans-serif;

    color:var(--text);

    background:white;

    line-height:1.6;

    overflow-x:hidden;

}

img{

    display:block;
    max-width:100%;

}

video{

    display:block;
    width:100%;
    border-radius:24px;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

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

header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    height:90px;

    padding:0 80px;

    display:flex;

    justify-content:space-between;

    align-items:center;

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

    backdrop-filter:blur(16px);

    z-index:1000;

    border-bottom:1px solid rgba(0,0,0,.05);
    

}

.logo h2{

    font-size:28px;
    letter-spacing:-1px;

}

.logo span{

    color:var(--grey);
    font-size:.8rem;

}

nav ul{

    display:flex;

    gap:45px;

    align-items:center;

}

nav a{

    transition:var(--transition);

    font-weight:600;

}

nav a:hover{

    color:var(--blue);

}

.button{

    background:var(--green);

    padding:14px 28px;

    border-radius:40px;

}


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

.hero{

    min-height:100vh;

    display:grid;

    grid-template-columns:1fr 1fr;

    align-items:center;

    padding:0px 8% 0px;

    gap:80px;

}

.intro{

    color:var(--green);
    
    font-size:1.5rem;

    font-weight:700;

    margin-bottom:20px;

}

.hero h1{

    font-size:5.5rem;

    line-height:.92;

    letter-spacing:-4px;

    margin-bottom:30px;

}

.hero-copy{

    font-size:1.3rem;

    max-width:500px;

    color:#666;

    margin-bottom:45px;

}

.cta{

    display:inline-block;

    background:var(--blue);

    color:white;

    padding:18px 36px;

    border-radius:100px;

    font-weight:700;

    transition:.3s;

}

.cta:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow);

}

.hero-right{

    display:flex;

    justify-content:center;


}

.hero-right img{


    
}

/*==================================================
    PORTFOLIO
==================================================*/

.portfolio-section{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:80px;

    padding:50px 8%;

    align-items:center;
    padding-top:0px;


}

.reverse{

    grid-template-columns:1fr 420px;

}

.reverse .video{

    order:1;

}

.reverse .text{

    order:2;

}

.section-number{

    color:#d8d8d8;

    font-size:4rem;

    font-weight:700;

}

.text h2{

    font-size:3rem;

    line-height:1;

    margin:20px 0;

}

.text p{

    margin-bottom:30px;

    color:#666;

}

.text li{

    padding:4px 0;

    color:#555;

}

.text li::before{

    content:"• ";

    color:var(--green);

    font-weight:bold;

}

.video{

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:.4s;

}

.video:hover{

    transform:translateY(-10px);

}

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

#about{

    display:grid;

    grid-template-columns:350px 1fr;

    gap:80px;

    align-items:center;

    padding:0px 8%;

    background:var(--light);

}

.about-text h2{

    font-size:3rem;

    line-height:1;

    margin:20px 0;

}

.stats{

    display:flex;

    gap:80px;

    margin-top:50px;

}

.stats h3{

    color:var(--blue);

    font-size:2.5rem;

}

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

#contact{
    padding:80px 8%;
    
    display:grid;

    grid-template-columns:1fr 1fr;

}

#contact h2{

    font-size:3rem;

    line-height:1;

    margin:20px 0;

}

#contact p{

    color:#666;

    margin-bottom:30px;

}

form{

    display:grid;
    
    align-items:center;

    gap:20px;

    max-width:700px;

}

input,
textarea{

    padding:10px;

    border-radius:18px;

    border:1px solid var(--border);

    font-size:1rem;

    transition:.3s;

}

input:focus,
textarea:focus{

    outline:none;

    border-color:var(--blue);

    box-shadow:0 0 0 4px rgba(47,108,255,.12);

}

button{

    width:240px;

    height:60px;

    border:none;

    border-radius:60px;

    background:var(--blue);

    color:white;

    font-size:1rem;

    font-weight:700;

    cursor:pointer;

    transition:.3s;

}

button:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow);

}

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

footer{

    padding:60px 8%;

    display:flex;

    justify-content:space-between;

    align-items:center;

    border-top:1px solid var(--border);

    color:#777;

}

footer div{

    display:flex;

    gap:30px;

}

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

@media(max-width:1100px){

.hero{

grid-template-columns:1fr;

text-align:center;


}

.hero-copy{

margin:auto auto 40px;

}

.hero-right{

padding-top:200px;

order:-1;

}



.portfolio-section,
.reverse,
#about{

grid-template-columns:1fr;


}

.reverse .video{
order: 2;

}
.reverse .text{
order: 1;


}

.stats{

justify-content:center;

}

}

@media(max-width:700px){

header{

padding:20px;

height:auto;

flex-direction:column;

gap:20px;

}

nav ul{

gap:20px;

flex-wrap:wrap;

justify-content:center;

}

.hero h1{

font-size:3.2rem;

letter-spacing:-2px;

}

.text h2{

font-size:2.2rem;


}

#contact h2{

font-size:2.5rem;

}

.stats{

flex-direction:column;

gap:30px;

}

}
