html{
    background-color: white;
}

body {
    width:512px;

    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10%;
    margin-right: 10%;
    padding-top: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: lightblue;

}

ul {
    list-style: none;
}

h1, h2 {
    margin: 0;
}

header, main, footer{
    
    width: 500px;
    margin-top: 5px;

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

/* header 영역 */
header ul{
    /* height: 50px; */

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

header a{
    width:100px;
    height:30px;
    padding:5px;
    margin-left:5px;
    margin-right:5px;
    background-color: blue;
    border-radius: 5px;
    color: white;

    text-decoration: none;
}

.icon > a {

    background-color: lightblue;

    color : black;
    /* font-size: 30px; */
}

/* main 영역 */
main img {
    width: 80px;
    height: 80px;
    border-radius: 100%;
}


section {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
    padding:15px;
    background-color: white;
}

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

section p{
    margin-left: 20px;
    margin-right: 20px;
}


/* footer 영역 */
footer {
    /* padding: 20px; */

    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: black;
    color: white;
}

footer > ul{
    margin-left: 5%;
    margin-right: 10%;
}

/* 반응형 */
@media (min-width:1024px){
    body{
        width:1024px;
    }
}