/************ Root ************/
:root {
    --primary: #eb5424;
    --secondry: #5e5e5e;
}
/************ Global ************/
* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}

:focus::placeholder {
    opacity: 0;
}

body {
    font-family: Tahoma, Arial;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
}

/************ Navbar ************/
.navbar {
    background-color: #fff;
    padding: 20px 0;
}

.navbar > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar .navbar-brand {
    font-size: 25px;
    font-weight: bold;
    color: var(--primary);
    margin: 0;
}

.navbar .navbar-toggler img {
    cursor: pointer;
    display: none;
}

@media (max-width: 991px) {
    .navbar .navbar-toggler img {
        display: block;
    }
}

@media (max-width: 991px) {
    .navbar .navbar-nav {
        width: 100%;
        padding: 5px 0;
        display: none;
    }
}

.navbar .navbar-nav .nav-item {
    display: inline-block;
    margin: 0 5px;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item  {
        display: block;
        margin: 5px 0;
    }
}

.navbar .navbar-nav .nav-item .nav-link {
    display: block;
    font-size: 17px;
    color: black;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item .nav-link  {
        padding: 5px;
    }
}

.navbar .navbar-nav .nav-item .nav-link.active,
.navbar .navbar-nav .nav-item .nav-link:hover {
    color: var(--primary);
}

/************ Landing ************/
.landing {
    background-image: url('../img/landing.jpg');
    background-size: cover;
    min-height: calc(100vh - 68.75px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 0;
}

.landing h1 {
    font-size: 50px;
    margin: 0;
    color: var(--secondry);
}

.landing h2 {
    font-size: 30px;
    color: var(--primary);
    margin: 10px 0 0;
}

.landing h1,
.landing h2 {
    text-transform: uppercase;
}

.landing p {
    font-size: 17px;
    line-height: 2;
    color: var(--secondry);
}

.landing p span {
    color: black;
    font-weight: bold;
}

.landing a {
    background-color: var(--primary);
    color: #fff;
    display: block;
    width: fit-content;
    padding: 15px 30px;
    margin: auto;
    font-size: 17px;
    font-weight: bold;
}

/************ Section ************/
section {
    padding: 50px 0;
}

section:nth-child(even) {
    background-color: #eee;
}

section > h3,
.profile .row .my-profile h3,
.profile .row .some-skills h3 {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 0 50px;
    color: var(--primary);
}

section > h3 span,
.profile .row .my-profile h3 span,
.profile .row .some-skills h3 span {
    font-weight: normal;
}

/************ Works ************/
.works .work {
    border: 2px solid #ccc;
    padding: 20px;
    text-align: center;
}

.works .work i {
    color: #888;
    display: block;
    margin: auto;
}

.works .work p {
    margin: 40px 0;
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
}

.works .work span {
    display: block;
    font-size: 16px;
    color: var(--secondry);
    line-height: 2;
}

/************ Portfolio ************/
.portfolio .shuffle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

@media (max-width: 500px) {
    .portfolio .shuffle {
        flex-direction: column;
    }
}

.portfolio .shuffle li {
    margin: 0 2.5px;
    font-size: 16px;
    color: #888;
    padding: 10px 20px;
    cursor: pointer;
    transition: .3s;
}

@media (max-width: 500px) {
    .portfolio .shuffle li {
        width: 95%;
        margin: 2.5px 0;
    }
}

.portfolio .shuffle li.active,
.portfolio .shuffle li:hover {
    background-color: var(--primary);
    color: #fff;
}

.portfolio .images {
    display: flex;
    flex-wrap: wrap;
}

.portfolio .images .port {
    width: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .portfolio .images .port {
        width: 50%;
    }
}

@media (min-width: 992px) {
    .portfolio .images .port {
        width: 25%;
    }
}

.portfolio .images .port img {
    width: 100%;
}

.portfolio .port .overlay {
    background-color: rgba(235, 84, 36, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity .5s ease-in-out;
}

.portfolio .port:hover .overlay {
    opacity: 1;
}

.portfolio .port .overlay p {
    margin: 0 0 10px;
    color: #fff;
    font-size: 20px;
}

.portfolio .port .overlay span {
    color: #eee;
    line-height: 2;
}

/************ Profile ************/
.profile .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

@media (max-width: 767px) {
    .profile .row {
        flex-direction: column;
        gap: 10px;
    }
}

.profile .row .my-profile,
.profile .row .some-skills {
    width: 50%;
    padding: 0 20px;
}

@media (max-width: 767px) {
    .profile .row .my-profile,
    .profile .row .some-skills {
        width: 100%;
        padding: 0 20px;
    }
}

.profile .row .my-profile p {
    font-size: 17px;
    font-weight: normal;
    color: #888;
}

.profile .row .my-profile p span {
    font-weight: bold;
    color: #555;
    padding-right: 20px;
}

.profile .row .some-skills > p {
    color: #888;
    line-height: 1.6;
}

.profile .row .some-skills .skill {
    margin: 5px 0;
    position: relative;
}

.profile .row .some-skills .skill p {
    color: #333;
    margin-bottom: 10px;
}

.profile .row .some-skills .skill .progress {
    background-color: #eee;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.profile .row .some-skills .skill::after {
    content: attr(data-progress);
    position: absolute;
    top: 0;
    right: 0;
    font-size: 13px;
    background-color: #eee;
    padding: 2.5px;
}

.profile .row .some-skills .skill .progress span {
    height: 100%;
    background-color: var(--primary);
    position: absolute;
    top: 0;
    left: 0;
}

/************ About Us ************/
.about-us {
    background-image: url('../img/about-bg.jpg');
    background-size: cover;
    padding: 0;
}

.about-us h1 {
    text-transform: uppercase;
}

.about-us h1:first-child {
    color: black;
    padding-top: 50px;
}

.about-us h1:first-child span {
    font-weight: normal;
}

.about-us h1:last-of-type {
    color: var(--primary);
}

.about-us p {
    line-height: 2;
    color: #888;
}

.about-us .row {
    gap: 0;
}

@media (min-width: 375px) {
    .about-us .row {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

.about-us .social:nth-child(1) {
    background-color: #1877f2;
}

.about-us .social:nth-child(2) {
    background-color: #1da1f2;
}

.about-us .social:nth-child(3) {
    background-color: #ff0000;
}

.about-us .social {
    display: flex;
    gap: 20px;
    text-transform: uppercase;
    padding: 50px 20px;
    background-color: #eee;
}

.about-us .social i {
    background-color: #fff;
    color: #888;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.about-us .social a {
    font-weight: bold;
}

.about-us .social a,
.about-us .social p {
    color: #fff;
    font-size: 17px;
}

.about-us .social p {
    margin: 10px 0 0;
}

/************ Contact ************/
.contact form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact form .form-group {
    width: calc(50% - 5px);
}

.contact form .form-group textarea {
    resize: none;
}

.contact form .form-group input,
.contact form .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    color: var(--primary);
    font-size: 17px;
}

.contact form .form-group input::placeholder,
.contact form .form-group textarea::placeholder {
    color: #ccc;
}

.contact form button {
    padding: 10px 30px;
    font-size: 17px;
    color: white;
    border: none;
    background-color: var(--primary);
    cursor: pointer;
}

.footer {
    background-color: #eee;
    padding: 20px;
    text-align: center;
}

.footer a {
    font-weight: bold;
}

.footer * {
    color: var(--primary);
    font-size: 17px;
}