* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans", sans-serif;
  background-color: #f8f9fa;
  color: #222222;
  overflow-x: hidden;
}

.navbar-brand {
  font-weight: 600;
  font-size: 35px;
  margin: 10px 20px;
}

.navbar {
  padding-top: 20px;
  font-size: 20px;
  font-weight: 500;
}

.navbar-nav {
  position: relative;
  left: 33%;
}
.nav-item {
  margin: 0 20px;
}

.navbar-toggler {
    width: 30px;
    height: 20px;
    position: relative;
    transition: .25s ease-in-out;
}

.navbar-toggler,
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
    border: 0;
    position: relative;
}

.navbar-toggler span {
    margin: 0;
    padding: 0;
}

.toggler-icon {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #222222;
    border-radius: 1px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.middle-bar {
    margin-top: 0px;
}


/* State when the navbar is collapsed */

.navbar-toggler.collapsed .top-bar {
    position: absolute;
    top: 0px;
    transform: rotate(0deg);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
    position: absolute;
    top: 8px;
    filter: alpha(opacity=100);
}

.navbar-toggler.collapsed .bottom-bar {
    position: absolute;
    top: 16px;
    transform: rotate(0deg);
}

/* when navigation is clicked */

.navbar-toggler .top-bar {
    top: inherit;
    transform: rotate(135deg);
}

.navbar-toggler .middle-bar {
    opacity: 0;
    top: inherit;
    filter: alpha(opacity=0);
}

.navbar-toggler .bottom-bar {
    top: inherit;
    transform: rotate(-135deg);
}

.navbar-toggler.collapsed .toggler-icon {
    background: #222222;
}
.clock {
  position: absolute;
  top: 50px;
  right: 50px;
  z-index: 2;
}

#live-time {
  background-color: #222222;
  padding: 5px 10px;
  border-radius: 10px;
  color: #f8f9fa;
}

.hero-section {
  height: 100vh;
}

@media (max-height: 744px) {
  .hero-section {
    height: 110vh;
  }
}

@media (max-height: 675px) {
  .hero-section {
    height: 140vh;
  }
}

@media (min-height: 871px) {
   .hero-section {
    height: 90vh;
  }
}


@media (min-height: 1080px) {
   .hero-section {
    height: 70vh;
  }
}


.hero-text {
  text-align: center;
  font-size: 14vw;
  font-weight: 800;
}

.hero-desc-1 {
 position: absolute;
 top: 370px;
 left: 55px;
 width: 390px;
}

.hero-desc-text {
  font-size: 38px;
  font-weight: 500;
  line-height: 40px;
}

.hero-desc-2 {
  position: absolute;
  top: 370px;
  right: 74px;
  width: 390px;
}

.hero-desc-text-2 {
  font-size: 25px;
  font-weight: 500;
  line-height: 30px;
}

.hero-img {
  position: absolute;
  top: 250px;
  left: 50%;
  transform: translateX(-50%);
}

.profile {
  width: 400px;
}

.social {
  position: absolute;
  top: 700px;
  left: 45px;
  width: 178px;
}

.social-link {
  text-decoration: none;
  color: #222222;
  padding: 0px 10px;
}

.contact-div {
  position: absolute;
  top: 690px;
  right: 74px;
  width: fit-content;

}

