@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&family=Gloria+Hallelujah&family=Permanent+Marker&display=swap");

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

body {
  font-family: "Bree Serif", serif;
  background-color: #fbe8a6;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  min-width: 500px;
}

section {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.attr {
  font-size: 1.2vw;
  color: #333;
  text-align: center;
  margin-top: 30px;
}

.attr span a {
  font-weight: bold;
  color: #d62828;
}

.introtext {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.head1 {
  font-family: "Permanent Marker", cursive;
  font-size: 8vw;
  text-align: center;
  color: #ff951b;
  margin-bottom: 20px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.head1 span {
  color: #d62828;
  margin-right: 5px;
}

.introtex {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 2.5vw;
  text-align: center;
  color: #d62828;
  transform: rotate(4deg);
  /* text-shadow: -2px -2px 0 #2F2F2F, 2px -2px 0 #2F2F2F, -2px 2px 0 #2F2F2F,
    2px 2px 0 #2F2F2F, -3px 0px 0 #2F2F2F, 3px 0px 0 #2F2F2F, 0px -3px 0 #2F2F2F,
    0px 3px 0 #2F2F2F; */
}

.introtex span {
  color: #ff951b;
}

.headlinks {
  display: flex;
  justify-content: center;
  margin-top: 80px;
  gap: 50px;
}

.headlinks a {
  text-decoration: none;
  color: #fbe8a6;
  font-size: 1.5vw;
  transition: color 0.6s ease;
  background-color: #f77f00;
  padding: 15px 25px;
  border-radius: 5px;
}

.headlinks a:nth-child(1) {
  background-color: #d62828;
}

.headlinks a:nth-child(1):hover {
  background-color: #ff3c15;
}

.headlinks a:nth-child(2):hover {
  background-color: #ff6e1b;
}

.pg {
  width: 100%;
}

#playground {
  padding: 1rem;
  justify-content: center;
}

.topcon {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  gap: 20px;
}

.but {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.topcon h2 {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 4vw;
  color: #f75200;
  text-align: center;
  margin-top: 20px;
}

.but button {
  font-family: "Bree Serif", serif;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  font-size: 1.2vw;
  color: #fbe8a6;
  background-color: #d62828;
  border: none;
  padding: 10px 30px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.but button:nth-child(2) {
  background-color: #f77f00;
}

.but button:hover {
  background-color: #ff3c15;
  transform: scale(1.05);
}

.output {
  background: #222;
  color: rgba(0, 255, 0, 0.751);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 8px;
  font-family: monospace;
  white-space: pre-wrap;
    font-size: 1.2vw;
}

textarea {
  width: 100%;
  height: 500px;
  padding: 20px;
  font-family: monospace;
  font-size: 1.2vw;
  border-radius: 5px;
  border: 1px solid #ccc;
  resize: none;
  background-color: #0e0e0e;
  color: #ff7c3be4;
  outline: none;
}

#doc {
  height: auto;
}

.upcon {
  margin-top: 20px;
}

.explnr {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  padding: 0 5rem;
  margin-top: 2rem;
  justify-content: center;
}

.explnr hr {
  width: 60%;
  border: 1px solid #d62828;
}

.explnr h3 {
  color: #d62828;
  font-size: 1.8vw;
  margin-bottom: 5px;
}

.exp p {
  font-size: 1.2vw;
  margin-bottom: 10px;
}

.exp p span {
  font-family: monospace;
  font-weight: bold;
  color: #f77f00;
  background: #272727;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-size: 1.2vw;
}

.ex {
  font-family: monospace;
  margin-top: 2rem;
  background-color: #0e0e0e;
  color: aliceblue;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1vw;
}

.use {
  font-size: 0.8vw;
  font-weight: bold;
  color: #f77f00;
  margin-bottom: 0.5rem;
}

.excode {
  font-family: monospace;
  padding: 1rem;
  border-radius: 8px;
  color: #f77f00;
}

.excode p {
  margin-bottom: 10px;
  border-bottom: 1px solid #404040;
}

.excode p span {
  color: #e16527e4;
  background: transparent;
  padding: 0;
  border-radius: 0px;
  margin-right: 10px;
  user-select: none;
}

footer {
  margin-top: 50px;
  padding: 2rem;
  color: #d62828;
  text-align: center;
  width: 100%;
}

.upcon h2 {
  font-family: "Gloria Hallelujah", cursive;
  font-size: 5vw;
  color: #f75200;
  text-align: center;
  margin-top: 20px;
}

.upcon p {
  font-family: "Bree Serif", serif;
  font-size: 1.2vw;
  color: #333;
  text-align: center;
}

#intro img {
  width: 40vw;
  height: auto;
}

.burger,
.coke,
.pizza {
  position: absolute;
  opacity: 0.1;
  z-index: -1;
}

.burger {
  bottom: 2%;
  left: 10px;
  transform: rotate(-15deg);
}

.coke {
  bottom: 1%;
  right: 1%;
  transform: rotate(15deg);
}
.pizza {
  top: -10%;
  left: 30%;
  transform: rotate(30deg);
}

.cp {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 80px;
  background-color: #272727;
  padding: 0.6rem;
  border-radius: 8px;
}

.cp p {
  color: #fbe8a6;
  font-size: 1.2vw;
  margin: 0;
  word-spacing: 2px;
}

.usage{
  text-align: center;
  font-size: 1.2vw;
  color: #fbe8a6;
  margin-top: 40px;
  margin-bottom: 40px;
  background-color: #181818;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.note{
  text-align: center;
  font-size: 1vw;
  color: #8a8a8a;
  margin-bottom: 20px;
}