/* Name: Rust Cheat Sheet
   Author: Enrique Martinez Lopez
   URL: https://enriquesource.codeberg.page/rust-cheatsheet/
   License: MIT
   Created: 16 de Marzo de 2025
   Last modified: 01 de Junio de 2025
*/

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: sans-serif;
  background: #FFE4B2;
}

.header {
  text-align: center;
  padding: 10px;
  background-color: #0a0a23;
  color: #fff;
  border-bottom: 4px solid #fb923c; 
}

.card {
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  margin: 10px;
}

table {
  table-layout: auto;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid black;
}

table td {
  text-align: center;
}

table tr:nth-child(even) {
  background-color: #eee;
}

.container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  padding: 20px 10px;
}  

pre, code {
  white-space: pre-line;
  font-size: 1.3em;
}

h2 {
  background-color: #FFE4B2;
}

.summary {
  background-color: #0cb7f2;
}

.note {
  font-size: 0.5em;
}

#home {
  text-align: center;
}

.card-title {
  background-color: #90EE90;
}
