@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300&display=swap');



*{

    font-family: sans-serif;

    margin: 0;

    padding: 0;

}

html, body {
  height: 100%;
}



.logo {

    margin: 1.5rem;

    width: 5rem;

    height: 5rem;

}


body {

    min-height: 100vh;
    background-image: url("/images/dalejr_01win.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 48% center;
    background-attachment: scroll;
    background-color: #000; /* fallback */
}

@media (max-width: 700px) {
    body {
        background-attachment: scroll;          /* ✅ important */
        background-position: 48% 100px;         /* combine x/y properly */
        min-height: 100svh;                     /* better on mobile toolbars */
    }
}


.primary-header {

    align-items: center;

    justify-content: space-between;

    background-color: black;

    margin: 0;

    padding: 0;

    width: 100%;

    height: 7rem;

}



.primary-navigation {

    list-style: none;

    padding: 0;

    margin: 0;

    background: hsl(0 0% 0% / 0.75);

}



.mobile-nav-toggle {

    display: none;

}



@supports (backdrop-filter: blue(1rem)) {

    .primary-navigation {

        background: hsl(0 0% 0% / 0.75);

        backdrop-filter: blue(4rem);

    }

}



.primary-navigation a {

    text-decoration: none;

    font-weight: 300;

    font-family:  "Titillium Web", sans-serif;

    font-size: 20px;

    margin-inline-end: .75rem;

    color: white;

    white-space: nowrap;

}



@media (max-width: 35em) {

    .primary-navigation {

        --gap: 3em;

        

        position: fixed;

        z-index: 1000;

        inset: 0 0 0 40%;



        flex-direction: column;

        padding: min(30vh, 10rem) 2em;



        background: hsl(0 0% 0% / 0.75);

        backdrop-filter: blue(4rem);



        transform: translateX(100%);

        transition: transform 350ms ease-out;

    }



    .primary-header {

        width: 100%;

    }



    .primary-navigation[data-visible="true"] {

        transform: translateX(0%);

    }



    .mobile-nav-toggle {

        display: block;

        position: absolute;

        z-index: 9999;

        background-color: transparent;

        background-image: url("/images/icon-hamburger.png");

        background-repeat: no-repeat;



        width: 2rem;

        border: 0;

        aspect-ratio: 1;

        top: 2.5rem;

        right: 2rem;

    }



    .mobile-nav-toggle[aria-expanded="true"]{

        background-image: url("/images/icon-closed.png");

    }


    #mainimg

    {

        width: 300px;

        padding-top: 15px;

        opacity: 0.9;

        max-width: 100%; /* Image will be no wider than 100% of its container */
        height: auto;    /* Maintain aspect ratio */
        display: block;  /* Helps with centering and removes extra space below the image */
        margin: 0 auto;  /* Centers the image horizontally if it's smaller than the container */

    }

    body {
        background-color: #000; /* fills empty space */
    }

}



@media (min-width: 35em) and (max-width: 55em)

{

    .primary-navigation a > [aria-hidden] {

        display: none;

    }

    #mainimg

    {

        width: 300px;

        padding-top: 15px;

        opacity: 0.9;

    }

}




@media (min-width: 35em) {

    .primary-navigation {

        --gap: 3rem;

        padding: 1rem;

        padding-inline: clamp(2rem, 9vw, 8rem);

    }

    #mainimg

    {

        width: 200px;

        padding-top: 15px;

        opacity: 0.9;

        align-self: center;

    }

}



.flex {

    display: flex;

    gap: var(--grap, 1rem);

}



body {

    overflow-x: hidden;

}



.content {

    width: 100%;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    text-align: center;

    color: white;

}



.content h1{

    font-size: 52px;

    margin-top: 80px;

    text-shadow: 0 0 3px #000000, 0 0 5px #000000;

}



.content p{

    margin: 20px auto;

    font-weight: 100;

    line-height: 25px;



       text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;

}



.indexButton {

    width: 200px;

    padding: 15px 0;

    text-align: center;

    margin: 20px 10px;

    border-radius: 25px;

    font-weight: bold;

    border: 2px solid #5cc0b3;

    background: transparent;

    color: white;

    cursor: pointer;

    position: relative;

    overflow: hidden;

    text-decoration: none;

    text-shadow: 0 0 3px #000000, 0 0 5px #000000;

}



span{

    background: #5cc0b3;

    height: 100%;

    width: 0;

    border-radius: 25px;

    position: absolute;

    left: 0;

    bottom: 0;

    z-index: -1;

    transition: 0.5s;

}



.indexButton:hover span{

    width: 100%;

}



.indexButton:hover{

    border: none;

}



#loginstate

{

    color: white;

}



#loginstate a

{

    color: white;

    text-decoration: none;

}



#mainimg

{

    width: 600px;

    padding-top: 15px;

    opacity: 0.9;

    align-self: center;

}