* {
    padding: 0;
    margin: 0;
    font-family: Helvetica;
}

body {
    background-attachment: fixed;
    background-size: cover;
    background-color: darkslategray;
}

main {
    margin-left: 5%;
    margin-right: 5%;
    justify-items: center;
    background-color: #0094ff;
    padding: 5px;
}

footer {
    padding: 5px;
    background-color: black;
}

h1 {
    color: white;
    text-align: center;
}

h2 {
    color: white;
    font-family: verdana;
    text-align: center;
}

h3 {
    color: white;
    font-family: verdana;
    text-align: center;
}

p {
    color: white;
    font-family: verdana;
    font-size: 20pt;
    text-align: justify;
    text-indent: 40pt;
    padding: 5pt;
}

ol {
    color: white;
    font-size: 18pt;
}

ul {
    color: white;
    font-size: 18pt;
}

section {
    margin: 10pt;
    max-width: 1200px;
    justify-self: center;
}

img {
    max-width: 80%;
    height: auto;
    margin: auto;
    display: block;
}

header {
    background-color: black;
    width: inherit;
    padding: 10pt;
}

nav {
    display: flex;
    justify-content: center; /* For more pages, use space-between;*/
}

nav ul {
    list-style-type: none;
    margin: 0pt;
    padding: 0pt;
    display: flex;
    font-family: Helvetica;
}

nav a:hover {
    background-color: #111111;
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

nav a {
    text-decoration: none;
    color: white;
    display: block;
    padding: 10px 10px;
    font-size: 15pt;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.5s ease;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 5px));
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.card {
    display: block;
    background-color: white;
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.5s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    max-width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 12px;
    color: black;
    justify-content: center;
    max-width: 1200px;
}

.card-content h2 {
  margin: 0;
  font-size: 18px;
  color: black;
}

.card-content p {
  margin: 6px 0 0;
  font-size: 14px;
  opacity: 0.8;
  color: black;
  text-indent: 0px;
  text-align: center;
}

.title-area {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.title-area img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-items: flex-end;
    padding: 16px;
    color: white;
    background: linear-gradient( to top, rgba(0,0,0,0.7), rgba(0,0,0,0.0) );
    backdrop-filter: blur(6px);
}

.button {
    display: inline-block;
    padding: 14px;
    color: black;
    background-color: white;
    text-decoration: solid;
    border-radius: 12px;
    text-align: center;
    width: min-content;
    align-self: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.15s ease, box-shadow 0.5s ease;
}

.button:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.center {
    text-align: center;
}

.tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag { 
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.1);
    color: #333;
}

.game-container {
    width: 100%;
    height: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    background-color: white;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    overflow: hidden;
}