@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

/* imagens responsive */
img {
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

.max-width {
    /* max-width: 1300px; */
    padding: 0 80px;
    margin: auto;
}


/* COMEÇA AQUI! */
li {
    list-style: none;
}

a {
    text-decoration: none;
}


.header {
    /* para fixar no início */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 9999;
    border-bottom: 1px solid crimson;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 1.5rem;
    background: rgba(0, 0, 0, 0.829);
}

.navbar li {
    margin-top: .5em;

}

.navbar li a:hover {
    color: rgb(220, 20, 60);
}

.hamburger {
    display: none;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}



/* icon menu */
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Ubuntu', sans-serif;

    display: inline-block;
    padding: 1em;
    margin-right: 150px;
    margin-top: 2px;
    border-radius: 0%;
}

.nav-menu {
    display: flex;

}


.nav-item {
    margin-left: 1.5rem;
}

.nav-link {
    font-weight: 400;
    color: #fff;
    font-size: 18px;
    cursor: pointer;

}

.nav-link:hover {
    color: #fff;
}

.nav-logo {
    color: rgb(255, 255, 255);
    font-size: 35px;
    font-weight: 600;
    font-family: 'Ubuntu', sans-serif;
    margin-left: 165px;
}




/* home section styling */
.home {
    display: flex;
    background: url("imagens/retrato.png") no-repeat center;
    height: 100vh;
    color: #fff;
    min-height: 500px;
    font-family: 'Ubuntu', sans-serif;
    background-size: cover;
}

.home .max-width {
    margin: auto 0 auto 100px;

}

.home .home-content .text-1 {
    font-size: 27px;
}

.home .home-content .text-2 {
    font-size: 75px;
    font-weight: 600;
    margin-left: -3px;
}

.home .home-content .text-3 {
    font-size: 30px;
    margin: 5px 0;
}

.home .home-content .text-3 span {
    color: crimson;
    font-weight: 500;
}

.home .home-content a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 25px;
    padding: 12px 36px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.home .home-content a:hover {
    color: crimson;
    background: none;
}

/* all similar content styling code */
section {
    padding: 100px 0;
}

.about,
.services,
.skills,
.work,
.contact,
footer {
    font-family: 'Poppins', sans-serif;
}


.iconfour {
    height: 31px;
    padding-left: 1em;
}

.about .about-content,
.services .serv-content,
.skills-content,
.contact .contact-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

section .title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    font-family: 'Ubuntu', sans-serif;
    ;
}

section .title::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #111;
    transform: translateX(-50%);
}

section .title::after {
    position: absolute;
    bottom: -12px;
    left: 50%;
    font-size: 20px;
    color: crimson;
    padding: 5px;
    background: #fff;
    transform: translateX(-50%);
}


/* about section styling */
.about .title::after {
    content: "who i am";
}

.about .about-content .left {
    width: 45%;
}

.about .about-content .left img {
    height: 400px;
    width: 400px;
    object-fit: cover;
    border-radius: 6px;
}

.about .about-content .right {
    width: 55%;
}

.about .about-content .right .text {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 10px;
}

.about .about-content .right .text span {
    color: crimson;
}

.about .about-content .right p {
    text-align: justify;
}

.about .about-content .right a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.about .about-content .right a:hover {
    color: crimson;
    background: none;
}



/* services section styling */
.services,
.work {
    color: #fff;
    background-color: #111;
}

.services .title::before,
.work .title::before {
    background: #fff;
}

.services .title::after,
.work .title::after {
    background: #111;
    content: "what i provide";
}

