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

#title{
    margin: 5px;
}

main {
    margin: 15px;
    max-width: 100%;
}

.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;
}

a:hover {
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    border-radius: 3px;
    background-color: white;
    padding: 3px;
}

.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;
}

img {
    max-width: 100%;
    height: 400px;
    width: 700px;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

.hanbok {
    max-width: 100%;
    height: 500px;
    width: 500px;
}

.hanbok2 {
    max-width: 100%;
    height: 700px;
    width: 500px;
}

.bts {
    max-width: 100%;
    height: 600px;
    width: 600px;
    margin-top: 15px;
    margin-bottom: 15px;
}

figcaption {
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center;
}

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

.nav-top a:hover {
    border-top: 3px solid red;
    border-bottom: 3px solid blue;
    border-radius: 3px;
    background-color: white;
}

@media (max-width:960px) {
    img {
    max-width: 80%;
    height: 300px;
    width: 700px;
    display: block;
    margin: 0 auto;
    }

    .hanbok {
    max-width: 80%;
    height: 400px;
    width: 400px;
    }

    .hanbok2 {
    max-width: 80%;
    height: 600px;
    width: 400px;
    }

    .bts {
    max-width: 90%;
    height: 400px;
}
}

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

a:hover {
    transition-duration: 0.3s;
    transition-timing-function: ease-in;
    transition-delay: 0.1s;
}

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