 * {
  box-sizing: border-box;
}

.flex-container {
  display: flex;
  flex-direction: row;
}

.flex-item {
  background-color: #d52b2b;
  padding: 10px;
  font-size: 30px;
  text-align: center;
  width: 100%;
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  .flex-container {
    flex-direction: column;
  }
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: white;
    min-height: 100vh;
    background-color: transparency;    
}

img {
  width: 100%;
  height: auto;
}
  
/* Em telas pequenas (até 768px), inverte a lógica */
@media only screen and (max-width: 768px) {
  .img-desktop {
    display: none;
  }

  .img-mobile {
    display: block;
  }
}

header{
    margin: 1rem 1rem 0 1rem;
    width: 90%;
    height: 400px;    
    text-align: center;
    border-bottom: 5px;
    border-color: aliceblue;
    border-bottom-style: solid;
    background-image: url("loja-de-eletronicos.png");
    background-repeat: no-repeat;
    background-size: cover;
}
    
.header-logo{
    width: 60px;
    height: auto;
    border-style: solid;
    border-radius: 50%;
    border-width: 5px;
    }


nav {
    margin: 1rem 1rem 0 1rem;
    background: rgba(206, 208, 213, 0.1);
    padding: 1rem;
    text-align: right;
}

nav a {
    color: rgb(201, 24, 24);
    text-decoration: none;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: background 0.3s ease;
}

nav a:hover {
    color: aliceblue;
    background: rgba(11, 25, 214, 0.871);
}

main {
    max-width: 1000px;
    margin: 1rem auto;
    padding: 1rem;
    text-align: left;
}