/* =====================================
   PENTOR AGENCY
   style.css - Part 1
===================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#0b0b0b;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.7;
}

/* Container */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* Links */

a{
    text-decoration:none;
    color:#fff;
}

ul{
    list-style:none;
}

/* =============================
   HEADER
============================= */

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    background:rgba(0,0,0,.45);

    backdrop-filter:blur(15px);

}

.nav{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 0;

}

.logo img{

    height:50px;

}

/* Menu */

nav ul{

    display:flex;

    gap:40px;

}

nav a{

    color:#fff;

    font-weight:500;

    transition:.3s;

}

nav a:hover{

    color:#4F8CFF;

}

/* =============================
 HERO
============================= */

.hero{
    position:relative;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
    background:#0b0b0b;
}

/* Animated Background */


.hero::before{

    content:"";

    position:absolute;

    width:700px;

    height:700px;

    background:linear-gradient(
    45deg,
    #4F8CFF,
    #00D4FF,
    #8A5CFF,
    #4F8CFF
    );

    border-radius:50%;

    filter:blur(130px);

    opacity:.45;

    animation:blobMove 12s ease-in-out infinite;

    z-index:0;

}

.hero::after{

    content:"";

    position:absolute;

    width:400px;

    height:400px;

    background:#4F8CFF;

    border-radius:50%;

    filter:blur(180px);

    opacity:.2;

    right:10%;

    bottom:10%;

    animation:blobMove2 15s ease-in-out infinite;

}

.hero-content{

    position:relative;

    z-index:5;

}
.hero-content{

    position:relative;

    z-index:5;

}

.hero::after{

    content:"";

    position:absolute;

    width:400px;

    height:400px;

    background:#4F8CFF;

    border-radius:50%;

    filter:blur(180px);

    opacity:.2;

    right:10%;

    bottom:10%;

    animation:blobMove2 15s ease-in-out infinite;

}



.hero-content{

    position:relative;

    z-index:5;

}

.hero-content{

    max-width:900px;

}

.hero h1{

    font-size:90px;

    line-height:1;

    font-weight:800;

    margin-bottom:25px;

}

.hero p{

    font-size:22px;

    color:#bbbbbb;

    margin-bottom:40px;

}

/* Button */

.btn{

    display:inline-block;

    padding:18px 45px;

    border-radius:50px;

    background:#4F8CFF;

    color:#fff;

    font-weight:700;

    transition:.3s;

}

.btn:hover{

    background:#ffffff;

    color:#111;

    transform:translateY(-4px);

}

/* =============================
SECTION
============================= */

section{

    padding:120px 0;

}

section h2{

    font-size:46px;

    margin-bottom:25px;

    text-align:center;

}

section p{

    color:#bdbdbd;

}

/* =============================
ABOUT
============================= */

.about{

    background:#111111;

    text-align:center;

}

.about p{

    max-width:850px;

    margin:auto;

    font-size:18px;

}

/* =============================
SERVICES
============================= */

.cards{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

    margin-top:60px;

}

.card{

    background:#181818;

    border:1px solid rgba(255,255,255,.05);

    padding:45px;

    border-radius:18px;

    transition:.35s;

    text-align:center;

}

.card h3{

    font-size:24px;

}

.card:hover{

    transform:translateY(-10px);

    background:#202020;

    border-color:#4F8CFF;

}

/* =============================
PORTFOLIO
============================= */

.portfolio{

    background:#0d0d0d;

}

.portfolio-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.project{

    background:#181818;

    border-radius:20px;

    min-height:260px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:30px;

    font-weight:700;

    transition:.35s;

}

.project:hover{

    transform:scale(1.03);

    background:#202020;

}

/* =============================
CONTACT
============================= */

.contact{

    text-align:center;

    background:#111;

}

.contact p{

    margin:15px 0;

    font-size:20px;

}

/* =============================
FOOTER
============================= */

footer{

    padding:40px 0;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    color:#888;

}

/* =============================
RESPONSIVE
============================= */

@media(max-width:991px){

.hero h1{

font-size:60px;

}

.cards{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.nav{

flex-direction:column;

gap:20px;

}

nav ul{

gap:18px;

flex-wrap:wrap;

justify-content:center;

}

.hero h1{

font-size:48px;

}

.hero p{

font-size:18px;

}

.cards{

grid-template-columns:1fr;

}

.portfolio-grid{

grid-template-columns:1fr;

}

section{

padding:80px 0;

}

}

@media(max-width:480px){

.hero h1{

font-size:38px;

}

.btn{

padding:15px 35px;

}

section h2{

font-size:34px;

}

.hero-title span{

display:inline-block;

opacity:0;

transform:translateY(80px);

animation:slideUp .8s forwards;

}

.hero-title span:nth-child(1){

animation-delay:.3s;

}

.hero-title span:nth-child(3){

animation-delay:.7s;

}

.hero-title span:nth-child(5){

animation-delay:1.1s;

}

@keyframes slideUp{

to{

opacity:1;

transform:translateY(0);

}

}

.hero-title span{

display:inline-block;

opacity:0;

transform:translateY(80px);

animation:slideUp .8s forwards;

}

.hero-title span:nth-child(1){

animation-delay:.3s;

}

.hero-title span:nth-child(3){

animation-delay:.7s;

}

.hero-title span:nth-child(5){

animation-delay:1.1s;

}

@keyframes slideUp{

to{

opacity:1;

transform:translateY(0);

}

}

.btn{

display:inline-block;

padding:18px 45px;

background:#4F8CFF;

border-radius:50px;

font-weight:700;

transition:.35s;

position:relative;

overflow:hidden;

}

.btn:hover{

transform:translateY(-6px);

box-shadow:0 0 40px rgba(79,140,255,.6);

}






}@charset "utf-8";
/* CSS Document */

