/* Global Styles */

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

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #000;
  background-color: #f4f6f7;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Layout Styles */

.container {
  width: 100%;
  padding: 0;
  margin: 0 auto;
}

.header {
  background-color: #ffffff;
}

.container-header {
  z-index: 10;
  background-color: var(--cassiopeia-color-primary);
  background-image: linear-gradient(135deg,var(--cassiopeia-color-primary)0%,var(--cassiopeia-color-hover)100%);
  position: relative;
  box-shadow: inset 0 5px 5px #00000008;
}

.footer {
  background-color: #f4f6f7;
  color: #000;
  margin-top: 1em;
}

/* Navigation Styles */

.custom-navbar {
  background-color: #171924;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: relative;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.navbar-toggler {
  font-size: 1.5rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.navbar-collapse {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
}

.nav-item {
  margin: 0 15px;
}

.nav-link {
  text-decoration: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
  background-color: #00a8cc;
  color: #000;
}

.video-container-home {
  position: relative;
  text-align: center !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container-home iframe {
  position: relative;
  text-align: center !important;
  top: 30px;
  left: 0px;
  width: 500px;
  height: 330px;
}

/* Responsive Navigation */

@media only screen and (max-width: 1200px) {
  .navbar-nav {
    flex-direction: column;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    display: flex;
  }
  .navbar-toggler {
    display: block;
  }
  .navbar-collapse {
    display: none;
    flex-direction: column;
    background-color: #1a1a2e;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
  }
  .navbar-collapse.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
}

/* Other Styles */

.coinmarketcap-widget-adj {
  position: relative;
  top: -35px;
  left: 0px;
}

.coingecko-widget-adj {
  position: relative;
  top: 0px;
  left: 0px;
}

.rssfeed {
  position: relative;
  top: 0px;
  left: 7px;
  width: 400px !important;
  height: auto;
}

.video-container {
  height: 275px;
  overflow: hidden;
}
.breaking-news-image img {
  width: 700px;
  height: 400px;
}

.breaking-news-image iframe {
  width: 700px;
  height: 400px;
}

.infowars iframe {
  width: 300px;
  height: 200px;
}

.qr-code img {
  position: relative;
  left: 0px;
  top: 20px;
  width: 200px;
  height: 200px;
}

.donate {
  font-size: 12px;
  font-weight: 200;
  text-transform: uppercase;
  text-align: center;
}

.cards-news {
  position: relative;
  top: 0px;
  left: 0px;
  width: 35%;
  display: inline-block;
  background-color: grey;
  border-radius: 5px;
  margin: 20px;
}

.cards-news ul {
  list-style-type: none;
}

.defi-eco-container-right h1 {
  font-size: 24px;
  font-weight: 600;
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
}

.defi-eco-container-left h1 {
  font-size: 24px;
  font-weight: 600;
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
}

.defi-eco-container-left {
  position: relative;
  top: 0px;
  left: 0px;
  padding: 0 0 0 0;
}

.defi-eco-container-right {
  position: relative;
  top: 0px;
  left: 0px;
}

.defi-eco-wrapper-left {
  position: relative;
  width: 625px;
  height: 300px;
  border: 2px solid black;
  border-radius: 10px;
  padding: 23px 10px 10px 10px;
  float: left;
}

.defi-eco-wrapper-right {
  position: relative;
  width: 625px;
  height: 300px;
  border: 2px solid black;
  border-radius: 10px;
  padding: 25px 10px 10px 10px;
  float: left;
}

.defi-subtitle h1 {
  text-decoration: underline;
  font-size: 23px;
  font-weight: 600;
  font-family: Impact, Haettenschweiler, "Franklin Gothic Bold", "Arial Black", sans-serif;
}

.defi-eco-wrapper-left ul {
  list-style-type: none;
}

.defi-eco-wrapper-right ul {
  list-style-type: none;
}

.defi-top {
  position: relative;
  width: 200px;
  height: 400px;
  left: 0px;
  background-color: transparent;
  float: left;
}

.defi-mid {
  position: relative;
  width: 200px;
  height: 400px;
  left: 0px;
  background-color: transparent;
  align-items: left;
  float: left;
}

.defi-bot {
  position: relative;
  width: 200px;
  height: 400px;
  left: 0px;
  background-color: transparent;
  align-items: left;
  float: left;
}

.defi-btn {
  width: 124px;
  height: auto;
  padding: 0 0 10px 0;
}

.defi-btn a {
  display: block;
  width: 124px;
  height: auto;
}

.defi-btn img {
  border: 0px;
}

.defi-btn a:hover img {
  opacity: 0.25;
}

/* Responsive Styles */

@media screen and (max-width: 850px) {
  .breaking-news-image iframe {
    width: 100%;
    height: auto;
  }
  .TRADING {
    position: relative;
    top: 0px;
    left: 0px;
  }
}

@media screen and (max-width: 500px) {
  .breaking-news-image iframe {
    width: 100%;
    height: 250px;
  }
  iframe {
    width: 100%;
    height: 100%;
  }
  .defi-eco-wrapper-left {
    position: relative;
    width: 100%;
    height: auto;
    border: 2px solid black;
    border-radius: 10px;
    padding: 23px 10px 10px 10px;
    float: left;
  }
  .defi-eco-wrapper-right {
    position: relative;
    width: 100%;
    height: auto;
    border: 2px solid black;
    border-radius: 10px;
    padding: 25px 10px 10px 10px;
    float: left;
  }
  .defi-top {
    position: relative;
    width: 100%;
    height: auto;
    left: 0px;
    background-color: transparent;
    float: left;
  }
  .defi-mid {
    position: relative;
    width: 100%;
    height: auto;
    left: 0px;
    background-color: transparent;
    align-items: left;
    float: left;
  }
  .defi-bot {
    position: relative;
    width: 100%;
    height: auto;
    left: 0px;
    background-color: transparent;
    align-items: left;
    float: left;
  }
  .navbar ul {
    position: relative;
    left: 0%;
    display: inline-block;
  }
  .qr-code {
    position: relative;
    left: 0px;
    top: 0px;
    width: 200px;
    height: 200px;
  }
  .breaking-news-image img {
    width: 100%;
    height: auto;
  }
  #video-container {
    position: relative;
    top: 0px;
    left: 0%;
    width: 400px;
    height: 250px;
    padding-bottom: 56.25%;
    background-color: black;
    margin: 0 auto;
    overflow: hidden;
  }
  .embed-responsive-16by9 {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 550px;
    height: auto;
    padding-bottom: 56.25%;
    background-color: black;
    margin: 0 auto;
    overflow: hidden;
  }
}

@media screen and (max-width: 400px) {
  #video-container {
    position: relative;
    top: 22px;
    left: -75%;
    width: 300px;
    height: 250px;
    padding-bottom: 56.25%;
    background-color: black;
    margin: 0 auto;
    overflow: hidden;
  }
  
  .embed-responsive-16by9 {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 400px;
    height: auto;
    padding-bottom: 56.25%;
    background-color: black;
    margin: 0 auto;
    overflow: hidden;
  }
  .rssfeed rssapp-feed {
    position: relative;
    top: 0px;
    left: 0px;
  }

  .video-container-home {
  position: relative;
  text-align: center !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-container-home iframe {
  position: relative;
  text-align: center !important;
  top: 0px;
  left: 0px;
  width:100%;
  height:100%;
}
}

@media screen and (max-width: 350px) {
  #video-container {
    position: relative;
    top: 0px;
    left: 0%;
    width: 400px;
    height: 250px;
    padding-bottom: 56.25%;
    background-color: black;
    margin: 0 auto;
    overflow: hidden;
  }
  }