body {
    margin: 0;
    font-family: 'Heebo', sans-serif;
    padding-top: 80px;
}

.container {
    width: 1440px;
    max-width: 90%;
    margin: auto;
    padding: 0 16px;
}

ul {
    margin: 0;
    padding: 0;
}

header {
    background-color: #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 15);
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

header .logo {
    display: inline-block;
    font-size: 27px;
}

header .logo .logo-dot {
    background-color: #e53e3e;
    width: 10px;
    height: 10px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 5px;
}

header .logo .logo-max img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
}

header nav {
    display: inline-block;
}

header nav ul li {
    display:inline-block;
}

header nav ul li.menu-item{
   display: none;
} 

header nav ul li.menu-item img {
    vertical-align: middle;
    height: 30px;
    width: 30px;
}

header nav ul li a {
    color: #3e3e3e;
    font-size: 15px;
    letter-spacing: 0.37px;
    margin-right: 24px;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #3e50e5;
}

header nav ul li:last-of-type a {
    margin: 0;
}

section.hero {
    position: relative;
}

section.hero .container-img img {
    width: 100%;
}


section.hero .container-img .phone-over-image h5 {
    display: none;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-content .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    margin: 30px;
}

.hero-content h1 {
    max-width: 495px;
    color: #fff;
    font-family: Heebo;
    font-size: 50px;
    letter-spacing: 1.25px;
    line-height: 56px;
    margin-bottom: 0;
    font-weight: normal;
}

.hero-content p {
    max-width: 300px;
    color: #fff;
    font-weight: 300;
    font-size: 30px;
    letter-spacing: 1.25px;
    line-height: 56px;
    margin-top: 0;
}

.hero-content button {
    max-width: 100%;
    width: 220px;
    height: 60px;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.4px;
    line-height: 56px;
    margin-top: 0;
    background-color: #e53e3e;
    border-radius: 150px;
    border: none;
    cursor: pointer;
}

.hero-content button:hover {
    background-color: #fff;
    color: #e53e3e;
    border: 1px solid #e53e3e;
}

section.best-services {
    padding-top: 80px;
}

section.best-services h2 {
    text-align: center;
    font-size: 34px;
    letter-spacing: 0.8px;
    line-height: 42px;
    font-weight: normal;
    margin: 0 0 14px 0;
}

section.best-services hr {
    border: none;
    border-top: 6px solid #67f11d;
    width: 66px;
    max-width: 100%;
    border-radius: 25px;
    text-align: center;
}

section.best-services .services-slider {
    margin-top: 76px;
}

section.best-services .container {
    display: flex;
    justify-content: space-around;
    padding: 0 8px;  
}