.btn {
  text-decoration: none;
  color: #f8f9fa;
  font-size: 20px;
  background-color: #222222;
  border: #222222 solid 1px;
  border-radius: 50px;
  padding: 8px 8px 8px 20px;
    display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.btn:hover {
  color: #222222;
  background-color: #f8f9fa;
  border: #222222 solid 1px;
}
.btn .fa-solid {
  font-size: 50px;
  padding-left: 10px;
}

.sidebar {
  position: relative;
  left: 50px;
}

.content {
  position: relative;
  top: -45px;
  left: 500px;
  width: 880px;
}

.content-text {
  font-size: 22px;
  padding-top: 20px;
}

.content-btn {
  width: fit-content;
}
.cbtn {
  text-decoration: none;
  color: #222222;
  font-size: 20px;
  background-color: #f8f9fa;
  border-radius: 50px;
  border: #222222 solid 1px;
  padding: 8px 10px 8px 20px;
    display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.cbtn:hover {
  color: #f8f9fa;
  background-color: #222222;
}
.cbtn .fa-solid {
  font-size: 50px;
  padding-left: 10px;
}

.stat {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 60px;
}

.stattop {
  font-size: 8vw;
  font-weight: 600;
}

.stats {
  height: fit-content;
}

.statdesc {
  font-size: 20px;
  font-weight: 400;
  position: relative;
  top: -20px;
}

.sidebar-text {
  width: 300px;
}

.mycard {
  width: fit-content;
}

.cardimg {
  width: 400px;
  height: auto;
  position: relative;
  top: 0;
  left: 425px;
}

.cardtext {
  position: relative;
  top: -200px;
  width: 435px;
}

.mycard-desc {
  font-size: 20px;;
}



.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 100px;
  text-align: center;
}
.square-container {
  max-width: fit-content;
  height: 700px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
}
.square1 {
 width: 520px;
 height: fit-content;
 background-color: #f5f5f5;
 padding: 40px 20px 0 20px;
 position: relative;
 top: 0;
 left: -260px;
}

.square2 {
  width: 520px;
  height: fit-content;
  background-color: #f5f5f5;
  padding: 40px 20px 0 20px;
  position: relative;
  top: -635px;
  left: 275px;
}

.square3 {
  width: 520px;
  height: fit-content;
  background-color: #f5f5f5;
  padding: 40px 20px 0 20px;
  position: relative;
  top: -605px;
  left: 275px;
}

.square-img {
  width: 400px;
}

.footerimg {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: 40px;
}

.footertitle {
  text-align: center;
  font-size: 14vw;
  font-weight: 800;
  color: #f8f9fa;
  -webkit-text-stroke: 3px #222222;
}

.footerdesc {
  text-align: center;
  text-transform: uppercase;
}


.s-hero {
  text-align: center; 
  color: #222222;
}

.main-img {
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.topbtn {
  position: relative;
}

.backtotopbtn {
  position: absolute;
  right: 20px;
  width: fit-content;
  color: #222222;
  padding: 10px 20px 40px 20px;
  text-decoration: none;
}


@media (max-width: 1328px) {
  .content {
    width: 560px;
  }
  .cardimg {
    position: relative;
    left: 380px;
  }
  .hero-img {
    position: absolute;
    top: 440px;
  }
}

@media (max-width: 1255px) {
  .cardtext {
    position: relative;
    top: -300px;
    width: 100%;
  }
  .cardimg {
    position: relative;
    top: 120px;
    left: 0;
    width: 100%;
  }
}

@media (max-width: 1030px) {
  .content {
    position: relative;
    top: 0;
    left: 55px;
    width: 90%;
  }
  .sidebar-text {
    width: 100%;
  }
  .cardimg {
    position: relative;
    top: 0 !important;
  }
  .cardtext {
    position: relative;
    top: 0 !important;
  }
  .square-container {
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .square1, .square2, .square3 {
    width: 80%;
    position: relative;
    top: 0;
    left: 0;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    position: relative;
    left: 0;
    text-align: center;
  }
  .clock {
    position: absolute;
    top: 45px;
    right: 80px;
  }
  .social {
    position: absolute;
    top: 880px;
  }
  .contact-div {
    position: absolute;
    top: 880px;
  }
}


@media (max-width: 935px) {
  .hero-desc-1 {
    position: relative;
    top: 0px;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .hero-desc-2 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .hero-desc-text {
    font-size: 5vw;
  }
  .hero-desc-text-2 {
    font-size: 3vw;
  }
  .hero-img {
    width: fit-content;
    position: relative !important;
    top: 0 !important;
  }
  .profile {
    width: 65% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}




@media (max-width: 755px) {
  .stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .stattop {
    font-size: 18vw;
  }
  .sidebar {
    position: relative;
    left: 0;
    text-align: center;
  }
  .content {
    position: relative;
    left: 0;
    margin: 0px 20px;
    text-align: center;
  }
  .content-btn {
    display: block;
    margin: 0 auto;
  }
  .profile {
    width: 70% !important;
  }
}



@media (max-width: 550px) {
  .contact-div {
    position: absolute;
    top: 880px;
    left: 35px;
    right: 0;
  }
  .social {
    position: absolute;
    top: 810px !important;
  }
  .cardimg {
    position: relative;
    top: 200px;
  }
  .square-img {
    width: 100%;
  }
  .profile {
    width: 95% !important;
  }
}