/* css reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* 프로필 */
.navbar {
    position: relative;
    z-index: 100;
}

#yunstagram {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    height: 5rem;
    background-color: white;
}

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

header {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 3rem;
    font-family: 'Lobster', cursive;
}

.container {
    width: 50vw;
    height: 35vh;
    margin-top: 7rem;
    display: flex;
}

.profile {
    width: 40%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#profile_frame {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 1px solid black;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

#profile_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 5rem;
    gap: 2rem;
}

.account h2 {
    font-weight: bold;
    font-size: 2rem;
}

.account li {
    font-size: 1.3rem;
}

.account ul {
    display: flex;
}

.account li {
    margin-right: 2rem;
}

.account a {
    text-decoration: none;
}

.line_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.line {
    width: 80vw;
    height: 0.5vh;
    background-color: #ebebeb;
    margin: 2rem, 0;
}

/* contents */

.contents_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.contents {
    width: 75vw;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.content {
    width: 350px;
    height: 350px;
    position: relative;
    margin: 3rem;
}

.caption {
    position: absolute;
    width: 400px;
    height: 400px;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
}

.caption a {
    text-decoration: none;
    color: white;
    font-size: 40px;
}


.content:hover .caption {
    transform: translateY(-400px);
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
}