/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #0e3b49;
  color: #fff;
}

/* Navbar */
.navbar {
  /* background: linear-gradient(to bottom, #1b1b1b, #111);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px; */
  height: 100px;
  color: white;
  background:linear-gradient(#555555, #222222, #222222);
}
.wrapper{
  text-align: left;
}
.wrapper{
  margin: 0 auto;
  width: 940px;
  clear: left;
}
.logo {
  display: flex;
  flex-direction: column;
  /* align-items: flex-start; */
  padding: 15px 0px;
  float: left;
  width: 380px;
  line-height: 1.5;
}
.navbar a{
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
}
a{
  outline: 0;
}
#electrum_logo {
  width: 70px;
  height: 66px;
  display: block;
  float: right;
  background-image: url(https://electrum.org/logo/electrum_logo.png) no-repeat 0 0;
  background-image: -webkit-image-set(url(https://electrum.org/logo/electrum_logo.png) 1x, url(https://electrum.org/logo/electrum_logo.png) 2x);
  background-size: 70px 66px;
}
#electrum_logo img {
  position: absolute;
  top: 100%;
  left: -99999px;
  width: 20vh;
  height: 20vh;
}


a img{
  border: none;
}
#electrum_text {
  width: 300px;
  height: 45px;
  display: block;
  background-image: url(https://electrum.org/logo/electrum_text.png) no-repeat 0 0;
  background-image: -webkit-image-set(url(https://electrum.org/logo/electrum_text.png) 1x, url(https://electrum.org/logo/electrum_text.png) 2x);
  background-size: 300px 42px;
  cursor: pointer;
}

.float-right{
  float: right;
}
.main-logo {
  width: 180px;
  height: auto;
  margin-bottom: 5px;
}

.logo p {
  font-size: 13px;
  color: #bbb;
}

nav {
  font-size: 90%;
  float: right;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #00aaff;
}

/* Social Icons */
.icons {
 margin-top: 10px;
  float: right;
}

.icons a {
  display: inline-block;
  margin-left: 15px;
}

.icons img {
  width: 22px;
  height: 22px;
  filter: invert(1); 
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.icons img:hover {
  opacity: 1;
}
/* Warning Bar */
.warning {
  background-color: #083844;
  color: #f5f5f5;
  padding: 10px 15px;
  text-align: center;
  font-size: 15px;
}

/* Hero Section */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto;
  width: 80%;
  height: 450px;
  overflow: hidden;
  border-radius: 6px;
} 

/* Slideshow */
.slideshow {
  position: relative;
  width: 90%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeSlide 64s infinite;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay text */
.overlay {
  position: absolute;
  left: 40px;
  top: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  max-width: 350px;
  border-radius: 4px;
}

.overlay h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

/* Each slide delay */
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 8s; }
.slide:nth-child(3) { animation-delay: 16s; }
.slide:nth-child(4) { animation-delay: 24s; }
.slide:nth-child(5) { animation-delay: 32s; }
.slide:nth-child(6) { animation-delay: 40s; }
.slide:nth-child(7) { animation-delay: 48s; }
.slide:nth-child(8) { animation-delay: 56s; }

@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  .overlay {
    left: 20px;
    top: 20px;
    max-width: 90%;
  }

  .hero {
    width: 95%;
    height: 320px;
  }

  .main-logo {
    width: 140px;
  }

  .icons img {
    width: 20px;
    height: 20px;
  }
}

/* /*.feature-item {
  width: 300px;
  line-height: 150%;
  float: left;
  margin-right: 20px;
}

.h2.icon-safe{
  background-image: url(https://electrum.org/icons/features/neg_icon_box.png);
}

h2.icon{
  background-position: 0px 0px;
  background-repeat: no-repeat;
  padding-left: 60px;
  padding-top: 30px;
  line-height: 24px;
  height: 64px;
}
h2{
  font-size: 1.5em;
  font-weight: normal;
}
 h2{
  display: block;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em ;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
 }
 .features p{
  margin-top: -50px;
 }
 p{
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
 }

h2.icon-seed{
  background-image: url(https://electrum.org/icons/features/neg_icon_seed.png);
}

.feature-item.last{
  margin-right: 0px;
}
.clear{
  clear: left;
}
.h2.icon-exit{
  background-image: url(https://electrum.org/icons/features/neg_icon_exit.png);
}

.h2.icon-blitz {
  background-image: url(https://electrum.org/icons/features/neg_icon_blitz.png);
}

/*.features-section {
  background-color: #0f3b49;
  color: #fff;
  padding: 60px 0;
  text-align: center;
}

/* Grid Layout */
.features-grid {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Feature Box */
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature a img {
  width: 55px;
  height: 55px;
  margin-bottom: 15px;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.feature a img:hover {
  opacity: 1;
}

.feature h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.feature p {
  font-size: 15px;
  color: #c2c2c2;
  max-width: 250px;
}

/* Download Button */
.download-btn {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.download-btn a {
  background-color: #3772ff;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  
}

.download-btn a:hover {
  background-color: #2b5ec7;
}

/* Footer */
.footer {
  background-color: #101010;
  color: #bbb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 50px;
  font-size: 14px;
}

.footer a {
  color: #66aaff;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .left,
.footer .right {
  display: flex;
  align-items: center;
}

.footer .right p {
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .features-grid {
    width: 90%;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer .left,
  .footer .right {
    margin-top: 5px;
  }
}