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

:root{
  --offline: rgba(255, 0, 0, 0.331);
  --icon: red;

  --online: rgba(0, 128, 0, 0.302);
  --icon-offline: lime;
}

html{
  scroll-behavior: smooth;
}

body{
  width: 100%;
  min-height: 100vh;

  font-family: "Poppins", sans-serif;
  color: white;

  background: linear-gradient(rgba(0, 0, 0, 0.568),rgba(0, 0, 0, 0.607)), url(images/bg.jpg);

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  overflow-x: hidden;

  scrollbar-width: none;
  -ms-overflow-style: none;
}

body::-webkit-scrollbar{
  display: none;
}

/* ANIMATIONS */

@keyframes scroll{
  from{
    transform: translateX(150px);
  }

  to{
    transform: translateX(0);
  }
}

@keyframes scroll-right{
  from{
    transform: translateX(-150px);
  }

  to{
    transform: translateX(0);
  }
}

/* GLOBAL */

a{
  text-decoration: none;
}

h2{
  font-size: 35px;
  margin-bottom: 10px;
}

/* NAVBAR */

nav{
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  display: flex;
  justify-content: flex-end;
  align-items: center;

  padding: 20px 50px;

  z-index: 1000;
}

nav a{
  color: white;
  font-size: 20px;

  margin-left: 20px;

  transition: 0.3s;
}

nav a:hover{
  color: rgb(0, 191, 255);
}

/* BUTTONS */

.buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;
}

.buttons a{
  color: white;

  background: rgba(255,255,255,0.125);

  padding: 10px 20px;

  border-radius: 15px;
  border: 1px solid gray;

  font-size: 20px;

  box-shadow: 0 8px 32px rgba(0,0,0,0.25);

  transition: 0.3s;
}

.buttons a:hover{
  background: white;
  color: black;
}

.buttons a span{
  margin-left: 10px;
}

/* CONTAINER */

.container{
  background: rgba(255, 255, 255, 0.027);

  padding: 20px;

  border-radius: 25px;
  border: 1px solid gray;

  box-shadow: 0 8px 32px rgba(0,0,0,0.25);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(100px);

  transition: 0.3s;
}

.container:hover{
  background: rgba(255,255,255,0.18);
}

/* HOMEPAGE */

.homepage{
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 120px 20px 50px;
}

.homepage h1{
  font-size: 70px;

  background: linear-gradient(
    90deg,
    #00ffcc,
    #cd03ff
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  background-clip: text;
  color: transparent;
}

.homepage p{
  font-size: 20px;

  max-width: 900px;

  margin: auto;
  margin-top: 10px;
}

.homepage .buttons{
  margin-top: 40px;
}

.homepage .buttons a:first-child{
  background: linear-gradient(
    60deg,
    rgb(22,145,186),
    rgb(0,62,100)
  );

  box-shadow:
  0 0 42px rgba(0,229,255,0.317);
}

.homepage .buttons a:first-child:hover{
  box-shadow:
  0 0 42px rgba(57,235,255,0.614);

  color: white;
}

/* SECTIONS */

.contact,
.features,
.status{
  padding: 0 10rem;
  margin-bottom: 200px;
}

/* CONTACT */

.contact{
  animation: scroll;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
.contact .buttons{
  margin-top: 10px;
}

/* FEATURES */

.features{
  animation: scroll-right;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.features .text{
  margin-bottom: 10px;
}

.features .text1{
  margin-top: 10px;
}

/* STATUS */

.status{
  text-align: center;

  animation: scroll;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.status p{
  margin-bottom: 10px;
}

.status span{
  margin-left: 10px;
}

.status i{
  color: red;
  font-size: 10px;
}

.status .statusbox{
  width: 300px;

  display: flex;
  justify-content: center;
  align-items: center;

  background: var(--offline);

  border-radius: 15px;
  border: 1px solid red;

  margin: 20px auto 0;
}

/* RESPONSIVE */

@media (max-width: 992px){

  .contact,
  .features,
  .status{
    padding: 0 4rem;
  }

  .homepage h1{
    font-size: 55px;
  }

  .homepage p{
    font-size: 18px;
  }
}

@media (max-width: 768px){

  nav{
    justify-content: center;
    padding: 15px 20px;
    flex-wrap: wrap;
  }

  nav a{
    font-size: 16px;
    margin: 5px 10px;
  }

  .homepage h1{
    font-size: 45px;
  }
  .homepage img{
    width: 300px;
  }

  .homepage p{
    font-size: 16px;
  }

  .contact,
  .features,
  .status{
    padding: 0 2rem;
    margin-bottom: 120px;
  }

  .buttons a{
    font-size: 16px;
  }
}

@media (max-width: 480px){

  .homepage h1{
    font-size: 35px;
  }

  h2{
    font-size: 28px;
  }

  .homepage p,
  .contact p,
  .features p,
  .status p{
    font-size: 15px;
  }

  .contact,
  .features,
  .status{
    padding: 0 1rem;
  }

  .status .statusbox{
    width: 100%;
    max-width: 300px;
  }
}
@media (max-width: 320px){
  nav a{
    font-size: 15px;
  }
}