*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color:#0075A2;
        font-family: "Roboto", sans-serif;
        font-weight: 400;
        font-style: normal;
}

header{
    padding: 10px;
    background-color: #011936;
    width: 100%;
    border: 10px solid #0000;
}

nav {
    position: absolute; /* Allows precise positioning */
    top: 0; /* Anchors the nav to the top of the viewport */
    right: 0; /* Anchors the nav to the right of the viewport */
    display: flex; /* Ensures flexibility for child items */
    flex-flow: row wrap;
    gap: 25px; /* Adds space between nav items */
    padding: 10px;
    min-width: 200px;
}

nav h2:hover{
    text-decoration: underline;
}

h1{
    text-align: left;
  
}
h2{
   margin-top: 20px;
   margin-bottom: 20px;
}

.p{
    margin-top: 8px;
    color: #18020C;
}

.h3{
    color: #9590A8;
}

h3,p{
    font-size: 1.25rem;
}

h1,h2,h3,p{
    color: #EFE6DD;
}

img{
    margin:auto;
    border-radius: 100px;
    border:2.5px solid #D5A021;

   
}


.upper{
    text-align: left;
}

a,a:hover,a:visited{
    text-decoration: none;
}

.userBio{
    margin-top:20px ;
    background-color: #191919;
   display: flex;
    flex-flow: row wrap;
    gap: 20px;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
     border-radius: 25px;
    border:5px solid #D5A021;
    
}

.card{
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
    height: 300px;
    width: 300px;
    border-radius: 25px;
    border:-10px solid#F3DFA2;
   
}

.socails {
        display: flex;
        flex-flow: column;
        margin-left: auto; /* Push the element all the way to the right */
        text-align: right; /* Optional: Align text to the right */
        padding: 20px;

}

.socails a{
    margin-top: 20px;
}



.detailsBio{
    display: flex;
    justify-content: center;
    text-align: center;
}

li{
   list-style: none;
   text-align: center;
}

.playerSens{
    margin-top: 15px;
    background-color: #F3F3F4;
    border-radius: 25px;
   margin-left: auto;
   margin-right: auto;
   width: 80vw;  
   border:5px solid#F3DFA2;
}

.playerKeybinds{
    margin-top: 15px;;
    background-color: #F3F3F4;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    border:5px solid#F3DFA2;
    
}

.details{
    padding-bottom: 15px;
}

.playerDetails{
    
}

.whoop{
    display: grid;
    text-align: left;
    padding-bottom: 10px;
   
}
#edit{
    min-width: 250px;
}
#interact{
    min-width: 250px;
}

.UL1{
    margin: auto;
    display: grid;
    row-gap: 20px;
    grid-template-columns: 400px 400px 400px;
    justify-content: center;
    padding: 10px;
}

.UL2{
    margin-top: -25px;
    row-gap: 20px;
    display: grid;
    grid-template-columns: 350px 350px 350px;
    justify-content: center;
    padding: 10px;
}

.UL3{
    margin-top: -25px;
    display: grid;
    row-gap: 20px;
    grid-template-columns: 350px 350px 350px;
    justify-content: center;
   padding: 10px;

}


#subHead{
    margin-top: 20px;
    margin-left: 75px;
    text-decoration: underline;
    color: #272635;
    min-width: 200px;
}

.subHead{
    margin-top: 20px;
    margin-left: 75px;
    text-decoration: underline;
    color: #272635;
    min-width: 500px;
}



.flex{
    display: flex;
}

.upperHead{
    font-size: 2rem;
   text-align: center; /*!!!*/
   color: #272635;
   
   
   
}

#headP1{
    font-size: 1em;
}
#headP2{
    font-size: 1em;
}

footer{
    margin-top: 15px;
    height: 140px;
    width: 100%;
    background-color: gray;
    text-align: center;
}

footer a {
    display: table;
    margin: 5px auto 20px auto; /* Centers the block horizontally */
    text-align: center; /* Centers the text within the block */
    font-size: 1em;
}

footer a:hover{
    text-decoration: underline;
    cursor:pointer ;
    
}
footer a:visited {
    text-decoration: none; 
    color: whitesmoke; /* Inherit the color from its parent, or set a specific color */
}

a{
    color: whitesmoke;
}

footer p {
    font-size: .75em;
}

.toTop {
    margin-top: -52px;
    height: 50px;
width: 75px;
margin-left:  auto; /* Center horizontally in its container */
margin-right:10px;
display: block; /* Ensures margin auto works on the button */
position: relative; /* Required for parent container alignment if necessary */
/* background-color: #92DCE5;*/
background-color: white;
color: black;
border-radius: 10px;
border:3px solid black;
cursor: pointer;

}


@media all and (max-width: 1210px) {
    /* CSS rules here for screens lower than 1210px */

    header {
        margin: auto;
        justify-content: center;
        display: block; /* Makes the header a block-level element */
        width: 100%; /* Ensures it spans the full width */
        text-align: center; /* Optional: Centers content within the header */
    }

    .card{
    margin-top:20px ;
    background-color: #191919;
   display: block;
   justify-content: center;
    gap: 20px;
    border-radius: 25px;
    margin-left: auto;
    margin-right: auto;
    width: 80vw;
    
}

    nav {
        position: relative; /* Adjusts the nav to flow with the header */
        margin-top: 10px; /* Adds some spacing between header content and nav */
        justify-content: center; /* Centers nav items in the new block layout */
    }

    .playerSens{
        margin-top: 15px;
        background-color: #F3F3F4;
        border-radius: 25px;
       margin-left: auto;
       margin-right: auto;
       width: 80vw;  
       border:5px solid#F3DFA2;
       display: flex;
       flex-flow: row wrap;
    }

    .details{
        padding-bottom: 15px;
    }
    
    .playerDetails{
        margin-left: 25px;
        
    }
    

    .upperHead{
       font-size: 2rem;
       height: 100px;
       margin: auto;
       display: flex;
       flex-flow: wrap;
       justify-content: center;
       color: #272635; 
       
    }
    
    .whoop{
        display: grid;
        text-align: left;
        padding-bottom: 10px;
    }
    
    .UL1{
        margin: auto;
        display: flex;
        flex-flow: wrap;
        gap: 100px;
        justify-content: center;
        padding: 10px;
    }
    
.UL2{
    margin-top: -25px;
    margin-left: auto;
    display: flex;
    flex-flow: wrap;
    gap: 100px;
    justify-content: center;
    padding: 10px;
}

.UL3{
    margin-top: -25px;
    margin-left: auto;
    display: flex;
    flex-flow: wrap;
    gap: 100px;
    justify-content: center;
    padding: 10px;
}

#subHead{
    margin-top: 15px;
    margin-left: auto;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    text-decoration: underline;
    color: #272635;
}

.subHead{
   margin-top: 20px;
   margin-left: auto;
    display: flex;
    flex-flow: wrap;
    justify-content: center;
    text-decoration: underline;
    color: #272635;

}
    }
