* {
    box-sizing: border-box;
}

.header {
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2rem;
    border-top: 10px solid red;
    border-bottom: 10px solid blue;
    border-radius: 10px;
    background-color: white;
}

.animate-title {
    animation-delay: 500ms;
    animation: Title .5s ease-in forwards;
}

@keyframes Title {
     0% {
        transform: translate(-1000, 0);
        }

    20% {
        transform: translate(-900, 0) scale(.1);
    }

    45% {
        transform: translate(-600px, 0) scale(.4);
        color: red;
        opacity: 0.5;
    }

    70% {
        transform: translate(-300px, 0) scale(.7);
        color: blue;
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.navbar {
    padding: 6px;
    margin-bottom: 6px;
}

.navbar>a:hover {
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    background-color: white;
    transition-duration: 0.2s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

a {
    text-decoration: none;
    color: black;
}

.nav-top {
    text-align: center;
}

.nav-top a:hover{
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    border-radius: 3px;
    background-color: white;
}

body {
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: lightblue;
    font-size: 1.2rem;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

#title{
    margin: 5px;
}

main {
    margin: 10px;
}

h2 {
    text-align: center;
    font-size: 1.5rem;
}

.gallery img {
    max-width: 80%;
    width: 1000px;
    height: 80vh;
    object-fit: fill;
    border-radius: 10px;
    border-top: 6px solid red;
    border-bottom: 6px solid blue;
    transition: border-color 0.3s ease;
}

@keyframes glow {
    0% {
        border-top-color: red;
        border-bottom-color: blue;
    }

    50% {
        border-top-color: orange;
        border-bottom-color: cyan;
    }

    100% {
        border-top-color: red;
        border-bottom-color: blue;
    }
}

@media(max-width:960px){
    .gallery img{
        max-width: 100%;
        width: 500px;
        height: 50vh;
    }
}

.glowing {
    animation: glow 3s infinite alternate ease-in-out;
}

.gallery {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 20px 10px;
    max-width: 100%;
    row-gap: 10px;
}

#audio {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 80%;
}

.korean-red {
    color: red;
}

.korean-blue {
    color: blue;
}

.footer {
    font-size: 1.1rem;
    text-align: center;
}