@font-face {
    font-family: 'Titillium Web';
    src: url(./fonts/TitilliumWeb-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: 'Titillium Web';
    src: url(./fonts/TitilliumWeb-Italic.ttf);
    font-style: italic;
    font-weight: 400;
}
@font-face {
    font-family: OpenSans;
    src: url(./fonts/OpenSans-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: OpenSans;
    src: url(./fonts/OpenSans-SemiBold.ttf);
    font-weight: 600;
}
@font-face {
    font-family: OpenSans;
    src: url(./fonts/OpenSans-Bold.ttf);
    font-weight: 700;
}
@font-face {
    font-family: Satisfy;
    src: url(./fonts/Satisfy-Regular.ttf);
    font-weight: 400;
}
@font-face {
    font-family: Raleway;
    src: url(./fonts/Raleway-Bold.ttf);
    font-weight: 900;
}
@font-face {
    font-family: Raleway;
    src: url(./fonts/Raleway-Medium.ttf);
    font-weight: 400;
}


*{
    margin: 0px;
    }
body {
    text-align: center;
}
/*----Header----*/
.header {
    background-color: #1e0d33;
    border-bottom: 1px solid #554764;
    align-items: center;
    padding: 30px 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1;
}
.header__img {
    padding-bottom: 20px;
    justify-content: center;
}
.header__navigation {
    display: flex;
    list-style-type: none;
    justify-content: space-around;
    align-items: center;
    padding-left: 0;
}
.header__link.active {
    border-bottom: 5px solid #03b297;
    padding-bottom: 26px;
    transition: all 100ms;
}
.header__link {
    font-family: 'Titillium Web';
    font-weight: 400;
    font-size: 13px;
    color: #ffffff;
    text-decoration: none;
}
/*----Part 1. Hello----*/
.part-1 {
    background: linear-gradient(to top, #500a38, #1e0d33);
    height: calc(100vh - 153px);
    display:  flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.part-1__text {
    color: #ffffff;
}
.part-1__h6 {
    font-family: 'OpenSans';
    font-weight: 400;
    font-size: 17px;
}
.part-1__h1 {
    font-family: 'Raleway';
    font-weight: 900;
    font-size: 41px;
    margin: 30px 0;
}
.part-1__h3 {
    font-family: 'Satisfy';
    font-weight: 400;
    font-size: 30px;
    margin-bottom: 100px;
}
.button {
    border: none;
    background-color: #03b297;
    color: white;
    font-family: 'OpenSans';
    font-weight: 700;
    font-size: 20px;
    border-radius: 5px;
    padding: 17px 40px;
    outline: none;
    cursor: pointer;
}

/*----Part 2. About me----*/
.part-2 {
    padding-bottom: 60px;
}
.heading-2 {
    display: inline-block;
    color: black;
    font-family: 'Raleway';
    font-weight: 400;
    font-size: 30px;
    font-weight: normal;
    padding-bottom: 25px;
    margin-top: 50px;
}
.underline {
    position: relative;
}
.underline:after {
    content: '';
    border-bottom: 2px solid #530f3d;
    display: block;
    width: 105px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.ellipse {
    margin: 40px 0;
}
.ellipse__img {
    width: 125px;
    height: 125px;
}
.part-2__text {
    font-family: 'Titillium Web';
    font-weight: 400;
    font-size: 25px;
    margin: 0 20px 75px 20px;
}
.part_2 a {
    padding: 15px;
    line-height: 0;
    font-size: 0;
    background-size: cover;
    margin: 0 7px;
}
.part-2__link-tw {
    background-image: url(./img/twitter_1.png);
}
.part-2__link-tw:hover {
    background-image: url(./img/twitter-hover.png);
    transition: all 100ms;
}
.part-2__link-fb {
    background-image: url(./img/facebook_1.png);
}
.part-2__link-fb:hover {
    background-image: url(./img/facebook-hover.png);
    transition: all 100ms;
}
.part-2__link-inst {
    background-image: url(./img/instagram_1.png);
}
.part-2__link-inst:hover {
    background-image: url(./img/instagram-hover.png);
    transition: all 100ms;
}
.part-2__link-gp {
    background-image: url(./img/google_plus_1.png);
}
.part-2__link-gp:hover {
    background-image: url(./img/google_plus-hover.png);
    transition: all 100ms;
}
.part-2__link-ln {
    background-image: url(./img/linkedin_1.png);
}
.part-2__link-ln:hover {
    background-image: url(./img/linkedin-hover.png);
    transition: all 100ms;
}
/*----Part 3. Icons----*/
.part-3 {
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
}
.part-3__icons {
    display: inline-block;
    width: 67px;
    height: 59px;
    background: #944a9f;
    border-radius: 7px;
    text-align: center;
}
.part-3__section {
    margin: 40px 0;
}
.part-3__img {
    padding: 14px;
}
.part-3__h5 {
    font-family: 'OpenSans';
    font-weight: 600;
    font-size: 24px;
    color: #373737;
    margin: 30px 0;
}
.part-3__text {
    font-family: 'Titillium Web';
    font-weight: 400;
    font-size: 21px;
    color: #676767;
}
/*----Part 4. PORTFOLIO----*/
.part-4 {
    padding-bottom: 85px;
}
.portfolio {
    display: flex;
    flex-direction: column;
    max-width: 1170px;
    width: 100%;
    margin: 0 auto;
}
.portfolio__flex {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
}
.portfolio__flex:nth-child(2) {
    flex-direction: column-reverse;
}
.portfolio__block {
    position: relative;
    background: #e1e1e1;
    height: 510px;
    margin: 15px;
    width: calc(100vw - 50px);
    text-align: center;
}
.portfolio__block > * {
    transition: all 0.5s;
    opacity: 0;
}
.portfolio__text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Raleway';
    font-weight: 800;
    font-size: 24px;
    color: #ffffff; 
}
.portfolio__block:last-child {
    height: 300px;
}
.portfolio__flex:nth-child(2) .portfolio__block:first-child,
.portfolio__flex:nth-child(3) {
    display: none;
}
.portfolio__block:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #500a38, #1e0d33);
    transition: all 0.5s;
    opacity: 0;
}
.portfolio__block:hover > *,
.portfolio__block:hover:before {
    opacity: 1;
}
.buttonOrange {
    background-color: #f0520e;
}
/*----Part 5. TESTIMONIALS----*/
.part-5 {
    background-color: #f2f2f2;
    padding-bottom: 60px;
}
.blockquote {
    font-family: 'Titillium Web';
    font-style: italic;
    font-size: 25px;
    color: #676767;
    margin-bottom: 95px;
    padding: 0 20px;
}
.heading-4 {
    font-family: 'OpenSans';
    font-weight: 600;
    font-size: 26px; 
}
.underline_bottom {
    position: relative;
}
.underline_bottom:after {
    content: '';
    border-bottom: 2px solid #530f3d;
    display: block;
    width: 105px;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
}
/*----Part 6. CONTACT----*/
.part-6 {
    background: linear-gradient(to top, #1e0d33, #500a38);
    padding-bottom: 90px;
}
.underline_green {
    position: relative;
    font-family: "Raleway";
    font-weight: 500;
    color: #ffffff;
    font-size: 23px;
    margin-top: 50px;
}
.underline_green:after {
    content: '';
    border-bottom: 2px solid #297079;
    display: block;
    width: 105px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
.part-6__section {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding-top: 30px;
}
.list {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    text-align: left;
    justify-content: space-around;
    margin-left: 25px;
}
.list__item-1 {
    list-style-image: url(./img/icon_see.png);
}
.list__item-2 {
    list-style-image: url(./img/icon_call.png);
}
.list__item-3 {
    list-style-image: url(./img/icon_write.png);
}
.list__text-1 {
    font-family: 'OpenSans';
    font-weight: 600;
    font-size: 26px;
    color: #ffffff;
    padding-left: 24px;
    margin-bottom: 30px;
}
.list__text-2 {
    font-family: 'Titillium Web';
    font-weight: 400;
    color: #ffffff;
    font-size: 21px;
    padding-left: 24px;
    margin-bottom: 50px;
}
.form {
    text-align: center;
}
.form__input {
    border: 2px solid #bd9fb7;
    background-color: transparent;
    color: white;
    font-family: 'Titillium Web';
    font-weight: normal;
    font-size: 16px;
    padding-left: 16px;
    width: calc(100vw - 50px);
    height: 60px;
    margin-bottom: 20px;
}
.form__text {
    border: 2px solid #bd9fb7;
    background-color: transparent;
    color: white;
    font-family: 'Titillium Web';
    font-weight: normal;
    font-size: 16px;
    padding-left: 16px;
    width: calc(100vw - 50px);
    height: 210px;
    margin-bottom: 35px;
}
.form__button {
    padding: 20px 95px;
    font-size: 20px;
}
.form__paragraph {
    font-family: 'Titillium Web';
    font-weight: 400;
    font-size: 21px;
    color: #ffffff; 
}
/*----Footer----*/
.footer {
    background-color: #290f38;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px 0;
}
.footer__navigation {
    margin: 40px 0;
}
.footer__link {
    padding: 20px;
    line-height: 0;
    font-size: 0;
    background-size: cover;
    margin: 0 10px;
}
.footer__link-tw {
    background-image: url(./img/twitter.png);
}
.footer__link-tw:hover {
    background-image: url(./img/twitter-hover.png);
    transition: all 100ms;
}
.footer__link-fb {
    background-image: url(./img/facebook.png);
}
.footer__link-fb:hover {
    background-image: url(./img/facebook-hover.png);
    transition: all 100ms;
}
.footer__link-inst {
    background-image: url(./img/instagram.png);
}
.footer__link-inst:hover {
    background-image: url(./img/instagram-hover.png);
    transition: all 100ms;
}
.footer__link-gp {
    background-image: url(./img/google_plus.png);
}
.footer__link-gp:hover {
    background-image: url(./img/google_plus-hover.png);
    transition: all 100ms;
}
.footer__link-ln {
    background-image: url(./img/linkedin.png);
}
.footer__link-ln:hover {
    background-image: url(./img/linkedin-hover.png);
    transition: all 100ms;
}
.footer__text {
    font-family: 'Titillium Web';
    font-weight: 400;
    font-size: 20px;
    color: #7f6f96;
    display: inline-block;
}

@media (min-width: 1024px) {
/*----Header----*/
    .header {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    .header__img {
        padding-bottom: 0;
    }
    .header__item {
        margin: 0 20px;
    }
    .header__link {
        font-size: 19px;        
    }
    .header__link.active,
    .header__link:hover {
        border-bottom: 5px solid #03b297;
        padding-bottom: 37px;
        transition: all 100ms;
    }
/*----Part 1. Hello----*/
    .part-1 {
        height: calc(100vh - 100px);
    }
    .part-1__h6 {
        font-size: 30px;
    }
    .part-1__h1 {
        font-size: 73px;
        margin: 40px 0;
    }
    .part-1__h3 {
        font-size: 43px;
        margin-bottom: 35px;
    }
    .button:hover {
        background-color: #939393;
        transition: all 100ms;
    }
/*----Part 2. About me----*/
    .part-2 {
        padding-bottom: 100px;
    }
    .heading-2 {
        padding-bottom: 35px;
        margin-top: 80px;
    }
    .ellipse {
        margin: 60px 0;
    }
    .ellipse__img {
        width: 220px;
        height: 220px;
    }
    .part-2__text {
        white-space: pre;
    }
/*----Part 3. Icons----*/
    .part-3 {
        flex-direction: row;
        justify-content: space-evenly;
        padding: 70px 0;
    }
/*----Part 4. PORTFOLIO----*/
    .part-4 {
        padding-bottom: 85px;
    }
    .portfolio {
        flex-direction: row;
        margin-top: 100px;
        margin-bottom: 40px;
    }
    .portfolio__block {
        width: 360px;
    }
    .portfolio__flex:nth-child(2) .portfolio__block:first-child,
    .portfolio__flex:nth-child(3) {
        display: flex;
    }

/*----Part 5. TESTIMONIALS----*/
    .part-5 {
        padding-bottom: 150px;
    }
    .underline_2:after {
        top: -43px;
    }
    .blockquote {
        white-space: pre;
    }
/*----Part 6. CONTACT----*/
    .part-6__section {
        display: flex;
        justify-content: center;
        flex-direction: row;
        padding-top: 59px;
        align-items: normal;
    }
    .list {
        margin-right: 90px;
        align-items: stretch;
        padding-left: 0;
    }
    .list__text-1 {
        font-size: 20px;
        margin-bottom: 0;
    }
    .list__text-2 {
        font-size: 16px;
        margin-bottom: 0;
    }
    .form {
        text-align: left;
    }
    .form__input {
        margin-bottom: 0;
        width: 350px;
    }
    .form__input-email {
        margin-left: 25px;
    }
    .form__text {
        margin: 25px 0;
        width: 750px;
    }
/*----Footer----*/
    .footer {
        background-color: #290f38;
        padding: 35px 0;
        flex-direction: row;
        justify-content: space-around;
    }
    .footer__navigation {
        margin: 0;
    }
}