@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  
}

:root {
  --bg-color: #081b29;
  --second-bg-color: #112e42;
  --text-color: #ededed;
  --main-color: #00abf0;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  
}
nav {
  height: 80px;
  padding: 10px;
  top: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  justify-content: space-around;
  /* overflow: hidden; */
  align-items: center;
}

#check {
  display: none;
}
header {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  width: 100%;
  transition: 0.5s ease-in-out;
}

.onscroll{
  background-color: var(--second-bg-color);
  box-shadow: 0 3px 20px var(--bg-color);
  position: fixed;
}
.logo label {
  width: 100px;
  height: 80px;
  font-size: 4rem;
  letter-spacing: 2px;
  margin-left: 10px;
  color: var(--text-color);
  font-weight: 700;
  /* -webkit-text-stroke: 2px var(--main-color); */
}

.logo label span{
  color: var(--main-color);
}

nav ul {
  float: right;
  margin-right: 20px;
}
nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 10px;
  font-weight: 700;
  font-size: 20px;
}

nav ul li a {
  color: white;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: none;
  box-shadow: 01px var(--main-color);
}
label {
  font-size: 20px;
  margin-top: auto;
}
a.active,
a:hover {
  background: none;
  box-shadow: none;
  transition: 0.5;
  color: var(--main-color);
}
nav ul li a:hover {
  color: var(--main-color);
}
.checkbtn {
  font-size: 30px;
  color: white;
  line-height: 80px;
  margin-right: 40px;
  float: right;
  cursor: pointer;
  display: none;
}
section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}
.home {
  display: flex;
  align-items: center;
  padding: 0 9%;
  justify-content: center;
  background-image: url("./img/header-bg.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
}
.home-content {
  max-width: 50rem;
}
.main-head {
  color: none;
}
.home-content h1 {
  font-size: 5rem;
  line-height: 1.3;
  font-weight: 700;
}
.write {
  color: var(--main-color);
}

.text-animate {
  position: relative;
  z-index: 1;

  width:100%;
}
#online-text
{
  display: none;
}
.online{
  position: relative;
  text-align: center;
  bottom: 80px;
  left: 20px;
}
.online h1{
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 15px;
}
.home-content .text-animate h3 {
  font-size: 3.2rem;
}
.home-content p {
  font-size: 1.6rem;
  margin: 2rem 0 4rem;
}
.btn-box {
  position: relative;
  display: flex;
  justify-content: space-between;
  width: 34.5rem;
  height: 5rem;
}
.btn-box .btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15rem;
  height: 100%;
  /* background-color: var(--main-color); */
  border: 0.2rem solid var(--main-color);
  border-radius: 8rem;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: none;
  color: var(--bg-color);
  z-index: 1;
  overflow: hidden;
}
.btn-box .btn::before {
  content: "";
  position: absolute;
  top: 0;
  /* left: 0; */
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  z-index: -5;
  transition: 0.4s;
}

.btn-box .btn.btn:hover::before {
  width: 0%;
}

.btn-box .btn:hover {
  color: var(--main-color);
}

.btn-box .btn:nth-child(2) {
  border: 0.2rem solid var(--main-color);
  background: transparent;
  color: var(--main-color);
}
.btn-box .btn:nth-child(2)::before {
  left: 0;;
  width: 0%;
  background-color: var(--main-color);
}

.btn-box .btn:nth-child(2):hover::before{
  width: 100%;
}
.btn-box .btn:nth-child(2):hover {
  color: var(--bg-color);
}


 .home-sci {
 position: absolute;
 top: 90%;
 /* gap: 20px; */
 left: 50px;
}
.home-sci a {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-left: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 20px;
  color: var(--main-color);
  z-index: 1; 
  overflow: hidden;
  transition: 0.4s;
}
.home-sci a:hover {
  color: var(--bg-color);
}
.home-sci a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--main-color);
  z-index: -1;
  transition: 0.4s;
}
.home-sci a:hover::before {
  width: 100%;
} 

