/* Main Rules */
:root {
    --main-color: #f4623a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    margin: 0;
    padding: 0;
    font-family: "Merriweather", serif !important
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 29px
}

/* END Main Rules */

/* Header */
header {
    background: url('../images/bg-masthead.jpg');
    background-size: cover;
    height: 100vh;
}

header .overlay {
    content: '';
    width: 100%;
    height: 100vh;
    position: absolute;
    background-color: rgba(92, 77, 66, 0.8);
    z-index: 1;
}

/* Nav */
nav {
    display: flex;
    justify-content: space-around;
    align-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 15px;
    background-color: #fefefe;
    border-bottom: 3px solid var(--main-color);
}

nav .brand-logo {
    color: #333;
    font-size: 1.255rem;
    cursor: pointer;
    padding-top: 17px;
}

nav .brand-logo:hover {
    color: var(--main-color)
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    z-index: 609;
    color: #333;
    align-content: center;
}

nav ul li {
    padding: 15px;
}

nav ul a {
    color: #333;
    font-size: .9rem;
    text-decoration: none;
}

nav ul li:hover {
    color: var(--main-color)
}

/* END Nav */

/* Header Content */
header .header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 90vh;
    color: rgb(255, 255, 255);
    text-align: center;
}

header .header-content h2 {
    font-size: 2.5rem;
}

header .header-content hr {
    background-color: var(--main-color);
    width: 5%;
    margin: 1.5rem;
    height: 2.5px;
    border: none;
}


header .header-content h3 {
    width: 57%;
    margin-bottom: 2.1rem;
    line-height: 2.3rem
}

header .header-content h2 span::after {
    content: '';
    animation: typing 1s ease-in-out infinite;
}

@keyframes typing {
    0% {
        content: '|';
    }

    25% {
        content: ' F';
    }

    35% {
        content: ' Fr|';
    }

    45% {
        content: ' Fre|';
    }

    55% {
        content: ' Free|';
    }

    65% {
        content: ' Fre|';
    }

    75% {
        content: ' Fr|';
    }

    85% {
        content: ' r|';
    }

    100% {
        content: ' |';
    }
}


header .header-content button {
    background-color: var(--main-color);
    color: #FFF;
    padding: 21px 29px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer
}

header .header-content button:hover {
    background-color: #cf5331;
}

/* END Header Content */
/* END Header */

/* W-need */
.w-need {
    background-color: var(--main-color);
    color: #FFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 45vh;
}

.w-need h2 {
    font-size: 2.1rem;
    margin-bottom: 1.5rem;
}

.w-need hr {
    background-color: #FFF;
    width: 3.5%;
    margin: 0 auto 1.5rem;
    height: 3.5px;
    border: none;
}

.w-need p {
    color: rgba(255, 255, 255, 0.7);
    width: 55%;
    margin: 0 auto 1.9rem;
    line-height: 1.9rem;
}

.w-need button {
    background-color: #FFF;
    color: #333;
    padding: 19px 25px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer
}

/* END W-need */

/* Service */
.service {
    text-align: center;
}

.service .container {
    padding: 7.5rem 0
}

.service h2 {
    color: #333;
    font-size: 1.9rem;
}

.service hr {
    background-color: var(--main-color);
    width: 3.5%;
    margin: 1.5rem auto;
    height: 3.5px;
    border: none;
}

.service .service-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-top: 35px;
}


.service .service-items .item {
    width: 25%;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    margin: 25px;
    padding: 15px;
    cursor: pointer;
}

.service .service-items .item:hover {
    transform: scale(1.1, 1.1);
    box-shadow: #4a4a4a 25px 25px 15px;
    border-radius: 5px;
}

.service .service-items .item i {
    color: var(--main-color);
    font-size: 1.9rem;
    margin-bottom: 1.5rem
}

.service .service-items .item h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.service .service-items .item p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.9rem;
}


.project .project-items {
    display: flex;
    flex-wrap: wrap
}

.project .project-items .item {
    width: 33%;
    position: relative;
}


.project .project-items .item img {
    width: 100%;
    height: 100%
}

.project .project-items .item .content {
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    height: 100%;
    opacity: 0;
    color: #fff;
    background: rgba(244, 98, 58, 0.9);
    transition: opacity 0.25s ease;
    text-align: center;
    cursor: pointer;
    z-index: 500;
}

.project .project-items .item .content:hover {
    opacity: 1
}

.project .project-items .item .content h3 {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    font-size: 14.1px;
    text-transform: uppercase;
}




.contact {
    text-align: center;
    padding: 85px 0;
    z-index: 1000 !important;
}

.contact form {
    z-index: 355;
}

.contact h3 {
    font-size: 1.9rem;
    margin-bottom: 15px;
}

.contact hr {
    width: 3%;
    margin: 0 auto 15px;
    height: 3px;
    border: none;
    background-color: rgba(244, 98, 58, 1);
}

.contact p {
    color: #6c757d;
    margin-bottom: 5px;
    width: 35%;
    margin: 15px auto;
    line-height: 1.9rem
}

.contact input {
    display: block;
    margin: 19px auto;
    padding: 23px;
    border-radius: 5px;
    border: 1px solid rgba(244, 98, 58, 0.65);
    font-size: 19px;
    width: 35%;
}


.contact input::placeholder {
    color: #3333338c;
}

.contact form input:first-of-type {
    margin-top: 45px
}

.contact textarea {
    width: 35%;
    padding: 25px;
    border: 1px solid rgba(244, 98, 58, 0.65);
    overflow: hidden;
    font-size: 19px;
    height: 19rem;
}

.contact textarea::placeholder {
    padding: 15px;
    color: #3333338c
}


.contact i {
    font-size: 2.5rem;
    color: #6c757d
}

.contact p:last-of-type {
    color: #333;
    padding-top: 1px;
}

.contact input[type=submit] {
    color: var(--main-color);
    border-radius: 50px;
    width: 25%;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1.5px;
    cursor: pointer;
    border: 3px solid var(--main-color);
    transition: all .3s ease-in-out;
}

.contact input[type=submit]:hover {
    background-color: var(--main-color);
    color: #FFF;
}

/* END Contact */

/* Footer */
footer {
    background-color: #F8F9FA;
    padding: 35px 0;
    text-align: center
}

footer p {
    font-size: 13px;
    color: #6c757d;
}

/* END Footer */