:root {
    --white: #f8f8f8;
    --lightgrey: #cccccc;
    --mediumgrey: #878787;
    --grey: #3b3a3a;
    --darkgrey: #1d1c1c;
    --gold: #9f9969;
}

/*-------------------------- CONTAINER -----------------------------*/
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
}
.container {
    margin: 0;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

/*-------------------------- TEXT -----------------------------*/
h1, .h1, h2, .h2 {
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-align: center;
}
h1, .h1 {
    font-size: 5rem;
    margin: 0;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    h1, .h1 {
        font-size: 3rem;
    }
}
h2, .h2 {
    font-size: 3.5rem;
    margin-bottom: 0;
    margin-top: 13vh;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    h2, .h2 {
        font-size: 2.3rem;
    }
}
h3, .h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0;
    margin-top: 2vh;
}
h4, .h4 {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    text-align: center;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    h4, .h4 {
        font-size: 1.3rem;
    }
}

ul, li {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.5;
}
p {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--grey);
    line-height: 1.5;
}

a {
    color: var(--gold);
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    text-decoration: none;
}
@media screen and (min-width: 769px) {
    a:hover {
        opacity: 0.6;
    }
}
a:visited {
    text-decoration: none;
}
input, button {
    -webkit-appearance: none;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1rem;
}
input[type="submit"]:hover, button:hover {
    cursor: pointer;
}

.text {
    width: 55%;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    .text {
        width: 85%;
    }
}

.main-heading-container {
    margin-top: 35vh;
    margin-bottom: 1vh;
    text-align: center;
}

.text.left-alignment {
    text-align: left;
    width: 90%;
}
.text.left-alignment h4,
.text.left-alignment h3 {
    text-align: left;
}

/*-------------------------- BUTTONS -----------------------------*/
button:focus {
    outline: none;
}
.button {
    width: 250px;
    height: 90px;
    margin: 100px auto 0;
    text-align: center;
}
.button:focus {
    outline: none;
}
.button.button--small {
    height: 50px;
    margin: 30px auto 0;
}
.button__border {
    background: none;
    border: 0;
    box-sizing: border-box;
    margin: 5vh auto 0;
    padding: 1em;
    box-shadow: inset 0 0 0 2px var(--gold);
    font-weight: 100;
    color: var(--white);
    position: relative;
    vertical-align: middle;
    text-align: center;
    border-radius: 0;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}
.button .button__padding {
    padding: 1em 3em;
}
button.button__border::before,
a.button__border::before {
    box-sizing: inherit;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}
button.button__border::after,
a.button__border::after {
    box-sizing: inherit;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
}

.button__border--bottom {
    position: relative;
    height: auto;
    width: 150px;
    cursor: pointer;
    text-transform: uppercase;
    padding: 0;
    margin: 0 15px;
    background: none;
    color: var(--grey);
    border: 0 solid var(--gold);
    font-size: 1.1rem;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    .button__border--bottom {
        line-height: 2.5rem;
    }
}
.categories .button__border--bottom {
    width: 25%;
}

/*-------------- BUTTON HOVER EFFECTS ---------------*/

.button__border--bottom.active {
    border-bottom: 1px solid var(--gold);
    color: var(--gold);
}

