/*light blue #2b98f0*/

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', sans-serif;
    background: #f5f5f5;
}

#header {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    flex: 0 0 auto;
}

#banner {
    flex: 1 0 auto;
}

nav ul {
    list-style-type: none;
}

nav ul li a {
    display: block;
    color: #2b98f0;
    background: transparent;
    text-decoration: none;
    padding: 10px;
    font-size: 20px;
    transition: 1s color ease,
        background 1s ease,
        padding 1s ease;
}

nav ul li a:hover {
    color: #f5f5f5;
    padding-left: 59.71px;
    background: #2b98f0;
}

#nav-top {
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 20px 10px;
}

#nav-top h3 {
    font-size: 30px;
    padding: 5px;
    color: #2b98f0;
    border: 2.5px solid;
    transition: color 2s ease, background 2s ease;
}

#nav-top h3:hover {
    background: #2b98f0;
    color: #f5f5f5;
}

#menu-btn {
    padding: 5px;
    border: 2px solid #2b98f0;
    cursor: pointer;
    align-self: center;
}

.bar1,
.bar2,
.bar3 {
    height: 5px;
    width: 35px;
    background: #2b98f0;
    margin: 4px 0;
    transition: transform 1s ease;
}

.turn .bar1 {
    transform: rotate(-45deg) translate(-7px, 4px);
}

.turn .bar2 {
    opacity: 0;
}

.turn .bar3 {
    transform: rotate(45deg) translate(-8px, -6.40px);
}

@media screen and (min-width: 690px) {
    nav {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        padding: 0 19.45px;
    }

    #menu-btn {
        display: none;
    }

    nav ul {
        flex: 1 1 auto;
        display: flex !important;
        /*        important*/
        flex-wrap: wrap;
    }

    nav ul li {
        flex: 1 0 125px;
    }

    nav ul .icon {
        flex: 0 0 19.45px;
    }

    nav ul li .link-icon {
        background: #395e7e;
        color: #f5f5f5;
    }

    nav ul li .link-icon:hover {
        background: #008dff;
    }

    nav ul a {
        text-align: center;
    }

    nav ul a:hover {
        padding: 10px !important;
    }

    #nav-top {
        padding: 10px;
    }
}

/*banner*/
#banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url(images/banner-img.jpeg);
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#banner-box {
    color: #f5f5f5;
    text-align: center;
}

#banner-title {
    text-transform: capitalize;
    font-size: 60px;
}

.banner-underline {
    width: 200px;
    margin: 10px auto;
    border: 4px solid #2b98f0;
}

.banner-subtitle {
    font-size: 25px;
    text-transform: capitalize;
    margin: 20px 0 40px 0;
}

#banner-box a {
    display: inline-block;
    padding: 10px;
    color: #f5f5f5;
    font-size: 40px;
    text-decoration: none;
    background: #2b98f0;
    border: 4px solid #2b98f0;
    transition: background 4s ease, border 0.5s ease;
}

#banner-box a:hover {
    background: transparent;
    border: 4px solid #f5f5f5;
}

/*title*/
.title {
    margin: 10px 0 40px 0;
    cursor: pointer;
}

.title-text {
    text-transform: capitalize;
    font-size: 60px;
    color: #575757;
}

.title-underline {
    width: 50px;
    border: 4px solid #2b98f0;
    transition: width 4s ease, border 4s ease;
}

.title:hover .title-underline {
    width: 200px;
    border: 4px solid red;
}

/*skills*/
#skills {
    padding: 40px;
}

.skill {
    text-align: center;
    margin: 20px 0;
}

.skill .fa {
    color: #2b98f0;
    padding: 20px;
    border-radius: 50%;
    font-size: 60px;
    transition: transform 0.5s ease-in, color 0.5s ease, background 0.5s ease;
}

.skill .fa:hover {
    transform: scale(0.7);
    color: #f5f5f5;
    background: #2b98f0;
}

