/* General Styles */

body {
    font-family: 'Montserrat', sans-serif;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
  color: #fff;
  text-decoration: none;
}
a:link,
a:active,
a:visited {
    color: #fff;
}

.button {
    transition: all .1s ease-in;
}
.button:hover {
    background-color: #888;
}

/* Hero */
.hero {
    height: 20vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.2rem;
}
.hero-headline {
    font-size: 3.5rem;
    font-weight: normal;
    letter-spacing: -3px;
    color: #262020;
}
/* Jumbotron */
.jumbotron {
    width: 100%;
    height: 50vh;
    background: url('../images/bg-image-desktop.jpg') no-repeat;
    background-size: cover;
    background-position: 100% 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.jumbotron__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -25%;
    margin-top: 0%;
}
.jumbotron__button {
    text-align: center;
    display: inline-block;
    width: 9rem;
    margin: .5rem;
    font-size: 1.2rem;
    color: #fff;
    background-color: #616161;
    padding: 0.7rem 1rem;
    border: none;
    outline: none;
    cursor: pointer;
}
/* Fill space */
.fill-space {
    height: 8vh;
}
/* Contact */
.contact {
    height: 30vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.contact__border-wrap {
    width: 100%;
    position: relative;
    text-align: center;
}
.contact__border {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid #919191;
    margin: 0;
    position: absolute;
    top: 2rem;
}
.contact__headline {
    position: relative;
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 400;
    padding: 0.3rem 2rem;
    background-color: #fff;
    color: #919191;
    margin-bottom: 3rem;

}
.contact__email {
    width: 50px;
}
.contact__email img {
    width: 100%;
    display: block;
    -webkit-transition: 0.4s ease;
    -moz-transition:  0.4s ease;
    transition:  0.4s ease;
}
.contact__email img:hover {
    -webkit-transform: rotateZ(720deg);
    -moz-transform: rotateZ(720deg);
    transform: rotateZ(720deg);
}
.footer__info {
    text-align: center;
    padding: 1rem;
    color: #A0A09F;
}
#top {
    color: #00E5FF;
    padding: .5rem .8rem;
    border-radius: 50%;
    border: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    outline: none;
}
#top a {
    position: relative;
    top: .2rem;
    font-size: 1.5rem;
}

/***************
* MEDIA QUERIES
***************/

/* Initial 1440px */

/* greater than 1440px */
@media screen and (min-width: 1440px) {
    .jumbotron__button {
        font-size: 1.3rem;
        margin: .6rem;
        padding: 1rem 1.1rem;
        width: 10rem;
    }
    .about__photo {
        width: 25%;
    }
    .jumbotron {
        height: 60vh;
    }
    .about__description {
        width: 40%;
    }
}

@media screen and (min-width: 1900px) {
    .jumbotron {
        background: url('../images/bg-image-4k.jpg') no-repeat;
        background-size: cover;
        background-position: 100% 0;
    }
    .about__description {
        width: 30%;
    }
    .contact__border-wrap {
        margin-top: 3rem;
    }
}
/* less than 1440px */
@media screen and (max-width: 1440px) {
    .about__description {
        width: 50%;
        padding-left: 0;
    }
    .jumbotron {
        background: url('../images/bg-image-desktop.jpg') no-repeat;
        background-size: cover;
        background-position: 100% 0;
        height: 60vh;
    }
}
@media screen and (max-width: 1024px) {
    .hero-headline {
        font-size: 3.2rem;
    }
    .jumbotron {
        background: url('../images/bg-image-desktop.jpg') no-repeat;
        background-size: cover;
        background-position: 80% 0;
        height: 60vh;
    }
    .jumbotron__button {
        font-weight: 400;
        font-size: 1.1rem;
    }
    .spacer {
        width: 0;
    }
    .about__description {
        width: 60%;
        margin-top: 10vh;
        padding-left: 0;
    }
    .about__text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .hero {
        margin-top: 3rem;
        margin-bottom: 3rem;
        height: auto;
    }
    .hero-headline {
        font-size: 2.3rem;
        letter-spacing: -2px;
    }
    .jumbotron {
        position: relative;
        height: 350px;
        background: url('../images/bg-image-mobile.jpg') no-repeat;
        background-size: cover;
        background-position: 100% 0;
    }
    .jumbotron__wrap {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        text-align: center;
        margin-left: 0;
        position: absolute;
        top: 22rem;
        left: 0;
    }
    .jumbotron__button {
        font-weight: 400;
        font-size: 0.9rem;
        width: 7rem;
    }
    .fill-space {
        height: 100px;
    }
    .about {
        margin-bottom: 2rem;
        margin-top: 2rem;
    }
    .about__header {
        margin-top: .5rem;
        margin-bottom: 0;
    }
    .about__headline {
        font-size: 1.5rem;
        padding: 0.3rem 1.5rem;
    }
    .about__content {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .about__description {
        width: 100%;
        padding: 1rem 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    .about__text {
        font-size: 0.9rem;
        letter-spacing: -0.5px;
    }
    .about__photo {
        width: 100%;
        padding: 0 3rem;
        margin-left: 0rem;
    }
    .contact__headline {
        font-size: 2rem;
        margin-bottom: .5rem;
        font-weight: 400;
        background-color: #fff;
        color: #919191;
    }
    .contact__border {
        top: 1.7rem;
    }
    .contact {
        height: 150px;
    }
    .contact__button {
        font-size: 0.8rem;
    }
    .footer__info {
        font-size: 0.8rem;
    }
    #top {
        bottom: 1rem;
        right: 1rem;
    }
}
@media screen and (max-width: 767px) and (min-width: 479px) {
    .jumbotron__button {
        font-weight: 400;
        font-size: .8rem;
        width: 6rem;
    }
    .about__description {
        width: 100%;
        padding: 1rem 4rem;
    }
    .about__photo {
        width: 80%;
        margin: 0 auto;
        padding: 0 4rem;
    }
}
@media screen and (max-width: 767px) and (min-width: 576px) {
    .hero-headline {
        font-size: 2.8rem;
        letter-spacing: -2px;
    }
    .about__photo {
        width: 60%;
    }
}
@media screen and (max-width: 576px) {
    .contact {
        height: auto;
    }
    .contact__email {
        width: 30px;
        margin-top: .5rem;
        margin-bottom: .5rem;
    }
    .about__photo {
        margin-top: 0;
        margin-bottom: 2rem;
    }
}
@media screen and (max-width: 380px) {
    .jumbotron {
        height: 250px;
    }
    .jumbotron__wrap {
        top: 18rem;
    }
    .jumbotron__button {
        font-size: 0.7rem;
        font-weight: 400;
        width: 6rem;
    }
    .hero-headline {
        font-size: 1.8rem;
        letter-spacing: -1px;
    }
    .about__text {
        font-size: 0.8rem;
        letter-spacing: -0.4px;
    }
    .about__photo {
        margin-top: 0;
        margin-bottom: 2rem;
    }
    .contact {
        height: auto;
    }
    .contact__headline {
        margin-bottom: .5rem;
    }
    #top {
        bottom: .5rem;
        right: .5rem;
    }
}
