* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  background: #333333;
  color: #ffffff;
  margin: 0;
}

a {
  transition: 0.3s all ease;
  color: #494ca2;
  text-decoration: none;
}

h1 {
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.wrapper {
  display: flex;
  min-height: 100vh;
}

/* Hidden checkbox */
#sidebarToggle {
  display: none;
}

/* Sidebar styles */
#navbar {
  position: fixed;
  min-width: 270px;
  max-width: 270px;
  height: 100vh;
  background: #444444;
  color: #fff;
  transition: margin-left 0.3s ease;
  padding: 20px;
  overflow-y: auto;
  z-index: 998;
}

#navbar .logo {
  font-size: 24px;
}

#navbar ul {
  list-style: none;
  padding: 0;
}

#navbar ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#navbar ul li a {
  color: rgba(255, 255, 255, 0.6);
}

#navbar ul li a:hover,
#navbar ul li.active a {
  color: #fff;
}

.subscribe-form {
  margin-top: 30px;
}

.subscribe-form input {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  background: #333333;
  border: none;
  color: #fff;
}

.footer {
  margin-top: 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Landing */
.overlay-container {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.overlay-container img {
  transition: transform 0.5s ease;
  width: 100%;
  height: auto;
  display: block;
}

.overlay-container:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.overlay-container:hover .overlay {
  opacity: 1;
}

.overlay h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

.overlay a {
  text-decoration: none;
}

/* Content */
#content {
  margin-left: 270px;
  flex: 1;
  padding: 40px;
  height: 100vh;
  overflow-y: auto;
  transition: margin-left 0.3s ease;
}

/* Toggle Button */
.toggle-btn {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #444444;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 999;
}

/* unchecked sidebar */
#sidebarToggle:not(:checked) ~ .wrapper #navbar {
  margin-left: -270px;
}

/* full width sidebar */
#sidebarToggle:not(:checked) ~ .wrapper #content {
  margin-left: 0;
}

#tools {
  color: #444444;
}

.btn-dark:hover,
.btn-dark:focus {
  color: #fff !important;
}

.icon-one {
  width: 32px;
}

.icon-two {
  width: 50px;
}
@media (max-width: 768px) {
  #navbar {
    position: absolute;
    height: 100%;
    z-index: 998;
  }

  #sidebarToggle:not(:checked) ~ .wrapper #navbar {
    margin-left: -270px;
  }

  #sidebarToggle:not(:checked) ~ .wrapper #content {
    margin-left: 0;
  }

  #content {
    padding: 20px;
  }
}
