
:root {
    
    --CurlewLightLightBlue: #385b66;
    --CurlewLightLightBlueTransp: #385b6611;
    --CurlewLightBlue: #1F363D;
    --CurlewBlue: #161B1C;
    --CurlewRed: #A44A3F;
    --CurlewYellow: #FFBA08;
    --CurlewBeige: #FFEABB;
    --CurlewBeigeDark:  #FFE099;
    --CurlewBeigeDarkest:  #cd9b59;
    scroll-behavior: smooth;
    
  }

body{
    margin: 0;
    background-color: var(--CurlewBlue);
    font-family: 'M PLUS Rounded 1c','sans-serif';
    
    font-stretch:ultra-condensed;
    
}

.content {
    margin-left: 10vw;
    margin-right: 10vw;
    
}

table{
    width: 100%;
}
table, th, td {
    border: 1px solid;
    border-color: var(--CurlewLightBlue);
    
  }
  th, td
  {
    width:50%;
    height:50pt;
    color: var(--CurlewLightBlue);
  }
  th
  {
    height:28pt;
    background-color: var(--CurlewLightLightBlue);
    color: var(--CurlewBeige);
  }

h1 {
    color:var(--CurlewRed);
    font-size:3rem;
    margin-top: 0rem;
}

h2 {
    color: var(--CurlewRed);

    margin-top: 0;
    font-size:2.5rem;
    padding-top: 1rem;
    
}
h3 {
    color: var(--CurlewLightBlue);
    font-size:1.75rem;
    font-weight:100;
}
h4 {
    color: var(--CurlewLightLightBlue);
    font-size:1rem;
    font-weight:100;
}
p,li {
    color:var(--CurlewLightLightBlue);
    /*opacity: 80%;*/
    font-stretch:ultra-condensed;
    font-size:1.2rem;
    line-height: 135%;
}

.center-row-list
{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    
}

.center-column-list
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}
.center-column-list-top
{
    display: flex;
    flex-direction: column;
    align-items: center;
    
}
.center-column-list img
{
    width: auto;
    width: 80vw;
    max-width:512pt;
    

}

a
{
    -webkit-tap-highlight-color:var(--CurlewLightLightBlueTransp);
}

hr{
    border-width: 0.5pt;
    color: var(--CurlewLightBlue);
    border-style: solid;
}

#games {
    padding-top: 0rem;
    padding-bottom: 4rem;

    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300pt, 1fr)); 
    gap: 2rem;

    justify-items: center; /* Center the items horizontally */
    align-items: flex-start;
  /*  align-items: center; /* Center the items vertically if necessary */
}

.game{
    border-radius:2rem;
    
    display: flex;
    flex-direction:column;
    gap :1rem;

    width: 400pt;
    max-width: 100%;

    border-style: solid;
    border-width: 0;
    height: auto;
    border-color: var(--CurlewBeigeDark);
    background-color:var(--CurlewBeige);

    background-image:url("../img/bg-ligher.png");

    box-shadow: -4pt 4pt 5px var(--CurlewBeigeDarkest);
}

.game-short-info h3{
    margin: 0rem;
    padding: 0;
}
.game-short-info h4{
    margin: 0;
    padding: 0;
}
.game-short-info p{
    margin: 0;
    padding: 0;
}

.game-details
{
    display: none;
    width: auto;
    margin: 1rem;
    
}

.video{
    aspect-ratio: 1/2;
    width: 30vw;
    max-width: 200;
}

.game-details img
{
    /*width: 30vw;*/
    max-width: 200pt;
    height:auto;
    object-fit: contain;

}

.game-details-layout
{
    display: flex;
    flex-direction: column;
    width: auto;
    gap: 3rem;
}


.game:target .game-details
{
    display: flex;
    flex-direction: column;
    width: auto;
}
.game:target .game-expand-button
{
    display: none;
}
.game-short-info{
    margin-top: 1rem;
    margin-left: 1rem;
    display: flex;
    flex-direction:row;
    gap:1rem;
}
.game-short-info img{
    border-style: solid;
    border-radius: 32pt;
    border-width: 0;
    width: 64pt;
    height:64pt;
}


.game-expand-button
{
    height:20pt;
    border-radius: 10pt;
    border-width: 1pt;
    border-color: #161B1C;
    border-style: solid;

    width:fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 8pt;
    
    margin: 3rem;
    
}

.game-expand-button:hover
{
 scale: 1.05;

}

.game-banner{
    margin: 1rem;
    display: flex;
    flex-direction:row;
    width: auto;
    
}
.game-banner-img
{
    border-style: solid;
    border-radius: 2rem;
    border-width: 0;
    width: 100%;
    
    
}



.stores
{
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: fit-content;
}
.storebutton
{
    padding: 5pt;
    width: 50%;
    max-width: 200px;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;

    margin-bottom: 1rem;
            

}
.stores .storebutton img
{
    border-radius: 0;
    border-width: 0;
    width: 100%;
   
    margin: 0;
    height:100%;

}


