*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #000;
    font-size: 15px;
    line-height: 1.5;
}
a{
    color: #262626;
    text-decoration: none;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}
.main-nav {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 20px 0;
    font-size: 13px;
}
.main-nav .logo{
    width: 110px;
}
.main-nav ul li{
    padding: 0 10px;
}
.main-nav ul li a {
    padding-bottom: 2px;
}
.main-nav ul li a:hover{
    border-bottom: 2px solid #262626;
}
.main-nav ul {
    display: flex;
}
.main-menu{
    margin-left: 20px;
    flex: 1;
}
.btn {
    cursor: pointer;
    font-weight: bold;
    background-color: #262626;
    color: #fff;
    padding: 10px 20px;
    border: 0;
    font-size: 16px;
    display: inline-block;
}
.btn:hover{
    opacity: 0.9;
}

/* showcase */
.showcase {
    width: 100%;
    height: 400px;
    background: url('../images/slide1.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 20px;
}
.showcase h2 {
    margin-bottom: 10px;
}
.showcase p {
    margin-bottom: 10px;
}
.showcase .btn {
    margin-top: 20px;
}
/* home cards */
.home-cards {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-gap: 20px;
    margin-bottom: 40px;
}
.home-cards img{
    width: 100%;
    margin-bottom: 20px;
}
.home-cards h3 {
    margin-bottom: 5px;
}
.home-cards a {
    display: inline-block;
    padding-top: 10px;
    color: #0067b8;
    text-transform: uppercase;
    font-weight: bold;
}
.home-cards a:hover i{
    margin-left: 10px;
}

/* xbox */
.xbox{
    height: 370px;
    width: 100%;
    background-image: url('../images/xbox.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-bottom: 20px;
}
.xbox .content {
    width: 40%;
    padding: 50px 0px 0px 30px
}
.xbox p {
    margin: 10px 0 20px;
}
.dark {
    color: #fff;
}
.dark .btn {
    background: #f4f4f4;
    color: #333;
}
/* carbon */
.carbon {
    height: 350px;
    width: 100%;
    background-image: url(../images/carbon.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}
.carbon .content {
    width: 55%;
    padding-top: 100px;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 30px;
}
.xbox p, .carbon p {
    margin: 10px 0 20px;
}
/* follow */
.follow {
align-items: center;
    display: flex;
    justify-content: flex-start;
    margin: 30px 0 30px;
}
.follow img {
    margin-right: 10px;
    margin-left: 8px;
}
/* links */
.links {
    background: #f2f2f2;
    color: #616161;
    font-size: 12px;
    padding: 35px 0;
}
.links-inner {
   display: flex;
   justify-content: space-around;
   line-height: 26px;
}
.links li {
    line-height: 2.8;
}
.footer {
    background: #f2f2f2;
    color: #616161;
    font-size: 12px;
    padding: 20px 0;
}
.main-footer{
    float: right;
    
    color: white;
}
.main-footer a{
    margin-right: 20px;
    color: #000;
    opacity: 0.9;
}
.menu-btn {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 2;
    display: none;
}
@media (max-width: 700px){
    .home-cards{
        grid-template-columns: repeat(2, 1fr);
    }
    .xbox .content p {
        display: none;
    }
    .xbox .content h2 {
        margin-bottom: 20px;
    }
    .carbon .content {
        width: 85%;
    }
    .menu-btn {
        display: block;
    }
    .menu-btn:hover{
        opacity: 0.5;
    }
    .main-nav ul.main-menu{
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: #f2f2f2;
        width: 50%;
        height: 100%;
        border-right: #ccc 1px solid;
        opacity: 0.9;
        padding: 30px;
        transform: translate(-20px);
    }
}
