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

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}



body {

    font-family: "Roboto", sans-serif;
    width: 100%;
    height: 100%;
    align-items: center;
    background-color: #111111;
    color: #ffffff;
}


h1, h2, h3, h4 {
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    width: 100%;
    padding: 80px;
}

.navbar {
    background-color: rgba(17, 17, 17, 0.95);
    height: 100px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.logo {
    border-radius: 10px;
    margin-bottom: 10px;
    margin: 10px;
    width: 5.3rem;
    display: flex;
}


.navbar-links {
    font-weight: 600;
    font-family: "Oswald", sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    color: #e0e0e0;
    display: flex;
    padding: 1rem;
    text-transform: uppercase;
}

.big-icon {
	width: 256px;
	height: 203px;
    font-size: 15rem;
    color: rgb(86, 204, 242, 0.1);
    background: url(/rrilogodarkaqua265.png);
}


.navbar-links:hover {
    color: #00C0A3;
    transition: transform 0.3s ease;
    transform: translateY(-5px);
}

.nav-links-container {
    display: flex;
    flex-direction: row;
}

.section-header {
    margin-bottom: 50px;
}

.games-section {
    background-color: #1a1a1a;


}

.game-grid {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    justify-content: center;

}

.game-card {
    background-color: #111111;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-image {
    width: 40rem;
    height: 40rem;
    background-position: center;
    background-size: cover;
    position: relative;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(8, 8, 8, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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


.aboutus-section {
    padding: 80px 0;
    background-color: #131313;
}

.aboutus-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.aboutus-text {
    flex: 1;
}

.aboutus-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.aboutus-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    color: rgb(#a0a0a0);
}

.studio-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
    
.footer {
    border-top: 1px solid #222;

}

.footer-grid {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 40px;
    margin-bottom: 60px;
    margin-top: 30px;

}

.footer-col h4 {
    margin-bottom: 20px;
    color: #01F1F1;
}

.footer-col a {
    display: block;
    margin-bottom: 10px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}



.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}


.footer-bottom p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 30px;
}


.hero {
    position: relative;
    width: 100%;
    padding-top: 56.25%; 
    margin-top: 100px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.hero-content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 100%;
}

.meet-team-btn {
    background-color: #00afff;
    padding: 10px;
    color: #111111;
    border-radius: 20px;
    position: absolute;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.meet-team-btn:hover {
    transform: scale(1.1);
}

.learn-more-btn {
    background-color: #00afff;
    padding: 10px;
    color: #111111;
    border-radius: 20px;
    position: absolute;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    transform: scale(1.1);
}

.the-team{
    display: grid;
    grid-template-columns: auto auto auto;
}

.team-member {
    margin: 20px;
    background-color: #363434;
    padding: 20px;
    border-radius: 40px;
}

h1 {
    text-align: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.director {
    color: orange;
    margin: 10px;
    text-align: center;
    
}

.heads {
    color: green;
    margin: 10px;
    text-align: center;
}

.team-member img {
    display: flex;
    border-radius: 50%;
    align-items: center;
    justify-items: center;
}

.team-member p {
    font-size: 1rem;
}


.job-listings {
    display: grid;   
}

.listing {
    padding: 5rem;
    background-color: #1a1a1a;
    border-radius: 10px;
    margin: 20px;
}

.listing h3 {
    margin-bottom: 30px;
}

.apply-button {
    background-color: #00afff;
    padding: 10px;
    color: #111111;
    border-radius: 20px;
    position: absolute;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.apply-button:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {


    section {
        padding: 40px 20px;
    }

    h1, h2 {
        font-size: 1.8rem;
    }

    body {
        font-size: 0.95rem;
    }

    .navbar {
        height: 70px;
    }

    .logo {
        width: 4rem;
    }


    .hero-content {
        width: 1rem;
    }

    .aboutus-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .aboutus-text h2 {
        font-size: 2rem;
    }


    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }


    .meet-team-btn,
    .learn-more-btn {
        position: static;
        display: inline-block;
        margin: 10px;
    }
    .game-image img {
        width: 10rem;
        height: 10rem;
    }

    .listing {
        padding: 2rem;
        background-color: #1a1a1a;
        border-radius: 10px;
        margin-bottom: 20px;
        padding-bottom: 4rem;
    }

    .navbar-links {
        padding: 0.4rem;
    }

    .team-member img {
        width: 3rem;
    }

    .team-member p {
    font-size: 1rem;
    }

    .team-member {
        margin: 10px;
    }
    
    .the-team {
        grid-template-columns: auto;
        
    }
}




h1 {
    text-align: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

.director {
    color: orange;
    margin: 10px;
    text-align: center;
    
}

.heads {
    color: green;
    margin: 10px;
    text-align: center;
}





@media (max-width: 480px) {

    .navbar-links {
        font-size: 0.9rem;
    }

    .hero-content img {
        width: 150px;
        height: 115px;
    }

    .hero {
        margin-top: 70px;
    }

    .game-image {
        width: 20rem;
        height: 20rem;
    }

    
}