* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    background: linear-gradient(rgba(255, 255, 255, 0.8),
            rgba(255, 255, 255, 0.8)),
        url(./img/banner.jpg) center/cover fixed no-repeat;
}

/*header*/
header {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

nav {
    flex: 0 0 10%;
}

.banner {
    flex: 1 0 90%;
}

/*nav btn*/
.bar1,
.bar2,
.bar3 {
    width: 28px;
    height: 4px;
    background: #ffc914;
    margin: 5px;
}

.nav-btn {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    margin: 10px 15px;
    -webkit-animation: bounce 2s ease infinite;
    animation: bounce 2s ease infinite;
    cursor: pointer;
}

@-webkit-keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.45);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.45);
    }

    100% {
        transform: scale(1);
    }
}

.nav-logo img {
    text-align: center;
    width: 250px;
}

/*navbar*/
.desktop-nav {
    display: none;
}

.navbar {
    width: 64vw;
    max-width: 400px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: #f5f3f5;
    transition: all 1s ease;
    /*    transform*/
    transform: translateX(-100%);
}

.showNav {
    transform: translateX(0);
}

.nav-close {
    font-size: 25px;
    padding: 10px 25px;
    cursor: pointer;
    color: #ffc914;
}

.nav-links {
    list-style-type: none;
}

.nav-link {
    padding: 10px 25px;
    transition: all 1s ease;
}

.nav-link a {
    font-family: "ubuntu", serif;
    display: block;
    font-size: 25px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffc914;
    transition: all 1s ease;
}

.nav-link:hover {
    background: #ffc914;
    padding-left: 31px;
}

.nav-link:hover a {
    color: #f5f3f5;
}

/*desktop nav*/
@media screen and (min-width: 992px) {
    .mobile-nav {
        display: none;
    }

    .desktop-nav {
        display: flex;
        width: 70vw;
        margin: 0 auto;
        justify-content: center;
        align-items: center;
    }

    .desktop-nav-logo {
        flex: 0 0 25%;
    }

    .desktop-nav-logo img {
        width: 100%;
    }

    .desktop-nav-links {
        flex: 0 0 50%;
        display: flex;
        justify-content: center;
        align-items: baseline;
        list-style-type: none;
        text-align: center;
        font-family: "ubuntu", sans-serif;
    }

    .desktop-nav-link {
        padding: 10px;
        flex: 1 1 70px;
        transition: all 1s ease;
        border-radius: 10px;
    }

    .desktop-nav-link a {
        display: block;
        font-size: 14.9px;
        text-decoration: none;
        color: #474747;
        transition: all 1s ease;
    }

    .contact-link {
        background: #ffc914;
        border-radius: 10px;
    }

    .desktop-nav-link:hover {
        background: #ffc914;
        color: #f5f3f5;
    }

    .desktop-nav-link:hover a {
        color: #f5f3f5;
    }
}

/*banner*/
.banner {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.banner-info {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    max-width: 70vw;
    margin: 0 auto;
}

.banner-img {
    flex: 0 0 50%;
    text-align: center;
}

.banner-img img {
    width: 298px;
}

.banner-text {
    flex: 0 0 50%;
    text-align: center;
}

.banner-text h1 {
    font-size: 2rem;
    text-transform: capitalize;
    color: #ffc914;
    margin: 10px 0;
}

.banner-text h2 {
    font-size: 1rem;
    color: #474747;
    text-transform: capitalize;
    margin: 0 auto;
}

.banner-text span {
    color: #ff4e01;
}

.banner-btn a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 19px;
    color: #ffc914;
    padding: 10px 15px;
    border: 4px solid #ffc914;
    transition: background 1s ease, color 1s ease;
}

.banner-btn a:hover {
    background: #ffc914;
    color: #f5f3f5;
}

/*resposivity for mobiles*/
@media screen and (max-width: 576px) {
    .banner-text h1 {
        font-size: 1.72rem;
    }

    .banner-text h2 {
        width: 100%;
    }

    .banner-btn a {
        font-size: 14.5px;
        color: #ffc914;
        padding: 8px 15px;
        border: 2.8px solid #ffc914;
    }
}

@media screen and (max-width: 364px) {
    .banner-btn {
        display: none;
    }
}

