*, 
*:after,
*:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style-type: none;
  font-size: 100%;
} 

/* seção barra no topo */
.toopbar{
  background-color: rgb(22, 31, 39);
  color: rgb(245, 245, 220);
  height: 30px;
}

/* seção cabeçario */
.header{ 
  height: 170px; 
  background-image: url(https://rodever7.com/wp-content/uploads/2025/01/rm373batch2-08-scaled-e1737462359664.jpg);
  background-size:cover;
  object-fit: contain;
}
.logotopo{ 
  display: flex; 
  justify-content: center;
}
.logotopo a{
  font-size: 5vmin;
  color:rgb(210, 211, 213);
  padding-top: 15vmin;
}
.logotopo img{
  width: 15vmin;
  height: 15vmin;
  top: 20px;
  border-radius: 50%;
  position: absolute;
}


/* inicio grid novo */
.container {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
      "header header header"
      "sidebar main ads";
  gap: 10px;
  height: 100vh;
}
.sidebar {
  grid-area: sidebar;
  background-color: rgb(22, 31, 39);
  color: rgb(245, 245, 220);
  padding: 20px;
}
.main {
  grid-area: main;
  background-color: #f4f4f4;
  padding: 20px;
}
.ads {
  grid-area: ads;
  background-color: rgb(22, 31, 39);
  padding: 20px;
  color: rgb(245, 245, 220);
}
.footer {
  grid-area: footer;
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  text-align: center;
}


/* inicio do banner kontakt na pagina inicial */
.banner-kontakt {
  width: 100%;
  background-color: #f8f8f8;
  padding: 100px 0;
}
.banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.banner-text {
  flex: 1;
  padding-right: 40px;
}
.banner-text h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
}
.banner-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.6;
}
.banner-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.banner-button:hover {
  background-color: #0056b3;
}
.banner-image {
  flex: 1;
}
.banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* customizar menu principal */
.menu_central{
  display: flex;
  width: auto;
  align-items: center;
  justify-content: left;
  height: 30px;
  background-color: rgb(22, 31, 39);
}
.menu_central .menu ul{
  display: flex;
  
}
.menu_central .menu ul li{
  padding-left: 10%;
}
.menu_central  .menu a:hover{
  text-decoration: underline overline;
}

.menu_central .menu a{
  font-size: 3vmin;
  color: rgb(245, 245, 220);
}

/* menu no toopbar */
.toopbar{
  display: flex;
  width: auto;
  align-items: center;
  justify-content: left;
  height: 30px;
  background-color: rgb(22, 31, 39);
}
.toopbar .menu ul{
  display: flex;
  
}
.toopbar .menu ul li{
  padding-left: 10%;
}
.toopbar  .menu a:hover{
  text-decoration: underline overline;
}

.toopbar .menu a{
  font-size: 3vmin;
  color: rgb(245, 245, 220);
}




/* customizar o card central */
.r-container{
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  background-color: #000;
  padding: 20px;
}
.r-container > div{
  padding-top: 10px;
}
.r-card1{
  display: flex;
  color:rgb(210, 211, 213);
  background-color: rgba(87, 89, 90, 0.5);
  width: 250px;
  height: 210px;
  padding: 20px;
  flex-wrap: wrap;
  flex-flow: wrap;
  justify-content: center;
}





.r-card1:hover{
  opacity: 90%;
  box-shadow: 0 4px 8px 0 rgba(224, 224, 224, 0.2), 0 6px 20px 0 rgba(136, 135, 135, 0.19);

}
.r-card1 .column{
  width: 15rem;
  text-align: center;
}
.column img{ 
  width: 9vmin; 
  height: 9vmin;
}
.column h1{
  color:rgb(210, 211, 213);
  font-size: 3vmin;
}
.column p{
  padding-top: 10px;
  text-align: justify;
  font-size: 0.8rem;
  word-break: break-all;
}


.grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.grid-colunm-1 {
  text-align: center;
  padding: 10px;
  justify-content: space-evenly;
}
.grid-colunm-1 h1{
  width: 150px
}
.grid-colunm-1 p{
  text-align: justify;
  width: 250px;
  height: 200px;
}


/* section kontakt */
.kontakt h6{
  text-align: center;
  font-size: 2rem;
  padding: 20px;
}
.kontakt .grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.kontakt .grid-colunm-1 {
  text-align: left;
  padding: 10px 0 20px 0;
  justify-content: space-evenly;
}
.kontakt .grid-colunm-1 h1{
  width: 200px;
  padding: 10px;
}
.kontakt .grid-colunm-1 p{
  width: 200px;
  height: 150px;
  text-align: left;
  padding: 1px;
}
.kontakt .grid-colunm-1 img{
  background-color: #9b9a9a;
}



/* customizar  card central */
.container_card .card{
  display: flex;
  justify-content: center;
}
.container_card .card ul li{
border: 3px solid rgb(85, 84, 84);
}




