.home
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-img img
{
    /* height: 520px; */
    width: 35vw;
    box-sizing: border-box;
    animation: floatImage 4s ease-in-out infinite;
}

.home-content h3:nth-of-type(2)
{
    margin-bottom: 2rem;
}

.home-h3{
    font-size: 3rem;
    width: 700;
}

.home-second{
    font-size: 3rem;
    width: 700;
    color: #3b2f5d;
}

.home-content h1{
    font-size: 5.6rem;
    width: 700;
    line-height: 1.3;
}

.home-content p
{
    font-size: 1.6rem;
    margin-bottom: 2rem;
}

.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: 3rem 1.5rem 3rem 0;
    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,
.navbar .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;
}

.blurred
{
    filter: blur(2px);
}

section
{
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.close
{
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.close i
{
    font-size: 2rem;
}

.model 
{
    width: 40dvw;
    display: none;
    position: fixed;
    /* justify-content: center;
    align-items: center; */
    top: 5%;
    left: 30%;
    transform: translate(-50, -50);
    padding: 1.6rem;
    background-color: var(--second-bg-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
    border-radius: 2rem;
}

.prebanner
{
    width: 100dvw;
    height: 100px;
    padding: 0;
    background-color: var(--second-bg-color);
}

.banner-container
{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--second-bg-color);
}

.banner-container .banner-box
{
    position: relative;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
    box-sizing: border-box;
}

.banner-box img
{
    height: 100%;
    transition: .5s ease;
}

.banner-box:hover img
{
    transform: scale(1.1);
}

.banner-box .banner-layer
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--maion-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateX(-100%);
    transition: .5s ease;
}

.banner-box:hover .banner-layer
{
    transform: translateY(0);
}

.banner-layer h4
{
    font-size: 3rem;
    color: #ffffff;
}

.banner-layer p
{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
    color: #ffffff;
}

.banner-layer a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--text-color);
    border-radius: 50%;
}

.banner-layer a i
{
    font-size: 2rem;
    color: var(--second-bg-color);
}

.second-banner
{
    width: 100dvw;
}

.content 
{
    background: linear-gradient(to right, #2f244e, #6a4dbb);
}

.content h3
{
    color: #85EF10;
    font-size: 6rem;
    text-align: center;
    margin-bottom: 3rem;
}

.content p
{
    color: var(--bg-color);
    font-size: 3rem;
}

.provide-container
{
    width: 100dvw;
    display: flex;
    justify-content: space-between;
}

.provide-text h2
{
    font-size: 3.6rem;
    color: #2f244e;
    margin-bottom: 3rem;
}

.provide-text p
{
    font-size: 2.6rem;
    color: #2f244e;
}

.provide-image
{
    display: flex;
    justify-content: center;
    align-items: center;
}

.provide-image img
{
    width: 25dvw;
}

.project-text
{
    margin-right: 20rem;
}

.projects
{
    display: flex;
    flex-direction: column;
    row-gap: 5rem;
}

.projects h2
{
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.project-container
{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10rem;
}

.project-container img
{
    width: 30dvw;
    border-radius: 2rem;
}

.project-text h3
{
    font-size: 2rem;
}

.project-text h1
{
    font-size: 3rem;
    margin-top: 4rem;
    margin-left: 4rem;
    color: #2f244e;
}

.reverse h1
{
    text-align: end;
    margin-right: 4rem;
}

.project-text p
{
    font-size: 2rem;
    margin-top: 3rem;
    margin-left: 4rem;
}

.portfolio
{
    background: var(--second-bg-color);
}

.portfolio h2
{
    margin-bottom: 4rem;
    text-align: center;
    font-size: 3rem;
}

.portfolio-container
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box
{
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
}

.portfolio-box img
{
    width: 100%;
    transition: .5s ease;
}

.portfolio-box:hover img
{
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer
{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--maion-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
}

.portfolio-box:hover .portfolio-layer
{
    transform: translateY(0);
}

.portfolio-layer h4
{
    font-size: 3rem;
    color: #ffffff;
}

.portfolio-layer p
{
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
    color: #ffffff;
}

.portfolio-layer a
{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background-color: var(--text-color);
    border-radius: 50%;
}

.portfolio-layer a i
{
    font-size: 2rem;
    color: var(--second-bg-color);
}

.contact
{
    background-color: var(--second-bg-color);
    display: flex;
    flex-direction: column;
}

.navcontact
{
    height: 90dvh;
    display: none;
}

.navcontact form
{
    height: 65%;
}

.contact h2
{
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact form,
form
{
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    background-color: var(--second-bg-color);
}

.contact form .input-box,
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;
}

/* 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: 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;
    }

    .navcontact
    {
        height: 50dvh;
    }



    .home {
        flex-direction: column;
    }

    .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;
    }
}