@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

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

img{
    width: 100%;
    display: flex;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Aligns items to the top */
    align-items: center;
    height: 300px; /* Ensure this matches your desired card height */
    padding-top: 10px; /* Optional: Adds some padding at the top */
}

.robloxGameIcon {
    width: 200px;  /* Adjust width as needed */
    height: auto;  /* Maintains aspect ratio */
    margin-bottom: 30px;
    border-radius: 15px;
}

.gameIcon {
    width: 250px;  /* Adjust width as needed */
    height: auto;  /* Maintains aspect ratio */
    margin-bottom: 30px;
    /* You can also set height if you prefer */
    /* height: 150px;  */
    /* If both width and height are set, the video might be stretched */
}


a{
    text-decoration: none;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #18181B;
}

nav{
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo{
    max-width: 100px;
}

.nav-links{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.link a{
    position: relative;
    padding-bottom: 0.75rem;
    color: #fff;
}

.link a::after{
    content: "";
    position: absolute;
    height: 2px;
    width: 0;
    bottom: 0;
    left: 0;
    background-color: #1d4ed8;
    transition: all 0.3s ease;
}

.link a:hover::after{
    width: 70%;
}

.btn{
    padding: 1rem 2rem;
    font-size: 1rem;
    color: #fff;
    background-color: #1d4ed8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover{
   background-color: #1e40af; 
}

.container{
    max-width: 1200px;
    margin: auto;
    padding: 5rem 2rem;
}

.blur{
    position: absolute;
    width: 300px;
    height: 300px;
    background: #1d4ed8;
    opacity: .3;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -100;
    top: -50px;
    left: -50px;
}

header{
    position: relative;
    padding-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

header .content h1{
    color: #fff;
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    line-height: 4rem;
}

header .content h4{
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

header .content h1 span{
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px #fff;
}

header .content p{
    margin-bottom: 2rem;
    color: #ccc;
}

header .image{
    position: relative;
}

header .image img{
    max-width: 600px;
    margin: auto;
}

section .header{
    margin-bottom: 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.25rem;
    font-weight: 600;
}

.projects{
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.projects .card{
    padding: 3rem 2rem;
    background-color: #27272a;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.projects .card:hover{
    background-color: #323232;
    border-color: #fff;
}

.projects .card content{
    flex: 1;
    margin-bottom: 2rem;
}

.projects .card h4{
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

.projects .card h3{
    color: #fff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 600;
}

.projects .card p{
    color: #fff;
    margin-bottom: 0.75rem;
}

.projects .card p i{
    color: #ccc;
    font-size: 1.2rem;
    margin-right: 0.3rem;
}

.projects .card a{
    display: flex;
    justify-content: center;
}

.projects .card a button{
    color: #fff;
    background-color: transparent;
    border: 2px solid #fff;
    margin-top: 50px; /* Adjust this value to lower the button */
}

.projects .card a button:hover{
    background-color: #1e40af;
    border-color: #1e40af;
}

.projects .card .content h5 {
    color: #fff;
    font-size: large;
}


footer{
    position: relative;
    display: grid;
    align-items: center;
    grid-template-columns: 400px repeat(2, 1fr);
    gap: 2rem;
}

footer .column .logo{
    max-width: 100px;
    margin-bottom: 2rem;
}

footer .column .p{
    color: #ccc;
    margin-bottom: 2rem;
}

footer .column .socials{
    display: flex;
    align-items: center;
    gap: 1rem;
}

footer .column .socials a{
    color: #ccc;
    border: 1px solid #ccc;
    padding: 5px 10px;
    font-size: 1.25rem;
    border-radius: 100%;
    transition: all 0.3s ease;   
}

footer .column p{
    color: #ccc;
    margin-bottom: 2rem;
}

footer .column .socials a:hover{
    color: #fff;
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}

footer .column h4{
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

footer .column > a{
    display: block;
    color: #ccc;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

footer .column > a:hover{
    color: #1d4ed8;
}

footer .copyField {
    display: flex;
    align-content: start;
    background: none; /* Remove default button background */
    border: 2px solid #fff; /* White outline */
    border-radius: 10px; /* Rounded corners */
    padding: 5px 10px; /* Optional padding for content */
    cursor: pointer; /* Indicate clickable element */
    transition: all 0.3s ease; 
}

footer .copyField:hover{
    border: 2px solid #1e40af;
}

footer .copyField h5{
    color: #fff;
    border: none; /* Remove unnecessary border */
}

footer .copyField i{
    color: #fff;
    margin-left: 5px;
    transition: all 0.3s ease; 
}

footer .copyField i:hover{
    color: #1d4ed8;
}

.copyright{
    max-width: 1200px;
    margin: auto;
    padding: 1rem;
    color: #fff;
    font-size: 0.8rem;
    text-align: center;
}

.mainframe{
    max-width: 700px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

@media (width < 900px){
    .nav-links{
        display: none;
    }
    header{
        grid-template-columns: repeat(1, 1fr);
    }
    header .image{
        grid-area: 1/1/2/2;
    }
    .projects{
        grid-template-columns: repeat(2, 1fr);
    }
    footer{
        grid-template-columns: 1fr 200px;
    }
}

@media (width < 600px){
    header .image::before{
        display: none;
    }
    .projects{
        grid-template-columns: repeat(1, 1fr);
    }
    footer{
        grid-template-columns: 1fr 150px;
    }
}