/* ========================================= */
.card-arduino h1{
  text-align: center;
  font-size: 3rem;
  padding-top: 50px;
}
.card-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 50px 100px;
}
.card {
  width: 100%;
  max-width: 400px;
  padding-top: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.card-image img {
  width: 100%;
  height: auto;
  display: block;
}
.card-content {
  padding: 20px;
}
.card-title {
  margin-top: 0;
  color: #333;
  font-size: 1.5rem;
}
.card-text {
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}
.card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.card-button:hover {
  background-color: #0056b3;
}



/* =================================== */


 .FAQ{
  display: flex;
  background-color: rgb(210, 211, 213);
  height: auto;
  width: 100%;
}
.FAQ .sidebar-1{
  background-color:rgb(210, 211, 213);
  color:  rgb(54, 53, 53);
  text-align: center;
  height: 400px;
  width: 400px;
  padding: 20px;
}

.FAQ h3{
  color:rgb(210, 211, 213);
  font-size: 1.9vw;
  padding: 20px;
  text-align: center;
  height: auto;
  height: 400px;
}

.containerbl5{
  background-color: rgb(223, 224, 219);
  color: #000;
  height: 400px;
  width: 100%;
  text-align: center;
}
.bl5{
  display: flex;
  flex-wrap: wrap;
  padding:  10px;
  justify-content: space-evenly;
}
.bl5 .containerbl5{
  flex-grow: 1;
  flex-basis: 400;
}
.bl5 .itembl501, .itembl502, .itembl503, .itembl504{
  background-color: blueviolet;
  height: 9rem;
  width: 9rem;
 
}

/* custom Copyright */
.Copyright{
  display: flex;
  justify-content: center;
  align-items: center;
  color:rgb(210, 211, 213);
  font-size: 2.8vmin;
  height: 4vw;
  background-color: rgb(54, 53, 53);
}

/* Column container */
.row {  
  display: flex;
  flex-wrap: wrap;
}

/* Create two unequal columns that sits next to each other */
/* Sidebar/left column */
.side {
  flex: 30%;
  background-color: #f1f1f1;
  padding: 20px;
}

/* Main column */
.blog {
  flex: 70%;
  background-color: white;
  padding: 20px;
}

/* Fake image, just for this example */
.fakeimg {
  background-image: url(https://rodever7.com/wp-content/uploads/2025/01/00001.png);
  width: 100%;
  padding: 20px;
}





/*inicio do carrocell na pagina principal */
/* Container do carrossel */
.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

/* Container dos cards */
.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 20px;
  padding: 20px 0;
}

/* Estilo dos cards individuais */
.carousel-card {
  min-width: 300px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin-top: 0;
  color: #333;
}

.card-content p {
  color: #666;
  font-size: 14px;
}

.card-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s;
}

.card-button:hover {
  background-color: #45a049;
}

/* Botões de navegação */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 10;
  transition: background-color 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}



/* Menu Desktop */
.menu-principal {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-principal li {
  margin: 0 15px;
  position: relative;
}

.menu-principal a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.menu-principal a:hover {
  color: #0073aa;
}

/* Menu Mobile Toggle (Hamburger Icon) */
.menu-mobile-toggle {
  display: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1000;
}

.menu-mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  transition: all 0.3s;
}

/* Menu Mobile */
.menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s;
  z-index: 999;
  padding: 80px 20px 20px;
  overflow-y: auto;
}

.menu-mobile.active {
  right: 0;
}

.menu-mobile-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-mobile-list li {
  margin-bottom: 15px;
}

.menu-mobile-list a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
  display: block;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

/* Overlay quando o menu mobile está aberto */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  display: none;
}

.overlay.active {
  display: block;
}



.menu-principal .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-principal li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
}

.menu-mobile:before {
  content: '×';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  cursor: pointer;
}




/* Versão para Tablet */
@media (max-width: 900px) {
  .container {
      grid-template-columns: 150px 1fr;
      grid-template-areas:
          "header header"
          "sidebar main"
          "ads footer";
  }
  
  .ads {
      grid-area: ads;
      display: flex;
      justify-content: space-around;
  }
}

@media only screen and (max-width: 764px) {
  .card {
      max-width: 350px;
  }
  .carousel-card {
      min-width: 250px;
  }

  .menu {display: none;}
  .banner-content {flex-direction: column;}
  .banner-text {
      padding-right: 0;
      margin-bottom: 30px;
      text-align: center;
  }
  .banner-image {width: 100%;}
  .menu-principal {
      display: none;
  }
  
  .menu-mobile-toggle {
      display: flex;
  }
}

@media (max-width: 480px) {
  .card {
      max-width: 100%;
  }

  .card-content {
      padding: 15px;
  }
}
/* Versão Mobile */
@media (max-width: 600px) {
  .container {
      grid-template-columns: 1fr;
      grid-template-areas:
          "header"
          "sidebar"
          "main"
          "ads"
          "footer";
  }
  
  .sidebar, .main, .ads {
      padding: 15px;
  }
}


