* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    align-content: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #104681;
    color: #fff;
    line-height: 1.6;
}

.big-container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: auto;
    padding: 5px;
}

@import url('https://fonts.googleapis.com/css2?family=Fredoka+One:wght@400&display=swap');

h1 {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff006e, #8338ec, #3a86ff, #06ffa5, #ffbe0b, #fb5607, #ff006e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    letter-spacing: 0.05em;
    padding: 20px 40px;
    border-radius: 30px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

h1::before {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	right: -10px;
	bottom: -10px;
	border-radius: 35px;
	z-index: -1;
	filter: blur(15px);
	opacity: 0.7;
}

section {
    padding: 20px;
    margin: 20px 0;
    background-color: #002248;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section ul {
    list-style-type: none;
    margin-left: 20px;
}

section ul li {
    margin: 10px 0;
    background-color: #185748;
    color: #f5f5f5;
    padding: 10px;
    min-height: 225px;
}

h2{
    font-family: 'Tahoma';
    font-size: 1rem;
    margin-bottom: 15px;
    color:#d0e6ff;
}

section ul li:hover {
    background-color: #fabb10;
    cursor: pointer;
    animation: bounceIn 0.3s ease-in-out;
}

#about{
    background-color:#3493ff;
}

.social-media {
    margin: 15px 0;
    text-align: center;
}

.social-media a img {
    margin: 0 10px;
}

footer > h3{
    margin-bottom: 10px;
    text-align: center;
    color:yellow
}

header {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style-type: none;
    background-color: #2074d3;
    padding: 10px 0;
    border-radius: 8px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li.mobile-nav {
    display: flex;
}

details {
    padding: 15px;
    display: none;
    justify-content: center;
    flex-flow: column;
}

summary {
	list-style: none;
	padding: 15px;
	text-align: center;
	background: #2889f6;
	border-radius: 0.25rem;
}

a:link,
a:visited {
    color: #f5f5f5;
    text-decoration: none;
    font-weight: bold;
}

a:hover,
a:active {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounceIn {
    0% {
        transform: scale(0.9);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

footer {
    text-align: center;
    text-wrap: balance;
    padding: 10px 0;
    background-color: #2074d3;
    color: #f5f5f5;
    border-radius: 8px;
    margin-top: 20px;
}

#flappy-cats{
    background-color: #ff4d6d;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

#shark-typers {
    background-color: #00d4d4;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

#flappy-cats, #shark-typers {
    transition: background-color 0.3s ease;
}

#flappy-cats h3, #shark-typers h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#flappy-cats:hover {
    background-color: #ff6f91;
    cursor: pointer;
    animation: bounceIn 0.3s ease-in-out;
}

#shark-typers:hover {
    background-color: #08d9d6;
    cursor: pointer;
    animation: bounceIn 0.3s ease-in-out;
}


@media screen and (max-width: 768px) {

    section ul {
        margin-left: 0px;
    }

    section, footer {
        border-radius: 0;
    }

    header > h1 {
        font-size: 2rem;
        padding: 15px 20px;
    }

    #flappy-cats h3, #shark-typers h3, #about > h2 {
        text-align: center;
    }

    #flappy-cats p, #shark-typers p {
        text-align: center;
        text-wrap: balance;
    }

    #about p {
        text-align: center;
        text-wrap: balance;
    }

    .big-container {
        margin: none;
        padding: 0px;
    }

    .desktop-menu {
        display: none;
    }

    details#mobile-menu {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 10px 0;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 10px;
        margin: 10px 0;
    }

    section ul li {
        font-size: 14px;
        padding: 8px;
    }
}

@media screen and (max-width: 320px) {


    nav ul li {
        font-size: 14px;
    }
}