/* Colors
navy: #382266
pink: #ff789e
blue: #8d94ba
*/


/***  General styles  ***/

body {
    margin: 0;
    padding: 0;
    background-color: black;
    overflow-x: hidden;
}

li {
    list-style-type: none;
}

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


/* Icons */

.fa.fa-twitter,
.fa.fa-codepen,
.fa.fa-github,
.fa.fa-youtube,
.fa.fa-linkedin-square {
    display: inline-block;
    margin: 0 5px;
    color: white;
    transition: all 0.2s linear;
}

.fa:hover {
    color: #fff;
}

.fa-2x {
    font-size: 1.5em;
}


/* Titles */

.about__title {
    color: white;
    font-size: 2.5em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    margin: 0;
    padding: 2em 0 1em;
}

.portfolio__title,
.contact__title {
    width: 100%;
    margin: 0;
    padding: 2em 0 1em;
    color: #382c65;
    font-size: 2.5em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

.title--white {
    color: #fff;
}

.about__title__dot,
.portfolio__title__dot,
.contact__title__dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    background-color: #382c65;
}

.title__dot--white {
    background-color: #fff;
}


/***  Navigation  ***/

.nav {
    max-width: 100%;
    height: 50px;
    margin: 0 auto;
    background-color: #382266;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

.nav__logo {
    max-width: 30px;
    height: auto;
    position: relative;
    top: 0.5em;
    left: 0.5em;
}

.nav__hamburger {
    position: absolute;
    top: 0.6em;
    right: 0.8em;
    cursor: pointer;
    opacity: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hamburger {
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
}

.hamburger__name {
    padding: 5px;
    position: absolute;
    bottom: 1em;
    right: 4.4em;
    font-size: 0.75em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #fff;
    border-right: 2px solid #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    width: 0;
    height: 100%;
    background-color: #382c65;
    background: linear-gradient(to top, #382c65, #382c65);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    transition: all 0.5s linear;
}

.nav-menu__cross {
    /* display: none; */
    /* position: absolute;
  top: 0.8em;
  right: 0.6em; */
    opacity: 1;
    cursor: pointer;
    z-index: 6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 200px;
    margin-top: 10px;
}

.nav-menu__cross-line {
    stroke: #cfd2e2;
    stroke-width: 3;
    stroke-linecap: round;
}

.nav-menu__list {
    padding-top: 1.2em;
    margin-left: -0.7em;
}

.nav-menu__list-item {
    color: #fff;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.8em;
    position: relative;
    opacity: 1;
}

.nav-menu__link {
    color: #cfd2e2;
    transition: all 0.1s linear;
}

.nav-menu__link:hover {
    color: #fff;
}

.nav-menu__separator {
    width: 195px;
    margin: 2em 0 2em 1.7em;
    height: 1px;
    background-color: #cfd2e2;
    border: none;
    opacity: 1;
}

.nav-menu__text,
.nav-menu__email {
    margin: 2em;
    width: 200px;
    color: #cfd2e2;
    font-size: 0.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 1;
}

.nav-menu__link--email {
    color: #cfd2e2;
    transition: all 0.1s linear;
}

.nav-menu__link--email:hover {
    color: #fff;
}

.nav-menu__social-btn {
    margin: 2em 1.3em;
    width: 250px;
    opacity: 1;
}


/***  Header  ***/

.header {
    background-color: white;
    /* background-image: url(../images/header_background.svg); */
    background-image: url(../images/back3.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top left;
    height: 530px;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    overflow: hidden;
}

.header__title {
    display: inline-block;
    color: #fff;
    padding: 0 15px;
    font-size: 2.9em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    opacity: 0;
    position: absolute;
    top: 2em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header__subtitle {
    display: inline-block;
    padding: 3px 15px;
    color: #fff;
    font-size: 1.8em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    position: absolute;
    top: 6em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}

.header__btn {
    /* border: 4px solid #fff; */
    border-bottom-color: transparent;
    border-top-color: transparent;
    width: 220px;
    background-color: #382c65;
    border-radius: 25px;
    padding: 5px 0;
    color: #fff;
    font-size: 1.3em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0;
    position: absolute;
    bottom: 8em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    transition: all .3s linear;
}

.header__btn:hover {
    box-shadow: 0 3px 5px -3px #333, inset 0 -50px 0 0 #382266;
    color: #fff;
}

.header__mouse__container {
    box-sizing: border-box;
    position: absolute;
    bottom: -100px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 170px;
    height: 150px;
    background-color: #382266;
    border-radius: 50%;
}

.header__mouse {
    width: 34px;
    height: auto;
    position: absolute;
    bottom: 7.5em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 4;
}

.header__mouse__roll {
    width: 34px;
    height: auto;
    position: absolute;
    bottom: 7.5em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 4;
}

.header__mouse__text {
    color: #fff;
    font-size: 0.6em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    position: absolute;
    bottom: 9.2em;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: 4;
}


/*** Main section ***/

.main-container {
    opacity: 0;
    z-index: 1;
    position: relative;
    z-index: 1;
}


/*** About section ***/

.about {
    background-color: #382266;
}

.about__info__container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0 2em 3em;
}

.about__text {
    min-width: 300px;
    max-width: 560px;
    box-sizing: content-box;
    /* background-color: #ff789e; */
    padding: 0 2em 0;
    border-left: 15px solid white;
}

.about__text__description {
    font-family: 'Source Sans Pro', sans-serif;
}

.about__text__description:first-of-type {
    padding-bottom: 1em;
    color: #fff;
    font-size: 1.6em;
    font-weight: 400;
    border-bottom: 1px solid #fff;
}

.about__text__description:last-of-type {
    color: #fff;
    font-size: 1.3em;
    font-weight: 300;
}

.about__btn {
    display: inline-block;
    /* height: 26px; */
    margin: 0.5em 0 1em 0;
    padding: 5px 20px 3px;
    border-radius: 26px;
    background-color: #8d94ba;
    color: #fff;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    border: 4px solid #fff;
    border-bottom-color: transparent;
    border-top-color: transparent;
    transition: all 0.3s linear;
}

.about__btn:hover {
    box-shadow: inset 0 -50px 0 0 #382266;
    color: #fff;
}

.about__img {
    display: block;
    max-width: 360px;
    max-height: 360px;
    /* border-radius: 100%; */
    /* border: 15px solid white; */
    /* border-top-left-radius: 0;
    border-bottom-left-radius: 0; */
}

.about__img__mobile {
    display: none;
}


/*** Portfolio ***/

.portfolio {
    padding: 0 2em 3em;
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 4;
}

.portfolio__description {
    max-width: 65%;
    margin: 0 auto 2em;
    color: white;
    font-size: 1.2em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
    text-align: center;
}

.portfolio__nav__container {
    max-width: 918px;
    margin: 0 auto 0.5em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    background-color: #382c65;
}

.portfolio__nav__btn {
    width: 128px;
    margin: 1em 0.8em 0.8em;
    padding: 0 5px 4px;
    background-color: transparent;
    color: white;
    font-size: 1.1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    border: none;
    position: relative;
}

.portfolio__nav__btn:before,
.portfolio__nav__btn:after {
    content: "";
    position: absolute;
    top: -13%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    border-width: 0;
    border-style: solid;
    border-color: #fff;
    width: 128px;
    height: 115%;
    transition: all .3s linear;
}

.portfolio__nav__btn:before {
    border-top-width: 2px;
    border-left-width: 2px;
}

.portfolio__nav__btn:after {
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.portfolio__nav__btn:hover.portfolio__nav__btn:before,
.portfolio__nav__btn:hover.portfolio__nav__btn:after {
    width: 70%;
    height: 0%;
}

.portfolio__nav__btn:hover.portfolio__nav__btn:after {
    top: 100%;
}

.portfolio__items-container {
    max-width: 932px;
    margin: 0 auto;
    background-color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    overflow: hidden;
}

.portfolio__item {
    display: block;
    margin: 0.5em;
    width: 450px;
    background-color: #382c65;
    position: relative;
    overflow: hidden;
    float: left;
}

.portfolio__item__info {
    margin: 0.2em 0 0.5em;
    color: #fff;
    font-size: 1.4em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    text-align: center;
}

.portfolio__item__thumbnail {
    width: 100%;
    height: auto;
    border-bottom: 1px solid #cfd2e2;
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    transition: all 0.6s linear;
    z-index: 4;
}

.portfolio__item:hover .portfolio__item__thumbnail {
    -webkit-transform: scale(1.1) translateY(120%);
    transform: scale(1.1) translateY(120%);
}

.portfolio__item:hover .portfolio__item__hover {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
}

.portfolio__item__hover {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 2.5em;
    background-color: black;
    /* background: linear-gradient(to top, #0704052f 10%, #ff4d7f 100%); */
    position: absolute;
    left: 0;
    top: 0;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    transition: all 0.6s linear;
    text-align: center;
    z-index: 3;
}

.portfolio__item__hover:before {
    content: "";
    position: absolute;
    top: 2em;
    left: 1.5em;
    width: 0;
    height: 0;
    border-width: 0;
    border-top-width: 1px;
    border-left-width: 1px;
    border-style: solid;
    border-color: white;
    transition: all .8s linear;
}

.portfolio__item__hover:after {
    content: "";
    position: absolute;
    bottom: 4.5em;
    right: 1.5em;
    width: 0;
    height: 0;
    border-width: 0;
    border-bottom-width: 1px;
    border-right-width: 1px;
    border-style: solid;
    border-color: #fff;
    transition: all .8s linear;
}

.portfolio__item:hover .portfolio__item__hover:before,
.portfolio__item:hover .portfolio__item__hover:after {
    width: 85%;
    height: 65%;
}

.portfolio__item__hover__title {
    margin: 1.5em 0 0;
    color: #fff;
    font-size: 1.2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}

.portfolio__item__hover__description {
    max-width: 60%;
    margin: 0.5em auto 0;
    color: #fff;
    font-size: 1.3em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

.portfolio__item__hover__base-info {
    position: absolute;
    left: 40%;
    bottom: 3.5em;
    -webkit-transform: translateX(-35%);
    transform: translateX(-35%);
    color: #fff;
    font-size: 1.1em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 300;
}

.portfolio__item__hover__base-info__title {
    color: #fff;
    font-size: 1.8em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
}


/*** Contact ***/

.contact {
    padding: 0 0 3em;
    background-color: black;
    text-align: center;
}

.contact__description {
    margin: 0 auto;
    color: #fff;
    font-size: 1.4em;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 350;
}

.contact__link {
    display: inline-block;
    margin-top: 1em;
    font-size: 2em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    border-bottom: 1px solid #fff;
    transition: all 0.1s linear;
}

.contact__envelope {
    /* background-image: url(../images/envelope.svg); */
    background-image: url(../images/back3.jpeg);
    background-size: cover;
    /* height: 400px; */
    /* background-position: 95% 30%; */
    background-repeat: no-repeat;
}

.contact__social-btn__container {
    display: block;
    width: 390px;
    margin: 3em auto 0;
}

.contact__btn__link:first-child {
    margin-left: -1.5em;
}

.contact__social-btn {
    display: inline-block;
    width: 25px;
    height: 23px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    border: 4px solid rgba(255, 255, 255, 1);
    border-bottom-color: transparent;
    border-top-color: transparent;
    transition: all 0.3s linear;
    margin-left: -1.3em;
}

.contact__social-btn__container .fa.fa-twitter,
.contact__social-btn__container .fa.fa-codepen,
.contact__social-btn__container .fa.fa-github,
.contact__social-btn__container .fa.fa-youtube,
.contact__social-btn__container .fa.fa-linkedin-square {
    color: #fff;
    position: relative;
    left: 1.02em;
    top: -0.67em;
}

.contact__social-btn__container .fa.fa-twitter {
    left: 1.05em;
}

.contact__social-btn__container .fa.fa-codepen {
    left: 1.1em;
}

.contact__social-btn:hover {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}


/***  Footer  ***/

.footer {
    /* border-top: 2px solid #cfd2e2; */
    height: 100px;
    background-color: #382266;
    opacity: 0;
    position: relative;
    top: 2em;
}

.footer__info__container {
    margin: 1.5em 4em 1em;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.footer__copyright {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    margin: 0;
    color: #cfd2e2;
    font-family: "Open Sans", sans-serif;
    font-size: 1.1em;
    font-weight: 400;
}

.footer-menu__list {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    text-align: center;
    padding: 0;
}

.footer-menu__list-item {
    display: inline-block;
    margin: 0 0.5em;
    color: #fff;
    font-size: 1.1em;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    opacity: 1;
}

.footer-menu__link {
    color: #cfd2e2;
    -webkit-transform: none;
    transform: none;
    transition: all 0.1s linear;
}

.footer-menu__link:hover {
    color: #fff;
}

.footer__social-btn {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    opacity: 1;
    text-align: right;
}


/* Coming Soon Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4); 
  }
  
  /* Modal Content/Box */
  .modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  
  /* The Close Button */
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }