﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');


body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

/*--- Navigation ---*/
.navbar {
    text-transform: uppercase;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .1rem;
    transition: 500ms ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.bg-transparent {
    padding: 1.5rem 6rem;
    background: rgba(0, 0, 0, 0.8) !important;
}

.bg-light {
    padding: 0.5rem 6rem;
}

.navbar-brand {
    font-size: 1.5rem;
}

.navbar-brand span {
    color: #ff8500;
    font-weight: 400;
}

.navbar-nav li {
    padding-right: .7rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

.navbar-nav .nav-link:active,
.navbar-nav .nav-link:hover {
    color: #ff8500 !important;
}


/*--- Banner ---*/
.banner {
    min-height: 100vh;
    background: url(../img/pixelised-bg.png);
    background-size: cover;
    background-position: right;
    display: flex;
    align-items: center;
}

.bannerText {
    margin-left: 8rem;
}

.banner h1 {
    font-size: 4rem;
    color: #fff;
    font-weight: 700;
    line-height: 1.5em;
    text-transform: uppercase;
}

.banner h2 {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
}

.banner .btn-lg {
    border-width: medium;
    border-radius: 0;
    padding: 0.6rem 1.3rem;
    font-size: 1.1rem;
    margin-top: 3rem;
    text-transform: uppercase;
}


/*--- About Section ---*/
section {
    padding: 5rem 0;
}

.heading {
    width: 100%;
    text-align: center;
    /*margin-bottom: 1.8rem;
    color: #111;*/
}

.heading h2 {
    font-weight: 600;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.heading-underline {
    width: 5rem;
    height: .2rem;
    background-color: #ff8500;
    margin: 0 auto 2rem;
}

.about .content img {
    max-height: 300px;
}

.about .btn {
    border-width: medium;
    border-radius: 0;
    padding: .4rem 1rem;
    font-size: 1rem;
    text-transform: uppercase;
}



/*--- Skills Section ---*/
.skills {
    background: #171717;
}

.skills .skillsBox {
    padding: 40px 20px;
    height: calc(100% - 40px);
    background: #222;
    color: #fff;
    margin: 20px 5px;
    text-align: center;
    transition: 0.5s;
}

.skills .skillsBox:hover {
    background: #c85503;
}

.skills .skillsBox h2 {
    font-size: 20px;
}


/*--- Portfolio Section ---*/
.portfolio {
    background: #e0e0e0;
}

.projectCard {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.projectCard img {
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;

}

.projectCard:hover img {
    -moz-transform: scale(1.2) rotate(-2deg);
    -webkit-transform: scale(1.2) rotate(-2deg);
    -o-transform: scale(1.2) rotate(-2deg);
    -ms-transform: scale(1.2) rotate(-2deg);
    transform: scale(1.2) rotate(-2deg);
}

.projectCard .content {
    position: absolute;
    left: 0;
    bottom: -120%;
    padding: 1rem;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.projectCard:hover .content {
    bottom: 0;
    height: 100%;
}

.projectCard .content p {
    margin: 2rem 1.5rem;
    line-height: 1.3rem;
    text-align: justify;
}

.projectCard .content h2 {
    text-align: center;
}

.projectCard .btn-lg {
    border-width: medium;
    border-radius: 0;
    padding: .6rem 1.3rem;
    font-size: 1.1rem;
    text-transform: uppercase;
}



/*-- Contact Section ---*/
.contact {
    background: #171717;
}

.formBx form {
    display: flex;
    flex-direction: column;
}

.formBx form h3,
.contactInfo h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.formBx form input,
.formBx form textarea {
    margin-bottom: 20px;
    padding: 15px;
    font-size: 16px;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
    resize: none;
}

.formBx form textarea {
    min-height: 150px;
}

.formBx form input[type=submit] {
    max-width: 100px;
    background: #c86016;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.formBx form input[type=submit]:hover {
    background: #c85503;
}

.contactInfoBx .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}

.contactInfoBx .box .icon {
    min-width: 40px;
    padding-top: 4px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 24px;
}

.contactInfoBx .box .text {
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    font-weight: 300;
}

.contactInfoBx .box .text a {
    color: white;
}

.footer {
    background: #171717;
}



/*--- Media Queries ---*/
/*Large devices (desktops, less than 1200px)*/
@media screen and (max-width: 1199.98px) {
    .bg-transparent {
        padding: 1rem 1.5rem;
    }

    .bg-light {
        padding: 0.6rem 1.5rem;
    }

    .banner {
        align-items: flex-end;
    }

    .bannerText {
        margin-left: 4rem;
    }
}

/*Medium devices (tablets, less than 992px)*/
@media screen and (max-width: 991.98px) {
    .banner h1 {
        font-size: 3.5rem;
        font-weight: 600;
    }

    .banner h2 {
        font-size: 1rem;
        font-weight: 300;
    }

    .banner .btn-lg,
    .projectCard .btn-lg {
        padding: .4rem 1rem;
        font-size: 1rem;
    }
}

/*Small devices (landscape phones, less than 768px)*/
@media screen and (max-width: 767.98px) {
    .banner h1 {
        font-size: 2.5rem;
        font-weight: 500;
        line-height: 1em;
    }
}

/*Extra small devices (portrait phones, less than 576px)*/
@media screen and (max-width: 575.98px) {
    .banner {
        background-position: calc(100% + 100px);
    }

    .bannerText {
        margin: 2rem;
    }

    .skills .skillsBox {
        margin: 20px 20px;
    }

    .projectCard {
        margin: 0 40px;
    }

    .projectCard .content {
        font-size: 0.8rem;
    }

    .projectCard .content p {
        margin: 1.5rem 1rem;
    }
}
