* {
    margin: 0;
    padding: 0;
}

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 
                Roboto, Oxygen, Ubuntu, Cantarell, 
                'Open Sans', 'Helvetica Neue', sans-serif;
    color:black;
    scroll-behavior: smooth;
}

h1 {
    font-size: 100px;
    display: inline-block;
}

li {
    list-style: none;
}

p {
    font-size: 50px;
    font-weight: lighter;
}

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

.heading {
    color:#d9d9d9;
}

/* Special */

.highlight {
    color:#b43fbd;
    font-weight:bolder;
}

.box {
    background: white;
    padding: 50px;
    box-shadow: 0 10px 15px 15px rgba(0, 0, 0, 0.068);
}

.flex {
    display: -webkit-flex; /* Safari */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}

/* Loader */
#loader {
    z-index: 10;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: black;
    -webkit-transition-duration: 1s;
    -moz-transition-duration: 1s;
    -o-transition-duration: 1s;
    transition-duration: 1s;
}

#loader #loadanim {
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 6vw;
    height: 5vw;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

#loader #loadanim #loadblock {
    width: 18%;
    height: 20%;
    background: lightgray;
    animation: loading 2s cubic-bezier(0.66, 0.07, 0.4, 0.96) infinite;
}

@keyframes loading {
    0% {
        height: 20%;
        background: lightgray;
    }
    40% {
        height: 100%;
        background: white;
    }
    80% {
        height: 20%;
        background: lightgray;
    }
}

/* First page */

#first-page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black; 
    overflow: hidden;
}

#first-page h1 {
    z-index: 1;
    position: absolute;
    left: 0;
    bottom: 0.1em;
    font-size: 200px;
    font-weight: bolder;
    line-height: 0.8em;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    animation: floatIn 1.2s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    animation-fill-mode: backwards;
    -webkit-transition: all 0.3s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    -moz-transition: all 0.3s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    -o-transition: all 0.3s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    transition: all 0.3s cubic-bezier(0.29, 0.04, 0.56, 0.96);
}

#first-page :not(.highlight){color: #d9d9d9;}

#first-page h1:hover {
    left: 50px;
}

@keyframes floatIn {
    0% {
        left: -1000px;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

/* Main */

#main {
    position: absolute;
    width: 100%;
    top: 103%;
    overflow: hidden;
}

#main h1 {
    position: relative;
    white-space: nowrap;
    font-weight: normal;
}

/* About */

#main #abouttext {
    margin: 20vh auto;
    width: 50%;
    text-align: center;
    color: white;
}

/* Skills */

#main #skillsets {
    margin: 20vh auto;
}

#main #skillsets .box {
    width: 400px; 
    text-align: center;
    color: black;
    margin: 50px 50px;
    font-weight: lighter;
}

#main #skillsets .box h1 {
    font-weight: normal;
    font-size: 80px;
}

#main #skillsets .box ul{
    font-size: 40px;
    margin-top: 0.5em;
}

#main #skillsets .box ul i {
    margin-right: 0.5em;
}

/* Links */

#main #links {
    margin: 20vh auto;
}

#main #links h1 {
    display: block;
    font-weight: lighter;
    color: black;
    padding-left: 1em;
    border-left: 0 solid black;
    border-right: 0 solid black;
    -webkit-transition: all 0.2s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    -moz-transition: all 0.2s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    -o-transition: all 0.2s cubic-bezier(0.29, 0.04, 0.56, 0.96);
    transition: all 0.2s cubic-bezier(0.29, 0.04, 0.56, 0.96);
}

#main #links h1:hover {
    border-left: 10px solid #b43fbd;
    border-right: 10px solid #b43fbd;
}

#main #links a:hover {
    color: #b43fbd;
}

#main #links #githubLink a:hover {
    color: gray;
}

#main #links #githubLink:hover {
    border-left: 10px solid rgb(36, 41, 46);
    border-right: 10px solid rgb(36, 41, 46);
}

#main #links #twitterLink a:hover {
    color: rgb(29, 161, 242);
}

#main #links #twitterLink:hover {
    border-left: 10px solid rgb(29, 161, 242);
    border-right: 10px solid rgb(29, 161, 242);
}

/* Quotes */

.quotes {
    width: 100vw;
    overflow: hidden;
}

.quote .fa-quote-left {
    float:left;
    margin-right: 0.5em;
}

.quote .fa-quote-right {
    float:right;
    margin-left: 0.5em;
}

.quote h2 {
    font-weight: bolder;
}

.quote h3 {
    font-weight: normal;
}

/* Responsive */

@media (max-width: 768px) {
    h1 {
        font-size: 50px;
    }
    p {
        font-size: 27px;
    }
    #main #skillsets .box h1 {
        font-size: 50px;
    }
    #main #skillsets .box ul {
        font-size: 27px;
    }
    #main #links h1 {
        font-size: 30px;
    }
}

@media (max-width: 1024px) {
    #first-page h1 {
        font-size: 100px;
    }
    #main #abouttext {
        padding: 50px 0;
        width: 100%;
        margin: 5vh auto;
    }
    #main #skillsets {
        margin: 5vh auto;
    }
    #main #skillsets .box {
        width: 85%;
        padding: 50px 10px;
        margin: 25px 0;
    }
    #main #links {
        margin: 5vh auto;
    }
    #loader #loadanim {
        width: 24vw;
        height: 20vw
    }
}