@import url('https://fonts.googleapis.com/css2?family=Genos:wght@400;700&display=swap');

:root {
  --main-orange: #c36a06;
  --hover-orange: #f8a553;
  --main-gray: #31363a;
  --rust-orange: #A87338;
  --dark-blue: #03314D;
  --main-blue: #0891C5;
  --background: #fff;
  --gogo-green: #4CAF50;
}

body {
  background: var(--background);
  color: var(--main-gray);
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  color: var(--main-orange);
  font-family: 'Genos', Arial, sans-serif;
  line-height: 0.8;
}

h1 {
    font-size: 4rem;
    color: var(--main-blue);
    margin: 30px auto 5px;
    text-align: center;
}

h2 { font-size: 2rem; }

h3 { font-size: 1.5rem; }

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 3%;
  background: var(--main-gray);
}

.header > * {
  flex: 0 1 auto;
}

.header .brand {
  flex: 0 0 250px;
}

.header .top-menu {
  flex: 1 1 auto;
  max-width: 600px;
}

.header .user-container {
  flex: 0 0 300px;
}

.brand {
    display: flex;
    flex-direction: column;
    width: 300px;
    text-decoration: none;
}

.brand-text {
  color: #fff;
  font-size: 3.5rem;
  font-family: 'Genos', Arial, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 0.7;
}

.brand-text .accent {
  color: var(--main-orange);
}

.tagline {
    color: #fff;
    font-size: 1.1rem;
    font-family: 'Genos', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 0.8;
    margin: 0 0 0 20px
}

.top-menu {
    width: calc(100% - 450px);
    display: inline-flex;
    justify-content: flex-start;
    margin: 0px;
    margin-block-start: 0;
    margin-block-end: 0;
    padding: 0;
}

.top-menu li {
    display: inline-flex;
    flex-direction: column;
    margin: 0;
}

.top-menu li:before {
    content: "";
    border-top: var(--main-gray) 2px solid;
    width: 20px;
    margin: 0 auto;
}

.top-menu li:hover:before {
    content: "";
    border-top: var(--main-orange) 2px solid;
}

.top-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: normal;
    font-size: 1.4rem;
    font-family: 'Genos', Arial, sans-serif;
    padding: 5px 15px;
}

.top-menu a:hover { color: var(--hover-orange); }

.user-container {
    display: inline-flex;
    width: 300px;
    justify-content: flex-end;
}

.gravatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    vertical-align: middle;
    border: 2px solid #fff;
    background: #eee;
}

a.login-link {
    font-family: "Genos", Arial, sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}

a.login-link:hover { color: var(--main-blue); }

.user-info { width: 200px; }

.user-streak {
    width: 100%;
    color: #fff;
    font-size: 16px;
    font-family: 'Genos', Arial, sans-serif;
}

.user-name {
    font-family: 'Genos', Arial, sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.user-name:hover {
    color: var(--main-blue);
}

.user-links {
    color: #fff;
    width: 130px;
    display: flex;
    justify-content: space-between;
}

.user-links a {
  display: inline-flex;
  text-decoration: none;
  color: #fff;
  font-weight: normal;
  font-size: 16px;
  font-family: 'Genos', Arial, sans-serif;
}

.user-links a:hover {
  color: var(--main-blue);
}

.subheader {
    display: flex;
    justify-content: center;
    width: calc(100% - 6%);
    text-align: center;
    color: #fff;
    font-family: "Genos", Arial, sans-serif;
    background: var(--main-orange);
    font-weight: 500;
    font-size: 23px;
    padding: 2px 3%;
}

.page-promo-text {
    color: #fff;
    font-family: "Genos", Arial, sans-serif;
    font-weight: 500;
    font-size: 23px;
    line-height: 1;
    padding: 0;
    margin: 2px 0 5px 250px;
    width: calc(100% - 500px);
}

.user-stats {
    width: 250px;
    display: inline-flex;
    flex-wrap: wrap;
}

.stat {
    color: #fff;
    display: inline-flex;
    width: 50%;
    font-size: 17px;
    justify-content: flex-start;
}

.page {
    width: 100%;
    padding: 0 0 40px;
}

footer {
    width: calc(100% - 6%);
    background-color: var(--main-gray);
    color: #fff;
    padding: 30px 3%;
    font-size: 14px;
    z-index: 1000;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    font-family: 'Genos', Arial, sans-serif;
}

.footer-menu a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.footer-menu a:visited {
    color: #fff !important;
}

.footer-menu a:hover {
    color: var(--main-orange) !important;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.5);
}

.footer-nav {
    display: inline-flex;
    gap: 3px;
    justify-content: center;
    align-items: center;
}

.heart {
    width: 15px;
    height: 15px;
    margin: 5px 0 5px 15px;
}

.copyright-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.copyright-text {
    margin-right: 10px;
}

.copyright-left a {
    color: #fff;
    text-decoration: none;
}

.copyright-left a:hover {
    text-decoration: underline;
}

.copyright-right {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 350px;
}
.ironetic  {
    display: inline-block;
    margin-left: 5px;
    width: 153px;
}

.profile-section {
    margin: 0 10px;
    padding: 0 10px;
}

@media (max-width: 1023px) {
    h1 { font-size: 2.8rem; }
    .header {
        padding: 0;
        flex-direction: column;
        justify-content: center;
    }
    .header .brand,
    .header .top-menu {
        flex: 0 0 auto;
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .top-menu {
        padding: 5px 0;
    }
    .tagline { display: none;}
    .header .top-menu {
        margin: 5px 0;
        background: var(--main-blue);
        max-width: 100%;
        padding: 5px 0 0;
    }
    .top-menu li:before {
        content: "";
        border-top: var(--main-blue) 2px solid;
        width: 20px;
        margin: 0 auto;
    }
    .top-menu li:hover:before {
        content: "";
        border-top: var(--hover-orange) 2px solid;
    }
    .header .user-container {
        flex: 0 0 auto;
        justify-content: center;
    }
    .subheader {
        flex-direction: column;
        flex-direction: column-reverse;
        width: 100%;
        padding: 0;
        justify-content: center;
        align-items: center;
    }
    .page-promo-text {
        width: calc(100% - 20px);
        margin: 0;
        background-color: #333;
        padding: 3px 10px;
        font-size: 20px;
    }
    .user-stats { margin 0 auto; }
    .top-menu a {
        padding: 0 10px;
        color: #fff;
        font-weight: 700;
    }
    .top-menu a:hover {
        color: var(--hover-orange);
    }
    footer {
        gap: 10px;
    }
    .copyright-left {
        width: 100%;
    }
    footer, .copyright-left {
        justify-content: center;
    }
}