/* Resets */
body, html, a, p, h1,h2,h3, footer{
    margin: 0;
    padding:0;
}

/* Basics*/
:root {
    --background-main: #020202;
    --background-secondary: #0f0f0f;
    --text-main: #ffffff;
    --sub-info: #b3b3b3;
    --element-info: #4A7DFF;
    --link-active: #ff4ab1;
}

html{
    font-size: 18px;
}

@font-face {
    font-family: 'mango';
    src: url('../fonts/mango.ttf') format('truetype');
}

body{
    /* Add page max width, havent figured out what number.*/
    background-color: var(--background-main);
    color:white;
    font-family: "mango", sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 0.9375rem;
}

::-webkit-scrollbar-track {
    background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--element-info);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--link-active);
}

/* Navigation */
nav{
    padding: 25px;
    max-width: 1280px;
    margin: auto;
}

.nav-top{
    display:flex;
    flex-direction: row;
    justify-content: space-between;
    font-size: 1.2rem;

}

nav div{
    display:flex;
    gap: 10px;
}

.nav-bottom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0;
}

.spacer{
    color: var(--element-info);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

a{
  color:var(--text-main);
}

nav a{
    padding:0;
    margin:0;
    height: fit-content;
    text-decoration: none;
}

.bar1, .bar2, .bar3 {
    width: 2.1875rem;
    height: 0.3125rem;
    margin: 0.375rem 0;
    transition: 0.4s;
}

.dropdown-content > a:first-child {
    margin-top: 40px;
}

button.container, .home-link {
    z-index: 1000;
    position: relative;
}

/* Dropdown menu styling */
.dropdown-content a{
    margin-top: 15px;

}

.dropdown-content{
    padding-top: 3.75rem;
    display: none;
    background-color: rgba(0, 0, 0, 0.9);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    overflow: hidden;
    z-index: 500;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.4s ease;
    transform: translateX(100%);
}

.dropdown-content.show-menu {
    display: block;
    opacity: 1;
    transform: scaleY(1);
}

.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.change .bar1 {
    transform: translate(0, 0.6875rem) rotate(-45deg);   /* 11px */
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -0.6875rem) rotate(45deg);   /* 11px */
}

 .show-menu {
  opacity: 1;
}

button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

.in-color-xam {
  background-color: var(--sub-info);
}

.page-title{
  color:var(--sub-info);
  font-size: 1.2rem;
}

nav a:hover{
  color:var(--link-active);

}

.major, .home-link{
  color: var(--element-info);
}

/*  Main Container
    Notes:
        Not sure if i should readjust per page
        but no other css file should affect this.
*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
}

/* Footer */
footer {
    margin-top: 25px;
    text-align: center !important;

    background-color: var(--background-secondary);

    max-width: 1280px;
    padding: 25px;
    padding-bottom: 0;

    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
}

footer a {
  text-decoration: none;
}


footer p {
    margin: 0.625rem 0.625rem 0.5rem;
}

.paginator a,
.step-links a,
.current-pag a{
    text-decoration: none;
}

.footer-header {
  margin: 0;
}

.footer-links a:hover{
  color: var(--element-info);
}

.cc:hover{
  color: var(--link-active);
}

.cc{
    text-decoration: underline;
}

.line {
    height: 0.0625rem; 
    width: 20%;
    background-color: var(--element-info);
    margin-left: auto;
    margin-right: auto;
}

.footer-links {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.bobacat {
    margin-top: 0.3125rem;
    margin-bottom: 0;
    padding-bottom: 10px;
}

/* Gradient

    Notes: Might not keep idk how it works tbh
    Stackoverflow warrior code
*/
#shadowBox {
    background-color: rgba(0, 0, 0, 0.2);
}

.radiant {
    margin: 0;
}

.radiant-text-animated {
    background: linear-gradient(to right, #6666ff, #0099ff, #00c8ff, #00ff00, #6666ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow_animation 6s ease-in-out infinite;
    background-size: 400% 100%;
}

/* Notes: You got to learn what a keyframes bro */
@keyframes rainbow_animation {
  0%,
  100% {
      background-position: 0 0;
  }

  50% {
      background-position: 100% 0;
  }
}

/* Paginator */
.paginator{
    display: block;
    justify-content: center;
    justify-items: center;
    margin: 25px 25px 0;
    word-spacing: 10px;

}

.current-pag{
    background-color: var(--element-info);
    padding: 5px 15px;
    color: var(--background-secondary);
}

/*
    Attempt consistency across 3 primary sizes,
     27 Monitor, 14 Inch Monitor, Mobile

*/

@media only screen and (max-width: 670px) {
    .nav-top-right a, .spacer {
        display: none;
    }
    .dropdown-content a {
        display: block;
    }
    .dropdown-content {
        display: block;
        opacity: 0;
    }

}

@media only screen and (min-width: 671px) {
    .container {
        display: none;
    }

    .dropdown-content.show-menu {
        display: none;
    }
}