/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Body */

html, body {
    height: 100%;
    margin: 0;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #a18cd1, #fad0c4, #ff9a9e);
    background-size: 200% 200%;
    background-attachment: fixed;
    animation: gradientBackground 8s ease infinite;
}

@keyframes gradientBackground {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */

header {
	position: fixed;
	top: 0px;
	padding: 20px;
	width: 100%;
	margin: auto;
	height: auto;
	background-color: #1e1e1e;
	box-shadow: -10px 10px 10px rgba(0, 0, 0, 0.4);
}

header h1
{
	font-family: "Nerko One", cursive;
	font-weight: 400;
	font-style: normal;
	font-size: 50px;
}

header h2
{
	margin-top: 10px;
	font-size: 24px;
	font-family: "Sour Gummy", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
}

/* Section */

section
{	
	padding-top: 180px;
	width: 100%;
	margin: auto;
}

#project-title {
	margin-top: 40px;
	color: #1e1e1e;
	font-size: 50px;
}

.project-container {
	margin-top: 40px;
	margin-left: 15%;
	width: 70%;
	background-color: rgba(0, 0, 0, 0.4);
	border-radius: 15px;
	box-shadow: 25px 25px 50px rgba(0, 0, 0, 0.4);
}

h3 {
	font-family: "Sour Gummy", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
    font-size: 40px;
    padding-top: 20px;
	padding-bottom: 10px;
}

h1, h2, h3, p {
	color: whitesmoke;
}

h1, h2, h3, p, ul {
	text-align: center;
}

ul {
    margin-left: 5%;
	padding-bottom: 15px;
    height: 90%;
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Auto-fill with flexible column widths */
    gap: 20px;
}

li {
    list-style: none;
    padding: 20px;
    border-radius: 8px;
    aspect-ratio: 1;
    box-sizing: border-box;
}

.link-container {
    height: 100%;
    width: 100%;
    background-color: #1e1e1e;
    border-radius: 25px;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column; 
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

a {
    font-family: "Nerko One", cursive;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    color: transparent;  /* Make the text color transparent to show the gradient */
    text-decoration: none;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ff9a9e, #fad0c4, #fad0c4, #a18cd1, #fad0c4, #ff9a9e);
    background-size: 200% 200%;
    background-clip: text;  /* Clip the background to the text */
    animation: gradientText 8s ease infinite;
}

@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

a:hover {
    font-size: 30px;
    text-decoration: underline;
	color: whitesmoke;
}

p {
	font-family: "Sour Gummy", sans-serif;
	font-optical-sizing: auto;
	font-weight: 600;
	font-style: normal;
	padding-bottom: 10px;
}

/* Footer */

footer {
	background-color: #1e1e1e;
	font-size: 2vw;
	padding: 0;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 10%;
	box-shadow: 0px -5px 10px rgba(0, 0, 0, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Others */

.image-container {
	margin-top: 200px;
	margin-bottom: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}

#duck {
	width: 50px;
	height: 50px;	
}