@import url('https://fonts.googleapis.com/css2?family=Lato:wght@900&family=Merriweather:wght@900&family=Roboto:wght@100&display=swap');

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    overflow-x: hidden;
}

a {
    color: #000000;
    text-decoration: none;
}

#img {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 15.75rem;
}

.header {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 25px;
    box-shadow: 0px 10px 8px -3px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 6.5625rem;
    background-color: #ffffff;
    gap: 10px;
}

.links {
    display: flex;
    gap: 20px;
}

.navbar img {
    width: 222px;
    transition: transform .2s;
}

.navbar img:hover {
    transform: scale(1.1);
}

.navbar p {
    margin-left: 1.125rem;
    transition: transform .2s;
}

.navbar p:hover {
    transform: scale(1.1);
}

.body {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: auto;
    height: 70%;
}

.body .products h2 {
    background-color: #fff;
    padding: 10px 20px 10px 20px;
    border-radius: 20px;
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.25);
}

.body .products h2,
.comercial-brands h2,
.about h2 {
    margin: 35px;
    height: 73px;
    font-family: 'Lato', sans-serif;
    text-align: center;
    font-weight: 900;
    font-size: 53px;
    color: #1A5A66;
    display: flex;
    justify-content: center;
}

.products {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100vw;
    background-image: url(/assets/bg_home_products.png);
}

.cards-top {
    display: flex;
    align-items: center;
    gap: 35px;
    flex-direction: row;
}

.cards-bottom {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 35px 0 26px 0;
}

.item-card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    width: 400px;
    height: 460px;
    background-color: #fff;
    box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.25);
    transition: transform .2s;
}

.item-card:hover {
    transform: scale(1.1);
}

.item-card img {
    margin-top: 28px;
    width: 346px;
    height: 230px;
}

.item-card img:hover {
    cursor: pointer;
}

.item-card #card-img {
    height: 253px;
}

.item-card #title {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: -20px;
    text-align: center;
}

.item-card p {
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    text-align: justify;
    width: 346px;
    height: 100px;
}

.item-card b {
    color: #000;
}

.comercial-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.brands-container {
    display: grid;
    grid-template-columns: 250px 250px 250px 250px;
    grid-template-rows: 150px 150px 150px 150px;
    gap: 30px 20px;
    grid-template-areas:
        "baldan marchesan inroda sollus"
        "santa-izabel ko-maquinas piccin santa-rita"
        "agrovemaq tadeu-imp vicon ordemax"
        "metalfran . . .";
        box-shadow: 0px 4px 11px rgba(0, 0, 0, 0.25);
        width: 58%;
        padding: 40px 0 0 0;
        border-radius: 20px;
}

.brands-container div {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s
}

.brands-container div:hover {
    transform: scale(1.1);
}

.brands-container img {
    width: 150px;
}

.baldan { grid-area: baldan; }
.marchesan { grid-area: marchesan; }
.inroda { grid-area: inroda; }
.sollus { grid-area: sollus; }
.ko-maquinas { grid-area: ko-maquinas; }
.santa-izabel { grid-area: santa-izabel; }
.piccin { grid-area: piccin; }
.santa-rita { grid-area: santa-rita; }
.agrovemaq { grid-area: agrovemaq; }
.tadeu-imp { grid-area: tadeu-imp; }
.vicon { grid-area: vicon; }
.ordemax { grid-area: ordemax; }
.metalfran { grid-area: metalfran; }

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.about-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0 0 60px 0;
}

.about-left,
.about-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-left img {
    width: 100%;
    margin: 0 0 0 30px;
}

.about-right p {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    width: 80%;
    text-align: center;
    line-height: 150%;
    font-weight: 500;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    height: 265px;
    background-color: #ffffff;
    font-family: 'Montserrat', Medium, sans-serif;
}


.footer img {
    width: 198px;
    height: 44px;
}

.footer h6 {
    height: 65px;
    font-size: 24px;
    font-weight: 400;
    line-height: 70px;
    text-align: left;
    color: #868686;
}

.left-f {
    margin-left: 35px;
    padding-top: 25px;
    color: #000000;
}

.left-f p {
    margin-top: 15px;
    width: 198px;
    height: 56px;
}

.left-f #name-equivaler {
    font-weight: 600;
    font-size: 26px;
}

.left-f #location {
    font-size: 20px;
}

