@import 'https://fonts.googleapis.com/css?family=Alegreya+Sans';

* {
    margin: 0;
    padding: 0;
    border: 0;
}
body {
    background: #f5f5f5;
    color: #67727a
    font-family: 'Alegreya', sans-serif;
    margin: 0;
}

h2 {
    font-size: 250%;
    font-weight: 700;
    text-align: center;
    padding-top: 2%;
    color: #f5f5f5;
}

h3 {
    font-size: 175%;
    line-height: 155%;
    padding: 5% 0;
    font-weight: 400;
    color: #f5f5f5;
}
p {
    font-family: 'Alegreya', sans-serif;
    color: #f5f5f5;
    font-size: 160%;
    line-height: 150%;
    padding: 3%;
    text-indent: 2%
    text-align: justify;
}
img {
    max-width: 100%;
    height: auto;
    width: auto;
    margin-bottom: -4px;
}
header {
    background-color: #6991ac;
    width: 100%;
    height: 86px;
}
#header-inner {
    max-width: 1200px;
    margin: 0 auto;
}
#logo {
    margin: 20px;
    float: left;
    width: 200px;
    height: 60px;
    background: url(img/logo_title.png) no-repeat center;
}

/*---------------------------start of Navigation--------------------------- */

nav {
    float: right;
    padding: 25px 20px 0 0;
}
#menu-icon{
    display: hidden;
    width: 40px;
    height: 40px;
    background: url(img/nav.png) center;
}
a:hover#menu-icon {
    border-radius: 4px 4px 0 0;
}
ul {
    list-style-type: none;
}
nav ul li {
    font-family: 'Alegreya', sans-serif;
    font-size: 150%;
    display: inline-block;
    float: left;
    padding: 10px
}
nav ul li a {
    color: #f5f5f5;
    text-decoration: none;
}
nav ul li a:hover {
    color: #c3d7df;
}
.current{
    color: #c3d7df;
}

/* -----------------------------End of Navigation-------------------------- */

.banner {
    width: 100%;
    background-color: #6991ac;
}
.banner-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.skills {
    width: 33.33333333333%;
    float: left;
    text-align: center;
}
#mobiledev {
    background-color: #f1aa90;
}
#webdev {
    background-color: #beb9ad;
}
#datasc {
    background-color: #aadcd2;
}
.skills i {
    color: #f0f0f0;
    font-size: 500%;
    padding: 13% 0 4% 0;
}
.inner-wrapper {
    float: left;
    width: 100%;
    background-color: #c3d7df;
}
article {
    float: left;
    margin: 0 auto;
    width: 50%;
    height: auto;
}
#tablet {
    background-color: #c3d7df;
}
aside {
    float: right;
    margin: 0 auto;
    width: 50%;
    height: auto;
}
#tablet2 {
    background-color: #a2b1c1;
}
#mobile2 {
    background-color: #beb9ad;
}
#desktop2 {
    background-color: #f1aa90;
}
.inner-wrapper-2 {
    float: left;
    width: 100%;
    background-color: #c3d7df;
}

/* ---------------------- Start of Contact -----------------------*/

.inner-wrapper-3 {
    background-color: #aadcd2;
    padding-top: 20px
}

/* Style inputs and textareas */
input[type=text], textarea{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}

/* Style the submit button */
input[type=submit] {
    float: right;
    background-color: #6991ac;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;

}

/* Style the form container */
.form-container {
    padding: 20px;
}
.contact-title h2{
    font-size: 250%;
    font-weight: 700;
    padding-top: 2%;

}

/* Floating column for inputs: 75% width */
.form-row {
     width: 50%;
     margin-top: 6px;
     margin-left: 25%;
     margin-right: 25%;
}
.form-row:after {
  content: "";
  display: table;
  clear: both;
}

/*----------------------Start footer -------------------*/
footer {
    background-color: #6991ac;
    width: 100%;
}
.social {
    list-style-type: none;
    text-align: center;
}
.social li {
    display: inline;
}
.social i {
    font-size: 460%;
    margin: 1%;
    padding: 5% 5% 5% 4%;
    color: #c3d7df;
}
.social i:hover {
    color: #f5f5f5;
}
footer.second {
    border-top: 1px solid #aadcd2;
    background-color: #544b59;
    max-height: 55px;
    margin: 0;
}
footer.second p {
    padding: 5px 0 9px 0;
    text-align: center;
}
/*---------------------- Media Query -------------------*/
@media screen and (max-width: 768px) {
    h2 {
        font-size: 140%;
    }
    h3 {
        font-size: 110%;
    }
    p {
        font-size: 120%;
    }
    header {
        position: absolute;
    }
    #logo {
        margin: 15px 0 20px -25px;
        background: url(img/logo_title.png) no-repeat center;
    }
    #menu-icon {
        display: inline-block;
    }
    nav ul, nav:active ul {
        display: none;
        z-index: 1000;
        position: absolute;
        padding: 20px;
        background: #6991ac;
        right: 20px;
        top: 60px;
        border: 1px solid #fff;
        border-radius: 10px 0 10px 10px;
    }
    nav:hover ul{
        display: block;
    }
    nav li{
        text-align: center;
        width: 100%;
        padding: 10px 0;
    }
    .banner {
        padding-top: 86px;
    }
    .one-fourth {
        float: left;
        width: 100%;
    }
    .one-fourth i {
        font-size: 350%;
        padding: 4% 0 1% 0;
    }
    .inner-wrapper-2 {
        display: flex;
        flex-direction:column;
    }
    #mobile {
        order: 1;
    }
    #mobile2 {
        order: 2;
    }
    article {
        width: 100%;
    }
    aside {
        width: 100%;
    }
    .form-row {
        width: 50%;
        margin-top: 0;
    }
    input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
    .social i {
        font-size: 180%;
    }
}
