/* Site CSS */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{

    /* Responsive Font Sizes */
    --header-size:clamp(2rem,6vw,5rem);
    --subheader-size:clamp(1.2rem,2vw,2rem);
    --body-size:clamp(1rem,1.4vw,1.25rem);

    --page-width:1200px;

    --primary:#ffffff;
    --secondary:#ececec;
    --background:#101214;

}

body{

    background:var(--background);
    color:white;
    font-family:Arial,Helvetica,sans-serif;
    line-height:1.6;

}

/*=========================
 HERO
==========================*/

.hero{

    position:relative;
    width:100%;
    min-height:55vh;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
    perspective:1200px;

}

.hero img{

    position:absolute;

    width:100%;
    height:100%;

    object-fit:cover;

    transform:
        scale(1.15)
        rotateX(8deg);

    transform-origin:center;

    filter:
        brightness(.65)
        saturate(1.1);

}

/* Dark Overlay */

.hero::before{

    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            rgba(0,0,0,.25),
            rgba(0,0,0,.55)
        );

    z-index:1;

}

/*=========================
 HERO CONTENT
==========================*/

.hero-content{

    position:relative;

    z-index:2;

    width:min(90%,var(--page-width));

    text-align:center;

    padding:2rem;

}

.hero h1{

    font-size:var(--header-size);

    font-weight:700;

    letter-spacing:.03em;

    margin-bottom:.4em;

    text-shadow:
        0 3px 15px rgba(0,0,0,.55);

}

.hero p{

    font-size:var(--subheader-size);

    color:var(--secondary);

    max-width:850px;

    margin:auto;

}

/*=========================
 MAIN CONTENT
==========================*/

main{

    width:min(90%,var(--page-width));

    margin:auto;

    padding:4rem 0;

}

main h2{

    font-size:clamp(1.8rem,3vw,3rem);

    margin-bottom:1rem;

}

main p{

    font-size:var(--body-size);

    margin-bottom:1.5rem;

}

/*=========================
 BUTTON
==========================*/

.button{

    display:inline-block;

    margin-top:2rem;

    padding:15px 35px;

    background:#2c84ff;

    color:white;

    text-decoration:none;

    border-radius:8px;

    transition:.25s;

}

.button:hover{

    background:#569cff;

    transform:translateY(-3px);

}

/*=========================
 TABLETS
==========================*/

@media (max-width:900px){

    .hero{

        min-height:45vh;

    }

}

/*=========================
 MOBILE
==========================*/

@media (max-width:600px){

    .hero{

        min-height:40vh;

    }

    .hero-content{

        padding:1rem;

    }

}

/*=========================
 LANDSCAPE PHONES
==========================*/

@media (orientation:landscape)
and (max-height:600px){

    .hero{

        min-height:100vh;

    }

    .hero h1{

        font-size:clamp(2rem,5vw,4rem);

    }

}

/*=========================
 PORTRAIT
==========================*/

@media (orientation:portrait){

    .hero{

        min-height:50vh;

    }

}

