@import url('../elements/nav-bar.css');
@import url('../elements/web-bg.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family:'Courier New', Courier, monospace;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

section {
    min-height: 100vh;
    padding: 5rem 9% 5rem;
}

.projects section {
    display:flex;
    justify-content: center;
    align-items: center;
    gap:8rem;
}

.projects .content h1 {
    font-size: 6rem;
    font-weight: 700;
    line-height: 1.3;
}

span {
    color: white;
}

h1 {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title {
    font-size: 4.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

h3 {
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

hr {
    width: 100%;
    height: 2px;
    background-color: white;
    margin: 2rem 0;
}

.content h3 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content {
    font-size: 15px;
}

/** 
* lowkey hate css because nothing ever goes my way, so this is all done by github copilot.
* I tried writing it myself but it was just tweaking the fuck out and im not having it so wtv
* AI sometimes works it's wonders so im not complaining too much
**/

.anim-container {
    display: flex; /* Use Flexbox for alignment */
    flex-wrap: wrap; /* Allow wrapping to the next row if needed */
    justify-content: center; /* Center the projects horizontally */
    gap: 20px; /* Add spacing between projects */
    margin-top: 20px; /* Add some spacing above the container */
}

.anim-project {
    display: flex; /* Use Flexbox for alignment */
    flex-direction: column; /* Stack the title and video vertically */
    align-items: center; /* Center-align the content */
    flex: 1 1 300px; /* Allow videos to grow/shrink and set a base width */
    max-width: 400px; /* Limit the maximum width of each project */
    text-align: center; /* Center-align the text */
    margin-bottom: 20px; /* Add spacing below each project */
}

.anim-project h2 {
    margin-bottom: 10px; /* Add spacing between the title and the video */
    font-size: 2rem; /* Adjust the font size of the title */
}

.anim-project video {
    width: 100%; /* Set the video to take up the full width of its container */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 8px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Add a shadow for better visuals */
}

.title-link,
.link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
    transition: 0.2s ease;
}

.title-link:hover,
.link:hover {
    color: rgb(238, 162, 204);
    text-decoration: underline;
    cursor: pointer;
    transition: 0.2s ease;
}

.copyright {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.funkin-logo img {
    position: relative;
    width: 180px;
    transition: 0.2s ease;
}

.quizizz-logo img {
    width: 120px;
    transition: 0.2s ease;
}

.discord-logo img {
    width: 120px;
    transition: 0.2s ease;
}

.github-logo img {
    width: 115px;
    transition: 0.2s ease;
}

.film-haven-logo img {
    width: 135px;
    transition: 0.2s ease;
}

.discord-logo img:hover {
    cursor: pointer;
    transform: scale(1.2) translateY(-5px);
}

.film-haven-logo img:hover {
    cursor: pointer;
    transform: scale(1.2) translateY(-5px);
}

.github-logo  img:hover {
    cursor: pointer;
    transform: scale(1.2) translateY(-5px);
}