@font-face {
    font-family: "HyundaiSansHeadRegular";
    src: url(../font/HyundaiSansHeadOffice-Regular.ttf) format(truetype);
    font-weight: normal;
}
@font-face {
    font-family: "HyundaiSansHeadBold";
    src: url(../font/HyundaiSansHeadOffice-Bold.ttf) format(truetype);
    font-weight: bold;
}
@font-face {
    font-family: "HyundaiSansHeadMedium";
    src: url(../font/HyundaiSansHeadOffice-Medium.ttf) format(truetype);
    font-weight: normal;
}
@font-face {
    font-family: "HyundaiSansHeadLight";
    src: url(../font/HyundaiSansHeadOffice-Light.ttf) format(truetype);
    font-weight: normal;
}

body {
    margin: 0;
}
header {
    width: 100%;
    height: 1050px;
    position: relative;
    z-index: 9;
    transition: .4s;
    background-color: rgba(255, 255, 255, 0);
}
.inner {
    z-index: 10;
}
header .menu {
    display: flex;
    justify-content: space-between;
}
ul {
    list-style: none;
    display: block;
    vertical-align: middle;
    margin-top: 20px;
}
.menu {
    margin-right: 100px;
    margin-top: 10px;
}
.menu-inner li a,
.menu-inner2 li a,
.menu-inner3 li a,
.menu-inner4 li a,
.menu-inner5 li a {
    font-family: 'HyundaiSansHeadRegular';
}
li a {
    font-family: "HyundaiSansHeadBold";
    color: #000000;
    text-decoration: none;
    font-size: 26px;
    vertical-align: middle;
}
.menu .uxulogo a img {
    width: 241px;
    height: 71px;
    margin-left: 40px;
}

.nav_menu {
    margin-top: 24px;
}

#lastmenu {
    margin-right: 140px;
}

figure {
    margin: 0;
}

.figures img {
    width: 100%;
    position: absolute;
    top: 0;
}

section {
    width: 100%;
    position: relative;
    display: flex;
}
.containerbox {
    display: flex;
    height: 1500px;
}
.bodypage {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.bodypage1 {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.ergonote {
    width: 100%;
    margin-top: 250px;
    position: absolute;
    transform: translate(0, -100px);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.ergonote img {
    height: 350px;
    margin-left: 50px;
    margin-right: 70px;
}

.fade-in {
    opacity: 0;
}

#third {
    height: 800px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#text {
    height: 80px;
    display: block;
}
.hero img {
    width: 100%;
    margin-top: 550px;
}
.hero2 img {
    z-index: 2;
    display: flex;
    width: 35%;
    align-items: center;
    position: absolute;
    transform: translate(93%, -650px);
} 
.hero3 {

}

.medal-box {
    position: relative;
}
.medal-container {
    display: flex;
    gap: 10px;
    justify-content: center;
    position: absolute;
    transform: translate(37%, -600px);
    z-index: 10;
}

.medal {
    width: 265px;
    height: 265px;
    perspective: 700px;
}
.medal img{
    width: 265px;
    height: 265px;
}

.medal .front,
.medal .back {
    width: 265px;
    height: 265px;
    backface-visibility: hidden;
    transition: 1s;
}

.medal .front {
    position: absolute;
    transform: rotateY(0deg)
}

.medal:hover .front {
    transform: rotateY(180deg);
}

.medal .back {
    transform: rotateY(-180deg);
}

.medal:hover .back {
    transform: rotateY(-0deg);
}

.map-container {
    display: flex;
    margin-bottom: 80px;
    margin-left: 25px;
}

.contact {
    height: 900px;
    margin: 0 auto;
}

.contact-bottom a {
    text-decoration: none;
}

.contact-high {
    margin-left: 20px;
}

.contact-middle {
    margin-top: 500px;
}

.contact-btn {
    font-family: 'HyundaiSansHeadLight';
    margin-top: 40px;
    border-radius: 35px;
    border: 1px solid #000000;
    font-weight: 15px;
    background-color: #fff;
    height: 34px;
    width: 380px;
    display: flex;
}

.contact-btn:hover {
    background-color: gray;
    color: #fff;
    cursor: pointer;
}

.contact-btn img {
    display: block;
    margin-top: 5px;
}

.mail {
    font-family: 'HyundaiSansHeadLight';
    margin-top: 5px;
    text-align: left;
    margin-left: 10px;
    width: 91%;
}
.mail a {
    text-decoration: none;
    color: #000000;
}

.footer {
    font-family: 'HyundaiSansHeadLight';
}

.footer-inner .footer-text li p {
    font-family: 'HyundaiSansHeadLight';
}
.footer .footer-inner {
    margin-left: 25px;
    margin-right: 25px;
}

.footer-inner .footer-text {
    display: flex;
    gap: 20px;
    font-size: 14px;
    margin-bottom: 20px;
}

.footer-inner .footer-text li p {
    
}

.line {
    border: 1px solid rgba(0, 0, 0, .1);
    margin-bottom: 10px;
}
.footer-logo {
    display: flex;
}
.footer-logo img {
    margin-bottom: 40px;
}
.footer-logo .footerimg1 {

}
.footer-logo .footerimg2 {
    height: 12px;
    margin-left: auto;
    margin-top: 10px;
}

.item-name .item-contents {
    width: 100%;
    position: fixed;
    left: 0;
    top: 88px;
    display: none;
}

.item-name:hover .item-contents {
    display: block;
}

.item-name .item-contents .contents-menu {
    background-color: rgba(0, 0, 0, .7);
    height: 180px;
}

.menu-inner2 {
    position: fixed;
    left: 690px;
}
.menu-inner2 li a {
    font-size: 20px;
    color: #fff;
    line-height: 3;
}
.menu-inner2 li a:hover {
    color: #A2C9FF;
}

.menu-inner3 {
    position: fixed;
    left: 1000px;
}
.menu-inner3 li a {
    font-size: 20px;
    color: #fff;
    line-height: 3;
}
.menu-inner3 li a:hover {
    color: #A2C9FF;
}


.menu-inner4 {
    position: fixed;
    right: 430px;
}
.menu-inner4 li a {
    font-size: 20px;
    color: #fff;
    line-height: 3;
}
.menu-inner4 li a:hover {
    color: #A2C9FF;
}


.menu-inner5 {
    position: fixed;
    right: 175px;
}
.menu-inner5 li a {
    font-size: 20px;
    color: #fff;
    line-height: 3;
}
.menu-inner5 li a:hover {
    color: #A2C9FF;
}


.nav_menu:hover a {
    color: #fff;
}

.item-name:hover {
    background-color: rgba(0, 0, 0, .7);
    border-radius: 6px 6px 0 0;
    padding: 5px;
    transition: .5s;
}

.menu-inner {
    position: fixed;
    left: 465px;
}
.menu-inner li a {
    font-size: 20px;
    color: #fff;
    line-height: 3;
}
.menu-inner li a:hover {
    color: #A2C9FF;
}

#to-top {
    width: 42px;
    height: 42px;
    background-color: #333;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9;
}