*
{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body
{
    background: #CAD2C5;
    color: #354F52;
}

#header
{
    width: 100%;
    height: 100vh;
    background-image: url();
    background-size: cover;
    background-position: center;
}

.container
{
    padding: 10px 10%;
}

@media(max-width:1280px)
{
    .container
    {
        width: 100%;
    }
}

nav
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: #2f3e46c0;
    color: white;
    padding: 1rem;
    z-index: 1000;
}

.nav-branding
{
    font-size: 2rem;
    color: #CAD2C5;
    text-decoration: none;
}

.logo
{
    width: 140px;
}

nav ul li
{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}

nav ul li a
{
    color: #CAD2C5;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after
{
    content: '';
    width: 0;
    height: 3px;
    background: #2F3E46;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after
{
    width: 100%;
}

.header-text
{
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1
{
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span
{
    color: #2F3E46;
}
/* ------------games-------------*/
#games
{
    padding: 30px 0;
}

.games-list
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.games-list div
{
    background: #354F52;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.games-list div i
{
    color:#CAD2C5;
    font-size: 50px;
    margin-bottom: 30px;
}

.games-list div h2
{
    color:#CAD2C5;
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.games-list div h3
{
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 8px;
}

.games-list div a
{
    text-decoration: none;
    color: #CAD2C5;
    font-size: 15px;
    margin-top: 20px;
    display: inline-block;
}

.games-list div:hover
{
    background: #84A98C;
    transform: translateY(-10px);
}
/* -------------mods-------------*/
/* ------------about-------------*/
#about
{
    padding: 80px 0;
    color: #354F52;
}

.row
{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1
{
    flex-basis: 35%;
}

.about-col-1 img
{
    width: 100%;
    border-radius: 15px;
}

.about-col-2
{
    flex-basis: 60%;
}

.sub-title
{
    font-size: 60px;
    font-weight: 600;
    color: #2F3E46;
}

.tab-titles
{
    display: flex;
    margin: 20px 0 40px;
}

.tab-links
{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after
{
    content: '';
    width: 0;
    height: 3px;
    background: #2F3E46;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after
{
    width: 50%;
}

.resume-preview
{
    max-width: 100%;
    width: 300px;
    margin-top: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.resume-preview:hover
{
    transform: scale(1.05);
}

.external-links a i
{
    font-size: 50px;
    color: #2F3E46;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
}

/* -------------mech-------------*/
.project-container h1
{
    font-size: 80px;
    color: #2F3E46;
    padding-top: 60px;
    text-align: center;
}

.studio-name
{
    font-size: 40px;
    color: #354F52;
    padding: 30px;
    text-align: center;
    margin-top: -40px;
}

.mech-external-links a i
{
    font-size: 32px;
    color:#2F3E46;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.3s;
}

.project-container.row
{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.column h3
{
    color: #354F52;
    font-size: 30px;
}

.column
{
    padding-left: 200px;
    padding-right: 250px;
    padding-top: 50px;
}

.play
{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    font-size: 30px;
}

.mech-container
{
    display: flex;
    gap: 40px;
    align-items: flex-start;
    height: auto;
}

.doc-viewer
{
    flex: 0 0 55%;
    max-height: none;
    overflow: visible;
    padding-right: 10px;
}

.doc-viewer img
{
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 16px;
    padding-left: 0;
}

.doc-viewer iframe
{
    width: 100%;
    height: 650px;
    border: none;
    margin-bottom: 16px;
    padding: 0;
    display: block;
}

.explanation
{
    flex: 0 0 45%;
    max-height: none;
    overflow: visible;
    padding-right: 10px;
}

.next-game
{
    text-align: right;
    padding-right: 20px;
}

.next-game a
{
    color: #354F52;
    text-decoration: none;
    font-size: 40px;
}

input[type=text], select, textarea
{
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit]
{
    background-color: #354F52;
    color: #ccc;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover
{
    background-color: #2F3E46;
}

.contact-container
{
    border-radius: 5px;
    background-color: #84a98c6a;
    padding: 100px;
}

.doc-viewer img
{
    padding-left: 20px;
}