body {
    font: 100%/1.3 Verdana, Arial, Helvetica, sans-serif;
    font-family: sans-serif;
    background: #E6E6E6;
    margin: 0;
}

#holder {
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
}

header {
    width: 100%;
    text-align: center;
}

h1, h3, h4 {
    text-shadow: goldenrod 2px 5px 8px;
}

img {
    border: 2px goldenrod solid;
    border-radius: 1em;
    max-width: 100%;
    height: auto;
}

section:first-of-type {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap; 
    gap: 1.5rem;
    padding: 2rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

section:first-of-type img {
    width: 23%; 
    max-width: 300px; 
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

@keyframes liquid-flow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

nav {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(65, 84, 102, 0.15);
    isolation: isolate;
    margin: 2rem auto;
    width: 90%;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 1.5rem;
    box-sizing: border-box;
}

nav::before {
    content: '';
    position: absolute;
    inset: -50px;
    z-index: -2;
    background: radial-gradient(circle at 30% 30%, #58ACFA, goldenrod, transparent 40%),
                radial-gradient(circle at 70% 80%, #E6E6E6, transparent 30%);
    animation: liquid-flow 25s infinite linear;
    opacity: 0.4;
}

nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 75%;
    height: 100%;
    transform: skewX(-25deg);
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 100%);
    transition: left 0.85s cubic-bezier(0.6, 0.01, 0.4, 1);
    z-index: 1;
}

nav:hover::after {
    left: 150%;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

nav ul li {
    margin: 0;
    padding: 0;
}

nav a:link,
nav a:visited {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    color: #1a2533;
    text-shadow: none;
    transition: all 0.3s ease-in-out;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(65, 84, 102, 0.08);
}

nav a:hover,
nav a:active,
nav a:focus {
    color: #006567;
    transform: translateY(-4px) scale(1.05);
    background-color: #fff;
    box-shadow: 0 8px 15px rgba(65, 84, 102, 0.15);
}

main {
    padding: 1rem 5%;
    width: 100%;
    box-sizing: border-box;
}

.ich {
    float: left;
    margin-right: 2rem;
    border-radius: 1em;
    width: 300px;
    height: 400px;
}

footer {
    padding: 1rem;
    border-top: 0.1rem solid #58ACFA;
    width: 100%;
    color: #58ACFA;
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    body {
        font-size: 95%;
    }
    
    section:first-of-type {
        flex-direction: column;
        align-items: center;
    }

    section:first-of-type img {
        width: 80%;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
    }
    
    nav ul li {
       width: 100%;
       text-align: center;
    }

    .ich {
        float: none;
        display: block;
        margin: 0 auto 2rem auto;
    }
}
