* {
    padding: 0px;
    margin: 0px;
    font-family: "Jua", sans-serif;
}

body {
    background-color: rgb(243, 243, 255);
}

header, main, footer {
    width: 80%;
    margin-left: 10%;
    padding: 20px;
    /* text-align: center; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

nav {
    width: 100%;
}
nav div {
    font-size: 40px;

    width: 100%;
    padding: 20px;

    border-style: solid;

    text-align: center;
}

nav ul {
    width: 100%;
    height: 150px;

    list-style: none;

    display: flex;
    flex-direction: row;
    justify-content: end;
    align-items: center;
}

nav li {
    margin-right: 30px;
}
    
/* 인라인 요소로 바뀌어서 목록 옆으로 제시됨 */

i {
    font-size: x-large;
}

a {
    display: inline-block;
    width: 100%;
    height: 20px;
    padding: 10px;
    margin: 5px;
    border-radius: 10px;

    text-decoration: none;
    text-align: center;

    color: white;
    background-color: rgb(209, 140, 209);
}

/* 블록은 한 줄을 잡음, 인라인 블록은 해당 인라인 콘텐츠만 블록으로 처리함 */

/* 마우스 놓일 경우 */
a:hover {
    background-color: purple;

}

article {
    width: 80%;
    padding: 20px;
    font-size: x-large;
}

article p {
    font-weight: 400;
    font-size: 20px;
}

hr {
    
}

h1 {
    margin-bottom: 20px;
    text-align: center;
}

section {
    background-color: white;

    width: 80%;
    height: 200px;
    padding: 20px;
    margin: 20px;
    border-radius: 10px;
    border: 3px solid;
    border-color: rgb(209, 140, 209);
}

h2 {
    margin: 10px;
}

img {
    margin-right: 50px;
    margin-left: 50px;
    border-radius: 100px;
}

section div {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
}

section p {
    font-size: large;
}

footer {
    background-color: black;
    color: white;
    text-align: center;
}


span {
    font-weight: bold;
    display: inline-block;
}

@media screen (max-width : 1024px) {

    header, main, footer {
        width: 100%;
        margin-left: 0px;
        padding: 20px;
        /* text-align: center;*/
        display: flex;
        flex-direction: column;
    }

    
} 

footer ul {
    width: 100%;
    height: 100%;

    list-style: none;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}