section.best-services .services-slider .services-maxtnet {
    border-radius: 8px;
    border: 1px solid #DDD;
    width: 33%;
    text-align: center;
    margin: 0 8px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

section.best-services .services-slider .services-maxtnet {
    cursor: pointer;
}

section.best-services .services-slider .services-maxtnet img {
    max-width: 100%;
    border-radius: 10%;
}

section.best-services .services-slider .services-maxtnet.new::before {
    content: "New";
    background-color: #ec1c1c;
    position: absolute;
    top: 12px;
    right: 12px;
    color: white;
    width: 70px;
    height: 20px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.35px;
    line-height: 21px;
    text-align: center;
    padding: 2px;
    border-radius: 35px;
}

section.best-services .services-slider .services-maxtnet .services-info{
    margin-top: 50px;
}

section.best-services .services-slider .services-maxtnet .services-info .category{
    color: #3e50e5;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.35px;
    line-height: 30px;
    margin-bottom: 8px;
    margin-top: 0;
}

section.best-services .services-slider .services-maxtnet .services-info .title{
    font-weight: normal;
    font-size: 20px;
    letter-spacing: 0.5px;
    line-height: 26px;
    margin-bottom: 6px;
    margin-top: 0;
}

section.best-services .services-slider .services-maxtnet .services-info .description{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.7px;
    line-height: 30px;
    margin-bottom: 16px;
    margin-top: 0;
}

section.best-services .services-slider .services-maxtnet .services-info button{
    height: 50px;
    width: 219.5px;
    border-radius: 220px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 24px;
    border: 3px solid #000;
    background-color: white;
}

section.best-services .services-slider .services-maxtnet:hover .services-info button {
    cursor: pointer;
    background-color: #000;
    color: white;
    border: 3px solid #ec1c1c;
}

section.newsletter {
    background-color: rgba(200, 200, 200, 0.18);
    max-width: 995px;
    text-align: center;
    padding: 72px 0;
    margin: 80px auto;
}

section.newsletter h3 {
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 0.6px;
    line-height: 42px;
    margin-top: 0;
    margin-bottom: 10px;
}
section.newsletter p {
    font-size: 16px;
    letter-spacing: 0.8px;
    line-height: 42px;
    margin-top: 0;
    margin-bottom: 20px;
}

section.newsletter form {
    display: flex;
    justify-content: center;
}

section.newsletter form input {
    height: 50px;
    width: 326px;
    max-width: 80%;
    box-sizing: border-box;
    border-radius: 60px 0 0 60px;
    border: 1px solid #3e3e3e;
    padding-left: 22px;
    font-size: 14px;
    letter-spacing: 0.35px;
    line-height: 21px;
}

section.newsletter form button {
    height: 50px;
    width: 145px;
    max-width: 20%;
    box-sizing: border-box;
    border-radius: 0 60px 60px 0;
    border: 1px solid #3e50e5;
    background-color: #3e50e5;
    font-size: 14px;
    letter-spacing: 0.35px;
    line-height: 21px;
    color: white;
    text-transform: uppercase;
    cursor: pointer;
}

section.newsletter form button:hover {
    color: white;
    background-color: #e53e3e;
}


footer .bottom-nav {
    padding: 60px 0;
    background-color: #3e3e3e;
}

footer .bottom-nav .container {
    width: 995px;
    display: flex;
    justify-content: space-between;
    max-width: 100%;
}

footer .bottom-nav .container ul {
    list-style: none;
}

footer .bottom-nav ul li a {
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #e0e0e0;
    margin-top: 0;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

footer .bottom-nav ul li a:hover {
    color: #3e50e5;
    
}

footer .bottom-nav ul li.list-title {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 26px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #fff;
}

footer .copyright-text {
    color: white;
    background-color: #2b2b2b;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    letter-spacing: 0.4px;
    line-height: 22px;
}

/* *************************************
************ CSS MEDIA QUERIES **********
************************************** */

/* Design for Desktop */

@media screen and (max-width: 1440px) {
    .container {
        width: 1180px;
    }

    body {
        padding-top: 70px;
    }

    header {
        height: 70px;
    }

    .hero-content h1 {
        max-width: 495px;
        font-size: 36px;
        margin-left: 30px;
        margin-top: 0;
    }

    .hero-content p {
        font-size: 18px;
        margin-bottom: 0;
        margin-top: 0;
        margin-left: 32px;
    }
    footer .bottom-nav {
        padding: 60px 40px;
    }
}

/* Design for Tablet */

@media screen and (max-width: 960px) {
    .container {
        max-width: 92%;

    }

    header nav ul li {
        display:none;
    }
    
    header nav ul li.menu-item{
       display: inline-block;
    }

    header .logo {
        font-size: 24px;
    }

    section.hero .container-img img {
        width: 960px;
        max-width: 100%;
        height: 300px;
    }
    
    section.best-services .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    section.best-services .services-slider .services-maxtnet {
        min-width: 220px;
        margin: 16px;
    }

    footer .bottom-nav {
        padding: 60px 54px;
    }
    

    
}

/* Design for Smartphone */

@media screen and (max-width: 576px) {
    header .logo {
        font-size: 18px;
    }

    section.hero .container-img img {
        display: none;
    }

    section.hero .container-img .phone-over-image h5 {
        position: absolute;
        top: 0%;
        left: 25%;
        font-size: 33px;
        color: #e0e0e0;
    }

    .hero-content {
        position: static;
        width: 90%;
    }

    .hero-content .container {
        margin: 40px auto;
    }

    .hero-content h1 {
        color: black;
        text-align: center;
        margin-bottom: 28px;
    }
    
    .hero-content p {
        display: none;
    }
    
    .hero-content button {
        margin: auto;
    }
    

    section.best-services .container {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        padding: 0 8px;  
    }

    section.best-services .services-slider .services-maxtnet {
        width: 80%;
        margin: 10px 0;
        padding: 30px;
    }

    section.newsletter {
        margin: 8px auto;
    }

    section.newsletter form input {
        max-width: 40%;
    }

    section.newsletter form button {
        font-size: 10px;
        max-width: 30%;
    }

    footer .bottom-nav {
        padding-bottom: 10px;
    }

    footer .bottom-nav .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0;
        padding: 0;
    }

    footer .bottom-nav ul li.list-title {
        margin-top: 14px;
        margin-bottom: 2px;
    }

}


/* 
Sizing pictures in HTML --- Always start from small to big max-width ----

<picture>
    <source media="(max-width: 576px)" srcset="img/phone_image.jpg">
	<source media="(max-width: 960px)" srcset="img/tablet_image.jpg">
    <source media="(max-width: 1440px)" srcset="img/desktop_image.jpg">
	<img src="img/large_desktop_image.jpg" alt="hero image - blue">
</picture>


*/