#top-desktop {
    background-color:var(--CurlewLightBlue);
    padding-top:64pt;
}

#top-phone {
    display: none;
    width: 50vw;
}

#star
{
    width:100%;
    display:block;
}

#banner {
    
    width:100%;
    display:block;
    
}
#logo {
    width:512;

    max-width: 75%;
    display:block;
    margin:auto;
    
    
}

#mainPage
{
    padding-left: 16pt;
    padding-right: 16pt;
    padding-bottom: 64pt;
    margin-bottom: 32pt;
    background-color:var(--CurlewBeigeDark);
    background-image:url("../img/bg-darker.png");
}
#nav
{
    margin-top: 32pt;
    padding-top: 16pt;
    position:sticky;
    width:  100%;
    top: 0;
    background-color: var(--CurlewBlue);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

#curlewNavImg
{
    margin-left: 1rem;
    /*float:left;
    vertical-align:middle;*/
    height: 100%;
    padding-bottom:8pt;
}
#curlewNavImg:hover
{
    scale:1.1;
}

#nav ul {
    list-style-type: none;
    margin: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 1rem;
}
#nav #horizontal-nav
{
    display: none;
    margin:0;
    margin-block: 0;
    padding: 0;
}


#nav-wide-list {
    height: 4rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#nav #filler{
    display:block;
    height: 8pt;
    background-color: var(--CurlewBeigeDark);
}
#nav ul li {
    /*align-self: center;*/
    margin:1rem;
    padding-bottom:0rem;
    width: 200pt;
    max-width: 33%;
    height: 100%;
    margin: 0;
    
    
}
#nav ul li a{
    display:flex;
    border-top-left-radius: 25pt;
    border-top-right-radius: 25pt;
    height: inherit;
    color: var(--CurlewBeigeDark);
    text-decoration: none;
    justify-content: center;
    align-items: center;
    
    vertical-align:middle;

    margin-bottom: 2rem;
    padding-top: 10pt;
    padding-bottom: 10pt;
    font-size:32pt;
}

#nav #horizontal-nav li
{
    width: 100%;
    max-width: 100%;
}

.help-image
{
    width:50%;
}



.contact-button
{
    height:20pt;
    border-radius: 10pt;
    border-width: 1pt;
    border-color: #161B1C;
    border-style: solid;

    width:fit-content;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 8pt;
    
}
.contact-button h3
{
    margin: 0;
}
.contact-button img
{
    display: block;
    height: 32pt;
    margin-right: 1rem;
    
    
}
.contact-button:hover
{
 scale: 1.05;

}



.burger-icon
{
    margin-right: 1rem;
    display: none;
    height: 100%;

   /* display: flex;
    flex-direction: row;

    align-items: center;
    justify-content: center;*/
}
.burger-icon img
{
    height: 80%;
    width: auto;
    color: var(--CurlewLightBlue);
/*    width: 100%;
    height: 100%;
*/
}

.burger-icon:hover
{
    scale:1.1;
}

#nav #horizontal-nav li a
{
    border-top-left-radius: 0pt;
    border-top-right-radius: 0pt;
    
    width: 100%;
    margin: 0;
    border-style: solid;
    border-top-width: 0.5pt;
    border-left-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;

}
#nav ul li a:hover {
    background-color: var(--CurlewBeigeDark);

    color: var(--CurlewLightBlue);
    border-color:var(--CurlewBlue);
    border-bottom-width:0.5pt;
  }

#footer
{
    margin-top: 2rem;
    margin-bottom: 2rem;
    margin-left: 0rem;
}
#footer a
{
    font-size: 1.2rem;
    color: #385b66;
}




@media only screen and (max-aspect-ratio: 9/10) {

    #footer
    {
    margin-left: 1rem;
    margin-right: 1rem;
    }

    .burger-icon
    {
        display: block;
    }

    #nav ul {
        display:none;
    }
    #nav #horizontal-nav{
        /*display:block;*/
    }
    #top-desktop {
        display: none;
    }
    #top-phone {
        display: block;
        width: 100vw;
    }
    #top-phone img {
        display: block;
        width: 100%;
    }
    .content
    {
        margin-left: 0;
        margin-right: 0;

    }
    #games
    {
        display:flex;
        flex-direction:column;

        align-items: center;
    }
    .game
    {
        width: 100%;
        padding: 0.25rem;
        margin-left: 0;
        margin-right: 0;

        border-radius: 0;
    }
    .game-expand-button
    {
        margin:1rem;
    }
    .game-banner
    {
        margin: 0;
    }
    .game-banner-img
    {
        border-radius: 0;
    }
    .game-short-info
    {
        margin: 0;
    }
    .game-short-info img
    {
        height: 64pt;
        width: 64pt;
        
    }
    .game-details-layout
    {
        flex-direction: column;
    }
    .video
    {
        width: 100%;
        max-width: 100%;
    }
    .game-details img
    {
        width: 100%;
        max-width: 100%;
    }
    .game-details
    {
        margin: 0;
    }
    #mainpage
    {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}