body {
    background: url('images/bg.jpg') repeat;
    background-size: 80px 150px;
    margin: 0;
    padding: 0;
    font-family: 'PokedexFont', sans-serif;
    display: flex;
    justify-content: center;
}

/* Main container */
.main {
    width: 80%;
    max-width: 1200px;
    text-align: center;
    display: flex;
    flex-direction: column; /* vertical stacking */
    align-items: center;
    width: 80%;
    max-width: 1200px;
    padding-top: 80px; /* Adjust for fixed to top info box */
    position: relative; /* maintains aspect */
}

/* Info Box */
.info-box {
    width: 100vw; /* span for viewport */
    position: fixed; /* Keep it at the top of the screen */
    top: 0;
    left: 0;
    background: linear-gradient(to right, /* figuring this color grading out took about an hour of troubleshooting fuck you */
        #8B0000 0%, 
        #8B0000 0.5%,  
        #FF0000 1%,  
        #FF0000 98.5%,  
        #8B0000 99%,  
        #8B0000 100%);
    color: white;
    text-align: left;
    padding: 10px;
    font-size: 25px;
    font-weight: bold;
    border-bottom: 3px solid #600000;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1000; /* Ensure it stays above other elements */
}


/* Arrow section, idk why my fonts dont include one */
.arrow-down {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid white;
    /* section below is for when it is clicked and having it rotate */
    transition: transform 0.05s ease-in-out;
}

/* Pokémon GIF Container */
.pKmn-container {
    position: absolute; /* Fix it to the left */
    left: 20px; /* Distance from the left edge */
    top: 150px; /* Adjust vertical positioning */
    width: 300px; 
    height: auto;
    z-index: 500; /* Keeps it above other elements if needed */
}
/* Type Box */
.type-box {
    width: auto;
    height: auto;
    transform: translateX(250px);
    margin-top: 20px; /* Space below the top-right-box */
}
/* Top Right Box */
.top-right-box {
    width: 600px;
    height: 80px;
    transform: translateX(170px);
    border-radius: 5px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px; /* Space below previous section */
}

/* Top Right Box - Top Half, would like to thank my boy waseem for this tip to split the boxes like this */
.top-right-box .top-half {
    background: linear-gradient(to right, 
        #8B0000 0%, 
        #8B0000 0.5%,  
        #FF0000 1%,  
        #FF0000 98.5%,  
        #8B0000 99%,  
        #8B0000 100%);
    color: white;
    padding: 5px;
}
.top-right-box .top-half img.top-half-image {
    height: 20px; /* Adjust the height of the image */
    width: auto; /* Maintain aspect ratio so it does not look retarded */
}

/* Top Right Box - Bottom Half */
.top-right-box .bottom-half {
    background: white;
    color: black;
    padding: 5px;
    font-style: normal;
}

/* follows same conventions of splitting */
.ht-wt-box {
    width: 300px;
    border: 2px solid black;
    border-radius: 5px;
    background: white;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
    margin-top: 20px;
    transform: translateX(300px);
}

/* HT and WT section */
.ht-section, .wt-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashed-line {
    border-top: 2px dashed gray;
    width: 100%;
    margin: 0;
}

/* Summary Box */
.summary-box {
    width: 80%; /* this adjusts to the screen space */
    max-width: 1700px; /*sets to fit my big monitor */
    min-width: 400px;
    border-radius: 10px;
    box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.3);
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    overflow: hidden;
    margin-top: 50px; /* Space below HT/WT Box adjust if jank */
}

/* Summary Box Top Section */
.summary-box .top-half {
    background: linear-gradient(to right, 
        #8B0000 0%, 
        #8B0000 0.5%,  
        #FF0000 1%,  
        #FF0000 98.5%,  
        #8B0000 99%,  
        #8B0000 100%);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 1.2rem;
}

/* Summary Box Bottom Section */
.summary-box .bottom-half {
    background: white;
    color: black;
    padding: 3px;
    font-size: 1rem;
    line-height: 1.3;
}

/* sets link colors etc */
.summary-box .bottom-half a {
    color: #8B0000;
    text-decoration: none;
    font-weight: bold;
}

.summary-box .bottom-half a:hover {
    text-decoration: underline;
}
@font-face { 
    font-family: 'PokedexFont';
    src: url('fonts/pokemon-gen-4-regular.ttf') format('truetype'); /*i should have saved the font link... */
    font-weight: normal;
    font-style: normal;
}

/* below is the content for the dropdown menu that will be added, this is where I will swtich between given pages, other pages will prob use their own stylesheets idk yet */
.dd-menu{ /* creating the css for the dropdown menu to be found on the downarrow in the info box */
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.dd-menu li{
    position: relative;
}
.dd-menu-item{
    padding: 10px;
    cursor: pointer;
}
.dd-content {
    display: none; /* Initially hidden */
    position: absolute;
    left: 10px;
    top: 100%;
    background-color: white;
    border: 3px solid #FF0000;
    padding: 5px;
    list-style-type: none;
    width: 150px;
    z-index: 999;
}
/* making the formatting similar to the other sections */
.dd-content::before {
    content: "Menu"; /* Optional, can be changed */
    display: block;
    background: linear-gradient(to right, 
        #8B0000 0%, 
        #8B0000 0.5%,  
        #FF0000 1%,  
        #FF0000 98.5%,  
        #8B0000 99%,  
        #8B0000 100%);
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    font-size: 1.2rem;
    border-bottom: 2px solid #600000;
}

.dd-content li {
    padding: 8px;
    text-align: left;
}

.dd-content li a {
    text-decoration: none;
    color: black;
    display: block;
    width: 100%;
}
.dd-content li a:hover {
    background-color: aliceblue;
}