/* ===================================================
   UMBRELLA RESEARCH CENTER
   STYLE.CSS
=================================================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Roboto',sans-serif;
    background:#0d1117;
    color:#fff;
    overflow-x:hidden;
}

/* ========================================= */

:root{

    --red:#c4161c;
    --red-hover:#e11f26;

    --dark:#090b10;
    --dark2:#11161d;
    --dark3:#181f28;

    --text:#ffffff;
    --gray:#b9b9b9;

    --shadow:0 15px 40px rgba(0,0,0,.45);

}

/* ========================================= */

img{
    max-width:100%;
    display:block;
}

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

ul{
    list-style:none;
}

.container{

    width:90%;
    max-width:1400px;
    margin:auto;

}

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

.header{

    position:fixed;
    top:0;
    left:0;

    width:100%;

    z-index:1000;

    background:rgba(5,8,12,.82);

    backdrop-filter:blur(12px);

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

    transition:.4s;

}

.header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;

    height:90px;

}

.logo img{

    width:68px;

}

/* ========================================= */
/* NAVIGATION */
/* ========================================= */

.navigation ul{

    display:flex;
    gap:40px;

}

.navigation a{

    position:relative;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

    font-weight:500;

    transition:.35s;

}

.navigation a::after{

    content:"";

    position:absolute;

    left:0;
    bottom:-8px;

    width:0;

    height:2px;

    background:var(--red);

    transition:.35s;

}

.navigation a:hover{

    color:white;

}

.navigation a:hover::after{

    width:100%;

}

.navigation .active{

    color:var(--red);

}

.navigation .active::after{

    width:100%;

}

/* ========================================= */
/* MOBILE */
/* ========================================= */

.menu-toggle{

    display:none;

    flex-direction:column;

    gap:6px;

    cursor:pointer;

}

.menu-toggle span{

    width:28px;
    height:2px;

    background:white;

}

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

.hero{

    position:relative;

    width:100%;

    height:100vh;

    background:url("../images/slider.jpg") center 0%;

    background-size:cover;

    display:flex;

    align-items:center;

}

.hero .overlay{

    position:absolute;

    inset:0;

    background:

    linear-gradient(

    to right,

    rgba(0,0,0,.82),

    rgba(0,0,0,.35),

    rgba(0,0,0,.15)

    );

}

/* ========================================= */

.hero-content{

    position:relative;

    width:90%;

    max-width:1400px;

    margin:auto;

    z-index:5;

}

/* ========================================= */

.subtitle{

    color:var(--red);

    font-size:18px;

    letter-spacing:4px;

    text-transform:uppercase;

    margin-bottom:25px;

}

/* ========================================= */

.hero h1{

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

    font-size:95px;

    line-height:1;

    font-weight:500;

    letter-spacing:3px;

    text-transform:uppercase;

    margin-bottom:30px;

    max-width:700px;

}

/* ========================================= */

.description{

    width:520px;

    max-width:100%;

    color:#d7d7d7;

    font-size:18px;

    line-height:1.9;

    margin-bottom:45px;

}

/* ========================================= */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:18px 44px;

    border:2px solid var(--red);

    color:white;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:13px;

    font-weight:600;

    transition:.35s;

}

.btn:hover{

    background:var(--red);

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(196,22,28,.45);

}

/* ========================================= */

.hero::after{

    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    height:180px;

    background:linear-gradient(

    transparent,

    #0d1117

    );

}

/* ========================================= */

section{

    padding:120px 0;

}

/* ========================================= */

h2{

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

    font-size:42px;

    letter-spacing:2px;

    margin-bottom:25px;

}

/* ========================================= */

p{

    color:#c7c7c7;

    line-height:1.8;

}

/* ========================================= */

::-webkit-scrollbar{

    width:12px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--red);

}

::-webkit-scrollbar-thumb:hover{

    background:#ff2a32;

}

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

.info{
    background:#0f141b;
}

.grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.card{
    background:#181f28;
    border:1px solid rgba(255,255,255,.05);
    overflow:hidden;
    transition:.35s;
    box-shadow:var(--shadow);
}

.card:hover{
    transform:translateY(-10px);
    border-color:var(--red);
}

.card img{
    width:100%;
    height:320px;
    object-fit:cover;
    transition:.5s;
}

.card:hover img{
    transform:scale(1.05);
}

.card .content{
    padding:40px;
}

.card h2{
    font-size:34px;
    margin-bottom:20px;
}

.card p{
    font-size:16px;
}

/* ===================================================
   GALLERY
=================================================== */

.gallery{
    background:#0d1117;
}

.gallery h2{
    text-align:center;
    margin-bottom:60px;
}

.gallery-grid{

    display:grid;

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

    gap:25px;

}

.gallery-grid img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.45s;

    cursor:pointer;

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

}

.gallery-grid img:hover{

    transform:scale(1.04);

    border-color:var(--red);

    box-shadow:0 15px 35px rgba(0,0,0,.45);

}

/* ===================================================
   CTA
=================================================== */

.cta{

    position:relative;

    text-align:center;

    background:

    linear-gradient(

    rgba(10,10,10,.82),

    rgba(10,10,10,.82)

    ),

    url(images/hero.jpg);

    background-size:cover;

    background-position:center;

}

.cta h2{

    font-size:60px;

    margin-bottom:20px;

}