/*responsivity for desktop*/
@media screen and (min-width: 776px) {
    .banner-info {
        flex-direction: row-reverse;
    }

    .banner-img img {
        width: 325px;
    }

    .banner-text {
        flex: 0 0 50%;
        text-align: center;
    }

    .banner-text h1 {
        font-size: 2rem;
        text-transform: capitalize;
        color: #ffc914;
        margin: 10px 0;
    }

    .banner-text h2 {
        font-size: 1rem;
        color: #474747;
        text-transform: capitalize;
        margin: 0 auto;
    }

    .banner-text span {
        color: #ff4e01;
    }

    .banner-btn a {
        text-decoration: none;
        text-transform: uppercase;
        font-size: 19px;
        color: #ffc914;
        padding: 10px 15px;
        border: 4px solid #ffc914;
        transition: background 1s ease, color 1s ease;
    }

    .banner-btn a:hover {
        background: #ffc914;
        color: #f5f3f5;
    }
}

/*shortcuts*/
.shortcuts {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 10px;
}

.shortcuts .link {
    margin: 0 1.4rem;
    text-align: center;
}

.shortcuts .link a {
    background: #ffc914;
    display: block;
    color: #474747;
    font-size: 2.5rem;
    padding: 0.8rem 1.1rem;
    transition: background 1s ease, color 1s ease;
    border-radius: 1.54rem;
}

.shortcuts .link:hover a {
    color: #ffc914;
    background: #474747;
}

.shortcuts .link h4 {
    font-family: "ubuntu", sans-serif;
    margin: 0.46rem auto;
    color: #474747;
    text-transform: uppercase;
}

/*responsivity for mobile*/
@media screen and (max-width: 576px) {
    .shortcuts .link {
        margin: 0 0.46rem;
        align-self: center;
    }

    .shortcuts .link a {
        font-size: 2.25rem;
        padding: 0.4rem 0.9rem;
        border-radius: 1.45rem;
    }

    .shortcuts .link h4 {
        font-size: 0.82rem;
        margin: 0.46rem 0;
    }
}

/*about*/
.about {
    background: #f5f3f5;
    padding: 40px 0 80px 0;
}

.title {
    margin-bottom: 25px;
}

.title-container {
    display: flex;
    align-items: center;
    margin: 0 10px 10px 20px;
}

.title-icon {
    color: #191919;
    font-size: 40px;
    margin-right: 25px;
}

.title-text {
    font-family: "ubuntu", sans-serif;
    font-size: 40px;
    text-transform: uppercase;
    color: #ffc914;
    padding: 0 1rem;
    border-left: 4px solid #191919;
}

.title-underline {
    width: 25px;
    height: 4px;
    background: #f5f3f5;
    transition: all 4s ease;
}

.title:hover .title-underline {
    width: 400px;
    background: #ffc914;
}

.about-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-img img {
    border-radius: 50%;
    border: 10px solid #e0e0e0;
    background: #fff;
    overflow: hidden;
    transition: all 1s ease;
    margin-bottom: 10px;
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.75);
}

.about-img:hover img {
    opacity: 0.7;
    transform: scale(1.09);
}

.about-text {
    width: 80%;
    text-align: center;
    color: #7b8b8c;
    margin: 10px auto;
}

.span1,
.span2 {
    color: #ffc914;
}

.about-text a {
    color: #00a7e1;
    text-decoration: none;
}

@media screen and (min-width: 992px) {
    .about {
        min-height: 50vh;
        padding: 80px 0;
    }

    .about-center {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        max-width: 70vw;
        margin: 0 auto;
        padding: 40px;
    }

    .about-img {
        flex: 0 0 40%;
        text-align: center;
    }

    .about-text {
        flex: 0 0 50%;
        text-align: center;
        margin-right: 14%;
        font-size: 19px;
    }
}

/*quotes*/
.quotes {
    padding: 70px 0;
}

.quotes-center {
    max-width: 86vw;
    margin: 0 auto;
    padding: 40px 25px;
    display: flex;
    justify-content: space-around;
    color: #474747;
}

.quotes-icon {
    font-size: 70px;
    margin-right: 25px;
    color: #ffc914;
}

.quotes-icon-right {
    font-size: 70px;
    margin-left: 25px;
    color: #ffc914;
}

.quotes-text {
    font-family: "montserrat", sans-serif;
}

.quotes-text h4 {
    text-align: justify;
    font-size: 19px;
}

.quotes-text h2 {
    margin-left: 25%;
}

