 :root {
     --cor-primaria: #1b357e;
     --cor-segundaria: #1351d8;
 }

 /*PRINCIPAL */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     list-style: none;
     text-decoration: none;
     font-family: "Roboto", sans-serif;
 }

 body {
     width: 100%;
     overflow-x: hidden;
     margin: 0;
     padding: 0;
 }



 /* HEADER */
 header {
     width: 100%;
     height: 10%;
     border-bottom: 1px solid #ddd;
     position: relative;
 }

 #navHeader {
     position: absolute;
     left: 50%;
     top: 50%;
     transform: translate(-50%, -50%);
 }

 header nav ul {
     display: flex;
     gap: 2rem;
     justify-content: center;
     align-items: center;
     padding: 0;
     margin: 0;
 }

 header ul li {
     cursor: pointer;
 }

 header img {
     height: 4rem;
 }

 #logoFord {
     width: auto;
     height: 90%;
 }



 /*LETRAS */
 h1 {
     color: var(--cor-segundaria);
     font-size: 2rem;
     font-weight: 900;
 }

 h2 {
     color: #000000;
     font-size: 1.5rem;
     font-weight: 600;
 }

 h3 {
     color: #f0f0f0;
 }

 h4 {
     color: var(--cor-segundaria);
     font-size: 1.1rem;
     text-align: left;
 }

 p {
     color: black;
 }

 /*FOOTER */
 footer {
     background-color: var(--cor-primaria);
     width: 100%;
     position: fixed;
     bottom: 0;
     padding-left: 1px;
     padding-right: 2px;
     padding-top: 0.2rem;
 }

 footer ul {
     display: flex;
     flex-direction: row;
     gap: 2px;
     align-items: center;

 }

 footer ul li {
     cursor: pointer;
 }

 footer .redes-sociais {
     display: flex;
     justify-content: space-between;
     align-items: center;
     text-align: center;
 }

 #logoRedes {
     width: 2rem;
 }

 #copyright {
     color: aliceblue;
     text-align: center;
     font-size: 1rem;
 }

 /*HOME */
 .principal {
     width: 100%;
     align-items: center;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding-top: 3rem;
 }

 #imagePrincipal {
     width: 100%;
     height: auto;
     padding-right: 0;
 }

 .principal p {
     text-align: center;
     padding: 0 1rem;
 }

 #text-principal {
     display: flex;
 }

 /*Contato*/

 .div-formulario {
     width: 100%;
     align-items: center;
     display: flex;
     justify-content: center;
     padding-top: 3rem;
 }


 .formulario {
     height: 4rem;
 }

 form input,
 form select,
 form textarea {
     border-radius: 10px;
     width: 20rem;
     height: 3rem;
     margin-bottom: 0.5rem;
     border: solid 2px var(--cor-primaria);
     font-size: 1rem;
     outline: none;
 }

 #campoMensagem {
     height: 5rem;
     padding: 0.5rem;
 }

 form input:hover,
 form select:hover {
     border: solid 3px var(--cor-segundaria);
 }

 form input::placeholder,
 form textarea::placeholder {
     font-size: 1rem;
     padding-left: 0.3rem;
     color: #000000;
 }

 form input:focus,
 form textarea:focus {
     padding-left: 0.19rem;
     color: var(--cor-primaria);
 }



 form select option {
     font-size: 1rem;
     color: var(--cor-primaria);
 }



 form button {
     border-radius: 10px;
     width: 10rem;
     height: 2rem;
     background-color: var(--cor-primaria);
     border: transparent;
 }

 form button:hover {
     width: 12rem;
     height: 2.5rem;
 }


 /* LANCAMENTO*/

 #lancamento {
     justify-content: center;
     width: 100%;
     display: flex;
     flex-direction: column;
     align-items: center;
 }

 #fundoVideo {
     width: 100%;
     justify-content: center;
     display: flex;
     flex-direction: column;
     align-items: center;
     background-color: #000000;
     border-radius: 15px;
     padding-top: 0.2rem;
     padding-bottom: 0.2rem;
 }

 iframe {
     width: 46.22rem;
     height: 26rem;
 }

 .carros {
     width: 100%;
     display: flex;
     justify-content: center;
 }


 .preco {
     text-align: start;
 }

 input[type="checkbox"] {
     width: 1.8rem;
     height: 1.8rem;
 }

 .info-carro {
     display: flex;
     align-items: center;
     gap: 0.2rem;
 }

 button {
     border-radius: 10px;
     width: 10rem;
     height: 2rem;
     background-color: var(--cor-primaria);
     border: transparent;
 }

 button:hover {
     width: 12rem;
     height: 2.5rem;
     background-color: var(--cor-primaria);
     border: solid 3px var(--cor-segundaria);

 }

 /* Media Query para telas menores que 768px (tablets e celulares) */
 @media (max-width: 768px) {
     header {
         width: 100%;
         height: 100%;

     }

     header nav ul {
         display: flex;
         gap: 0.5rem;
     }


     #logoFord {
         width: 20%;
         height: auto;
     }

     h1 {
         color: var(--cor-segundaria);
         font-size: 1rem;
         font-weight: 900;
     }

     .carros {
         display: flex;
         flex-direction: column;
         align-items: center;
     }

     .carros th {
         width: 90%;
         margin-bottom: 2rem;
         display: flex;
         flex-direction: column;
     }

     #fundoVideo,
     iframe {
         width: 95%;
         height: auto;
     }

     .div-formulario {
         flex-direction: column;
         position: relative;
     }

     .div-formulario img {
         width: 80%;
         margin-bottom: 2rem;
     }

     form input,
     form select {
         width: 100%;
     }


     footer .redes-sociais {
         flex-direction: column;
     }

     #copyright {
         margin: 1rem 0;
         text-align: center;
     }

     #footerContato {
         position: relative;
         margin-top: 1rem;
     }

     #footerLancamento {
         position: relative;
         margin-top: 1rem;
     }

     #lancamento {
         margin-top: 2rem;
     }
 }