/* Principal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: Poppins, sans-serif;
}

:root {
    --bg-color: #ffb8b8;
    --second-bg-color: #ff8181;
    --text-color: #000;
    --main-color: #ff4d4d;
}

html {
    font-size: 60%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

.header {
    position: fixed;
    padding-top: 1rem;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem 15%;
    background: rgba(0, 0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

#menu-icon {
    font-size: 3.5rem;
    color: var(--main-color);
    display: none;
}

/* Logo */

.logo {
    font-size: 3rem;
    color: var(--text-color);
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    margin-left: 5rem;
}

/* Logo hover */

.logo:hover {
    transform: scale(1.1);
}

/* Gradiente de texto principal */

span {
    background: linear-gradient(
        270deg,
        #ff4d4d 20%,
        #ff8989 100%
    );
    background-clip: text;
    color: transparent;
}

/* Navbar */

.navbar a{
    font-size: 1.9rem;
    font-weight: 600;
    margin-left: 4rem;
    color: var(--text-color);
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

/* Navbar hover */

.navbar a:hover {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

/* Gradient button do header  */

.gradient-btn {
    margin-top: 0.5rem; 
    margin-right: 6rem;
    font-size: 1.8rem;
    padding: 1rem 2rem;
    border-radius: 3rem;
    background: linear-gradient(
        270deg,
        #ff4d4d 20%,
        #ff8989 100%
    );
    letter-spacing: 0.5px;
    cursor: pointer;
    color: var(--text-color);
    border: none;
    text-wrap: nowrap;
}

/* Definição de sections do site */

section {
    min-height: 100vh;
    padding: 10rem 15%;
}

/* Home Section */

.home {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15rem;
}

/* Home content e imagens alinhamento */

.home-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.home-content h1 {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 1.5rem;
}

.home-content h3 {
    margin: 1rem 0;
    font-size: 4rem;
}

.home-img img {
    width: 32vw;
    border-radius: 50%;
    box-shadow: 0 0 20px var(--main-color);
    transition: 0.4s ease-in-out;
}

/* Home image hover */

.home-img img:hover {
    box-shadow: 0 0 25px var(--main-color), 0 0 50px var(--main-color), 0 0 100px var(--main-color);
}

/* Paragrafo do Home */

.home-content p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.8;
    max-width: 1000px;
}

/* Icons de redes sociais */

.social-icons a {
    margin-top: 2rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    color: var(--main-color);
    margin-right: 3rem 0.5rem;
    transition: 0.3s ease-in-out;
}

/* Icons de rede sociais hover */

.social-icons a:hover {
    color: var(--text-color);
    transform: scale (1.2) rotate(-5px);
    box-shadow: 0 0 25px var(--main-color);
    background-color: var(--main-color);
}

/* Button */

.btn-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.8rem;
    background-color: var(--main-color);
    border-radius: 3rem;	
    box-shadow: 0 0 25px var(--main-color);
    color: black;
    border: 2px solid transparent;
    font-weight: 600;
    transition: 0.3s ease-in-out;
}

/* Button hover */

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}

.btn-group a:nth-of-type(2) {
    background-color: #000;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    box-shadow: 0 0 25px transparent;
}

.btn-group a:nth-of-type(2):hover {
    background-color: var(--main-color);
    color: #000;
    box-shadow: 0 0 25px var(--main-color);
}

/* Sobre mim */

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
    background-color: var(--second-bg-color);
}

/* Conteúdo */

.about-content h2 {
    text-align: left;
    font-size: 7rem;
}

.about-content p {
    font-size: 1.8rem;
}

/* Botão do sobre mim */

.about-content .btn {
    margin-top: 2rem;
}

.about-content .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--main-color),
                0 0 50px var(--main-color);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--bg-color);
}


/* Meus serviços */

.heading {
    text-align: center;
    margin: 5rem 0;
    font-size: 7rem;
}

.services {
    background-color: var(--bg-color);
    color: black;
}

