@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono&family=Silkscreen&display=swap');
html {
	scrollbar-width: thin;
	scrollbar-color: #536982 #53698270;
}

body {
	font-family: "IBM Plex Mono", monospace;
	overflow-x: hidden;
	font-size: 14px;
	font-weight: 550;
	line-height: 1.1rem;
	color: #380D41;
	background: #96A99A;
	padding: 0;
	margin: 0;
	padding: 15px;
	border-top: 3px solid #536982;
	border-left: 3px solid #536982;
}

.title {
	font-family: "Silkscreen", sans-serif;
	position: fixed;
	display: inline-block;
	padding: 3px 6px;
	background: #380D41;
	color: #E9E3C6;
	top: 0;
	left: 0;
}

.side {
  display: block;
  min-width: 250px;
  min-height: auto;
  padding-left: 160px;
  gap: 10px;
}

.side .menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-top: 80px;
  flex-wrap: wrap;
  gap: 6px;
}

h1, h2, h3 {
	font-size: 14px;
	font-family: "Silkscreen", sans-serif;
}

h1::after {
	display: block;
	content: " ";
	height: 3px;
	width: 14px;
	background: #536982;
	margin-top: 8px;
}

img {
	max-width: 100%;
	display: center;
}

h2 {
	margin-top: 1.5rem;
	color: #536982;
}

.page {
  padding-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.page > img {
  flex-shrink: 0;
  border-radius: 6px
}

.page a {
	color: #536982;
	font-weight: bold;
	letter-spacing: 0.5px;
}

.width-50 {
	max-width: 50%;
}

.border {
	border: 2px solid #536982;
}


table {
	border-collapse: collapse;
}

th, td {
	padding: 6px 12px;
    vertical-align: top;
}

th {
	background: #53698270;
}

.side .menu a img {
  border: 6px solid #8e9995;
  padding: 3px;
  display: block;
}

.side .menu a:first-child img {
  width: 240px;
}

.side .menu a:nth-child(2) img {
  width: 120px;
}

.foto-perfil {
  width: 100%;
  max-width: 250px;
}

.redes-gif {
  width: 240px;
  height: auto;
  border: 6px solid #8e9995;
  padding: 3px;
  display: block;
  box-sizing: border-box;
}

.mailme-gif {
  width: 120px;
  height: auto;
  border: 6px solid #8e9995;
  padding: 3px;
  display: block;
  box-sizing: border-box;
}

@media (max-width: 600px) {
  
  body, html {
    padding: 0;
    margin: 0;
    height: 100%;
    font-size: 12px;
    line-height: 1.4rem;
  }

  h1, h2, h3 {
    font-family: "Silkscreen", sans-serif;
    color: #380D41;
  }

  h1 {
    font-size: 20px;
    font-weight: 700;
  }

  h2 {
    font-size: 16px;
    font-weight: 700;
    color: #536982;
  }

  .wrapper {
    border: calc(3px * var(--scale)) solid #380D41;
    width: 100%;
    max-width: 600px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: calc(3px * var(--scale)) calc(3px * var(--scale)) 0 #96A99A;
    background: #8e9995;
    border-radius: calc(5px * var(--scale));
    margin: 0 auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .wrapper::after {
    content: " ";
    display: block;
    border: calc(3px * var(--scale)) solid #380D41;
    border-top: 0;
    width: 100%;
    height: calc(9px * var(--scale));
    box-shadow: calc(3px * var(--scale)) calc(3px * var(--scale)) 0 #96A99A;
    position: relative;
    left: calc(-3px * var(--scale));
    top: calc(-3px * var(--scale));
    border-radius: 0 0 calc(5px * var(--scale)) calc(5px * var(--scale));
    order: 3;
  }

  .content {
    background: #536982;
    border-radius: calc(5px * var(--scale));
    padding: calc(10px * var(--scale));
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    order: 2;
  }

  .menu {
    margin: auto;
    text-align: center;
    margin-top: calc(10px * var(--scale));
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: calc(6px * var(--scale));
    order: 1;
  }

  .menu a {
    font-family: "Silkscreen", sans-serif;
    border: calc(3px * var(--scale)) solid #380D41;
    border-bottom-color: #536982;
    color: #380D41;
    text-decoration: none;
    display: inline-block;
    height: calc(35px * var(--scale));
    font-size: calc(11px * var(--scale));
    width: auto;
    padding: 0 calc(8px * var(--scale));
    margin-left: 0;
    border-radius: calc(3px * var(--scale));
    line-height: calc(29px * var(--scale));
    position: relative;
    flex-shrink: 0;
  }

  .menu a:hover {
    position: relative;
    top: calc(4px * var(--scale));
  }

  .menu a:hover::before {
    background-color: #380D41;
    display: block;
    content: " ";
    height: calc(6px * var(--scale));
    width: calc(100% + calc(6px * var(--scale)));
    position: absolute;
    top: calc(-7px * var(--scale));
    left: calc(-3px * var(--scale));
  }

  .menu a::after {
    background-color: #96A99A;
    display: none;
  }

  .screen {
    width: 100%;
    max-width: calc(512px * var(--scale));
    height: auto;
    aspect-ratio: 512 / 294;
    border: calc(3px * var(--scale)) solid #380D41;
    margin: auto;
    margin-top: calc(15px * var(--scale));
    position: relative;
    border-radius: calc(5px * var(--scale));
  }

  iframe {
    border: 0;
    width: 100%;
    height: 100%;
  }

  .page {
    padding: 10px;
    display: block;
  }

  .page > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .page > img {
    display: none;
  }

  .page > div > img {
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    display: block;
  }

  .side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: auto;
    padding: 10px 5px;
  }

  .side .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
    flex-wrap: wrap;
    gap: 6px;
  }

  .marquee {
    overflow: hidden;
    display: flex;
    line-height: calc(16px * var(--scale));
    position: absolute;
    width: 100%;
    bottom: calc(-5px * var(--scale));
    z-index: 1;
    font-size: calc(11px * var(--scale));
  }

  .marquee span {
    white-space: nowrap;
  }

  .pipi {
    position: absolute;
    left: calc(15px * var(--scale));
    bottom: 0;
    z-index: 2;
    font-size: calc(10px * var(--scale));
  }

  .title {
    font-size: 11px;
    padding: 3px 6px;
  }

  .page a {
    color: #536982;
    font-weight: bold;
    letter-spacing: 0.5px;
    font-size: calc(12px * var(--scale));
  }

  .width-50 {
    max-width: 100%;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  table {
    border-collapse: collapse;
    border: 2px;
    font-size: calc(11px * var(--scale));
  }

  th, td {
    padding: 7px 8px;
    vertical-align: top;
  }

  th {
    background: #53698270;
  }

  body {
    padding: 0;
    margin: 0;
  }
  .foto-perfil {
    width: 100%;
    max-width: 200px;
  }
  .redes-gif,
  .mailme-gif {
    border: 6px solid #8e9995;
    padding: 3px;
    max-width: 160px;
  }
}