@media screen and (min-width: 769px) {
    .button__border--bottom:hover {
        background: none;
        color: var(--gold);
    }
    .button__border--bottom::after {
        content: '';
        display: block;
        width: 0;
        margin-top: 1vh;
        height: 1px;
        background: var(--gold);
        transition: width .3s;
        -webkit-transition: width 0.3s;
    }
    .button__border--bottom.active:hover::after {
        width: 0;
    }
    .button__border--bottom:hover::after {
        width: 100%;
    }

    button.draw,
    a.draw {
        transition: color 0.25s;
        -webkit-transition: color 0.25s;
    }
    button.draw::before,
    button.draw::after,
    a.draw::before,
    a.draw::after {
        /* Set border to invisible, so we don't see a border on a 0x0 element before transition starts */
        border: 2px solid transparent;
        width: 0;
        height: 0;
    }

    /* expands borders to the right, then down */
    button.draw::before,
    a.draw::before {
        top: 0;
        left: 0;
    }

    /* expands to the left, then up */
    button.draw::after,
    a.draw::after {
        bottom: 0;
        right: 0;
    }

    button.draw:hover,
    a.draw:hover {
        opacity: 1;
        color: white;
    }

    /* Hover styles */
    button.draw:hover::after,
    button.draw:hover::before,
    a.draw:hover::after,
    a.draw:hover::before {
        width: 100%;
        height: 100%;
    }

    button.draw:hover::before,
    a.draw:hover::before {
        border-top-color: white;
        border-right-color: white;
        transition:
                width 0.25s ease-out,
                height 0.25s ease-out 0.25s;
        -webkit-transition: width 0.25s ease-out,
                            height 0.25s ease-out 0.25s;
    }
    button.draw:hover::after,
    a.draw:hover::after {
        border-bottom-color: white; /* Make borders visible */
        border-left-color: white;
        transition:
                border-color 0s ease-out 0.5s, /* Wait for ::before to finish before showing border */
                width 0.25s ease-out 0.5s, /* then expanding width */
                height 0.25s ease-out 0.75s; /* then the height */
        -webkit-transition: border-color 0s ease-out 0.5s, /* Wait for ::before to finish before showing border */
                            width 0.25s ease-out 0.5s, /* then expanding width */
                            height 0.25s ease-out 0.75s; /* then the height */
    }

    button.meet:hover,
    a.meet:hover {
        color: white;
    }

    /* Start ::after in same position as ::before */
    button.meet::after,
    a.meet::after {
        top: 0;
        left: 0;
    }

    /* Change colors */
    button.meet:hover::before,
    a.meet:hover::before {
        border-top-color: white;
        border-right-color: white;
    }

    button.meet:hover::after,
    a.meet:hover::after {
        border-bottom-color: white;
        border-left-color: white;
        transition: /* Animate height first, then width */
                height 0.25s ease-out,
                width 0.25s ease-out 0.25s;
        -webkit-transition: height 0.25s ease-out,
                            width 0.25s ease-out 0.25s;
    }
}


/*-------------------------- DIVIDER -----------------------------*/
.divider {
    width: 5vmax;
    margin: 0 auto;
}
.divider img {
    width: 5vmax;
    height: auto;
}

/*-------------------------- ICONS -----------------------------*/
.icon__container {
    width: 45%;
    text-align: center;
    margin: 80px auto 0;
    display: flex;
}
.icon__container.icon__container--small {
    width: 50vw;
    margin: 40px auto 0;
}
.icon__container div {
    width: 33%;
}
.icon__container img {
    height: 80px;
    width: auto;
}
.icon__container.icon__container--small img {
    height: 50px;
    width: auto;
}
.icon__container.icon__container--small p {
    margin: 0;
}
.icon--link {
    cursor: pointer;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    .icon__container {
        width: 80%;
        margin-top: 10vw;
    }
    .icon__container.icon__container--small {
        width: 80%;
    }
    .icon__container img {
        height: 60px;
    }
    .icon__container.icon__container--small img {
        height: 60px;
    }
}
@media screen and (max-width: 1024px) {
    .icon__container p {
        display: none;
    }
}

/*-------------------------- SECTIONS -----------------------------*/
section {
    outline: none;
}
#start {
    background: url(../assets/img/bg_image.png) no-repeat fixed center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    color: var(--white);
    height: 100vh;
    margin: 0;
}
@media screen and (max-width: 768px) {
    #start {
        background-attachment: scroll;
    }
}

#aboutme {
    padding: 0;
    margin: 0;
    color: var(--grey);
    background-color: #ffffff;
}
#aboutme .container {
    margin: 0;
    height: auto;
    padding: 0 0 10vh;
    width: 100%;
    overflow: hidden;
}

#work {
    padding: 0;
    margin: 0;
    background-color: var(--white);
    color: var(--grey);
}
#work .container {
    margin: 0;
    height: auto;
    padding: 0 0 10vh;
    width: 100%;
    overflow: hidden;
}
#contact .container {
    height: auto;
    padding-bottom: 8vh;
}
#contact {
    padding: 0;
    margin: 0;
    background-color: var(--grey);
    color: var(--white);
}
#contact p {
    color: var(--white);
}

/*-------------------------- FOOTER -----------------------------*/
footer {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    text-align: center;
    padding: 0;
    width: 100vw;
    color: var(--grey);
    height: auto;
    z-index: 1;
}
@media screen and (min-device-width: 375px) and (max-device-width: 812px) {
    footer {
        font-size: 1rem;
    }
}

footer div {
    background-color: var(--white);
    padding: 20px 0;
    margin: 0;
    width: 100%;
}
footer a {
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--grey);
}
@media screen and (min-width: 769px) {
    footer a:hover {
        color: var(--gold);
    }
}

/*-------------------------- FADE IN EFFECT --------------------------*/
.animationOne {
    animation-delay: 0s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animationTwo {
    animation-delay: 0.5s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
.animationThree {
    animation-delay: 1s;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeInDown {
    0% {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInDown {
    -webkit-animation-name: fadeInDown;
    animation-name: fadeInDown;
}
