/*
Theme Name: Make It Happen
Author: Martin
Description: Custom fitness theme
Version: 1.0
*/

* {
  box-sizing: border-box;
}

body {
  background: lightblue;
  margin: 0;
  padding: 0;
  font-size:1.2em
}

a {
  text-decoration-line: underline;
  color: blue;
}

/* =====================
   LOGO / HEADER
===================== */
#logo {
  background-image: linear-gradient(to bottom, blue, green);
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#m-letter {
  color: red;
  font-size: 150px;
  font-weight: bold;
  display: block;
  line-height: 1;
  margin: 0;
  padding-top: 10px;
}

#m-tagline {
  color: red;
  font-size: 21px;
  display: block;
  margin-top: -21px;
  font-weight:bold
}

#m-hero{
    color:red;
    font-size:36px;
    display:block;
    font-weight:bold;
    margin-top:-3px;
}

#profile-pic {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 10;
  opacity:1;
}


#floater {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  font-weight: bold;
  font-size: 16px;
  z-index: 10;
}

#quote {
  background: red;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

#word {
  background: lightgreen;
  height: 25px;
  line-height: 25px;
  text-align: center;
}

#quote a, #word a {
  color: white;
  display: block;
}

#quote:hover, #word:hover {
  opacity: 0.7;
  cursor: pointer;
}

#registration{
    max-width: 250px;
    color: yellow;
    line-height:normal;
}
/* =====================
   NAV
===================== */
nav {
  background: black;
  width: 100%;
  overflow: visible;
  position: relative;
  z-index: 100;
  font-size:2.4em;

}
nav a{
  text-decoration:none;
   color: rgb(0, 240, 0);
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rank-math-breadcrumb a{
    color:blue;
}

/* Top level */
.dropdown {
  display: flex;
  width: 100%;
}

.dropdown > li {
  flex: 1;
  text-align: center;
  color: rgb(0, 240, 0);
  font-weight: bold;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
  border: none;
}

.dropdown > li:hover {
  background: #111;
}

/* Dropdown level 1 */
.dropdown-one {
  display: none;
  position: absolute;
  top: 100%;
  left: 33%;
  background: black;
  width: 220px;
  z-index: 200;
font-size:0.7em;
}

.dropdown > li:hover > .dropdown-one {
  display: block;
}

.dropdown-one > li {
  display: block;
  width: 100%;
  color: green;
  font-weight: bold;
  padding: 6px 10px;
  position: relative;
  border-bottom: 1px solid #aaa;
  cursor: pointer;
}

.dropdown-one > li:hover {
  background: #bbb;
  color: white;
}

.dropdown-one a {
  color: green;
  display: block;
}

/* Dropdown level 2 */
.dropdown-two {
  display: none;
  position: absolute;
  top: 0;
  left: 220px;
  background: rgb(155,155,155);
  width: 200px;
  z-index: 300;
  font-size:0.65em;
}

.dropdown-one > li:hover > .dropdown-two {
  display: block;
}

.dropdown-two li {
  display: block;
  width: 100%;
  color: darkgreen;
  padding: 5px 10px;
  border-bottom: 3px solid #aaa;
}

.dropdown-two li:hover {
  background: #aaa;
}

.dropdown-two a {
  color: darkgreen;
  display: block;
}

/* Mind dropdown */
.m {
  display: none;
  position: absolute;
  top: 100%;
  left: 30%;
  background: black;
  width: 220px;
  z-index: 200;
  font-size:0.7em;
}

#hovm:hover .m {
  display: block;
}

.m li {
  display: block;
  width: 100%;
  color: green;
 
  font-weight: bold;
  padding: 6px 10px;
  border-bottom: 1px solid #aaa;
}

.m li:hover {
  background: #bbb;
}

.m a {
  color: green;
  display: block;
}
#hovba:hover #brain-arena{
    display:block;
}

#pp{
  color: rgb(0, 240, 0);

}

.mycustombreadcrumbs, 
.mycustombreadcrumbs nav,
.mycustombreadcrumbs div {
    font-size:1em;
    background-color: lightblue;
    background: lightblue; /* Forces background override */
    display: block;
    width: 100%;
    z-index:1 !important;
}
/* =====================
   MAIN CONTENT
===================== */
#main-body {
  padding: 20px;
}
img{
float:right;
opacity:0.7;
shape-outside: polygon();
}

/* =====================
   WORKOUT TABLE
===================== */
table { border: 3px solid black; border-collapse: collapse; }
td, th { border: 1px solid black; }
.button_sets { width: 100%; height: 35px; padding: 0; margin: 0; }
.sets-wrapper { width: 195px; display: flex; flex-wrap: wrap; }
.new_row > td { min-height: 110px; border-bottom: 0; vertical-align: top; }
.setsreps { width: 47%; height: 25px; outline: 0; margin: 0; padding: 0; font-size: 14px; }
.set-entry { display: flex; width: 100%; }