.about {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg-color);
  padding-bottom: 6rem;
}

.heading {
  font-size: 5rem;
  margin-bottom: 3rem;
  text-align: center;
}
.about-img {
  position: relative;
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

}


.about-img img {
  width: 90%;
  border-radius: 100%;
  border: 0.2rem solid var(--main-color);
}


span {
  color: var(--main-color);
}
.about-img .cricle-spin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: 0.2rem solid var(--bg-color);
  border-bottom: 0.2rem solid var(--bg-color);
  border-left: 0.2rem solid var(--main-color);
  border-right: 0.2rem solid var(--main-color);
  animation: aboutSpinner 8s linear infinite;
}

.about-conetent {
  text-align: center;
}
.about-conetent h3 {
  font-size: 2.6rem;
}
.about-conetent p {
  font-size: 1.6rem;
  margin: 2rem 0 3rem;
}
.btn-box.btns {
  display: inline-block;
  width: 15rem;
}
.btn-box .btns a::before {
  background: var(--bg-color);
}

.music-controls {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  background: var(--main-color);
  padding: 10px;
  border-radius: 10px;
  color: white;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.music-controls button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: white;
  font-size: 16px;
  margin: 0 5px;
}

.music-controls span {
  color: white;
  margin: 0 5px;
}



.overlay {
  display: none;
  position: fixed;
  /* margin-top: 30px; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 120;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* width: 300px; */
  padding: 20px;
  background-color: var(--main-color);
  border: 1px solid #ccc;
}

.popup-content {
  /* margin-bottom: 10px; */
  line-height: 40px;
  font-size: 15px;
}

.popup-buttons {
  
  justify-content: space-between;
}

.popup-buttons button {
  z-index: 70;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 5px;
}


section {
  display: grid;
}

.hidden {
  opacity: 1;
  transition: all 0.1s;
}
.show {
  opacity: 0;
}
@keyframes aboutSpinner {
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
.animate {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  color: yellow;
  z-index: 1;
}

.pop_over {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.pop_cont {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: var(--main-color);
  padding: 20px;
  text-align: center;
  z-index: 10000;
  border-radius: 5px;
}

.popup-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--bg-color);
}

.popup-message {
  margin-bottom: 20px;
  color: var(--bg-color);
}

.pop_btn {
  display: flex;
  justify-content: center;
}

.popup-button {
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: bold;
  cursor: pointer;
}

.popup-cancel {
  background-color: #ccc;
  color: #000;
}

.popup-continue {
  background-color: #007bff;
  color: black;
}

footer {
  text-align: center;
  font-size: 15px;
}
footer span{
  color: var(--main-color);
  cursor: pointer;
  font-weight: 200;
}

@media (width: 952px) {
  nav label {
    padding-left: 50px;
    font-size: 30px;
  }
  nav ul li a {
    font-size: 13px;
  }
  
}
@media (max-width: 795px) {

  .home{
    background-position: left;
    /* background-position-x: left; */
  }
  .popup
  {
    width: 80%;
  }
  .popup-content{
    line-height: 20px;
  }
  .checkbtn {
    display: block;
  }
  label.logo {
    display: none;
  }
  
  nav {
    /* background-color: var(--second-bg-color); */
    position: fixed;
    justify-content: space-between;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
  }

  ul {
    position: absolute;
    width: 100%;
    height: 100vh;
    background: var(--second-bg-color);
    left: 100%;
    text-align: center;
    top: 80px;
    transition: all 0.1s;
  }
  nav ul li {
    display: block;
    line-height: 30px;
    margin: 50px 0;
  }
  nav ul li a {
    font-size: 20px;
  }
  a:hover,
  a.active {
    color: var(--main-color);
  }

  .home-sci {
    top: 93%;
    /* bottom: 1rem; */
    left: 10px;
  }

  #check:checked ~ ul {
    left: 0%;
  }

  
}