/******************************************************************


	------------------------
	-- TABLE OF CONTENTS --
	------------------------
	
	--  1. Basic
	--  2. Preloader
    --  3. Hero
    --  4. Hero --> Front Content
    --  5. Hero --> Background Content
 
 
 ******************************************************************/




/** 1. Basic
*******************************************************************/

@font-face {
    font-family: 'middlerack';
    src: url('../fonts/middlerackRegular.woff2') format('woff2'),
        url('../fonts/middlerackRegular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}



html
{
    font-size: 16px;
}

body
{

    font-style: normal;

    overflow: hidden;

    color: #fff;
    background: #000;

    -webkit-font-smoothing: antialiased;
}

h2,
h3,
h4,
h5,
h6,
p,
a
{
    font-family: 'Anonymous Pro', monospace;
    font-weight: normal;

    color: #fff;
}

h1
{
    font-size: 6rem;
    font-family: 'middlerack';
    font-weight: normal;
    font-style: normal;
}

h2
{
    font-size: 3.125rem;
}

h3
{
    font-size: 2.5rem;
}

h4
{
    font-size: 1.875rem;
}

h5
{
    font-size: 1.25rem;
}

h6
{
    font-size: 1.125rem;
}

p
{
    font-size: 1rem;
}

a,
a:hover,
a:focus
{
    cursor: pointer;
    -webkit-transition: all 300ms ease;
         -o-transition: all 300ms ease;
            transition: all 300ms ease;
    text-decoration: none;
}

a:hover
{
    color: #fff;
}

/** 2. Hero
*******************************************************************/

.hero
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.hero .container-mid
{
    position: absolute;
    top: 50%;
    left: 0;

    width: 100%;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
}



/** 3. Hero --> Front Content 
*******************************************************************/

.hero .front-content
{
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    left: 0;
    width: 480px;
    margin-inline: auto;
    height: 100%;


}

.hero .front-content .container-mid
{
    position: absolute;
    top: 50%;
    left: 0;

    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
    text-align: center;
}

.hero .front-content .container-mid h1
{

    line-height: 1.1em;

    margin-top: 0;
    margin-bottom: 0;
}

.hero .front-content .container-mid p.subline
{
    font-size: 1.875rem;
    line-height: 1.5em;

    max-width: 100%;
    margin-bottom: .5em;
}

.hero .front-content .container-mid a
{
    font-size: 1rem;
    font-weight: normal;
    text-decoration: underline;
    position: relative;
    text-underline-offset: 6px;

}

.hero .front-content .container-mid a:hover
{
    color: #111;
}

.hero .front-content .container-mid a:after
{
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: auto;

    width: 0;
    height: 100%;

    content: '';
    -webkit-transition: all .3s cubic-bezier(1, 0, 0, 1);
         -o-transition: all .3s cubic-bezier(1, 0, 0, 1);
            transition: all .3s cubic-bezier(1, 0, 0, 1);

    background: #fff;
}

.hero .front-content .container-mid a:hover:after
{
    right: auto;
    left: 0;
    width: 100%;
}

.hero .front-content .footer
{
    position: absolute;
    bottom: 14px;
  
    right: 0;
    left: 0;
    width: 490px;
    margin-inline: auto;
    
    text-align: center;
}

.hero .front-content .footer p
{
    font-size: .9rem;

    letter-spacing: .02em;

    opacity: .9;
}

.hero .front-content .footer p a
{
    font-weight: bold;
}



/** 4. Hero --> Background Content 
*******************************************************************/

.hero .background-content
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
}

.hero .background-content .background-overlay
{
    position: absolute;
    z-index: 50;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    opacity: .9;
    background: #03030199;
}

.hero .background-content .background-img
{
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    -webkit-transition: opacity 1s ease;
         -o-transition: opacity 1s ease;
            transition: opacity 1s ease;

    opacity: 0;
    background: url(../img/background.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    image-rendering: pixelated;
}


/* Page Enter Animation */

.hero .background-content .background-img
{
    -webkit-transition: opacity 1s ease;
         -o-transition: opacity 1s ease;
            transition: opacity 1s ease;

    opacity: 0;
}

body.page-loaded .hero .background-content .background-img
{
    opacity: 1;
}

@media (max-width:600px)
{
    html
    {
        font-size: 10px;
    }
    .hero .front-content
    {
      width: 360px;
    }
    .hero .front-content .footer
    {
      width: 360px;
    }
}

