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

body {
    margin: 0;
    padding: 0;

    background-image: url('../images/background.jpg');
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: cover;

    backdrop-filter: blur(3px);

    min-height: calc(100vh - 4rem);

    font-family: "Quicksand", sans-serif;
    font-weight: 600;
}

.container {
    max-width: 1229px;
    margin: auto auto;
}

.links {
    float: left; 
    position: relative; 
    right: 38%;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    padding: 1rem;
    background-color: rgb(35, 35, 35);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* INDEX WEBPAGE */
.mainContainer {
    margin: 1rem;
    padding: 5px;
    overflow: scroll;
    background-color: rgb(35, 35, 35);
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* COLS */
.two-col {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.left-col {
    margin-inline-end: 12px;
    padding: 10px 0 0 10px;
    width: calc(23% - 6px);
}

.right-col {
    flex: 1;
    padding: 10px 0 0 0;
    width: calc(60% - 6px);
    line-height: 1.58;
}

.profileImg {
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

hr {
    height: 2px;
    border-width: 0;

    background: linear-gradient(90deg,rgba(251, 135, 255, 1) 0%, rgba(184, 87, 199, 1) 50%, rgba(147, 83, 237, 0) 100%);

    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    margin-top: -2px;
}

.projectList {
    display: flex;
    flex-direction: row;

    margin-top: -10px;
    margin-left: 15px;
}

.socialList {
    margin-top: -10px;
    margin-left: -35px;
}

.social {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: -20px;
}

.social-site {
    display: block;
    margin-right: 5px;
}

ul {
    list-style-type: none;
    margin-top: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.project {
    align-items: center;
    margin-bottom: 4px;

    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s ease;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
}

/* GAMES WEBPAGE */
.flashGames {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #121212;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
  
.flashGames h1 {
    color: #ffdd57;
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
}
  
.gameList {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-content: center;
}
  
.gameCard {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    overflow: hidden;
    text-align: center;
    padding: 10px;
    transition: transform 0.2s ease;
    cursor: pointer;
    max-width: 200px;
    margin: 0 auto;
}
  
.gameCard:hover {
    transform: translateY(-5px) scale(1.05);
}
  
.gameCard img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #2a2a2a;
    border-radius: 8px;
}
  
.gameCard h2 {
    font-size: 16px;
    margin: 10px 0 5px;
    color: #ffdd57;
}
  
.gameCard p {
    font-size: 13px;
    color: #bbb;
}

.gameCard button {
    background: #335fff;
    border-color: transparent;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
}

.gameCard small {
    font-size: 12px;
    color: #888;
}

@media all and (max-width: 768px), (max-width: 1080px) {
    .two-col {
        flex-direction: column;
    }

    .left-col {
        width: 100%;
    }
    
    .right-col {
        width: 100%;
    }

    .links {
        right: 10%;
    }

    #timeAndDay {
        float: right;
        position: relative;
        left: 10%;
    }
}

/* @media (max-width: 1080px) {
    .links {
        right: 35%;
    }
} */