@media screen and (max-width: 776px) {
    .quotes-center {
        max-width: 90vw;
    }

    .quotes-icon {
        font-size: 40px;
        margin-right: 10px;
        color: #ffc914;
    }

    quotes-icon-right {
        font-size: 40px;
        margin-left: 10px;
        color: #ffc914;
    }

    .quotes-text {
        font-family: "montserrat", sans-serif;
    }

    .quotes-text h4 {
        text-align: justify;
        margin: 0 0 10px 0;
    }

    .quotes-text h2 {
        margin-left: 10%;
    }
}

/*skills*/
.skills {
    padding: 40px 0 80px 0;
    background: #f5f3f5;
}

.skills-center {
    max-width: 90vw;
    margin: 0 auto;
    text-align: center;
}

.skill-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.skill {
    flex: 0 0 40%;
}

.skill-heading {
    font-family: "ubuntu", sans-serif;
    margin: 2.5rem;
    color: #00a7e1;
    padding: 10px;
    width: 20%;
    font-size: 25px;
    border-left: 10px solid #ffc914;
}

.skill-icon {
    font-size: 70px;
    color: #f5f3f5;
    margin: 0 auto;
}

.skill-text {
    font-size: 18.1px;
    color: #f5f3f5;
    text-transform: uppercase;
    margin: 5px auto;
}

.skill-text h2 {
    margin-left: 10px;
}

.skill {
    position: relative;
    overflow: hidden;
}

.skill-percentage {
    font-size: 70px;
    width: 100%;
    height: 100%;
    background: #ffc914;
    position: absolute;
    border-radius: 10px;
    margin-top: 450px;
    color: #474747;
    transition: margin 1s ease;
}

.skill:hover .skill-percentage {
    margin-top: 0;
}

.skill-1 {
    background: #403d58;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-2 {
    background: #f896d8;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-3 {
    background: #ef5d60;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-3 img {
    width: 70px;
}

.skill-4 img {
    width: 70px;
}