.skill h3 {
    color: #2b98f0;
    text-transform: capitalize;
    margin: 10px 0 15px 0;
    font-size: 30px;
}

.skill p {
    line-height: 1.5;
    width: 75%;
    margin: 0 auto;
}

@media screen and (min-width: 576px) {
    .skills-center {
        max-width: 90vw;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .skill {
        flex: 0 1 calc(50% - 2em);
    }
}

@media screen and (min-width: 992px) {
    .skill {
        flex: 0 1 calc(25% - 2em);
    }
}

/*about*/
#about {
    padding: 40px;
    background: #c9c9c9;
}

#about-text,
#about-video {
    padding: 40px;
}

#about-text h2 {
    font-size: 35px;
    color: #f5f5f5;
}

#about-text p {
    margin: 20px 0;
}

#about-text a {
    display: inline-block;
    font-size: 30px;
    color: #f5f5f5;
    border: 2px solid #2b98f0;
    padding: 10px;
    text-transform: uppercase;
    text-decoration: none;
    background: #2b98f0;
    transition: background 0.5s ease, border 0.5 ease;
}

#about-text a:hover {
    background: transparent;
    border: 2px solid #f5f5f5;
}

/* responsive about*/
@media screen and (min-width: 772px) {
    #about {
        display: flex;
    }

    #about-text {
        min-height: 40vh;
        flex: 0 0 60%;
    }

    #about-video {
        min-height: 40vh;
        flex: 0 0 40%;
    }
}

/*services*/

#services {
    padding: 40px;
}

.service {
    margin: 30px 0;
    display: flex;
}

.service-icon .fa {
    font-size: 60px;
    color: #2b98f0;
    margin-right: 20px;
}

.service-subtitle {
    text-transform: capitalize;
    font-size: 20px;
    color: #2b98f0;
}

.service-info {
    margin-top: 10px;
    line-height: 1.5;
}

.service:hover .fa,
.service:hover .service-subtitle {
    color: rgba(0, 0, 0, 0.8);
}

.service-info:hover {
    color: rgb(147, 147, 147);
}

/*services responsive*/

@media screen and (min-width: 576px) {
    .services-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .service {
        flex: 0 0 calc(50% - 1em);
    }
}

@media screen and (min-width: 972px) {
    .service {
        flex: 0 0 calc(33.33333333% - 1em);
    }
}

/*portfolio*/

#portfolio {
    padding: 40px;
    background: #c9c9c9;
}

.work {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    border-radius: 10px;
    max-height: 300px;
    margin: 10px 0;
    overflow: hidden;
    /*    image overlay*/
}

#portfolio img {
    display: block;
    cursor: pointer;
    max-height: 300px;
    width: 100%;
    opacity: 1;
    transition: opacity 2s ease;
}

#portfolio img:hover {
    opacity: 0.4;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 100px;
    width: 100%;
    margin-bottom: -100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background: rgb(147, 147, 147);
    transition: margin 2s ease;
}

.work:hover .image-overlay {
    margin-bottom: 0;
}

.image-text h3 {
    text-transform: uppercase;
    font-size: 20px;
    margin-bottom: 5px;
    color: #f5f5f5;
}

.image-overlay .fa {
    font-size: 29.71px;
    padding: 10px;
    color: #2b98f0;
    background: #f5f5f5;
    border-radius: 50%;
    transition: transform 2s ease, background 2s ease;
}

.image-overlay .fa:hover {
    transform: translateY(-10px);
    background: #082238;
}

.section-btn {
    text-align: center;
    margin: 20px 0 10px 0;
}

.section-btn a {
    padding: 0.5em;
    display: inline-block;
    color: #f5f5f5;
    text-decoration: none;
    background: #2b98f0;
    font-size: 29.70px;
    transition: color 2s ease, background 2s ease;
}

.section-btn a:hover {
    color: #2b98f0;
    background: #f5f5f5;
}

