@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

:root
{
    --bg-color: #ffffff;
    --second-bg-color: #f2f2f2;
    --text-color: #000000;
    --maion-color: #ff0000;
}

html
{
    font-size: 62.5%;
    overflow-x: hidden;
}

body
{
    background: var(--bg-color);
    color: var(--text-color);
}

.blurred
{
    filter: blur(2px);
}

section
{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.header.sticky
{
    border-bottom: .1rem solid rgba(0, 0, 0, .2);
}

.logo
{
    width: 10dvw;
}

.navbar a
{
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active
{
    color: var(--maion-color);
}

#menu-icon
{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

span
{
    color: var(--maion-color);
}

.social-media a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--maion-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--maion-color);
    margin: 1rem;
    transition: .5s ease;
}

.social-media a:hover
{
    background-color: var(--maion-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--maion-color);
}

.button
{
    display: inline-block;
    padding: 1rem 2.8rem;
    background-color: var(--maion-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--maion-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
}

.button:hover
{
    box-shadow: none;
    cursor: pointer;
}

.name
{
    display: flex;
    align-items: end;
    justify-content: center;
    height: 15dvw;
    background-color: var(--bg-color);
}

.name h2
{
    font-size: 3rem;
}

.contact
{
    background-color: var(--second-bg-color);
    display: flex;
    justify-content: space-around;
}

.contact h2,
.name h2
{
    margin-bottom: 3rem;
}

.contact form
{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    /* border: .2rem solid var(--text-color); */
    border-radius: 2rem;
}

.contact form .input-box
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.input-box .input-field
{
    width: 48.5%;
}

.contact form .input-box .field input,
.contact form textarea
{
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    /* border: 1px solid var(--maion-color); */
    border-radius: 1.6rem;
    box-shadow: inset 1rem 1rem 1rem #cbc3d1, inset -1rem -1rem 1rem #ffffff;
    margin: .7rem 0;
}

.contact form .input-box .error input,
.contact form .item.error
{
    background-color: #f0d6d6;
}

.contact form .input-box .field input
{
    width: 100%;
}

.contact form textarea
{
    resize: none;
}

.error-text
{
    font-size: 1.4rem;
    color: #d93025;
    text-align: left;
    margin: -1rem 0 1rem;
    display: none;
}

.field.error .error-text
{
    display: block;
}

.contact form .button
{
    margin-top: 2rem;
    cursor: pointer;
}

.services-container
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box
{
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.services-container .services-box:hover
{
    border-color: var(--maion-color);
    transform: scale(1.02);
}

.services-box i,
.model i
{
    font-size: 7rem;
    color: var(--maion-color);
}

.services-box h3
{
    font-size: 2.6rem;
}

.services-box p,
.services-box a
{
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    .services {
        padding-bottom: 7rem;
    }


    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }

    .newsletter-layer {
        margin: 0 6rem;
    }

    .newsletter-layer h2 {
        font-size: 2.6rem;
    }

    .text-layer {
        width: 30%;
    }

    .input-layer {
        width: 70%;
    }

    .newsletter-layer a {
        padding: 1.3rem 4rem;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .logo {
        width: 20dvw;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }


    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .name
    {
        height: 40dvw;
    }

    .contact {
        flex-direction: column-reverse;
    }

    .newsletter-layer {
        margin: 0 6rem;
    }

    .newsletter-layer h2 {
        font-size: 2.6rem;
    }

    .text-layer {
        width: 30%;
    }

    .input-layer {
        width: 70%;
    }

    .newsletter-layer a {
        padding: 1.3rem 2rem;
    }

}

@media (max-width: 617px) {
}

@media (max-width: 580px) {
    html {
        font-size: 50%;
    }

    .newsletter-layer {
        flex-direction: column;
        padding: 4rem 2rem;
    }

    .text-layer {
        width: 100%;
    }

    .input-layer {
        width: 100%;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 365px) {
    .footer {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-iconTop {
        margin-bottom: 2rem;
    }
}