.skill-4 {
    background: #3ab795;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-a {
    background: #fe5e41;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-b {
    background: #73d2de;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-c {
    background: #df3b57;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

.skill-d {
    background: #084c61;
    border-radius: 10px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 10px;
}

@media screen and (min-width: 992px) {
    .skill {
        flex: 0 0 20%;
    }
}

/*projects*/
.projects {
    padding: 40px 0 80px 0;
    background: #f5f3f5;
}

.projects-center {
    max-width: 90vw;
    margin: 0 auto;
}

.project-card {
    position: relative;
    overflow: hidden;
    margin: 10px;
    border-radius: 10px;
}

.project-img img {
    width: 100% !important;
    height: 205px;
    display: block;
    min-height: 100%;
}

.project-card .project-icon {
    font-size: 70px;
    color: #ffc914;
    top: 50%;
    z-index: 10;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    position: absolute;
    transition: transform 1s ease;
}

.project-card .black-background {
    background: #000;
    width: 100% !important;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0.46;
    transform: scale(0);
    transition: all 1s ease;
}

.project-card:hover .project-icon {
    transform: translate(-50%, -50%) scale(1);
}

.project-card:hover .black-background {
    transform: scale(1);
}

/*interests*/
.interests {
    background: #f5f3f5;
    padding: 40px 0 80px 0;
}

.interests-center {
    max-width: 90vw;
    margin: 0 auto;
}

.interest {
    text-align: center;
    overflow: hidden;
    background: #191919;
    margin: 40px;
    position: relative;
    outline: 4px solid #ffc914;
    padding: 4px;
    box-shadow: 4px 4px 6px #191919;
    transition: all 1s ease;
}

.interest-img img {
    display: block;
    width: 100%;
    min-height: 100%;
    opacity: 0.64;
    transition: all 1s ease;
}

.interest-text {
    font-family: "ubuntu", sans-serif;
    font-size: 40px;
    color: #f5f3f5;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 1s ease;
}

.interest-footer {
    position: absolute;
    top: 50%;
    text-align: center;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding-top: 700px;
    transition: all 1s ease;
}

.interest-footer h2 {
    color: #f9f9f9;
    border: 1.9px solid #ffc914;
    margin: 10px auto;
}

.interest-footer p {
    text-transform: capitalize;
    color: #e0e0e0;
    line-height: 1.4;
    letter-spacing: 1px;
}

.interest:hover img {
    opacity: 0.1;
}

.interest:hover .interest-text {
    padding-bottom: 754px;
}

.interest:hover .interest-footer {
    padding-top: 0;
}

@media screen and (min-width: 576px) {
    .interests-center {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-column-gap: 2.5rem;
        grid-row-gap: 1rem;
    }

    .interest {
        margin: 0;
    }
}

@media screen and (min-width: 992px) {
    .interests-center {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-column-gap: 2.5rem;
        grid-row-gap: 1rem;
    }

    .interest {
        margin: 0;
    }
}

@media screen and (min-width: 1092px) {
    .interests-center {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-column-gap: 2.17rem;
        grid-row-gap: 2rem;
    }

    .interest {
        margin: 0;
    }
}

/*gallery*/
.gallery {
    padding: 40px 0 80px 0;
    background: #f5f3f5;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.button-group button {
    margin: 0 10px 10px 0;
    font-size: 19px;
    color: #00a7e1;
    font-family: "ubuntu", sans-serif;
    text-transform: capitalize;
    background: transparent;
    padding: 10px 15px;
    border: none;
    box-shadow: 0 4px 10px #191919;
    transition: all 1s ease;
}

.button-group button:hover {
    background: #00a7e1;
    color: #f5f3f5;
}

.picture-container {
    max-width: 90vw;
    margin: 0 auto;
}

.picture-item {
    display: block;
    width: calc(50% - 20px);
    margin: 10px;
    box-shadow: 0 4px 10px #191919;
}

.picture-item:hover {
    opacity: 0.8;
}

.picture-item img {
    width: 100%;
    display: inline-block;
    outline: 4px solid #00a7e1;
    padding: 10px;
}

@media screen and (min-width: 992px) {
    .picture-item {
        width: calc(25% - 20px);
        margin: 10px;
    }
}

/*contact*/
.contact {
    padding: 40px;
}

.contact-info {
    padding: 10px 0;
    text-align: center;
    box-shadow: 0px 0px 91px 1px rgba(0, 189, 157, 1);
    background: #00bd9d;
}

.contact-title h1 {
    color: #ffc914;
    text-transform: uppercase;
    font-family: "ubuntu", serif;
    letter-spacing: 10px;
}

.contact-center {
    width: 90%;
    margin: 0 auto;
}

.contact-text h1 {
    color: #f5f5f5;
    font-size: 14.5px;
    text-transform: capitalize;
    letter-spacing: 1.9px;
    margin: 10px 0;
}

.contact-form {
    margin: 10px 0;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form form input,
textarea {
    font-family: "montserrat", sans-serif;
    margin: 4px;
    padding: 10px 15px;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2.8px solid #ffc914;
    color: #fff;
    font-size: 14.5px;
}

.contact-form form input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    font-family: "montserrat", sans-serif;
    font-size: 14.5px;
    color: #f5f3f5;
    text-transform: capitalize;
    letter-spacing: 4px;
}

.contact-form form input::-moz-placeholder,
textarea::-moz-placeholder {
    font-family: "montserrat", sans-serif;
    font-size: 14.5px;
    color: #f5f3f5;
    text-transform: capitalize;
    letter-spacing: 4px;
}

.contact-form form input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    font-family: "montserrat", sans-serif;
    font-size: 14.5px;
    color: #f5f3f5;
    text-transform: capitalize;
    letter-spacing: 4px;
}

.contact-form form input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    font-family: "montserrat", sans-serif;
    font-size: 14.5px;
    color: #f5f3f5;
    text-transform: capitalize;
    letter-spacing: 4px;
}

.contact-form form input::placeholder,
textarea::placeholder {
    font-family: "montserrat", sans-serif;
    font-size: 14.5px;
    color: #f5f3f5;
    text-transform: capitalize;
    letter-spacing: 4px;
}

.contact-form form button {
    font-family: "ubuntu", serif;
    background: transparent;
    border: 2.8px solid #ffc914;
    padding: 10px 15px;
    font-size: 14.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    color: #ffc914;
    margin: 10px 0;
    letter-spacing: 1.9px;
    transition: all 1s ease;
}

.contact-form form button:hover {
    background: #ffc914;
    color: #fff;
}

.contact-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 10px 70px;
}

.contact-links a {
    font-size: 25px;
    color: #474747;
    transition: all 1s ease;
}

.contact-links a:hover {
    transform: scale(1.27);
}

.contact-links .fa-facebook:hover {
    color: #3b5998;
}

.contact-links .fa-instagram:hover {
    color: #e1306c;
}

.contact-links .fa-linkedin:hover {
    color: #2867b2;
}

.contact-links .fa-google:hover {
    color: #0f9d58;
}

@media screen and (min-width: 776px) {
    .contact {
        padding: 40px 95px;
    }

    .contact-links {
        margin: 19px 217px;
    }
}
