:root {
    --btn-hover-color: #09d38d;
    --project-logo-width: 340px;
    --project-logo-height: 484px;
}

/* Estilização de tags padrão */
body {
    background-color: #1e1e1e;
    margin: 0px;
}

h1 {
    font-family:'Poppins', sans-serif;
}

p {
    font-family: 'Open Sans',sans-serif;
}

a {
    color:var(--btn-hover-color);
    outline: none;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

footer {
    margin-top: 32px;
    margin-bottom: 16px;
}

figure {
  border: thin #c0c0c0 solid;
  display: flex;
  flex-flow: column;
  padding: 5px;
  max-width: 220px;
  height: fit-content;
}

figcaption {
  background-color: #222;
  color: #fff;
  font-family:'Poppins', sans-serif;
  font-style:italic;
  padding: 3px;
  text-align: center;
}

/* Classes genéricas */
.unset {
    all: unset;
}

.unfinished {
    filter: grayscale(1);
}   

.hover-overlay {
    top:0;
    bottom: 0;
    left:0;
    right:0;
    height:100%;
    width: 100%;
    opacity: 0;
}

.hover-overlay:hover {
    opacity: 1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(var(--project-logo-width),1fr));
    justify-items: center;
    align-items: center;
    width:100%;
    padding: 15px; 
    gap:15px;
}

.col2 {
    display:flex;
    flex-direction: column;
    box-sizing: border-box;
    margin-left: 15px;
    flex: 0 0 40%;
    max-width: 40%;
}

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

.row, .nav-row{
    display:flex;
    align-items:center;
    flex-flow:row;
}

.row-center {
    display:flex;
    justify-content: center;
    flex-flow:row;
}

.row-left {
    display:flex;
    flex-flow:row;
}

.card { 
    margin: 20px 5%;
    padding: 1px 25px;
    border-radius: 10px;
    background-color: #2A2A2A;
}

.main-card {
    margin: 20px auto;
    max-width:min(1080px, 80%);
    border-radius: 10px;
    background-color: #2A2A2A;

    gap: 30px;
    padding: 48px;
}

.limit-size  {
    max-width: 100%;
    max-height: 100%;
   
}

/* Tela inicial */
img.fullscreen {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;   
    height: 100vh;
    z-index: -1;
}

p.disclaimer {
    color: white;
    font-family:"monospace";
    text-align: center;
}


/* Navbar */
nav {
    background-color: #181818;

    margin: 0px;
    height:96px;
    box-sizing: border-box;
    display:flex;
}

#svg-logo {
    height:50px;
    margin-right:8px;
}

.nav-row {
    margin: 0 auto;
    width: 800px;
    box-sizing: border-box;
    justify-content: space-between;
}

a.nav-anchor, a.img-anchor {
    outline: none;
    text-decoration: none;
}

a.nav-anchor {
    text-transform: uppercase;
}

a.img-anchor {
    display:flex;
    align-items:center;
}

a.nav-anchor {
    color:white;

    padding: 4px 10px;
    
    font-family:'Poppins', sans-serif;
    font-size:14px;
    font-weight: 400;
    
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
}

a.nav-anchor:hover {
    color:var(--btn-hover-color);
}

span.nav-title {
    color:#4ceb95;

    margin: 0;
    box-sizing: border-box;
    
    font-family:'Droid Sans Mono', monospace;
    font-size: 40px !important;
    font-weight: normal;
}

/* Main */

main h1{
    color:#e8e8e8;
}

main h2{
    color:#c8c8c8;
}

main p {
    color: #909090;
}

main li {
    color: #909090;
}

div.staff-presentation {
    max-width:728px;
    overflow-wrap: break-word;
}

img.project-grid-logo {
    width:auto;
    height:auto;
    max-width:min(var(--project-logo-width),100%);
    max-height: fit-content;
    object-fit: contain;
    border-radius: 2.5%;
}

img.project-logo {
    width:var(--project-logo-width);
    height:var(--project-logo-height);
    border-radius: 10px;
    max-width: 100%;
}
button.patch-download {
    margin-top: 24px;
    font-size:36px;
    font-family:"Tiro Devaganari Hindi",serif;
    
}

a img.project-logo:hover {
    transform: scale(1.05);
}

h1.project-title {  
    font:"Tiro Devaganari Hindi",serif;
    font-size:36px;
}

div.project-grid {
    margin: 20px auto;
    max-width:min(1080px, 80%);
    border-radius: 10px;
    background-color: #2A2A2A;

    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 30px;
    padding: 48px;
}

/* Footer */
footer p {
    color: #707070;
}

#toggle-sound {
    all: unset;
    color:white;
    background-color: transparent;
    font-size: 24px;
    height:30px;
    text-align: center;
    vertical-align: middle;
    margin-bottom:4px;
    margin-right: 16px;
}

#toggle-sound:hover {
    cursor: pointer;
}

#svg-discord, #svg-github, #svg-vndb {
    height: 30px;
    width: 30px;
    margin-right: 16px;
}

#svg-github:hover, #svg-vndb:hover {
    filter: invert(55%) sepia(100%) saturate(1022%) hue-rotate(114deg) brightness(99%) contrast(93%);    
}

#svg-discord:hover {
    filter: invert(47%) sepia(86%) saturate(4284%) hue-rotate(220deg) brightness(95%) contrast(102%);
}