.section-btn .fa {
    font-size: 40px;
    margin-right: 10px;
}

/*portfolio responsive*/

@media screen and (min-width: 576px) {
    .portfolio-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .work {
        flex: 0 0 calc(50% - 15px);
    }
}

@media screen and (min-width: 776px) {
    .work {
        flex: 0 0 calc(33.33333333% - 15px);
    }
}

/*numbers*/
#numbers {
    padding: 40px;
}

.number {
    margin: 20px 0;
    text-align: center;
    transition: transform 2s ease;
}

.number:hover {
    transform: translateY(-10px);
    cursor: pointer;
}

.number .fa {
    font-size: 59.41px;
    color: #2b98f0;
}

.number h2 {
    font-size: 40px;
    margin: 10px 0;
    font-weight: 900;
}

.number h5 {
    font-size: 23px;
    color: #c9c9c9;
}

/*numbers responsive*/
@media screen and (min-width: 576px) {
    .numbers-center {
        max-width: 90vw;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .number {
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (min-width: 776px) {
    .number {
        flex: 0 0 calc(25% - 10px);
    }
}

/*team*/

#team {
    padding: 40px;
    background: #959595;
}

.team-member {
    background: #f5f5f5;
    margin: 20px 0;
}

.team-member img {
    display: block;
    width: 100%;
    max-height: 300px;
}

.img-footer {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.img-info h3 {
    color: #2b98f0;
}

.img-info h5 {
    color: #959595;
    margin: 10px 0;
    text-transform: uppercase;
}

.social-icons .fa {
    color: #959595;
    margin: 0 5px;
}

.footer-icon {
    font-size: 40px;
    color: #2b98f0;
    align-self: center;
    opacity: 0;
    transition: transform 2s ease, opacity 2s ease;
}

.footer-icon:hover {
    transform: rotate(-90deg);
}

.team-member:hover .footer-icon {
    opacity: 1;
}

/*team responsive*/

@media screen and (min-width: 576px) {
    .team-center {
        min-width: 90vw;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .team-member {
        flex: 0 0 calc(50% - 10px);
    }
}

@media screen and (min-width: 576px) {

    .team-member {
        flex: 0 0 calc(25% - 10px);
    }
}

/*customers*/

#customers {
    padding: 40px;
    background: #191919;
}

.customer {
    text-align: center;
    color: #f5f5f5;
    margin: 20px 0;
}

.customer img {
    border-radius: 50%;
    max-width: 197px;
}

.customer h2 {
    margin: 10px 0;
    color: #2b98f0;
}

.customer h5 {
    text-transform: uppercase;
    color: #959595;
}

.customer p {
    line-height: 1.5;
    width: 75%;
    margin: 10px auto;
}

/*customer responsive*/

@media screen and (min-width: 576px) {
    .customers-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .customer {
        flex: 0 0 calc(33.33333333% - 1em);
    }
}

/*Contact US*/

#contact {
    padding: 40px;
    background: #2b98f0;
    color: #f5f5f5;
}

#contact .title-underline {
    border-color: #f5f5f5;
}

.item-info {
    margin: 10px 0;
    display: flex;
    font-size: 29.17px;
}

.item-info .fa {
    margin-right: 20px;
}

form input {
    display: block;
    width: 100%;
    margin: 10px 0;
    font-size: 25px;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 4px solid #f5f5f5;
}

form input::placeholder {
    color: #f5f5f5;
}

.customer-info a {
    display: block;
    margin-top: 25px;
    color: #f5f5f5;
    font-size: 29.17px;
    text-decoration: none;
    padding: 20px;
    display: flex;
    justify-content: space-around;
    background: #191919;
    transition: background 2s ease;
}

.customer-info a:hover {
    background: #c9c9c9;
}

/*contact responsive*/

@media screen and (min-width: 776px) {
    .contact-center {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-column-gap: 1em;
    }
}
