@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

html {
  overflow-x: hidden;
}

body {
  background-color: #151720;
  color: white;
  min-height: 100vh;
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  top: 0;
  left: 0;
  z-index: 0;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: top;
  height: 70px;
  margin: 10px;
  width: 100vw;
}
header .logo {
  position: relative;
  margin-top: 0;
  width: min(200px, 30%);
}

@media screen and (min-width: 541px) {
  header .logo img {
    width: min(300px, 100%);
    height: min-content;
    object-fit: cover;
    height: min(70px, 100%);
  }
}
nav {
  float: right;
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
  font-size: min(1rem, 3vw);
}
nav a {
  margin-right: min(1rem, 3vw);
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
nav a:hover {
  color: #a1a1aa;
}

main {
  text-align: center;
  padding: 5rem 0;
}
.new-feature {
  background-color: #1d202b;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }
}
p {
  color: #a1a1aa;
  max-width: 32rem;
  margin: 0 auto 2rem auto;
}

.button-group {
  justify-content: center;
  justify-self: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 10px;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.button-group button {
  background-color: #2563eb;
  color: white;
  padding: 20px 40px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
  margin-bottom: 10px;
  margin-left: 5px;
}
.button-group button:hover {
  background-color: #3d60ff;
}
.button-group button:nth-child(2) {
  background-color: #3f3f46;
}
.button-group button:nth-child(2):hover {
  background-color: #52525b;
}
.button-group button:nth-child(3) {
  background-color: #5865F2;
}
.button-group button:nth-child(3) {
  position: relative;
}

#supportus {
  background-color: #13C3FF;
}

#supportus:hover {
  background-color: #FF5E5B;
  transition: background-color 0.3s;
}

section {
  background-color: #1d202b;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
}
section .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
section .header .title {
  font-size: 1.25rem;
  font-weight: bold;
}
section .header button {
  background-color: #3d60ff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
section .header button:hover {
  background-color: #1d4ed8;
}
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.logo img:hover {
  cursor: pointer;
}

.channel {
  background-color: #3f3f46;
  padding: 1rem;
  border-radius: 0.375rem;
}
.channel .title {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.channel button {
  background-color: #2563eb;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.channel button:hover {
  background-color: #1d4ed8;
}

.tutorials {
  background-color: #1d202b;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem;
  max-width: 72rem;
  margin-left: auto;
  margin-right: auto;
  height: max-content;
}
.dc-tut-1-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  float: left;
}
.dc-tut-2-img {
  width: min(1000px, 100%);
  height: auto;
  border-radius: 20px;
  float: right;
}
.dc-tut-3-img {
  width: 60%;
  height: auto;
  border-radius: 20px;
  float: left;
}
.dc-tut-4-img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  float: right;
}
.dc-tut-5-img {
  width: 60%;
  height: auto;
  border-radius: 20px;
  float: left;
}

.dc-tut-1 {
  margin-bottom: 30px;
  width: 100%;
  position: relative;
  height: auto;
}
.dc-tut-2 {
  margin-bottom: 30px;
  width: 100%;
  position: relative;
  height: auto;
}
.dc-tut-3 {
  margin-bottom: 30px;
  width: 100%;
  position: relative;
  height: auto;
}
.dc-tut-4 {
  margin-bottom: 30px;
  width: 100%;
  position: relative;
  height: auto;
}
.dc-tut-5 {
  margin-bottom: 30px;
  width: 100%;
  position: relative;
  height: auto;
}

.dc-tut-1 p {
  color: #a1a1aa;
  font-size: 1.25rem;
  margin-top: 20px;
  float: left;
}
.dc-tut-2 p {
  color: #a1a1aa;
  font-size: 1.25rem;
  margin-top: 20px;
  float: right;
}
.dc-tut-3 p {
  color: #a1a1aa;
  font-size: 1.25rem;
  margin-top: 20px;
  float: left;
}
.dc-tut-4 p {
  color: #a1a1aa;
  font-size: 1.25rem;
  margin-top: 20px;
  float: right;
  text-align: right;
}
.dc-tut-5 p {
  color: #a1a1aa;
  font-size: 1.25rem;
  margin-top: 20px;
  float: left;
  width: 100%;
  margin-right: 0;
  text-align: left;
}
.tutorial-section {
  margin-bottom: 60px;
  height: max-content;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

@media screen and (max-width: 540px) {
  .logo img {
    width: min(300px, 70%);
  }
}

@media screen and (max-width: 600px) {
  main {
    width: 93vw;
    font-size: 1rem;
    margin: 0 auto;
  }
  .tutorials {
    background-color: #1d202b;
    padding: 0;
    border-radius: 0.5rem;
    margin: 0;
    max-width: 98vw;
    margin-left: auto;
    margin-right: auto;
    height: max-content;
  }
  .dc-tut-1 {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    height: auto;
  }
  .dc-tut-2 {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    height: auto;
  }
  .dc-tut-3 {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    height: auto;
  }
  .dc-tut-4 {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    height: auto;
  }
  .dc-tut-5 {
    margin-bottom: 60px;
    width: 100%;
    position: relative;
    height: auto;
  }

  .dc-tut-1-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    float: left;
  }
  .dc-tut-2-img {
    width: min(1000px, 100%);
    height: auto;
    border-radius: 10px;
    float: right;
  }
  .dc-tut-3-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    float: left;
  }
  .dc-tut-4-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    float: right;
  }
  .dc-tut-5-img {
    width: 90%;
    height: auto;
    border-radius: 10px;
    float: left;
  }
}
hr {
  margin-bottom: 30px;
}

.full_img_div {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  width: 100vw;
  height: 100vh;
  border-radius: 20px;
  display: none;
  z-index: 2;
  align-items: center;
  text-align: center;
}

.full_img_div img {
  width: 98%;
  height: auto;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
  border-radius: 0;
  animation: fadeIn 0.2s ease-in-out;
}
.close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 30px;
  color: white;
  cursor: pointer;
  width: min(50px, 5%);
  filter: invert() opacity(0.5);
}
#no-scroll {
  overflow: hidden;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes darken {
  from {
    background-color: rgba(0, 0, 0, 0);
  }
  to {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

.footer {
  background-color: #1d202b;
  color: #a1a1aa;
  padding: 1rem;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: 2rem;
}

.footer-content {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 40px;
}

.footer-content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  float: left;
}

.footer-content-left-text p {
  margin: 0;
}

.footer-content-left-text img {
  margin-top: 5px;
  width: 260px;
  margin-bottom: 40px;
}

.statistics {
  width: 300px;
  background-color: #1d202b;
  padding: 20px;
  margin: 0 auto;
  margin-top: 30px;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;

}

.statistics p {
  color: white;
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

.stat {
  width: 150px;
  margin: 0 auto;
}

.stat-num {
  font-weight: bold;
  margin: 0;
  padding: 0;
  font-size: 40px !important;
}

#total-servers {
  margin-top: 50px;
}

.stat-text {
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
  opacity: 0.5;
}