.cta p{

    font-size:20px;

    color:#ddd;

    margin-bottom:40px;

}

/* ===================================================
   SMALL FEATURE BLOCKS
=================================================== */

.features{

    background:#11161d;

}

.features-grid{

    display:grid;

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

    gap:30px;

}

.feature{

    padding:40px;

    background:#1a212b;

    border-left:4px solid var(--red);

    transition:.35s;

}

.feature:hover{

    transform:translateY(-8px);

    background:#202833;

}

.feature h3{

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

    font-size:28px;

    margin-bottom:18px;

}

.feature p{

    color:#bbb;

}

/* ===================================================
   NEWS
=================================================== */

.news{

    background:#0d1117;

}

.news-grid{

    display:grid;

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

    gap:30px;

}

.news-card{

    background:#181f28;

    overflow:hidden;

    transition:.35s;

}

.news-card:hover{

    transform:translateY(-8px);

}

.news-card img{

    width:100%;

    height:220px;

    object-fit:cover;

}

.news-content{

    padding:30px;

}

.news-content h3{

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

    font-size:28px;

    margin-bottom:15px;

}

.news-content span{

    display:block;

    color:var(--red);

    margin-bottom:15px;

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:12px;

}

.news-content a{

    display:inline-block;

    margin-top:20px;

    color:white;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:12px;

    transition:.3s;

}

.news-content a:hover{

    color:var(--red);

}

/* ===================================================
   DIVIDER
=================================================== */

.divider{

    width:120px;

    height:3px;

    background:var(--red);

    margin:25px auto 60px;

}

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

.section-title{

    text-align:center;

}

.section-title p{

    max-width:700px;

    margin:auto;

    margin-top:20px;

    color:#aaa;

}

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

footer{
    background:#07090d;
    border-top:1px solid rgba(255,255,255,.08);
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:60px;
}

.footer-logo{
    width:90px;
    margin-bottom:25px;
}

footer h3{
    font-family:'Oswald',sans-serif;
    font-size:26px;
    margin-bottom:20px;
    letter-spacing:1px;
}

footer ul{
    display:flex;
    flex-direction:column;
    gap:15px;
}

footer a{
    color:#b8b8b8;
    transition:.3s;
}

footer a:hover{
    color:var(--red);
    padding-left:8px;
}

.copyright{
    margin-top:70px;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:25px;
    color:#8f8f8f;
    font-size:14px;
}

/* ==========================================
   BUTTONS
========================================== */

.btn-secondary{
    display:inline-block;
    padding:15px 35px;
    border:2px solid #fff;
    color:#fff;
    transition:.3s;
}

.btn-secondary:hover{
    background:#fff;
    color:#111;
}

/* ==========================================
   CARD EFFECTS
========================================== */

.card,
.news-card,
.feature{
    transition:
        transform .35s,
        box-shadow .35s,
        border-color .35s;
}

.card:hover,
.news-card:hover,
.feature:hover{
    box-shadow:
        0 20px 45px rgba(0,0,0,.45);
}

/* ==========================================
   IMAGE OVERLAY
========================================== */

.card{
    position:relative;
}

.card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.45)
    );

    opacity:0;

    transition:.4s;

    pointer-events:none;

}

.card:hover::before{
    opacity:1;
}

/* ==========================================
   SCROLL ANIMATION
========================================== */

.fade-up{
    opacity:0;
    transform:translateY(50px);
    transition:1s;
}

.fade-up.show{
    opacity:1;
    transform:translateY(0);
}

/* ==========================================
   HEADER ON SCROLL
========================================== */

.header.scrolled{

    background:#07090d;

    box-shadow:0 10px 30px rgba(0,0,0,.45);

    height:80px;

}

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

@media(max-width:1200px){

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

.grid,
.features-grid,
.news-grid{
    grid-template-columns:1fr;
}

.gallery-grid{
    grid-template-columns:repeat(2,1fr);
}

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

}

@media(max-width:900px){

.navigation{

    position:fixed;

    top:90px;
    right:-100%;

    width:280px;

    height:calc(100vh - 90px);

    background:#10151d;

    transition:.4s;

    padding:50px 30px;

}

.navigation.active{

    right:0;

}

.navigation ul{

    flex-direction:column;

    gap:30px;

}

.menu-toggle{

    display:flex;

}

.hero{

    height:90vh;

}

.hero h1{

    font-size:56px;

}

.description{

    width:100%;

    font-size:17px;

}

.footer-grid{

    grid-template-columns:1fr;

    text-align:center;

}

.footer-logo{

    margin:auto;

    margin-bottom:25px;

}

}

@media(max-width:700px){

section{

    padding:80px 0;

}

.hero h1{

    font-size:42px;

}

.subtitle{

    font-size:14px;

}

.cta h2{

    font-size:38px;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.card img{

    height:220px;

}

}

@media(max-width:500px){

.header .container{

    height:75px;

}

.logo img{

    width:55px;

}

.hero{

    padding-top:80px;

}

.hero h1{

    font-size:34px;

}

.btn{

    width:100%;

    text-align:center;

}

h2{

    font-size:30px;

}

.card .content{

    padding:25px;

}

}

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

::selection{

    background:var(--red);

    color:#fff;

}

/* ==========================================
   END
========================================== */