.services h2 {
    color: var(--text-color);
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;
    gap: 2.5rem;
}

/* Box do "meu serviço" */

.service-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    height: 600px;
    border-radius: 3rem;
    cursor: pointer;
    border: 5px solid transparent;
    transition: 0.4s ease-in-out;
}

/* Serviços hover */

.service-box:hover {
    border: 5px solid var(--main-color);
    background: var(--second-bg-color);
    color: var(--main-color);
    transform: scale (1.03);
}

.service-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

/* Serviços texto */

.service-info h4 {
    font-size: 4rem;
    margin: 2rem 0;
    font-weight: 800;
}

.service-info p {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.7;
}

.service-info i {
    font-size: 8rem;
}

/* Contato */

.contact {
    background-color: var(--bg-color);
}

.contact h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
}

/* Formulário de contato */

.contact form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 5rem 0;
    text-align: center;
}

.contact form, .input-box input, 
.contact form textarea {
    width: 100%;
    padding: 2.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    background-color: var(--bg-color);
    border-radius: 2rem;
    border: 2px solid var(--main-color);
    margin: 1.5rem 0;
    resize: none;
}

/* Rodapé da página */

.footer {
    background-color: var(--second-bg-color);
    padding: 50px 0;
}

.footer .social-icons {
    text-align: center;
    margin-top: 1rem;
}

.footer ul {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.7rem;
}

.footer ul li {
    display: inline-block;
    margin-left: 20px;
}

.footer ul li a {
    color: white;
    transition: 0.3s ease-in-out;
    border-bottom: 3px solid transparent;
}

.footer ul li a:hover {
    border-bottom: 3px solid var(--main-color);
}

.footer .copyright {
    margin-top: 1rem;
    text-align: center;
    margin-top: 40x;
    font-size: 16px;
}

/* Responsividade */

@media (max-width: 1140px) {
    :root {
        --bg-color: #fab0bd;
        --second-bg-color: #fd97a6;
        --text-color: #000;
        --main-color: #ff5871;
    }
    
    .header {
        padding: 1rem 5%;
    }
    
    .header .gradient-btn {
    display: none;
    }

    .navbar {
        display: none;
    }

    .logo {
        margin-left: 0;
    }

    .home {
        flex-direction: column;
        gap: 5rem;
    }

    .home-content {
        align-items: center;
        text-align: center;
    }  

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content h3 {
        font-size: 2.5rem;
    }

    .home-content p {
        font-size: 1.5rem;
    }

    .home-img img {
        width: 50vw;
    }

    .about {
        flex-direction: column;
        gap: 5rem;
    }

    .about h2 {
        font-size: 5rem;
    }

    .about p {
        font-size: 1.5rem;
    }

    .about a {
        font-size: 1.6rem;
        width: 14rem;
        padding: 0.7rem 2.2rem;
    }

    .services h2 {
        font-size: 5rem;
        padding: 1rem 0;
    }

    .services h4 {
        font-size: 6rem;
    }

    .services p {
        font-size: 1.5rem;
    }

    .services-container {
        grid-template-columns: repeat(auto-fit minmax(250px, 1fr));
    }

    .service-box {
        height: 650px;
    }

    .service-info h4 {
        font-size: 2rem;
    }

    .service-info p {
        font-size: 1.4rem;
    }

    .service-info i {
        font-size: 4rem;
    }

    .contact h2 {
        font-size: 5rem;
        padding: 1rem 0;
    }

    .contact .input-box {
        width: 1.5rem 3rem;
    }

    .contact form {
        flex-direction: column;
    }

    .footer ul {
        font-size: 1.5rem;
    }

    .footer ul li {
        margin-left: 10px;
    }

    .footer ul li a {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer ul {
        font-size: 1.3rem;
    }

    .footer ul li {
        margin-left: 5px;
    }

    .footer ul li a {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .footer ul {
        font-size: 1.2rem;
    }

    .footer ul li {
        margin-left: 5px;
    }

    .footer ul li a {
        font-size: 1.2rem;
    }
}
