* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Quicksand", sans-serif;
  background-color: #E3F2FD;
  background-image: url('https://i.postimg.cc/L6xdrFHw/Design-sem-nome-21.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #333;
}

::selection {
  color: #004D40;
  background-color: #A5D6A7;
}

.container {
  width: 90%;
  max-width: 800px;
  background-color: #FAFAFA;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  border: ridge #81C784 4px;
}
h1{
  text-align: center;
}
.header {
  text-align: center;
  padding: 15px;
  background-color: #004D40;
  color: #E0F7FA;
  border-radius: 10px 10px 0 0;
}

.header h1 {
  font-size: 1.8rem;
  margin: 0;
}

mark {
  color: #004D40;
  background-color: #A5D6A7;
}

.navigation {
  background-color: #81C784;
  padding: 10px 0;
  position: relative;
}

.navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.navigation a {
  color: #FAFAFA;
  text-decoration: none;
  font-weight: 600;
  padding: 8px;
  transition: color 0.3s, transform 0.3s;
}

.navigation a:hover {
  color: #004D40;
  transform: scale(1.05);
}

.menu-icon {
  display: none;
  font-size: 28px;
  color: #FAFAFA;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}

#menu-toggle {
  display: none;
}

.bloco {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 100%;
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  color: #004D40;
}

.imagem {
  flex: 1;
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.imagem img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.texto {
  flex: 2;
  padding: 20px;
  text-align: left;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .navigation ul {
    display: none;
    flex-direction: column;
    background-color: #81C784;
  }

  .menu-icon {
    display: block;
  }

  #menu-toggle:checked + .menu-icon + ul {
    display: flex;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }

  .header h1 {
    font-size: 1.5rem;
  }
  .bloco {
    flex-direction: column;
    align-items: center;
  }
  
  .imagem, .texto {
    max-width: 100%;
    padding: 10px;
  }
}
