@font-face {
    font-family: 'NanumGothicLight.ttf';
    src: url('./font/NanumGothicLight.ttf');
}

@font-face {
    font-family: 'NanumPen.ttf';
    src: url('./font/NanumPen.ttf');
}

body {
    margin: 0;
    line-height: 2em;
    font-family: NanumPen;
    font-size: 16px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: space-around;
    flex-basis: 350px;
    background-image: url("../img/fossil_background.jpg");
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    /* flex-wrap: wrap; */
}

.navbar {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 35px;
    background-color: yellow;
}

.logo img {
    width: 55px;
    margin-right: 40px;
    margin-top: 10px;
    margin-bottom: 8px;
}

.logo_text {
    text-align: center;
    /* margin-bottom: 5px;
    padding-bottom: 4px; */
}

.logo_text p {
    font-size: 8px;
    letter-spacing: 0.2em;
    word-spacing: 0.2em;
    /* margin-bottom: 10px;
    padding-bottom: 9px; */
}

.headwords {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    height: 60%;
}

.row01 {
    padding-top: 10px;
}

.row01 img {
    width: 260px;
}

.row01 {
    margin-right: 35px;
    margin-left: 35px;
}

.row02 p {
    color: black;
    font-size: 18px;
    font-weight: bolder;
    font-family: NanumPen;
    text-shadow: -1px 0 #FAEBD7, 0 1px #FAEBD7, 1px 0 #FAEBD7, 0 -1px #FAEBD7;
}

.row03 img {
    width: 200px;
}

.navbar_under {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    background-color: #263343;
    width: 100%;
    flex-wrap: wrap;
}

.navbar_under a {
    text-decoration: none;
    color: white;
}

.navbar_under a:hover {
    color: #263343;
}

.tooltip {
    position: relative;
}

.tooltip::after,
.tooltip::before {
    content: ' ';
    position: absolute;
    background-color: #263343;
    height: auto;
    width: 110px;
    top: 0;
    left: 0%;
    transform: translate(0, 0);
    transition: .3s ease-in-out transform;
}

.tooltip::before {
    font-size: 11px;
    content: attr(data-tooltips);
    color: white;
    line-height: 20px;
    top: 10px;
    padding: 10px;
    border-radius: 14px;
    transform: translateY(33px) scale(0);
}

.tooltip::after {
    height: 10px;
    width: 10px;
    transform: translate(20px, 44px) rotate(45deg) scale(0);
}

.tooltip:hover::after {
    transform: translate(20px, 44px) rotate(45deg) scale(1);
}

.tooltip:hover::before {
    transform: translateY(33px) scale(1);
}

.menu_under a {
    flex-wrap: wrap;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 20px;
    font-size: 12px;
    color: white;
    padding: 5px;
    margin-right: 50px;
    border: 1px;
    border-radius: 9px;
    background-color: #263343;
}

.menu_under a:hover {
    background-color: snow;
}

* {
    box-sizing: border-box;
}

.nav_under .menu_under span {
    font-size: 10px;
    -webkit-transform: scale(0.7);
    display: inline-block;
}

.footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: auto;
    background-color: wheat;
}

.footer_logo {
    margin-bottom: 20px;
}

.footer_logo img {
    width: 100px;
    margin-top: 10px;
}

.footer_text {
    font-size: 11px;
    line-height: 1.7em;
    margin-left: 20px;
    margin-bottom: 2px;
    letter-spacing: 0.1em;
    word-spacing: 0.1em;
    padding-bottom: 0px;
    font-weight: 650;
}

@media (max-width:700px) {
    .footer_logo img {
        margin-top: 20px;
        padding-bottom: 10px;
    }
}