/* POPUP */
#popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

#popup-box {
  background: white;
  max-width: 500px;
  width: 90%;
  padding: 40px 30px 30px;
  border-radius: 8px;
  position: relative;
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  color: #222;
}

#popup-close {
  position: absolute;
  top: 10px; right: 16px;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

#popup-close:hover {
  color: black;
}
#auth-links {
  position: absolute;
  top: 0;
  right: 125px;
  z-index: 10;
  font-size: 14px;
  font-weight: bold;
  line-height: 50px;
}
#auth-links a {
  color: white;
}
#auth-links a:hover {
  color: lightgreen;
}
.page-title {
  text-align: center;
  font-size: 2em;
  margin: 30px 0 20px;
}

/* FOOTER */
#site-footer {
  background: black;
  color: lightgray;
  width: 100%;
  margin-top: 60px;
  padding: 30px 0 20px;
  text-align: center;
}

#footer-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

#footer-links {
  margin-bottom: 15px;
}

#footer-links a {
  color: rgb(0, 240, 0);
  font-weight: bold;
  margin: 0 15px;
  font-size: 0.95em;
}

#footer-links a:hover {
  color: white;
}

#footer-copy {
  color: gray;
  font-size: 0.85em;
}
#main-body{
padding:0 70px;
}
/* WOOCOMMERCE ACCOUNT - FINAL OVERRIDE */
.woocommerce-account .woocommerce {
  display: flex !important;
  align-items: flex-start !important;
  gap: 30px !important;
  margin: 40px 20px !important;
  float: none !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 160px !important;
  min-width: 160px !important;
  float: none !important;
  flex-shrink: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  display: block !important;
  width: 100% !important;
  background: white !important;
  border: none !important;
  border-bottom: 1px solid #eee !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: normal !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 10px 14px !important;
  color: darkgreen !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  line-height: normal !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f0fff0 !important;
  color: black !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: #e0ffe0 !important;
  color: green !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  flex: 1 !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
}

/* =====================
   BLOG LISTING (/blog/)
===================== */
.blog-list-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.blog-list-wrap h1 {
  text-align: center;
  font-size: 2em;
  margin: 30px 0 30px;
}

.blog-preview {
  background: white;
  border: 2px solid black;
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 24px;
}

.blog-preview h2 {
  margin: 0 0 8px;
  font-size: 1.3em;
}

.blog-preview h2 a {
  color: darkgreen;
  font-weight: bold;
}

.blog-preview h2 a:hover {
  color: black;
}

.blog-preview .post-meta {
  color: gray;
  font-size: 0.8em;
  margin-bottom: 12px;
}

.blog-preview .post-excerpt {
  color: #333;
  line-height: 1.6;
  margin-bottom: 14px;
}

.read-more {
  display: inline-block;
  background: black;
  color: rgb(0, 240, 0);
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85em;
}

.read-more:hover {
  background: #222;
  color: white;
}

/* =====================
   SINGLE BLOG POST
===================== */
.blog-post-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 0;
}

.blog-post-wrap h1 {
  font-size: 1.9em;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-post-wrap .post-meta {
  color: gray;
  font-size: 0.8em;
  margin-bottom: 28px;
  border-bottom: 2px solid black;
  padding-bottom: 12px;
}

.blog-post-wrap .post-meta span {
  margin-right: 16px;
}

.post-content {
  line-height: 1.8;
  color: #222;
}

.post-content h2 {
  font-size: 1.5em;
  margin: 36px 0 12px;
 

}

.post-content h3 {
  font-size: 1.2em;
  margin: 28px 0 10px;
  
}

.post-content p {
  margin-bottom: 18px;
}

.post-content ul, .post-content ol {
  margin: 0 0 18px 24px;
  line-height: 1.8;
}

.post-content blockquote {
  border-left: 4px solid black;
  margin: 24px 0;
  padding: 12px 20px;
  background: white;
  color: #444;
  font-style: italic;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.post-content a {
  font-weight: bold;
}

.post-content a:hover {
  color: black;
}

/* =====================
   RESPONSIVE
===================== */
@media screen and (max-width: 600px) {
  .blog-post-wrap,
  .blog-list-wrap {
    padding: 16px 0;
  }

  .blog-post-wrap h1 {
    font-size: 1.4em;
  }

  .blog-preview {
    padding: 18px;
  }
}

@media screen and (max-width:481px){
    #floater{
        font-size:12px;
    }
    .dropdown-one{
        position:absolute;
        left:0%;
        
    }
    .m{
        position:absolute;
        left:0px;
        
    }
}