* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.preload * {
  animation-play-state: paused !important;
  /* transition: none !important;
  -webkit-transition: none !important;
  -moz-transition: none !important;
  -ms-transition: none !important;
  -o-transition: none !important; */
}

html {
    font-size: 10px;
    font-family: 'Titillium Web', sans-serif;
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: #eee;
}

.container {
    max-width: 120rem;
    width: 90%;
    margin: 0 auto;
}

/* Header */
nav {
    z-index: 10;
    color: #fff;
    padding: 3rem 3rem;
    position: fixed;
    top: 0;
    width: 120rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 1.7rem;
    border-radius: 0 0 10px 10px;
    transition: all .5s;
}

.scrolled {
    background: #fff;
    color: black;
    padding: 1.4rem 3rem;
}

.brand {
    color: inherit;
    font-size: 3rem;
    transform: translateX(-100rem);
    animation: slideIn .5s forwards;
}

.brand a {
    color:inherit;
}

.brand span {
    color: crimson;
}

nav ul {
    display: flex;
}

nav ul li {
    color: inherit;
    list-style: none;
    transform: translateX(100rem);
    animation: slideIn .5s forwards;
}

nav .brand {
    animation-delay: 0s;
}

nav ul li:nth-child(1) {
    animation-delay: 0s;
}

nav ul li:nth-child(2) {
    animation-delay: 0.25s;
}

nav ul li:nth-child(3) {
    animation-delay: 0.5s;
}

nav ul li:nth-child(4) {
    animation-delay: 0.75s;
}

nav ul li a {
    color: inherit;
    font-weight: 300;
    padding: 1rem 0;
    margin: 0 3rem;
    position: relative;
    letter-spacing: 2px;
}

.scrolled li a {
    font-weight: 400;
}

nav ul li a:last-child {
    margin-right: 0;
}

nav ul li a::before,
nav ul li a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: crimson;
    left: 0;
    transform: scaleX(0);
    transition: all .5s;
}

nav ul li a::before {
    top: 0.5rem;
    transform-origin: left;
}

nav ul li a::after {
    bottom: 0.5rem;
    transform-origin: right;
}

nav ul li a:hover::before,
nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li a:active::before,
nav ul li a:active::after {
    transform: scaleX(1);
}

@keyframes slideIn {
    from {

    }
    to {
        transform: translateX(0);
    }
}

/* Showcase */
#showcase {
    /* position: fixed; */
    /* top: 0; */
    /* left: 0; */
    width: 100%;
    height: 100vh;
    position: relative;
    background: linear-gradient(to bottom,rgba(0,0,0,.8), rgba(0,0,0,.3)),
                url('https://images.pexels.com/photos/531360/pexels-photo-531360.jpeg?auto=compress&cs=tinysrgb&dpr=2');
    background-size: cover;
}

.showcase-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 49%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.showcase-content h1 {
    padding: 0;
    color: #fff;
    font-size: 8rem;
    margin: 0 auto;
    width: 9.7em;
    border-right: 3px solid rgba(255,255,255, 0.75);
    overflow: hidden;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 2px;
    animation:  typewriter 1.5s steps(20) 1s 1 normal both,
                blinkTextCursor 0.5s steps(50) 1.5s normal,
                blinkTextCursorSlow 1s steps(50) infinite 1.5s normal;
    animation-delay: 1.25s;
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 9.7em;
    }
}

@keyframes blinkTextCursor {
    from {
        border-right-color: rbga(255,255,255,0.5);
    }
    to {
        border-right-color: transparent
    }
}

@keyframes blinkTextCursorSlow {
    from {
        border-right-color: rbga(255,255,255,0.5);
    }
    to {
        border-right-color: transparent
    }
}

.showcase-content .btn {
    opacity: 0;
    font-size: 2rem;
    text-align: center;
    background: rgba(0,0,0,0.3);
    border: 1px solid white;
    margin: 0 auto;
    margin-top: 25px;
    padding: 10px;
    transition: background-color 0.5s ease;
    animation:  fadeIn 2s 1 normal both;
    animation-delay: 2.8s;
}

.showcase-content .btn:hover {
    background: rgba(0,0,0,0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Services */
#services {
    display: block;
    background: black;
    position: relative;
}

#services .container {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%,0);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
    padding: 30px;
    border-radius: 5px;
    background: black;
}

#services .box {
    display: flex;
    flex-flow: column;
    align-items: center;
    box-shadow: 0 0px 3px #ccc;
    padding: 30px;
    background: #aaa;
    min-height: 550px;
    color: crimson;
}

#services .box h2 {

    font-size: 2.5rem;
    color: black;
}


