:root {
    --text: #FFFFFF;
    --text-alt: #000000;
    --primary: #0093e8;
    --secondary: #00ccff;
    --background0: #3d3d3d;
}

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

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Space Mono', monospace;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

a:visited {
    color: var(--text);
}

/* || Navigation */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background-color: var(--primary);
    filter: drop-shadow(0 5px 4px #0005);
}

.nav-div {
    padding-right: 10px;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: end;
}

.nav-div a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 4px;
    margin: 0 8px;
    color: var(--text);
    font-size: 18px;
    text-decoration: none;
    transition: background-color .7s;
}

.nav-div a:hover {
    background-color: var(--secondary);
}

/* || Welcome */
#welcome-section {
    height: 100vh;
    background-color: var(--background0);
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#welcome-section h1 {
    font-size: 198px;
    font-weight: 700;
    font-family: 'Syne', monospace;
    color: transparent;
    

    background: -webkit-linear-gradient(125deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    -webkit-animation: gradient-move 1s ease infinite;
    animation: gradient-move 1s ease infinite;
}

#welcome-section h2 {
    font-family: 'Space Mono', monospace;
}

/* || Projects */

#projects {
    scroll-margin-top: 50px;
    height: fit-content;
    padding-bottom: 50px;
    background-color: var(--primary);
}

#projects h1 {
    font-size: 40px;
    font-family: 'Space Mono', monospace;
    color: var(--text);
    width: 100%;
    text-align: center;
    padding-top: 10px;
}

.project-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    padding-top: 20px;
    column-gap: 20px;
    row-gap: 50px;
    margin: 0 auto;
}

.project-tile {
    width: 250px;
    height: 300px;
    background-color: var(--text);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
    transition: all .2s ease;
}

.project-flex a {
    color: var(--text-alt);
}

.project-tile:hover {
    transform: translateY(-8px);
    box-shadow: 0px 10px 20px 2px rgba(0, 0, 0, 0.25);
}

.project-tile h2 {
    font-family: 'Space Mono', monospace;
    width: 100%;
    text-align: center;
}

.project-img {
    margin-top: 5px;
    width: 100%;
    height: 100%;
    background-color: black;
    object-fit: cover;
}

.break {
    flex-basis: 100%;
}

.show-div {
    display: flex;
    width: 100%;
    justify-content: center;
}

#show-more {
    margin-top: 50px;
    height: 40px;
    width: 200px;
    font-size: 16px;
    font-family: 'Space Mono', monospace;
    border-radius: 0;
    border: 1px solid var(--text);
    background-color: var(--primary);
    color: var(--text);
    transition: all .2s ease;
}

#show-more:hover {
    background-color: var(--text);
    color: var(--text-alt);
}

/* || Contact */
#contact {
    display: flex;
    height: 100vh;
    background-color: var(--background0);
    color: var(--text);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#contact h1 {
    font-size: 54px;
}

#contact h2 {
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    margin-bottom: 65px;
}

.contact-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-link {
    transition: all .2s ease;
    font-size: 22px;
    padding: 0 15px;
}

.contact-link a:link {
    color: var(--text);
}

.contact-link a:visited {
    color: var(--text);
}

.contact-link:hover {
    transform: translateY(-8px);
}

/* || Footer */
footer {
    padding: 25px;
    color: var(--text);
    height: 75px;
    background-color: var(--primary);
    border-top: 4px solid var(--secondary);
}

/* || Smaller Screens */

@media (max-width: 595px) {
    html {
	overflow-x: hidden;
    }

    .project-flex {
        justify-content: center;
    }

    #welcome-section h1 {
	font-size: 100px;
    }

    #welcome-section h2 {
 	font-size: 22px;
    }

    #contact h1 {
	font-size: 36px;
    }


    .contact-link {
	font-size: 22px;
    }
}
