@font-face {
    font-family: 'bold';
    src: url('../font/Freesentation-8ExtraBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'semi-bold';
    src: url('../font/Freesentation-6SemiBold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'medium';
    src: url('../font/Freesentation-5Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'semi-light';
    src: url('../font/Freesentation-2ExtraLight.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'light';
    src: url('../font/Freesentation-1Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    min-width: 1300px;
    /* min-height: 900px; */
    margin: 0;
    /* background: linear-gradient(360deg, #0e0c13, #170c46); */
    background-image: url('../img/main_bkg_small.png');
    background-size: cover;
}

#popup_1 {
    position: absolute;
    top: 120;
    right: 50;
    width: 550px;
    z-index: 200;
    padding-bottom: 10px;
    background-color: white;
}

.header {
    width: 100%; height: 100px; background-color: rgba( 0, 0, 0, 0.3 ); display: flex; justify-content: space-between; position: absolute; z-index: 1000;
}

.header-logo-wrapper {
    flex: 1; height: 70px; display: flex; align-self: center;
}

.header-items-wrapper {
    flex: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-items {
    font-family: 'medium';
    color: white;
    font-size: 22px;
    margin-left: 40px;
    margin-right: 40px;
    cursor: pointer;
    transition: 0.5s;
}

.header-items:hover {
    color: #3687E5;
}

#header-change-lang {
    cursor: pointer; display: flex; align-self: center; color: white; font-family: 'semi-bold'; font-size: 20px; margin-right: 50px;
}

.header-menu-btn {
    width: 150px; height: 150px;
    display: none;
}

/* 사이드 메뉴 */
.sidenav {
    z-index: 100;
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba( 0, 0, 0, 0.3 );
    backdrop-filter: blur(20px);
    overflow-x: hidden;
    padding-top: 30px;
    transition: 0.5s;
}

.sidenav a {
    padding-top: 30px;
    padding-bottom: 30px;;
    padding-left: 80px;
    text-decoration: none;
    font-size: 50px;
    font-family: 'medium';
    color: white;
    display: block;
    transition: 0.1s;

}

.footer {
    /* position: absolute;
    bottom: 0; */
    box-sizing: border-box;
    padding-top: 30px;
    padding-bottom: 30px;
    width: 100%;
    /* height: 200px; */
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: black;
}

.footer-text {
    color: white;
    font-size: 19px;
    font-family: 'medium';
}

.index-intro-wrapper {
    /* width: 75%; flex: 1; display: flex; flex-direction: column; justify-content: center; color: #f2f2f2; align-self: center; */
    display: flex; flex-direction: column;
    display: none;
}

.index-intro-text-title {
    font-size: 60px;
    font-family: 'bold';
}

.index-intro-text-desc {
    color: #7ab8ff;
    margin-top: 40px;
    font-size: 22px;
    font-family: 'medium';
    line-height: 40px;
    
}

.index-intro-text-sponsor {
    color: #f2f2f2;
    margin-top: 100px;
    font-size: 26px;
    font-family: 'medium';
    line-height: 40px;
}

.index-sponsor-item {
    display: flex;
    flex-direction: column; justify-content: center;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
    flex: 1;
    height: 100%;
}

.index-sponsor-item-wrapper {
    width: 100%; height: 70px; background-color: rgba( 255, 255, 255, 0.9 ); margin-top: 10px; border-radius: 10px; display: flex; flex-direction: row;
}

.index-company-sponsor-item-wrapper-wrapper {
    width: 100%; height: 170px; background-color: rgba( 255, 255, 255, 0.9 ); margin-top: 10px; border-radius: 10px; display: flex; flex-direction: column;
}

.mobile-index-company-sponsor-item-wrapper-wrapper {
    display: none !important; width: 100%; height: 340px; background-color: rgba( 255, 255, 255, 0.9 ); margin-top: 10px; border-radius: 10px; display: flex; flex-direction: column;
}

.mobile-index-sponsor-item-wrapper-wrapper {
    display: none !important; width: 100%; height: 170px; background-color: rgba( 255, 255, 255, 0.9 ); margin-top: 10px; border-radius: 10px; display: flex; flex-direction: column;
}

.index-company-sponsor-item-wrapper {
    width: 100%; height: 70px; margin-top: 10px; display: flex; flex-direction: row;
}

.index-sponsor-item-img {
    object-fit: contain;
    width: 100%;
    height: 50%;
}

#fp-nav span {
    background: white !important;
}

/* 행사 소개 페이지 */

.info-sponsor-item {
    display: flex;
    flex-direction: column; justify-content: center;
    box-sizing: border-box;
    padding-left: 22px;
    padding-right: 22px;
    flex: 1;
    height: 100%;
}

#info-title-wrapper {
    width: 100%; height: 220px; margin-top: 100px; background-image: url('../img/city_bkg.jpg'); background-size: cover; background-position: center;
}

#info-contents {
    width: 100%; display: flex; flex-direction: row; justify-content: center; box-sizing: border-box; padding-top: 80px; padding-bottom: 80px;
}

#info-wrapper {
    width: 45%;
}

#info-table {
    margin-top: 20px;
    font-family: 'medium';
    color: white;
    width: 100%;
    border-collapse: collapse;
}

.info-table-tr {
    font-size: 19px;
    height: 50px;
    text-align: center;
}

