@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;400;700&display=swap');

html, body {
  height: 100%;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --text-color: #fbf1c7;
}

body {
  font-family: 'Roboto Mono', sans-serif;
  background-color: #282828;
  color: #ccc;
  font-size: 18px;
  line-height: 1.6;
}

h1 {
  color: var(--text-color);
  font-size: 50px;
  margin-bottom: 20px;
}

h2 {
  color: var(--text-color);
}

h3 {
  margin-bottom: 10px;
}

ul {
  list-style-type: none;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

p {
  margin: 20px 0;
}

nav {
  width: 20%;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

nav ul li {
  color: var(--text-color);
  cursor: pointer;
}

.main {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
}

.container {
  width: 50%;
  margin: auto;
  height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.element {
  width: 400px;
}

/* Mac OS style window */

.winbox {
  border-radius: 6px;
}

.wb-body {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.wb-body div {
  padding: 20px !important;
}


.wb-header {
  align-content: center;
  display: flex;
}

.wb-title {
  display: flex;
  font-family: inherit;
  font-size: inherit;
  justify-content: center;
  width: 100%;
}

.wb-icon {
  align-items: center;
  display: flex;
}

.wb-max:hover, .wb-min:hover, .wb-close:hover {
  opacity: 0.85;
}

.wb-max, .wb-min, .wb-close {
  height: 14px;
  margin-inline: .3rem;
  transition: 0.2s;
  width: 14px;
}

.wb-close {
  background: #ff5c5c;
  border: 1px solid #e33e41;
  border-radius: 50%;
  order: 1;
  margin-left: 10px;

}

.wb-max {
  background: #00ca56;
  border: 1px solid #14ae46;
  border-radius: 50%;
  order: 3;
  
}

.wb-min {
  background: #ffbd4c;
  border: 1px solid #e09e3e;
  border-radius: 50%;
  order: 2;
}

.wb-full {
  display: none;
}

.wb-body {
  background: #32302f;
}

.hidden {
  display: none;
}

.cursor {
  font-weight: 700;
  animation: 1s blink step-end infinite;
}

@keyframes blink {
  from,
  to {
    color: transparent;
  }

  50% {
    color: var(--text-color);
  }
}

.ascii-art {
  margin: auto;
  width: 50%;
  max-width: 50%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.ascii-element {
  margin: auto;
}


/* Media Query */

@media (min-width: 300px) and (max-width: 767px) {

  nav {
    width: 50%;
  }

  nav ul {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
  }

  .main {
    flex-direction: column;
  }

  .ascii-art {
    position: fixed;
    z-index: -999;
    opacity: 0.4;
    scale: 0.5;
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .ascii-element {
    margin: 0;
    margin-top: 285px;
  }

  .container {
    margin-top: 60px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .ascii-element {
    font-size: 6.5pt;
  }
}


