.units{
    display: flex;
    background: var(--primaryColor);
    justify-content: center;
    align-items: center;
}
.units .container{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    align-items: start;
    gap: 20px;
    padding: 5px;
    width: 100%;
    max-width: 1400px;
    color: #fff;
    font-family: 'Poppins';
}
.units .container a{
    text-decoration: none;
    color: #fff;
}
.units .container .g, .c, .v{
    cursor: pointer;
    text-align: center;  
    border-image-slice: 1;
    border-width: 5px;
    transition: all 0.5s;
}
.units .container .g:hover, .c:hover, .v:hover{
    scale: 1.05;
}
.units .container .nome{
    padding: 15px;
    font-size: 20px;
    font-weight: 600;
}

.units .container .g img, .c img, .v img {
    width: 100%; 
}
@media screen and (max-width: 1000px) {
    .units .container{
        gap: 10px;
    }
    .units .container .nome{
        font-size: 15px;
        padding: 10px;
    }     
}
@media screen and (max-width: 760px) {
    .units .container{
        gap: 7px;
    }
    .units .container .nome{
        font-size: 12px;
        padding: 5px;
    }     
}
@media screen and (max-width: 400px) {
    .units .container .nome{
        font-size: 11px;
        padding: 0px;
    }     
}

/*===========units-photos============*/

.units-photos {
    background-color: #fff;
    padding: 3rem 0;    
}
.units-photos .container {
    max-width: 1550px;
    margin: 0 auto;
}
.units-photos .units-photos-container{
    max-width: 1550px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.units-photos i {
    margin: 0 1rem;
    font-size: 40px;
    cursor: pointer;
    color: #0072b8;
}

.units-photos section {
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.units-photos section::-webkit-scrollbar {
    height: 0;
    width: 2px;
    border: 1px solid #d5d5d5;
    background: #d5d5d5;
}

.units-photos section::-webkit-scrollbar-track {
    --webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
}

.units-photos section .image {
    flex: 0 0 auto;
	object-fit: cover;
	cursor: pointer;
    overflow: hidden;
    transition: all .3s;

    width: 500px;
    margin: 0 10px;
}

.units-photos section .image:hover {
    transform: scale(1);
}

.units-photos section .image img{
    width: 100%;
}
@media screen and (max-width: 770px) {
    .units-photos section .image {
        width: 300px;
    }
    .units-photos i {
        margin: 0 5px;
        font-size: 40px;
    }
}