.info-table-td {
    width: 600px;
    height: 50px;
    text-align: center;
    border: 1px solid black;
    background-color: #e9e9e9;
    color: black;

    border-left: none;
    border-right: none;
    
    vertical-align: top;
    vertical-align: bottom;
    vertical-align: middle;
}

.info-table-td-award {
    background-color: #d1d1d1;
    color: black;
    width: 150px;
    height: 50px;
    text-align: center;
    border: 1px solid black;

    border-left: none;
    border-right: none;
    
    vertical-align: top;
    vertical-align: bottom;
    vertical-align: middle;
}

.td-speech {
    width: 375px;
    height: 80px;
    padding: 20px;
    box-sizing: border-box;
}

.td-speech-time {
    width: 120px;
    /* height: 80px; */
}

.speech-person {
    font-size: 18px;
    margin: 0;
    margin-top: 10px;
    font-family: 'semi-light';
}

.info-table-td-title {
    background-color: #329BFF;
    color: white;
    width: 150px;
    height: 50px;
    text-align: center;
    border: 1px solid black;

    border-left: none;
    border-right: none;
    
    vertical-align: top;
    vertical-align: bottom;
    vertical-align: middle;
}

.info-title-text {
    margin: 0; color: #84c3ff; font-family: 'semi-bold'; font-size: 30px;
}

/* 대회 참가 신청 */
.register-title-text {
    margin: 0; color: #84c3ff; font-family: 'semi-bold'; font-size: 22px;
}

.register-input-wrapper {
    width: 100%; margin-top: 10px;
}

.register-input {
    width: 100%;
    border: 1px solid #329BFF;
    border-radius: 5px;
    padding: 10px;
    font-family: 'medium';
    font-size: 18px;
}

#btn-register {
    width: 100%;
    margin-top: 40px;
    border: none;
    border-radius: 5px;
    background-color: #329BFF;
    font-family: 'medium';
    color: white;
    cursor: pointer;
    font-size: 20px;
    padding: 10px;
}

/* 역대 대회 */
.history-item-wrapper {
    width: 100%; background-color: #282828; border-radius: 5px; box-shadow: 0 3.2px 7.2px 0 rgb(0 0 0 / 13%), 0 0.6px 1.8px 0 rgb(0 0 0 / 11%);
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    padding: 30px;
    cursor: pointer;
    transition: 0.5s;
    margin-top: 20px;
}
.history-item-wrapper:hover {
    transform: scale(1.03);
}

.history-item-wrapper-first {
    margin: 0;
}

.history-img-wrapper {
    flex: 1;
    width: 260px;
    height: 150px;
}

.history-text-wrapper {
    flex: 3;
    margin-left: 50px;
}

.history-text-title {
    font-family: 'bold';
    color: white;
    font-size: 30px;
    margin: 0;
}

.history-text-desc {
    font-family: 'medium';
    color: white;
    font-size: 18px;
    margin: 0;
    line-height: 25px;
}

.history-text-desc-first {
    margin-top: 20px;
}

.history-img-row-wrapper {
    width: 100%; margin-top: 20px; display: flex; flex-direction: row; height: 300px;
}

.history-img img {
    object-fit: cover; width: 100%; height: 100%;
}

.big-img {
    height: 500px;
}

.big-img img {
    object-fit: cover; width: 100%; height: 100%;
}

.big-img video {
    width: 100%; height: 100%;
    background-color: black;
}

.history-img-row-left {
    flex: 1; box-sizing: border-box; padding-right: 10px; height: 100%;
}

.history-img-row-right {
    flex: 1; box-sizing: border-box; padding-left: 10px; height: 100%;
}

/* PC 작은 화면 */
@media only screen and (max-height:1000px) {
    .header {
        height: 80px;
    }

    .header-logo-wrapper {
        height: 60px;
    }

    .footer {
        position: relative !important;
        bottom: none;
    }

    .index-intro-text-desc {
        margin-top: 20px;
        font-size: 20px;
    }

    .index-intro-text-sponsor {
        margin-top: 30px;
    }

    .index-sponsor-item-wrapper {
        height: 60px;
        border-radius: 5px;
    }

    .index-company-sponsor-item-wrapper-wrapper {
        height: 150px;
        border-radius: 5px;
    }

    .index-company-sponsor-item-wrapper {
        height: 60px;
    }

    .index-sponsor-item {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* 모바일 */
@media only screen and (max-width:980px) {
    body {
        min-width: 0px;
    }

    .footer {
        position: absolute !important;
        bottom: 0;
    }
    .header {
        height: 150px;
    }
    .header-items-wrapper {
        display: none;
    }
    #header-change-lang {
        font-size: 40px;
        margin-right: 30px;
    }
    .header-menu-btn {
        display: block;
    }
    .index-sponsor-item {
        padding-left: 25px;
        padding-right: 25px;
    }

    .index-sponsor-item-wrapper {
        display: none !important;
    }
    .index-company-sponsor-item-wrapper-wrapper {
        display: none !important;
    }
    .mobile-index-company-sponsor-item-wrapper-wrapper {
        display: block !important;
    }
    .mobile-index-sponsor-item-wrapper-wrapper {
        display: block !important;
    }

    /* 행사 소개 페이지 */
    #info-wrapper {
        width: 80%;
    }
    #info-title-wrapper {
        margin-top: 150px;
    }
    #info-contents {
        padding-bottom: 400px;
    }
}