body {
    margin: 0;
    padding: 0;
    border: 0;
    background-color: #f5f7f9;
    font-family: 'Roboto', sans-serif;
	font-size: 1.125rem;
	font-weight: 400;
}

/* Header */

.brand-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    align-items: center;
}

@media (max-width:746px) {
	.brand-contact {
		grid-template-columns: 1fr;
	}
}

.contacts {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 1rem;
}

@media (max-width:746px) {
	.contacts {
		display: none;
	}
}

.background-blue {
    background-color: #0047b3;
}

button[name="drop"] {
    border: none;
    cursor: pointer;
    background-color: transparent;
    padding: 10px;
    font-size: 2rem;
    color: #ffffff;
}

.drop-content {
    display: none;
    background-color: #195d8e;
    position: absolute;
    height: 13rem;
}

.drop-content a {
    color: #ffffff;
    padding: 8px 10px;
    text-decoration: none;
    display: block;
}

.menu-drop:hover .drop-content {
    display: block;
}

.menu-drop:hover button[name="drop"] {
    background-color: transparent;
}

.drop-content a:hover {
    background-color: #44d4fc;
}

.menu-drop {
    display: none;
    position: relative;
    width: 0.625rem;
}

@media (max-width:746px) {
	.menu-drop {
		display: block;
	}
}

nav ul {
    height: 4rem;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;    
    list-style: none;    
}

@media (max-width:746px) {
	nav ul {
		display: none;
	}
}

nav ul li {
    border-right: 1px solid #E2E2E2;
}

nav ul a {
    padding: 1rem;
    text-decoration: none;
    color: #ADADAD;
}

nav ul a:hover {
    color: #ffffff;
    background-color: #44d4fc;
    border-radius: 5px;       
}
/* END Header */

/* Main */

.main-background {
    background-image: url(../img/mercedes.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;    
}

.main-background h1 {
    font-size: 7rem;
    color: #ffffff;
    text-shadow: black 0.1em 0.1em 0.2em;
}

@media (max-width:550px) {
    .main-background h1 {
        font-size: 4rem;
    }
}

.offer-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 5rem;
}

.offer-title {
    margin-bottom: 4rem;
    font-size: 3rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    justify-items: center;
    text-align: center;
    grid-gap: 3rem;
}

@media (max-width: 1210px) {
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

.item-panel {
    background-color: #ffffff;
    padding-bottom: 6rem;
    border-radius: 5px;
}

.price {
    font-size: 2rem;
    color: #5dc302;
    font-weight: 600;
}

.image-panel {
    width: 16.640rem;
    height: auto;
}

.image-panel img {
    width: 100%;
}

.image-panel img:hover {
    overflow: hidden;
    transform: scale(1.2);
    transition: all .5s ease;
}

.financing-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35rem;
    color: #ffffff;
    font-size: 1.5rem;
    text-align: center;
}

.saiba-mais {
    padding: 0 20px;
    margin-top: 7rem; 
    
}

.saiba-mais a, .saiba-mais a:visited {
    text-decoration: none;
    background-color: #2f2e2e;
    color: #ffffff;
    padding: 1rem;
    font-size: 1rem;
}

.brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 35rem;
}

.brand-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 5rem;
    grid-gap: 2rem;
}

.brand-item img {
    width: 5vw;
    min-width: 3rem;
    height: auto;
}

.second-background {
    background-image: url(../img/dirigindo-carro04.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 35rem;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 7rem;
    color: #ecece2;
}
/* END Main */

/* Footer */

footer {
    background-color: #156a99;
    padding-top: 1rem;
    color: #ffffff;
    padding: 2rem 0rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-map {
    padding: 2rem 0rem;
}

.footer-map iframe{
    width: 100vw;
    height: 30vh;
}

.footer-contact {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;    
}

@media (max-width:1024px) {
	.footer-contact {
		display: grid;
		justify-items: center;
		align-content: center;
		grid-gap: 1rem 0;
		grid-template-areas:
			"address"
			"email"
			"phone"
	}
}

.footer-email {
	display: grid;
	grid-area: email;
    grid-template-columns: auto 1fr;
	grid-gap: 0px 10px;
}

.footer-address {
	display: grid;
	grid-area: address;
    grid-template-columns: auto 1fr;
    grid-gap: 0px 10px;
}

.footer-phone {
	display: grid;
	grid-area: phone;
    grid-template-columns: auto 1fr;
    grid-gap: 0px 10px;
}

.social {
	width: 50%;
}

.social ul {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    font-size: 3rem;      
}

.social ul li {
    list-style: none;
}

.social ul li a, .social ul li a:visited {
    text-decoration: none;
    color: inherit;
}
/* END Footer */