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

html, body {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}

.sb-page {
    width: 100%;
    height: 100%;
}

.content {
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 100%;
    flex-wrap: wrap;
    color: #171b21;
}

.content .text {
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background-image: url('./bg.jpg');
    background-size: cover;
}

.content .text,
.content .skills {
    height: 100%;
    min-height: 100%;
}

.content .text {
    flex: 0 0 55%;
}

.content .skills {
    flex: 0 0 45%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    height: 100%;
    color: #fff;
    box-shadow: 0 0 15rem 0 rgba(0, 0, 0, .9);
    background: #fff;
}

.content .skills .skill {
    flex: 0 0 50%;
    height: 33.33%;
    position: relative;
}

.content .skills .skill:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: -1;
    transition: transform 0.4s ease-in-out;
    transform-origin: 100% 0;
    transform: scaleX(0);
}

.content .skills .skill.light:after {
    background: rgba(255,255,255,0.3);
}

.content .skills .skill:hover:after {
    transform: scaleX(1);
    transform-origin: 0 0;
}


.content .skills .skill {
    padding: 1rem 1rem 1rem 0;
    font-size: 1.4rem;
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    text-wrap: wrap;
    display: flex;
    align-items: center;
    animation: colorful 13s linear infinite;
    opacity: 0.9;
}

.content .skills .skill .label {
    display: block;
    flex: 0 0 60%;
    max-width: 100%;
    text-align: left;
    color: inherit;
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
}

.content .skills .skill .icon {
    display: block;
    flex: 0 0 40%;
    max-width: 100%;
    font-size: 2rem;
    text-align: center;
    opacity: 0.8;
    color: inherit;
}

.text h1 {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    color: inherit;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    line-height: 2rem;
}
.text p {
    font-family: 'Roboto', sans-serif;
    color: inherit;
    max-width: 400px;
    margin-bottom: 1.5rem;
}

.text .networking {
    margin-bottom: 1.5rem;
}

.text .networking a {
    color: inherit;
    font-size: 1.3rem;
    margin-right: 1.5rem;
    text-decoration: none;
}

.text a {
    transition: opacity 0.2s;
}

.text a:hover {
    opacity: 0.8;
}

.text .portfolio-link {
    display: inline-block;
    border-radius: 30px;
    border: 1px solid currentColor;
    color: inherit;
    padding: 1rem 2rem;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 940px) {
    .content {
        height: 195%;
    }

    .content .text {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
    }

    .content .skills {
        position: absolute;
        top: 95%;
    }

    .content .text,
    .content .skills {
        flex: 0 0 100%;
        height: 50%;
    }

    .content .skills .skill .icon {
        font-size: 1.7rem;
    }
        
    .content .skills .skill .label {
        font-size: 1.3rem;
    }

    html {
        overflow: hidden;
        width:100%;
    }

    body {
        height:100%;
        position:fixed;
        overflow: scroll;
    }
}