.services .serv-content .card {
    width: calc(33% - 20px);
    background-color: rgb(64, 64, 64);
    text-align: center;
    border-radius: 6px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.services .serv-content .card:hover {
    background-color: crimson;
}

.services .serv-content .card .box {
    transition: all 0.3s ease;
}

.services .serv-content .card:hover .box {
    transform: scale(1.05);
}

.sericon {
    height: 100px;
    color: crimson;
    transition: color 0.3s ease;
}

.services .serv-content .card a {

    color: rgb(255, 255, 255);
    transition: color 0.3s ease;
}

.services .serv-content .card:hover .sericon {
    color: #fff;
}

.services .serv-content .card .text {
    font-size: 25px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}


/* skills section styling */
.skills .title::after {
    content: "what i know";
}

.skills .skills-content .column {
    width: calc(50% - 30px);
}

.skills .skills-content .left .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.skills .skills-content .left p {
    text-align: justify;
}

.skills .skills-content .left a {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.skills .skills-content .left a:hover {
    color: crimson;
    background: none;
}

.skills .skills-content .right .bars {
    margin-bottom: 15px;
}

.skills .skills-content .right .info {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}

.skills .skills-content .right span {
    font-weight: 500;
    font-size: 18px;
}


.skills .skills-content .right .line {
    height: 5px;
    width: 100%;
    background: lightgrey;
    position: relative;
}

.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    /* width: 80%; */
    left: 0;
    top: 0;
    background: crimson;
}

.skills-content .right .html::before {
    width: 70%;
}

.skills-content .right .css::before {
    width: 60%;
}

.skills-content .right .js::before {
    width: 30%;
}

.skills-content .right .php::before {
    width: 70%;
}

.skills-content .right .mysql::before {
    width: 60%;
}


/* work section styling */
.work .title::after {
    content: "webdesign";
}

.work .title.brand::after {
    content: "branding";
}

.work .title.brand,
.work .title.flyer,
.work .title.ilust {
    padding-top: 80px;
}

.work .title.flyer::after {
    content: "flyers";
}

.work .title.ilust::after {
    content: "ilustration/paintings";
}


.work .carousel .card {
    background-color: rgb(64, 64, 64);
    border-radius: 6px;
    padding: 15px 20px;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.work .carousel .card .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.work .carousel .card .text {
    font-size: 15px;
    font-weight: 500;
    margin: 10px 0 7px 0;
}

.work .carousel .card img {
    /* height: 180px; */
    width: 300px;
    object-fit: cover;
    border-radius: 5px;
}

.work .carousel .card img {
    height: 300px;
    width: 1100px;
    object-fit: cover;
    border-radius: 5px;
}

.work .box a {
    text-decoration: none;
    color: #fff;
}


/* contact section styling */
.contact .title::after {
    content: "get in touch";
}

.contact .contact-content .column {
    width: calc(50% - 30px);
}

.contact .contact-content .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact .contact-content .left p {
    text-align: justify;
}

.contact .contact-content .left .icons {
    margin: 10px 0;
}

.contact .contact-content .row {
    display: flex;
    height: 65px;
    align-items: center;
}

.contact .contact-content .row .info {
    margin-left: 30px;
}

.contact .contact-content .row i {
    font-size: 25px;
    color: crimson;
}

.contact .contact-content .info .head {
    font-weight: 500;
}

.contact .contact-content .info .sub-title {
    font-weight: 500;
}

.contact .right form .fields {
    display: flex;
}

.contact .right form .textarea {
    height: 80px;
    width: 100%;
}

.contact .right form .name {
    margin-right: 10px;
}

.contact .right form .email {
    margin-left: 10px;
    margin-right: 50px;
}

textarea {
    border: 2px solid rgb(64, 64, 64);
    padding-top: 10px;
    font-family: "Poppins", sans-serif;
}

textarea,
input {
    font-family: "Poppins", sans-serif;
}

.form-control {
    padding-left: 15px;
    /*  margin-right: 30px; */
    height: 45px;
    width: 250px;
    margin-bottom: 15px;
    border-radius: 6px;
    color: gray;
}



h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: "Poppins", sans-serif;
}

.btn {
    display: inline-block;
    background: crimson;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    padding: 10px 30px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: all 0.3s ease;
}

.btn:hover {
    color: crimson;
    background: none;
}


.iconone {
    height: 31px;
}

.icontwo {
    height: 35px;
}

.icontree {
    height: 20px;
}


/* footer section styling */
footer {
    font-size: 12px;
    background: #111;
    padding: 20px 23px;
    padding-left: 180px;
    color: #fff;
}

.second {
    display: none;
}







/* responsive media query start */
@media screen and (max-width: 1300px) {
    .home .max-width {
        margin-left: 0px;
    }

    .second {
        display: none;
    }




}

@media screen and (min-width: 550px) {

    .second {
        display: flex;
    }

    .first {
        display: none;
    }

    .work .carousel .card:hover {
        background: crimson;
    }

    .work .carousel .card:hover .box {
        transform: scale(1.009);
    }

    .form-control {
        width: 450px;
    }

    .contact .right form .email {
        margin-left: 10px;
        margin-right: 30px;
    }



}



@media screen and (max-width: 1104px) {
    .about .about-content .left img {
        height: 350px;
        width: 350px;
    }
}






@media screen and (max-width: 991px) {
    .max-width {
        padding: 0 50px;
    }

}






@media screen and (max-width: 947px) {
    .max-width {
        padding: 0 50px;
    }

    .nav-link {
        font-weight: 400;
        color: crimson;
        font-size: 20px;
    }

    .nav-logo {
        margin-left: 0px;
    }

    .navbar li {
        /* margin-top: .5em; */
        margin-top: 25px;
        margin-bottom: 60px;
    }

    .header {
        border-bottom: 1px solid crimson;
    }

    footer {
        padding-left: 25px;
        padding-bottom: 30px;
    }

    .home .home-content .text-2 {
        font-size: 70px;
    }

    .home .home-content .text-3 {
        font-size: 35px;
    }

    .home .home-content a {
        font-size: 23px;
        padding: 10px 30px;
    }

    .max-width {
        max-width: 800px;
    }

    .about .about-content .column {
        width: 100%;
    }

    .about .about-content .left {
        display: flex;
        justify-content: center;
        margin: 0 auto 60px;
    }

    .about .about-content .right {
        flex: 100%;
    }

    .services .serv-content .card {
        width: calc(50% - 10px);
        margin-bottom: 20px;
    }

    .skills .skills-content .column,
    .contact .contact-content .column {
        width: 100%;
        margin-bottom: 35px;
    }

}




@media

/*  only  */
screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 5rem;
        /* nao mexer! */
        flex-direction: column;
        background-color: rgb(0, 0, 0);
        width: 100%;
        height: 100vh;
        padding-bottom: 300px;
        text-align: center;
        transition: 0.3s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }
}






@media screen and (max-width: 690px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 60px;
    }

    .home .home-content .text-3 {
        font-size: 32px;
    }

    .home .home-content a {
        font-size: 20px;
    }

    .services .serv-content .card {
        width: 100%;
    }
}



@media screen and (max-width: 500px) {
    .max-width {
        padding: 0 23px;
    }

    .home .home-content .text-2 {
        font-size: 50px;
    }

    .home .home-content .text-3 {
        font-size: 27px;
    }

    .form-control {
        width: 350px;
    }


}