@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');
:root {
    --yellow: #f9ca24;
}


/*Setting the font-family for the enitre page*/
* {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    text-transform: capitalize;
    transition: all .2s linear;
}


/*setting the background for the selection*/
*::selection {
    background: rgb(185, 143, 4);
    color: #333;
}



/*styling for the scrollbar*/
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    width: 1.4rem;
}

html::-webkit-scrollbar-track {
    background-color: #222;
}

html::-webkit-scrollbar-thumb {
    background: grey;
}


/*setting the color layout for the background*/
body {
    background: #111;
    overflow: hidden;
    padding-left: 35rem;
}

section {
    min-height: 100vh;
    padding: 1rem;
    background-image: url("../images/pic2.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    background-position: right;
    background-size: 76%;
}


/*setting the style for the buttons*/
.btn {
    padding: .5rem 2.5rem;
    background: #333;
    color: #fff;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 2rem;
    border-radius: 4rem;
}

.btn i {
    padding: .5rem;
    font-size: 1.8rem;
}

.btn:hover {
    background: grey;
}


/*setting the style for the headig*/
.heading {
    text-align: center;
    margin: 0 6rem;
    font-size: 4rem;
    padding: 1rem;
    border-bottom: .1rem solid #fff4;
    color: #fff;
}

.heading span {
    color: #64f50a;
}


/* Styling for the header */
header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    height: 100%;
    width: 35rem;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    text-align: center;
}

header .user img {
    height: 17rem;
    width: 17rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: .7rem solid #64f50a;
}

header .user .name {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: .6rem;
}

header .navbar {
    width: 100%;
}

header .navbar ul {
    list-style: none;
    padding: 1rem 3rem;
}

header .navbar ul li a {
    display: block;
    padding: 1rem;
    margin: 1.6rem 0;
    background: #333;
    color: #fff;
    font-size: 2rem;
    border-radius: 5rem;
}

header .navbar ul li a:hover {
    background: grey;
}

header .navbar ul li a:hover {
    background: grey;
}


#menu {
    position: fixed;
    top: 2rem;
    right: 2rem;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    z-index: 1000;
    display: none;
}


/* Styling for the home page  */
.home {
    display: flex;
    justify-content: center;
    flex-flow: column;
    padding: 0 15rem;
}

.home h3 {
    font-size: 2.5rem;
    color: #fff;
}

.home h1 span {
    color: #64f50a;
}

.home h1 {
    font-size: 5rem;
    color: #eee;
}

.home p {
    font-size: 2rem;
    color: #eee;
    padding: 1rem 0;
}

.about .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem 0;
}

.about .row .info {
    flex: 1 1 48rem;
    padding: .8rem 1rem;
    padding-left: 6rem;
}

.about .row .info p {
    font-size: 1.6rem;
    color: #fff;
    padding: 0 .8rem;
    font-weight: normal;
    text-transform: none;
    font-size: 1.9rem;
}

.about .row .counter {
    flex: 2 2 48rem;
    display: flex;
    padding-left: 10rem;
    flex-wrap: wrap;
    justify-content: space-around;
}

.about .row .counter .box {
    width: 25rem;
    background: #222;
    text-align: center;
    padding: 2rem;
    margin: 4rem;
}

.about .row .counter .box span {
    font-size: 2rem;
    color: #64f50a;
    justify-content: top;
    text-transform: uppercasef;
}

.about .row .counter .box h3 {
    font-size: 1.4rem;
    color: #fff;
    padding: 0 .8rem;
}

.about .row .counter .box h3 p {
    text-transform: none;
}


/* Styling for projects page */
.projects .box-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 1rem 0;
    padding-left: 3rem;
}

.projects .box-container .box {
    width: 27rem;
    margin: 4rem 1rem;
    padding-left: 4rem;
    border-left: .2rem solid #fff;
    position: relative;
}

.projects .box-container .box span {
    font-size: 1.3rem;
    background: #222;
    color: #fff;
    border-radius: 3rem;
    padding: .2rem 2rem;
}

.projects .box-container .box h3 {
    font-size: 2rem;
    color: #fff;
    padding-top: 1.5rem;
}

.projects .box-container .box p {
    font-size: 1.4rem;
    color: #eee;
    padding: 1rem 0;
    text-transform: none;
}

.projects .box-container .box i {
    position: absolute;
    top: -1.5rem;
    left: -2.5rem;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    color: #fff;
    background: #64f50a;
}

.projects .box-container .box:hover i {
    transform: scale(1.2);
    cursor: pointer;
}


/* Styling for Contact Page  */
.contact_me .row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.contact_me .row .content {
    flex: 1 1 30rem;
    padding: 4rem;
    padding-bottom: 0;
}

.contact_me .row form {
    flex: 1 1 45rem;
    padding: 2rem;
    margin: 2rem;
    margin-bottom: 4rem;
}

.contact_me .row form .box {
    font-size: 1.7rem;
    text-transform: none;
    width: 100%;
    padding: 1.6rem;
    margin: 1rem 0;
    background: #4d4d4d;
    color: #fff;
}

.contact_me .row form .box::placeholder {
    text-transform: uppercase;
}

.contact_me .row form .message {
    resize: none;
    height: 15rem;
    left: 0rem;
}

.contact_me .row .content .title {
    font-size: 3rem;
    color: #fff;
    text-transform: uppercase;
    padding-bottom: 2rem;
}

.contact_me .row .content .info h3 {
    display: flex;
    align-items: center;
    font-size: 2rem;
    font-weight: normal;
    color: #eee;
    padding: 1rem 0;
}

.contact_me .row .content .info h3 i {
    padding-right: 1rem;
    color: #64f50a;
}


.contact_me .row .content .info h1{
    display: inline;
    font-size: 2.5rem;
    justify-content: space-around;
    background-size: contain;
    
}

.contact_me .row .content .info h1 i{
    padding-right: 1rem;
    color: #64f50a;
}

.contact_me .row .content .info h3 p {
    text-transform: none;
}

.fa.fa-file-pdf-o{
    color: red;
    background-color: white;
    padding: 0;
}

/* media queries (making website compatabible with cell phones and tablets when resizing)*/
@media (max-width:1200px) {
    html {
        font-size: 55%;
    }
    .home {
        padding: 1rem 4rem;
    }
}

@media (max-width:991px) {
    header {
        left: -120%;
    }
    #menu {
        display: block;
    }
    header.toggle {
        left: 0%;
    }
    body {
        padding: 0;
    }
}

@media (max-width:768px) {
    html {
        font-size: 50%;
    }
}

@media (max-width:400px) {
    header {
        width: 100vw;
    }
    .about .row .counter .box {
        width: 100%;
    }
    .education .box-container .box {
        width: 100%;
    }
    .contact_me .row form {
        width: 3rem;
    }
}