:root {
    --color-primary: #171d5e;
    --color-secondary: #B77E11;
    --color-tertiary: #44002d;
    --color-quaternary: #000024;
}

html,
body {
    margin: 0;
    padding: 0;
}
body {
    background-color: #171d5e;
    cursor: none;
}
p {
    font-family: 'Maven Pro', sans-serif;
    font-size: 12pt;
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
p.in-viewport {
    opacity: 1;
    transform: translateX(0);
}
.section-1, .section-header {
    display: flex;
    flex-direction: row;
    height: auto;
    padding: 50px 100px;
    margin: 0;
    position: relative;
    background: linear-gradient(to top, var(--color-quaternary) 0%, var(--color-primary) 20%, transparent 70%);
    background-blend-mode: overlay;
    overflow: hidden;
}
.header-video {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: -1;
    pointer-events: none;
}
#bold {
    font-weight: 900;
    text-decoration: underline;
    color: #fca10f;
}
#bold:hover {
    text-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue;
    text-decoration: overline;
}
.brand, .subdomain {
    display: flex;
    flex-direction: column;
    color: white;
    flex: 50%;
    text-align: left;
}
.brand a {
    text-decoration: none;
    color: white;
}
.brand h1, .subdomain h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 80pt;
    padding: 0;
    margin: 0;
}
.brand h2 {
    font-family: 'Times New Roman', serif;
    font-size: 35pt;
    font-weight: 400;
    padding: 0;
    margin: 0;
}
.brand p {
    width: 90%;
    padding: 0;
    margin: 35px 0;
}
.brand button, .domain button {
    background: linear-gradient(60deg, var(--color-secondary), var(--color-tertiary));
    width: 40%;
    padding: 15px 20px;
    margin-top: 50px;
    border: none;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    color: white;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
}
.brand button {
    text-decoration: none;
    color: white;
    font-family: 'Times New Roman', Times, serif;
    font-size: 25pt;
    font-weight: 400;   
}
.brand button::before, .domain button::before, .topics button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid blue;
    border-radius: 5px;
    box-sizing: border-box;
    animation: edge-glow 2s linear infinite;
}

@keyframes edge-glow {
    0% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
    25% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    }
    50% {
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 100% 100%);
    }
    75% {
        clip-path: polygon(0% 0%, 0% 0%, 100% 100%, 0% 100%);
    }
    100% {
        clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    }
}

.brand button:hover::before,
.brand button:active::before,
.domain button:hover::before,
.domain button:active::before,
.topics button:hover::before,
.topics button:active::before {
    animation: none;
}

.brand button:hover, .domain button:hover, .topics button:hover {
    background: linear-gradient(60deg, var(--color-tertiary), var(--color-secondary));
    transition: background 0.3s ease;
    scale: 1.2;
    transition: transform 0.3s ease-in;
    text-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue;
    box-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue;
}
.social-ico {
    display: flex;
    flex-direction: column;
    flex: 50%; 
    margin: 0 auto;
    padding-top: 30px;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.social-ico img {
    width: 50px;
    height: 50px;
    margin: 10px 0;
    z-index: 1;
    position: relative;
    float: right;
    padding: 5px;
    opacity: 0;
    transform: translateY(-50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.social-ico img.in-viewport {
    opacity: 1;
    transform: translateY(0);
}
.social-ico.in-viewport {
    opacity: 1;
    transform: translateY(0);
}
.social-ico img:hover {
    background: linear-gradient(60deg, var(--color-tertiary), var(--color-secondary));
    box-shadow: 0 4px 8px rgb(252, 168, 0);
    border-radius: 25%;
    position: relative;
}
.social-ico a {
    text-decoration: underline;
    font-weight: bold;
    color: white;
}
.social-ico a:hover {
    text-shadow: 0 0 10px blue, 0 0 20px blue, 0 0 30px blue;
    text-decoration: none;
}
.contact, .email-info {
    text-align: right;
    padding: 0;
    margin: 0;
    font-family: 'Maven Pro', sans-serif;
    font-size: 11pt;
    padding: 20px 0;
}
.contact {
    padding-top: 100px;
    font-weight: 900;
    border-bottom: 1px solid white;
    width: 70%;
    margin-left: auto;
    color: #fca10f;
    font-size: 14pt;
}
.email-info {
    width: 70%;
    margin-left: auto;
    color: white;
}
.section-2  {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, var(--color-quaternary) 70%, var(--color-secondary) 80%, rgba(224, 93, 0, 1) 100%);
    padding: 0 100px;
    margin: 0;
    height: 150vh;
    color: white;
}

.linksection {
    display: flex;
    flex-direction: row;
    padding: 0;
    margin: 0;
    align-items: flex-start;
    justify-content: flex-start;
    flex: 3 7;
    width: 100%;
}

.links {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-bottom: 20px;
}

.links h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 40pt; 
    margin: 0;
    padding: 0;
    background: linear-gradient(to left, white, var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.links p {
    width: 80%;
}
.sublinks  {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding-top: 20px;
}
.section-3 {
    display: flex;
    height: auto;
    padding: 50px;
    background: radial-gradient(circle at bottom right, transparent 0%, var(--color-primary) 50%, var(--color-quaternary) 100%);
    background-blend-mode: overlay;
    overflow: hidden;
    position: relative;
}
.join {
    text-align: center;
    padding: 0;
}
.footer-video {
    position: absolute;
    top: 0;
    left: auto;
    right: 0;
    width: 80%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
    clip-path: inset(0);
    border-radius: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    color: white;
    flex: 6;
    justify-content: flex-end;
}
.footer-links ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links ul li button {
    color: white;
    line-height: 2;
}
.brand-footer {
    display: flex;
    flex-direction: column;
    flex: 4;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: left;
    gap: 0;
    color: white;
}

.brand-footer a {
    text-decoration: none;
    color: white;
}
.brand-footer h1 {
    font-family: 'Open Sans', sans-serif;
    font-size: 60pt;
    padding: 0;
    margin: 0;
}
.brand-footer p {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    font-size: 10pt;
    color: white;
}

h1, h2, h3, h4, h5, h6, button, a {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

h1.in-viewport, h2.in-viewport, h3.in-viewport, h4.in-viewport, h5.in-viewport, h6.in-viewport, button.in-viewport, a.in-viewport {
    opacity: 1;
    transform: translateY(0);
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

#overlay.active {
    display: block;
}

#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: 1000;
    transform: scale(0);
    transition: transform 0.6s ease-in-out;
}

#page-transition.active {
    transform: scale(1);
}

.custom-cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    background: url('../icons/favicon.png') center/contain no-repeat; 
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transform-origin: center; 
}

.custom-cursor.click {
    transform: translate(-50%, -50%) scale(1.2);
    transition: transform 0.1s ease, opacity 0.2s ease;
}

a, button, input, textarea {
    cursor: default; 
}
