@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: 12dvw;
}

.navbar a
{
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-left: 4rem;
    transition: 1s ease;
}

.navbar a:hover,
.navbar a.active
{
    color: var(--maion-color);
}

#menu-icon
{
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

/* BREAKPOINTS */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .portfolio {
        padding-bottom: 7rem;
    }

    .model {
        width: 93dvw;
        top: 0;
        left: 0;
    }
    .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: 30dvw;
    }

    .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;
    }

    .navcontact
    {
        height: 50dvh;
    }

    .home {
        flex-direction: column;
    }

    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-img img {
        width: 70dvw;
    }

    .project-container {
        flex-direction: column;
        padding: 0 2rem;
    }

    .project-container img
    {
        width: 90dvw;
    }
    .project-text
    {
        width: 90dvw;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-img img {
        width: 70vw;
        margin-top: 4rem;
    }

    .project-text h1,
    .project-text p {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    .provide-container {
        flex-direction: column;
    }

    .provide-image img {
        width: 90%;
    }

    .portfolio h2 {
        margin-bottom: 3rem;
    }

    .portfolio-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .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) {
    .portfolio-container {
        grid-template-columns: 1fr;
    }
}

@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) {
    .contact form .input-box input {
        width: 100%;
    }
}

@media (max-width: 365px) {
    .home-img img {
        width: 90vw;
    }

    
    .footer {
        flex-direction: column-reverse;
        align-items: center;
    }

    .footer-iconTop {
        margin-bottom: 2rem;
    }
}