.right-f {
    text-align: right;
    margin-right: 35px;
}

.right-f p {
    width: 369px;
    height: 190px;
    font-family: 'Montserrat';
    font-size: 22px;
    line-height: 54px;
    color: #000000;
}

@media only screen and (max-width:1368px) {
    .navbar {
        gap: 14px;
    }
}

@media only screen and (max-width: 1200px) {
    .navbar {
        gap: 6px;
        height: 10%;
    }

    .navbar img {
        width: 150px;
    }

    .navbar p {
        font-size: 18px;
    }

    .navbar #img {
        width: 175px;
    }

    .header {
        height: 10vh;
    }

    .body .products h2 {
        font-size: 42px;
        height: 0;
        padding: 35px;
        align-items: center;
    }

    .item-card {
        width: 18.75rem;
        height: 22.8125rem;
    }

    .item-card img {
        width: 246px;
        height: 174px;
    }

    .item-card #card-img {
        height: 204px;
    }

    .item-card #title {
        margin-bottom: 0;
        font-size: 18px;
    }

    .item-card p {
        font-size: 14px;
        padding: 0 20px;
    }

    .comercial-brands h2 {
        font-size: 42px;
    }

    .brands-container {
        width: 86%;
        grid-template-columns: 215px 215px 215px 215px;
    }

    .about h2 {
        font-size: 42px
    }
    
    .about-right p {
        font-size: 16px;
    }

    .left-f #name-equivaler {
        font-size: 20px;
    }

    .left-f #location {
        margin: 0;
    }
    
    .right-f p {
        font-size: 20px;
        line-height: 40px;
        height: 100%;
        padding-top: 25px;
    }

    .footer h6 {
        font-size: 18px;
        text-align: end;
    }
}

@media only screen and (max-width: 991px) {
    .item-card {
        width: 16.75rem;
        height: 20.8125rem;
    }

    .item-card #title {
        font-size: 16px;
    }

    .item-card img {
        margin-top: 12px;
    }

    .item-card #card-img {
        height: 192px;
    }
    
    .item-card p {
        font-size: 12px;
    }

    .brands-container img {
        width: 120px;
    }

    .brands-container {
        grid-template-columns: 190px 190px 190px 190px;
    }

    .about-right p {
        font-size: 14px;
    }
}

@media only screen and (max-width: 560px) {
    .navbar {
        gap: 4px;
        height: 20%;
    }

    .navbar img {
        width: 80px;
    }

    .navbar p {
        margin-left: 0;
        font-size: 9px;
    }
    
    .navbar a[href="#contato"] {
        display: none;
    }

    .navbar #img {
        width: 124px;
    }

    .navbar a[href="#produtos"],
    a[href="#marcas"],
    a[href="#empresa"] {
        margin-left: 0;
        width: 150px;
    }

    .links {
        margin-left: 0.5rem;
    }

    .header {
        height: 5vh;
    }

    .body .products h2 {
        font-size: 20px;
        padding: 22px;
    }

    .body .products h2, .comercial-brands h2, .about h2 {
        margin: 16px;
    }

    .cards-top,
    .cards-bottom {
        flex-direction: column;
    }

    .cards-bottom {
        gap: 35px;
    }

    .item-card {
        width: 14.75rem;
        height: 18.8125rem;
    }

    .item-card img {
        width: 208px;
        height: 140px;
    }

    .item-card #card-img {
        height: 158px;
    }

    .item-card #title {
        font-size: 14px;
    }

    .item-card p {
        font-size: 11px;
        margin-top: 5px;
    }
    
    .about h2 {
        font-size: 20px;
        margin: 14px;
        height: 0;
    }

    .about-info {
        flex-direction: column;
    }

    .about-right {
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about-left img {
        width: 172%;
        margin: 0;
    }

    .about-right p {
        width: 139%;
        font-size: 12px;
    }

    .footer img {
        width: 108px;
        height: 24px;
    }

    .left-f {
        margin-left: 16px;
        padding-top: 25px;
        color: #fff;
        width: 32%;
    }

    .left-f #name-equivaler {
        font-size: 14px;
    }

    .left-f #location {
        font-size: 14px;
        width: 100px;
    }

    .right-f p {
        font-size: 12px;
        width: 206px;
    }

    .footer h6 {
        font-size: 12px;
    }
}