/* Default style for body */
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font: 18px "Work Sans", sans-serif;
  background: linear-gradient(#809bce, transparent),
    linear-gradient(to top left, #ffafbd, transparent),
    linear-gradient(to top right, #c1dec8, transparent);
  background-blend-mode: screen;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  margin: 0 10%; /* Add margin for mobile */
}

/* Media query for desktop devices */
@media only screen and (min-width: 769px) {
  body {
    margin-left: 20%;
    margin-right: 20%;
  }
}

.header {
  padding: 20px;
  position: relative;
  text-align: center;
  font-size: 24px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0);
}

.content {
  padding: 20px;
  flex-grow: 1;
}

i.note {
  line-height: 1.2; /* Adjust line height for better readability */
  display: block;
  margin: 0 auto;
  max-width: 90%;
  word-wrap: break-word;
}

.section {
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.section h2 {
  color: #476098;
  font-size: 20px;
  margin-top: 0;
  text-align: center;
}

.footer {
  background: transparent;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: #333;
  opacity: 1;
}

.header img {
  position: absolute;
  top: calc(100% - 60px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.header h1 {
  text-shadow: 4px 5px 4px #809bce;
}

span {
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 6px;
  font: 18px "Ubuntu Mono", sans-serif;
  margin-bottom: 10px;
}

span.installation {
  display: block;
}

span > img {
  float: right;
  margin-right: 10px;
}

img.copy {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  cursor: pointer;
}

h1 {
  color: #476098;
  font-weight: 800;
  font-size: 4em;
  line-height: 1em;
  margin: 1.5em auto;
  text-align: center;
}

.callout {
  color: #476098;
  background-image: linear-gradient(rgba(71, 96, 152, 1), rgba(71, 96, 152, 0.5));
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

i,
p,
summary {
  text-align: center;
  padding: 1px;
}

p,
.section > i {
  color: #333;
}

ul {
  margin-left: 10%;
  transform: translateX(-10%);
  line-height: 2em;
  list-style-type: none;
}

.commands {
  border-collapse: collapse;
  width: 100%;
  margin: 0 auto;
}

.commands td {
  padding: 8px;
  text-align: center;
}

.installation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.installation:hover {
  background: #c2c9d8;
}

.copy {
  cursor: pointer;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.copy:hover {
  transform: scale(1.2);
}

.tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 9999;
}

/* Media query for mobile devices */
@media only screen and (max-width: 768px) {
  body {
    margin: 0 5%;
  }
  
  h1 {
    font-size: 3em;
    line-height: 1.2em;
    width: auto;
  }
  
  .commands {
    width: 100%;
  }
  
  ul {
    margin-left: 5%;
    transform: translateX(0);
  }

}
